Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup

Tomas Valenta8317de82e27e
diff --git a/apps/dashboard/.dockerignore b/apps/dashboard/.dockerignore
deleted file mode 100644
index 29ee19866..000000000
--- a/apps/dashboard/.dockerignore
+++ /dev/null
@@ -1,29 +0,0 @@
-.git
-.codesandbox
-.devcontainer
-.github
-.next
-.vscode
-api-service
-node_modules
-docs-assets
-.dockerignore
-.env
-.vale.ini
-vale-styles
-.env.example
-.gitignore
-.python-version
-.vercelignore
-csb.nix
-dbk.toml
-docker-compose.yml
-Dockerfile
-LICENSE
-CONTRIBUTING.md
-DEVELOPMENT_SETUP.md
-NEW_PROVIDER_EXAMPLE.md
-supabase
-README.md
-npm-debug.log
-vercel.json
diff --git a/apps/dashboard/.env.example b/apps/dashboard/.env.example
index fbbfe49ad..4c9325f41 100644
--- a/apps/dashboard/.env.example
+++ b/apps/dashboard/.env.example
@@ -15,7 +15,3 @@ SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhY
# Anonymous key you can get after starting local Supabase with `npm run db:start` ("anon key: eyJh......")
# The following default key is generated by the local Supabase start and doesn't change
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
-
-# e2b API
-# URL for the e2b API
-NEXT_PUBLIC_API_URL=http://localhost:49155
diff --git a/apps/dashboard/.python-version b/apps/dashboard/.python-version
deleted file mode 100644
index c8cfe3959..000000000
--- a/apps/dashboard/.python-version
+++ /dev/null
@@ -1 +0,0 @@
-3.10
diff --git a/apps/dashboard/Dockerfile b/apps/dashboard/Dockerfile
deleted file mode 100644
index d3202d545..000000000
--- a/apps/dashboard/Dockerfile
+++ /dev/null
@@ -1,45 +0,0 @@
-FROM --platform=linux/amd64 node:lts-slim AS builder
-
-WORKDIR /app
-
-COPY package.json package-lock.json* ./
-COPY prisma/schema.prisma ./prisma/schema.prisma
-RUN npm ci
-
-COPY . .
-
-ARG NEXT_PUBLIC_SIGN_IN_EMAIL
-ARG NEXT_PUBLIC_SIGN_IN_PASSWORD
-ARG NEXT_PUBLIC_SUPABASE_ANON_KEY
-ARG NEXT_PUBLIC_SUPABASE_URL
-ARG NEXT_PUBLIC_PROXY
-ARG NEXT_PUBLIC_API_URL
-ARG BUILD
-
-ENV NEXT_PUBLIC_PROXY=$NEXT_PUBLIC_PROXY
-ENV NEXT_PUBLIC_SUPABASE_URL=$NEXT_PUBLIC_SUPABASE_URL
-ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
-ENV BUILD=$BUILD
-
-ENV NEXT_TELEMETRY_DISABLED 1
-RUN npm run build
-
-
-FROM --platform=linux/amd64 node:lts-slim AS runner
-WORKDIR /app
-
-
-ENV NODE_ENV production
-ENV NEXT_TELEMETRY_DISABLED 1
-ENV PORT 3000
-
-EXPOSE 3000
-
-COPY --from=builder /app/public ./public
-
-# Automatically leverage output traces to reduce image size
-# https://nextjs.org/docs/advanced-features/output-file-tracing
-COPY --from=builder /app/.next/standalone ./
-COPY --from=builder /app/.next/static ./.next/static
-
-CMD ["node", "server.js"]
diff --git a/apps/dashboard/api-service/.dockerignore b/apps/dashboard/api-service/.dockerignore
deleted file mode 100644
index 7b47a99e8..000000000
--- a/apps/dashboard/api-service/.dockerignore
+++ /dev/null
@@ -1,15 +0,0 @@
-Dockerfile
-README.md
-*.pyc
-*.pyo
-*.pyd
-__pycache__
-.pytest_cache
-dist
-.gitignore
-.venv
-
-./playground/lib
-./playground/node_modules
-./.git
-./.git
\ No newline at end of file
diff --git a/apps/dashboard/api-service/.gitignore b/apps/dashboard/api-service/.gitignore
deleted file mode 100644
index 85ce7c710..000000000
--- a/apps/dashboard/api-service/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-__pycache__
-dist
-.venv
-out.txt
-myfile.txt
diff --git a/apps/dashboard/api-service/.openapi-generator-ignore b/apps/dashboard/api-service/.openapi-generator-ignore
deleted file mode 100644
index 7484ee590..000000000
--- a/apps/dashboard/api-service/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# OpenAPI Generator Ignore
-# Generated by openapi-generator https://github.com/openapitools/openapi-generator
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/apps/dashboard/api-service/.openapi-generator/FILES b/apps/dashboard/api-service/.openapi-generator/FILES
deleted file mode 100644
index 79cae4f14..000000000
--- a/apps/dashboard/api-service/.openapi-generator/FILES
+++ /dev/null
@@ -1,57 +0,0 @@
-playground_client/__init__.py
-playground_client/api/__init__.py
-playground_client/api/default_api.py
-playground_client/api_client.py
-playground_client/configuration.py
-playground_client/docs/CreateSessionsRequest.md
-playground_client/docs/DefaultApi.md
-playground_client/docs/EntryInfo.md
-playground_client/docs/ListFilesystemDirResponse.md
-playground_client/docs/OpenPort.md
-playground_client/docs/OutStderrResponse.md
-playground_client/docs/OutStdoutResponse.md
-playground_client/docs/OutType.md
-playground_client/docs/OutTypeStderr.md
-playground_client/docs/OutTypeStdout.md
-playground_client/docs/ProcessResponse.md
-playground_client/docs/ReadFilesystemFileResponse.md
-playground_client/docs/SessionResponse.md
-playground_client/docs/StartProcessParams.md
-playground_client/docs/WriteFilesystemFileRequest.md
-playground_client/docs/WriteProcessStdinRequest.md
-playground_client/exceptions.py
-playground_client/models/__init__.py
-playground_client/models/create_sessions_request.py
-playground_client/models/entry_info.py
-playground_client/models/list_filesystem_dir_response.py
-playground_client/models/open_port.py
-playground_client/models/out_stderr_response.py
-playground_client/models/out_stdout_response.py
-playground_client/models/out_type.py
-playground_client/models/out_type_stderr.py
-playground_client/models/out_type_stdout.py
-playground_client/models/process_response.py
-playground_client/models/read_filesystem_file_response.py
-playground_client/models/session_response.py
-playground_client/models/start_process_params.py
-playground_client/models/write_filesystem_file_request.py
-playground_client/models/write_process_stdin_request.py
-playground_client/rest.py
-playground_client/test/__init__.py
-playground_client/test/test_create_sessions_request.py
-playground_client/test/test_default_api.py
-playground_client/test/test_entry_info.py
-playground_client/test/test_list_filesystem_dir_response.py
-playground_client/test/test_open_port.py
-playground_client/test/test_out_stderr_response.py
-playground_client/test/test_out_stdout_response.py
-playground_client/test/test_out_type.py
-playground_client/test/test_out_type_stderr.py
-playground_client/test/test_out_type_stdout.py
-playground_client/test/test_process_response.py
-playground_client/test/test_read_filesystem_file_response.py
-playground_client/test/test_session_response.py
-playground_client/test/test_start_process_params.py
-playground_client/test/test_write_filesystem_file_request.py
-playground_client/test/test_write_process_stdin_request.py
-playground_client_README.md
diff --git a/apps/dashboard/api-service/.openapi-generator/VERSION b/apps/dashboard/api-service/.openapi-generator/VERSION
deleted file mode 100644
index c0be8a799..000000000
--- a/apps/dashboard/api-service/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-6.4.0
\ No newline at end of file
diff --git a/apps/dashboard/api-service/Dockerfile b/apps/dashboard/api-service/Dockerfile
deleted file mode 100644
index e63b5aebc..000000000
--- a/apps/dashboard/api-service/Dockerfile
+++ /dev/null
@@ -1,46 +0,0 @@
-# This stage builds playground
-FROM --platform=linux/amd64 node:lts-slim as playground
-
-WORKDIR /playground
-
-COPY playground/package.json playground/package-lock.json ./
-RUN npm ci
-
-COPY playground/tsconfig.json ./
-COPY playground/tsoa.json ./
-COPY playground/scripts/build.js ./scripts/build.js
-COPY playground/src ./src
-RUN npm run build
-
-
-# This is the final image that also installs python deps
-FROM --platform=linux/amd64 nikolaik/python-nodejs:python3.10-nodejs18-slim
-
-ENV PYTHONFAULTHANDLER=1 \
- PYTHONHASHSEED=random \
- PYTHONUNBUFFERED=1
-
-ENV PIP_DEFAULT_TIMEOUT=100 \
- PIP_DISABLE_PIP_VERSION_CHECK=1 \
- PIP_NO_CACHE_DIR=1
-
-RUN poetry config virtualenvs.in-project true
-
-WORKDIR /app
-COPY pyproject.toml poetry.lock ./
-RUN --mount=type=cache,target=/home/.cache/pypoetry/cache \
- --mount=type=cache,target=/home/.cache/pypoetry/artifacts \
- poetry install --no-root --no-ansi --no-interaction
-
-RUN poetry run opentelemetry-bootstrap -a install
-
-COPY . ./
-RUN rm -rf ./playground
-
-WORKDIR /playground
-COPY --from=playground ./playground/node_modules ./node_modules
-COPY --from=playground ./playground/lib ./lib
-
-WORKDIR /app
-
-CMD exec ./start.sh
diff --git a/apps/dashboard/api-service/Makefile b/apps/dashboard/api-service/Makefile
deleted file mode 100644
index 286cf3067..000000000
--- a/apps/dashboard/api-service/Makefile
+++ /dev/null
@@ -1,16 +0,0 @@
-generate-playground-client:
- npm run --prefix ./playground generate
- rm -rf ./playground_client
- npx @openapitools/openapi-generator-cli generate \
- -i ./playground/swagger.json \
- -g python-nextgen \
- -o ./ \
- --additional-properties=generateSourceCodeOnly=true \
- --additional-properties=disallowAdditionalPropertiesIfNotPresent=true \
- --additional-properties=packageName=playground_client \
- --additional-properties=floatStrictType=false \
- --additional-properties=library=asyncio \
- --additional-properties=allowStringInDateTimeParameters=false
-
-generate-api-schema:
- poetry run python3 generate.py
diff --git a/apps/dashboard/api-service/agent/__init__.py b/apps/dashboard/api-service/agent/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/apps/dashboard/api-service/agent/base.py b/apps/dashboard/api-service/agent/base.py
deleted file mode 100644
index e2f5a56fa..000000000
--- a/apps/dashboard/api-service/agent/base.py
+++ /dev/null
@@ -1,74 +0,0 @@
-from abc import abstractmethod, ABC
-from typing import Coroutine, List, Callable, Any
-from pydantic import BaseModel
-
-from session.env import EnvVar
-
-# The schema for agent config and interaction data is serializable and
-# the format for interactions with the agent is based on a modified JSON-RPC 2.0 spec (should we use less modified JSON-RPC?).
-
-# This way is to have a schema for communication and a tools that can for example take
-# the implementation of AgentBase class and generate REST server that implements the schema
-# that then be deployed on our platform.
-
-# For local testing there can be a CLI that takes the implementation of AgentBase class
-# and just starts the server and exposes the functionality with a pre-made web UI where you can test the agent immediately.
-
-# Later we can start supporting other ways to generate the server, for example a gRPC or WS server.
-# This is orthogonal to the environment where the agent is deployed.
-# The agent can still be deployed as a Python task, in a Firecracker VM, as a docker container, etc.
-
-
-class AgentInteraction(BaseModel):
- interaction_id: str | None = None
- type: str
- data: Any
-
-
-class AgentInteractionRequest(BaseModel):
- interaction_id: str
- type: str
- data: Any = None
-
-
-OnLogs = Callable[[Any], Coroutine[None, None, None]]
-SetRun = Callable[[str], None]
-OnInteractionRequest = Callable[[AgentInteractionRequest], Coroutine[None, None, None]]
-GetEnvs = Callable[[], Coroutine[Any, Any, List[EnvVar]]]
-
-
-class AgentBase(ABC):
- """
- This is an abstract class that defines the interface for an agent.
-
- The methods defined here are the ones needed to run an agent.
- They closely follow our spec for agent deployment.
-
- Class implementing this interface can be used to deploy agents via the "library deployment" as a Python task
- or via the FC by wrapping the class in a server that exposes the methods and starting the server in an FC.
- """
-
- @classmethod
- @abstractmethod
- async def create(
- cls,
- config: Any,
- on_logs: OnLogs,
- on_interaction_request: OnInteractionRequest,
- ) -> "AgentBase":
- """Create an agent with the given config without starting it."""
- pass
-
- @abstractmethod
- async def stop(self):
- """Stop the agent and clean used resources."""
- pass
-
- @abstractmethod
- def is_running(self) -> bool:
- """Check if the agent run is in progress."""
- pass
-
- @abstractmethod
- async def interaction(self, interaction: AgentInteraction) -> Any:
- pass
diff --git a/apps/dashboard/api-service/agent/from_template.py b/apps/dashboard/api-service/agent/from_template.py
deleted file mode 100644
index e88824dc3..000000000
--- a/apps/dashboard/api-service/agent/from_template.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from agent.smol_agent import SmolAgent
-
-
-def get_agent_factory_from_template(template_id: str):
- match template_id:
- case "SmolDeveloper":
- return SmolAgent.create
- case _:
- raise ValueError(f"Unknown template {template_id}")
diff --git a/apps/dashboard/api-service/agent/smol_agent.py b/apps/dashboard/api-service/agent/smol_agent.py
deleted file mode 100644
index 82af9e4e8..000000000
--- a/apps/dashboard/api-service/agent/smol_agent.py
+++ /dev/null
@@ -1,621 +0,0 @@
-import asyncio
-import uuid
-import os
-import ast
-from decimal import Decimal
-
-from langchain.chat_models import ChatOpenAI
-from langchain.schema import BaseLanguageModel
-from typing import Any, Callable, List
-from langchain.callbacks.base import AsyncCallbackManager
-from langchain.schema import (
- AIMessage,
- BaseLanguageModel,
- BaseMessage,
- SystemMessage,
- HumanMessage,
-)
-from langchain.prompts.chat import (
- ChatPromptValue,
-)
-from opentelemetry.trace.span import StatusCode, Status
-
-from observability import tracer
-from agent.base import (
- AgentInteraction,
- OnLogs,
- OnInteractionRequest,
-)
-from agent.base import AgentBase, AgentInteractionRequest, GetEnvs
-from session.playground import Playground
-
-default_openai_api_key = os.environ.get("OPENAI_API_KEY", None)
-default_openai_model = "gpt-4"
-# Pricing is in USD per token
-models = {
- "gpt-4": {
- "prompt": Decimal(0.00003),
- "completion": Decimal(0.00006),
- "max_tokens": 8192,
- },
- "gpt-4-32k": {
- "prompt": Decimal(0.00006),
- "completion": Decimal(0.00012),
- "max_tokens": 32768,
- },
- "gpt-3.5-turbo": {
- "prompt": Decimal(0.0000015),
- "completion": Decimal(0.000002),
- "max_tokens": 4096,
- },
- "gpt-3.5-turbo-16k": {
- "prompt": Decimal(0.000003),
- "completion": Decimal(0.000004),
- "max_tokens": 16384,
- },
-}
-
-extensions_to_skip = [
- ".png",
- ".jpg",
- ".jpeg",
- ".gif",
- ".bmp",
- ".svg",
- ".ico",
- ".tif",
- ".raw",
- ".webp",
- ".tiff",
- ".mp3",
- "package-lock.json",
- "yarn.lock",
- "pnpm-lock.yaml",
- "Gemfile.lock",
- "Pipfile.lock",
- "composer.lock",
- "Cargo.lock",
- "pubspec.lock",
- "packages.lock.json",
- "go.sum",
- "Package.resolved",
-]
-
-
-# Helper function for limiting number of concurrent coroutines
-async def with_semaphore(semaphore, coro):
- async with semaphore:
- return await coro
-
-
-class SmolAgent(AgentBase):
- max_run_time = 2 * 60 * 60 # 2 hours in seconds
-
- def __init__(
- self,
- config: Any,
- get_envs: GetEnvs,
- set_run_id: Callable[[str], None],
- on_logs: OnLogs,
- on_interaction_request: OnInteractionRequest,
- model: BaseLanguageModel,
- model_name: str,
- ):
- super().__init__()
- self._dev_loop: asyncio.Task | None = None
- self.get_envs = get_envs
- self.config = config
- self.model_name = model_name
- self.on_interaction_request = on_interaction_request
- self.on_logs = on_logs
- self.set_run_id = set_run_id
- self.model = model
-
- @classmethod
- async def create(
- cls,
- config: Any,
- get_envs: GetEnvs,
- set_run_id: Callable[[str], None],
- on_logs: OnLogs,
- on_interaction_request: OnInteractionRequest,
- ):
- callback_manager = AsyncCallbackManager([])
- model_name = config.get("openAIModel") or default_openai_model
- completion_max_tokens: int = models[model_name]["max_tokens"] / 2
- model: BaseLanguageModel = ChatOpenAI(
- temperature=0,
- max_tokens=completion_max_tokens,
- model_name=model_name,
- openai_api_key=config.get("openAIKey") or default_openai_api_key,
- request_timeout=3600,
- verbose=True,
- # The max time between retries is 1 minute so we set max_retries to 45
- max_retries=45,
- streaming=False,
- callback_manager=callback_manager,
- ) # type: ignore
-
- return cls(
- config,
- get_envs,
- set_run_id,
- on_logs,
- on_interaction_request,
- model,
- model_name,
- )
-
- async def generate_file(
- self,
- filename: str,
- filepaths_string=None,
- shared_dependencies=None,
- prompt=None,
- ):
- # call openai api with this prompt
- print("Generating file", filename)
- filecode, metadata = await self.generate_response(
- f"""You are an AI developer who is trying to write a program that will generate code for the user based on their intent.
-
-the app is: {prompt}
-
-the files we have decided to generate are: {filepaths_string}
-
-the shared dependencies (like filenames and variable names) we have decided on are: {shared_dependencies}
-
-only write valid code for the given filepath and file type, and return only the code.
-do not add any other explanation, only return valid code for that file type.
-""",
- f"""
-We have broken up the program into per-file generation.
-Now your job is to generate only the code for the file {filename}.
-Make sure to have consistent filenames if you reference other files we are also generating.
-
-Remember that you must obey 3 things:
-- you are generating code for the file {filename}
-- do not stray from the names of the files and the shared dependencies we have decided on
-- MOST IMPORTANT OF ALL - the purpose of our app is {prompt} - every line of code you generate must be valid code. Do not include code fences in your response, for example
-
-Bad response:
-```javascript
-console.log("hello world")
-```
-
-Good response:
-console.log("hello world")
-
-Begin generating the code now.
-
-""",
- )
- return filename, filecode, metadata
-
- async def generate_response(
- self,
- system_prompt: str,
- user_prompt: str,
- *args: Any,
- ):
- messages: List[BaseMessage] = [
- SystemMessage(content=system_prompt),
- HumanMessage(content=user_prompt),
- ]
-
- # loop thru each arg and add it to messages alternating role between "assistant" and "user"
- role = "assistant"
- for value in args:
- if role == "assistant":
- messages.append(AIMessage(content=value))
- else:
- messages.append(HumanMessage(content=value))
- role = "user" if role == "assistant" else "assistant"
-
- model_prompt = ChatPromptValue(messages=messages)
- response = await self.model.agenerate_prompt([model_prompt])
-
- cost = (
- Decimal(response.llm_output["token_usage"]["prompt_tokens"])
- * models[self.model_name]["prompt"]
- + Decimal(response.llm_output["token_usage"]["completion_tokens"])
- * models[self.model_name]["completion"]
- if response.llm_output
- else None
- )
-
- return response.generations[0][0].text, {
- "prompt": [
- {"role": m.type, "content": m.content}
- for m in model_prompt.to_messages()
- ],
- "total_tokens": response.llm_output["token_usage"]["total_tokens"]
- if response.llm_output
- else None,
- "prompt_tokens": response.llm_output["token_usage"]["prompt_tokens"]
- if response.llm_output
- else None,
- "result_tokens": response.llm_output["token_usage"]["completion_tokens"]
- if response.llm_output
- else None,
- "cost": float(cost) if cost else None,
- }
-
- async def _dev(self, instructions: Any):
- with tracer.start_as_current_span("agent-run") as span:
- user_prompt: str = instructions["Prompt"]
- access_token: str = instructions["AccessToken"]
- repo: str = instructions["Repo"]
- owner: str = instructions["Owner"]
- branch: str = instructions["Branch"]
- git_app_name: str = instructions["GitHubAppName"]
- git_app_email: str = instructions["GitHubAppEmail"]
- commit_message: str = instructions["CommitMessage"]
- repo_address = (
- f"https://{git_app_name}:{access_token}@github.com/{owner}/{repo}.git"
- )
-
- span.set_attributes(
- {
- "run_id": self.run_id,
- "prompt": user_prompt,
- "prompt.length": len(user_prompt),
- "repository": f"{owner}/{repo}",
- }
- )
-
- await self.on_logs(
- {
- "message": "Run started",
- "type": "Run",
- "properties": {
- "user_prompt": user_prompt,
- "trigger": "github",
- "repository": f"{owner}/{repo}",
- },
- },
- )
- playground = None
- tasks: List[asyncio.Task[Any]] = []
- try:
- playground = Playground(env_id="PPSrlH5TIvFx", get_envs=self.get_envs)
- rootdir = "/repo"
-
- async def initialize_playground():
- await playground.open()
- span.add_event(
- "playground-created",
- {
- "playground.id": playground.id,
- },
- )
- await playground.sync_clock()
- await playground.change_rootdir(rootdir)
- await playground.make_dir(rootdir)
- await playground.clone_repo(
- repo_address=repo_address,
- rootdir=rootdir,
- branch=branch,
- )
- span.add_event(
- "repository-cloned",
- {
- "repository": f"{owner}/{repo}",
- },
- )
-
- await self.on_logs(
- {
- "type": "GitHub",
- "message": "Cloned repository",
- "properties": {
- "repository": f"{owner}/{repo}",
- },
- }
- )
-
- extensions = " -o ".join(
- [f'-name "*{extension}"' for extension in extensions_to_skip]
- )
-
- delete_command = f"find . -path ./.git -prune -o ! \\( {extensions} \\) -type f -exec rm -f {{}} +"
-
- print("Delete command: ", delete_command)
-
- res = await playground.run_command(delete_command, rootdir)
- print("Delete command result: ", res.stdout, res.stderr)
-
- span.add_event(
- "files-deleted",
- {
- "path": rootdir,
- },
- )
-
- initializing_playground = asyncio.ensure_future(initialize_playground())
-
- filepaths_string, metadata = await self.generate_response(
- """You are an AI developer who is trying to write a program that will generate code for the user based on their intent.
-
-When given their intent, create a complete, exhaustive list of filepaths that the user would write to make the program.
-
-only list the filepaths you would write, and return them as a python list of strings.
-do not add any other explanation, only return a python list of strings.
- """,
- user_prompt,
- )
-
- await self.on_logs(
- {
- "group": {
- "id": str(uuid.uuid4()),
- "message": "Create a list of filepaths",
- },
- "message": f"Called OpenAI",
- "properties": {
- **metadata,
- "result": filepaths_string,
- "model": self.model_name,
- },
- "type": "LLM",
- },
- )
-
- span.add_event(
- "filepaths-generated",
- {
- "filepaths": filepaths_string,
- "model": self.model_name,
- **metadata,
- },
- )
-
- # parse the result into a python list
- list_actual = ast.literal_eval(filepaths_string)
-
- (
- shared_dependencies,
- metadata,
- ) = await self.generate_response(
- f"""You are an AI developer who is trying to write a program that will generate code for the user based on their intent.
-
-In response to the user's prompt:
-
----
-the app is: {user_prompt}
----
-
-the files we have decided to generate are: {filepaths_string}
-
-Now that we have a list of files, we need to understand what dependencies they share.
-Please name and briefly describe what is shared between the files we are generating, including exported variables, data schemas, id names of every DOM elements that javascript functions will use, message names, and function names.
-Exclusively focus on the names of the shared dependencies, and do not add any other explanation.
- """,
- user_prompt,
- )
-
- group = {
- "message": f"Create shared dependencies",
- "id": str(uuid.uuid4()),
- }
-
- await self.on_logs(
- {
- "group": group,
- "properties": {
- **metadata,
- "result": shared_dependencies,
- "model": self.model_name,
- },
- "message": f"Called OpenAI",
- "type": "LLM",
- },
- )
- span.add_event(
- "model-used",
- {
- "shared_dependencies": shared_dependencies,
- "model": self.model_name,
- **metadata,
- },
- )
-
- async def save_file(name: str, content: str, group: Any):
- filepath = os.path.join(rootdir, name)
- await initializing_playground
- await playground.write_file(filepath, content)
- span.add_event(
- "file-saved",
- {
- "filename": filepath,
- },
- )
- await self.on_logs(
- {
- "type": "Filesystem",
- "group": group,
- "message": f"Saved file",
- "properties": {
- "path": filepath,
- "content": content,
- },
- }
- )
-
- await save_file("shared_dependencies.md", shared_dependencies, group)
-
- print("Filepaths:", ", ".join(list_actual))
-
- # Maximum number of allowed concurrent calls
- semaphore = asyncio.Semaphore(2)
- # execute the file generation in paralell and wait for all of them to finish. Use list comprehension to generate the tasks
-
- async def create_file(name, model_name):
- filename, content, metadata = await self.generate_file(
- name,
- filepaths_string=filepaths_string,
- shared_dependencies=shared_dependencies,
- prompt=user_prompt,
- )
- group = {
- "message": f"Create file",
- "id": str(uuid.uuid4()),
- }
- await self.on_logs(
- {
- "group": group,
- "message": f"Called OpenAI",
- "properties": {
- **metadata,
- "result": content,
- "model": model_name,
- },
- "type": "LLM",
- },
- )
- await save_file(filename, content, group)
-
- tasks = [
- asyncio.ensure_future(
- with_semaphore(
- semaphore,
- create_file(
- name,
- model_name=self.model_name,
- ),
- )
- )
- for name in list_actual
- # Filter out files that end with extensions we don't want to generate
- if not any(
- name.endswith(extension) for extension in extensions_to_skip
- )
- and not name.endswith("/")
- ]
-
- await asyncio.gather(*tasks)
-
- print("All files generated")
-
- await playground.push_repo(
- rootdir=rootdir,
- repo_address=repo_address,
- commit_message=commit_message,
- git_email=git_app_email,
- git_name=git_app_name,
- )
- span.add_event(
- "pushed-repository",
- {
- "repository": f"{owner}/{repo}",
- },
- )
- await self.on_logs(
- {
- "message": f"Pushed repository",
- "properties": {
- "repository": f"{owner}/{repo}",
- },
- "type": "GitHub",
- }
- )
-
- await self.on_interaction_request(
- AgentInteractionRequest(
- interaction_id=str(uuid.uuid4()),
- type="done",
- data={
- "prompt": user_prompt,
- "run_id": self.run_id,
- },
- )
- )
- await self.on_logs(
- {
- "message": f"Run finished",
- "type": "Run",
- }
- )
- except Exception as e:
- for t in tasks:
- t.cancel()
- print(f"Failed agent run", e)
- await self.on_logs(
- {
- "message": f"Run failed",
- "properties": {
- "error": str(e),
- },
- "type": "Run",
- },
- )
- span.set_status(Status(StatusCode.ERROR))
- span.record_exception(e)
- raise
- finally:
- if playground is not None:
- await playground.close()
- span.add_event(
- "closed-playground",
- {},
- )
-
- async def _dev_in_background(self, instructions: Any):
- print("Start agent run", bool(self._dev_loop))
-
- if self._dev_loop:
- print("Agent run already in progress - restarting")
- await self.stop()
-
- self.run_id = str(uuid.uuid4())
- self.set_run_id(self.run_id)
-
- async def start_with_timeout():
- try:
- self._dev_loop = asyncio.create_task(
- self._dev(instructions=instructions),
- )
- await asyncio.wait_for(
- self._dev_loop,
- timeout=self.max_run_time,
- )
- except asyncio.TimeoutError:
- await self.stop()
- print("Timeout")
- finally:
- self._dev_loop = None
-
- asyncio.create_task(
- start_with_timeout(),
- )
-
- async def interaction(self, interaction: AgentInteraction):
- print("Agent interaction")
-
- match interaction.type:
- case "start":
- await self._dev_in_background(interaction.data["instructions"])
- case _:
- raise Exception(f"Unknown interaction action: {interaction.type}")
-
- def is_running(self) -> bool:
- return bool(self._dev_loop)
-
- async def stop(self):
- print("Cancel agent run")
- await self.on_logs(
- {
- "message": f"Run cancelled",
- "type": "Run",
- },
- )
- await self.on_interaction_request(
- AgentInteractionRequest(
- interaction_id=str(uuid.uuid4()),
- type="cancelled",
- data={
- "run_id": self.run_id,
- },
- )
- )
- if self._dev_loop:
- self._dev_loop.cancel()
diff --git a/apps/dashboard/api-service/app.py b/apps/dashboard/api-service/app.py
deleted file mode 100644
index 800eb10d3..000000000
--- a/apps/dashboard/api-service/app.py
+++ /dev/null
@@ -1,191 +0,0 @@
-import json
-import uuid
-import os
-
-from typing import Annotated, Any
-from fastapi import Depends, FastAPI, HTTPException
-from fastapi.middleware.cors import CORSMiddleware
-from pydantic import BaseModel, config
-from fastapi.security import OAuth2PasswordBearer
-from opentelemetry import trace
-
-from observability import total_deployments_counter, total_deployment_runs_counter
-from agent.base import AgentInteraction
-from deployment.in_memory import InMemoryDeploymentManager
-from database.base import db
-
-deployment_manager = InMemoryDeploymentManager()
-
-# TODO: Add proper auth
-oauth2_scheme = OAuth2PasswordBearer(tokenUrl="")
-secret_token = os.environ.get("SECRET_TOKEN")
-
-
-def check_token(token: str | None):
- if not secret_token:
- return
- if token == secret_token:
- return
- raise HTTPException(status_code=401, detail="Invalid token")
-
-
-app = FastAPI(
- title="e2b-api",
-)
-app.add_middleware(
- CORSMiddleware,
- allow_origins=["*"],
- allow_credentials=True,
- allow_methods=["*"],
- allow_headers=["*"],
-)
-
-
-async def health():
- return {"Status": "Ok"}
-
-
-class CreateDeploymentBody(BaseModel):
- config: Any
- secrets: Any
-
-
[email protected]("/deployments")
-async def create_agent_deployment(
- body: CreateDeploymentBody,
- project_id: str,
- token: Annotated[str, Depends(oauth2_scheme)],
-):
- check_token(token)
- db_deployment = await db.get_deployment(project_id)
-
- if db_deployment:
- secrets = (
- json.loads(db_deployment["decrypted_secrets"])
- if db_deployment.get("decrypted_secrets", None)
- else {}
- )
- print("secrets", secrets)
- deployment = await deployment_manager.update_deployment(
- db_deployment["id"],
- project_id,
- {
- **db_deployment["config"],
- **body.config,
- },
- {
- **secrets,
- **body.secrets,
- },
- )
- current_span = trace.get_current_span()
- current_span.set_attributes(
- {
- "deployment_id": deployment.id,
- "project_id": project_id,
- }
- )
- total_deployments_counter.add(
- 1,
- {
- "project_id": project_id,
- "deployment_id": deployment.id,
- "agent": "SmolDeveloper",
- "update": True,
- },
- )
- return {"id": deployment.id}
- else:
- id = str(uuid.uuid4())
- deployment = await deployment_manager.create_deployment(
- id,
- project_id,
- body.config,
- body.secrets,
- )
- current_span = trace.get_current_span()
- current_span.set_attributes(
- {
- "deployment_id": deployment.id,
- "project_id": project_id,
- }
- )
- total_deployments_counter.add(
- 1,
- {
- "project_id": project_id,
- "deployment_id": id,
- "agent": "SmolDeveloper",
- },
- )
- return {"id": deployment.id}
-
-
[email protected]("/deployments/{id}", status_code=204)
-async def delete_agent_deployment(
- id: str,
- token: Annotated[str, Depends(oauth2_scheme)],
-):
- check_token(token)
-
- await deployment_manager.remove_deployment(id)
-
-
[email protected]("/deployments/{id}")
-async def get_agent_deployment(
- id: str,
- token: Annotated[str, Depends(oauth2_scheme)],
-):
- check_token(token)
- deployment = await deployment_manager.get_deployment(id)
- if not deployment:
- raise HTTPException(status_code=404, detail="Deployment not found")
-
- return {
- "id": deployment.id,
- "logs": len(deployment.event_handler.logs),
- "interaction_request": len(deployment.event_handler.interaction_requests),
- }
-
-
[email protected]("/deployments/{id}/interactions")
-async def interact_with_agent_deployment(
- id: str,
- body: AgentInteraction,
- token: Annotated[str, Depends(oauth2_scheme)],
-):
- check_token(token)
- deployment = await deployment_manager.get_deployment(id)
- if not deployment:
- # Get deployment from db if enabled
- db_deployment = await db.get_deployment_by_id(id)
- if (
- db_deployment
- and db_deployment["enabled"]
- and db_deployment.get("config", None)
- and db_deployment.get("project_id", None)
- ):
- deployment = await deployment_manager.create_deployment(
- db_deployment["id"],
- db_deployment["project_id"],
- db_deployment["config"],
- json.loads(db_deployment["decrypted_secrets"])
- if db_deployment.get("decrypted_secrets", None)
- else {},
- )
- else:
- raise HTTPException(status_code=404, detail="Deployment not found")
-
- current_span = trace.get_current_span()
- current_span.set_attributes(
- {
- "deployment_id": id,
- }
- )
-
- total_deployment_runs_counter.add(1, {"deployment_id": id})
- result = await deployment.agent.interaction(body)
- if body.interaction_id:
- deployment.event_handler.remove_interaction_request(body.interaction_id)
- return result
diff --git a/apps/dashboard/api-service/database/__init__.py b/apps/dashboard/api-service/database/__init__.py
deleted file mode 100644
index 2370a30f2..000000000
--- a/apps/dashboard/api-service/database/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-from .base import db
-from .database import Database
diff --git a/apps/dashboard/api-service/database/base.py b/apps/dashboard/api-service/database/base.py
deleted file mode 100644
index f0e7469d4..000000000
--- a/apps/dashboard/api-service/database/base.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import os
-from dotenv import load_dotenv
-
-from .database import Database
-from playground_client.exceptions import NotFoundException
-
-load_dotenv()
-
-url = os.environ.get("NEXT_PUBLIC_SUPABASE_URL")
-key = os.environ.get("SUPABASE_SERVICE_ROLE_KEY")
-
-if not url or not key:
- raise NotFoundException("Supabase credentials not found")
-
-db = Database(url, key)
diff --git a/apps/dashboard/api-service/database/client.py b/apps/dashboard/api-service/database/client.py
deleted file mode 100644
index f7148452d..000000000
--- a/apps/dashboard/api-service/database/client.py
+++ /dev/null
@@ -1,37 +0,0 @@
-from typing import Dict
-
-from pydantic import BaseModel, PrivateAttr
-
-from postgrest._async.client import AsyncPostgrestClient
-from postgrest._async.request_builder import (
- AsyncRequestBuilder,
-)
-
-class Client(BaseModel):
- _supabase_url: str = PrivateAttr()
- _supabase_key: str = PrivateAttr()
- _rest_url: str = PrivateAttr()
-
- _client: AsyncPostgrestClient = PrivateAttr()
-
- def __init__(self, supabase_url: str, supabase_key: str) -> None:
- self._supabase_url = supabase_url
- self._supabase_key = supabase_key
-
- self._rest_url = f"{supabase_url}/rest/v1"
-
- # Initialize AsyncPostgrestClient
- self._client = AsyncPostgrestClient(
- base_url=self._rest_url,
- headers=self._get_auth_headers(),
- )
- self._client.auth(token=self._supabase_key)
-
- def table(self, name: str) -> AsyncRequestBuilder:
- return self._client.table(name)
-
- def _get_auth_headers(self) -> Dict[str, str]:
- return {
- "apiKey": self._supabase_key,
- "Authorization": f"Bearer {self._supabase_key}",
- }
diff --git a/apps/dashboard/api-service/database/database.py b/apps/dashboard/api-service/database/database.py
deleted file mode 100644
index 4e7b13364..000000000
--- a/apps/dashboard/api-service/database/database.py
+++ /dev/null
@@ -1,121 +0,0 @@
-import json
-from typing import Any, List
-
-from database.client import Client
-from session.env import EnvVar
-
-TABLE_DECRYPTED_DEPLOYMENTS = "decrypted_deployments"
-TABLE_DEPLOYMENTS = "deployments"
-TABLE_LOGS = "log_files"
-TABLE_PROJECTS = "projects"
-
-
-class Database:
- def __init__(self, supabase_url: str, supabase_key: str) -> None:
- self.client = Client(supabase_url=supabase_url, supabase_key=supabase_key)
-
- async def get_deployment(self, project_id: str):
- response = (
- await self.client.table(TABLE_DECRYPTED_DEPLOYMENTS)
- .select("*")
- .eq("project_id", project_id)
- .limit(1)
- .execute()
- )
- return None if len(response.data) == 0 else response.data[0]
-
- async def get_deployment_by_id(self, id: str):
- response = (
- await self.client.table(TABLE_DECRYPTED_DEPLOYMENTS)
- .select("*")
- .eq("id", id)
- .limit(1)
- .execute()
- )
-
- return None if len(response.data) == 0 else response.data[0]
-
- async def get_deployments(self):
- response = (
- await self.client.table(TABLE_DECRYPTED_DEPLOYMENTS)
- .select("*")
- .eq("enabled", True)
- .execute()
- )
- return response.data
-
- async def update_deployment_logs(
- self,
- deployment_id: str,
- run_id: str | None,
- project_id: str,
- logs: List[Any],
- ):
- if run_id is None:
- return
-
- await self.client.table(TABLE_LOGS).upsert(
- {
- "id": run_id,
- "project_id": project_id,
- "deployment_id": deployment_id,
- "content": json.dumps(logs),
- },
- on_conflict="id",
- ).execute()
-
- async def update_deployment(self, id: str, enabled: bool) -> None:
- await self.client.table(TABLE_DEPLOYMENTS).update(
- {
- "enabled": enabled,
- }
- ).eq(
- "id",
- id,
- ).execute()
-
- async def create_deployment(
- self,
- id: str,
- project_id: str,
- config: Any,
- # secrets: Any,
- ) -> None:
- await self.client.table(TABLE_DEPLOYMENTS).upsert(
- {
- "id": id,
- "enabled": True,
- "project_id": project_id,
- "config": config,
- # "secrets": json.dumps(secrets),
- },
- on_conflict="id",
- ).execute()
-
- async def get_env_vars(self, project_id: str) -> List[EnvVar]:
- """The return value is a list of dicts with the following keys:
- - key: The name of an env var
- - value: The value of an env var
-
- Example of a return value:
- [
- {
- "key": "",
- "value": "",
- },
- {
- "key": "MY_TOKEN",
- "value": "my-token-value",
- }
- ]
- """
- result = (
- await self.client.table(TABLE_PROJECTS)
- .select("data")
- .eq("id", project_id)
- .execute()
- )
- state = result.data[0]["data"]["state"]
- if "envs" in state:
- return state["envs"]
- return []
diff --git a/apps/dashboard/api-service/deployment/__init__.py b/apps/dashboard/api-service/deployment/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/apps/dashboard/api-service/deployment/in_memory.py b/apps/dashboard/api-service/deployment/in_memory.py
deleted file mode 100644
index 39a9cf8c2..000000000
--- a/apps/dashboard/api-service/deployment/in_memory.py
+++ /dev/null
@@ -1,103 +0,0 @@
-from typing import Any, Dict
-
-from opentelemetry.metrics import Observation
-from database.base import db
-from deployment.manager import AgentDeploymentManager, AgentDeployment
-from agent.from_template import get_agent_factory_from_template
-from observability import meter
-
-
-# TODO: Interemediate step between implementing the FC agent deployment
-# can be improving the in-memory deployment manager to use the processes instead of threads.
-class InMemoryDeploymentManager(AgentDeploymentManager):
- def __init__(self):
- self._deployments: Dict[str, AgentDeployment] = {}
-
- def report_deployments(opts):
- yield Observation(value=len(self._deployments))
-
- self.active_deployments_counter = meter.create_observable_up_down_counter(
- "agents.deployments.active",
- [report_deployments],
- "1",
- "Current number of active agent deployments",
- )
-
- def report_running_deployments(opts):
- yield Observation(
- value=len(
- [
- deployment
- for deployment in self._deployments.values()
- if deployment.agent.is_running()
- ]
- )
- )
-
- self.active_deployment_runs_counter = meter.create_observable_up_down_counter(
- "agents.deployments.runs.active",
- [report_running_deployments],
- "1",
- "Current number of active agent deployment runs",
- )
-
- async def create_deployment(
- self,
- id: str,
- project_id: str,
- config: Any,
- secrets: Any,
- ):
- print("Creating deployment", config)
- deployment = await AgentDeployment.from_factory(
- id,
- get_agent_factory_from_template(config["templateID"]),
- project_id,
- {
- **config,
- **secrets,
- },
- )
- try:
- # Right now we are not overwriting secrets here because
- # there is some problem with encrypting them when calling Supabase from the Python client and the JSON saved is invalid.
- await db.create_deployment(deployment.id, project_id, config)
- except:
- await deployment.agent.stop()
- raise
-
- self._deployments[deployment.id] = deployment
- return deployment
-
- async def update_deployment(
- self,
- id: str,
- project_id: str,
- config: Any,
- secrets: Any,
- ):
- print(">>>> Updating deployment", id, config)
- try:
- await self.remove_deployment(id)
- except:
- print("Failed to remove deployment", id)
- pass
- return await self.create_deployment(
- id,
- project_id,
- config,
- secrets,
- )
-
- async def remove_deployment(self, id: str):
- deployment = await self.get_deployment(id)
- await db.update_deployment(id, enabled=False)
- if deployment:
- await deployment.agent.stop()
- del self._deployments[deployment.id]
-
- async def get_deployment(self, id: str):
- return self._deployments.get(id, None)
-
- async def list_deployments(self) -> list[AgentDeployment]:
- return list(self._deployments.values())
diff --git a/apps/dashboard/api-service/deployment/manager.py b/apps/dashboard/api-service/deployment/manager.py
deleted file mode 100644
index a8052a315..000000000
--- a/apps/dashboard/api-service/deployment/manager.py
+++ /dev/null
@@ -1,178 +0,0 @@
-import os
-import uuid
-import aiohttp
-import json
-
-from datetime import datetime
-from typing import Any, Callable, Coroutine, List
-from abc import abstractmethod, ABC
-
-from .work_queue import WorkQueue
-
-
-from database.base import db
-from agent.base import (
- AgentBase,
- AgentInteractionRequest,
- OnLogs,
- SetRun,
- OnInteractionRequest,
- GetEnvs,
-)
-
-AgentFactory = Callable[
- [Any, GetEnvs, SetRun, OnLogs, OnInteractionRequest],
- Coroutine[None, None, AgentBase],
-]
-
-app_url = os.environ.get("APP_URL", "http://localhost:3000")
-secret_token = os.environ.get("SECRET_TOKEN")
-
-
-async def agent_run_done(deployment_id: str, prompt: str):
- async with aiohttp.ClientSession() as client:
- async with client.post(
- f"{app_url}/api/agent/run",
- data=json.dumps(
- {
- "deployment_id": deployment_id,
- "prompt": prompt,
- }
- ),
- headers={
- "Content-Type": "application/json",
- "Authorization": f"Bearer {secret_token}",
- },
- ) as response:
- await response.json()
-
-
-async def agent_run_cancelled(deployment_id: str):
- async with aiohttp.ClientSession() as client:
- async with client.delete(
- f"{app_url}/api/agent/run",
- data=json.dumps(
- {
- "deployment_id": deployment_id,
- }
- ),
- headers={
- "Content-Type": "application/json",
- "Authorization": f"Bearer {secret_token}",
- },
- ) as response:
- await response.json()
-
-
-class AgentEvents:
- def __init__(self, deployment_id: str, project_id: str) -> None:
- self.deployment_id = deployment_id
- self.logs: List[Any] = []
- self.interaction_requests: List[AgentInteractionRequest] = []
- self.run_id: str | None
-
- self.log_que = WorkQueue[List[Any]](
- lambda logs: db.update_deployment_logs(
- deployment_id=self.deployment_id,
- run_id=self.run_id,
- project_id=project_id,
- logs=logs,
- )
- )
-
- def set_run_id(self, run_id: str):
- self.logs = []
- self.run_id = run_id
-
- async def add_log(self, log: Any):
- date = datetime.now()
- log["timestamp"] = date.isoformat()
- log["id"] = str(uuid.uuid4())
- self.logs.append(log)
- self.log_que.schedule(self.logs)
-
- async def add_interaction_request(
- self,
- interaction_request: AgentInteractionRequest,
- ):
- self.interaction_requests.append(interaction_request)
- match interaction_request.type:
- case "done":
- await agent_run_done(
- self.deployment_id, interaction_request.data["prompt"]
- )
- case "cancelled":
- await agent_run_cancelled(self.deployment_id)
- # case "failed":
- # # TODO: Save agent/interactions/states/run
- # await agent_run_failed(self.id)
-
- def remove_interaction_request(self, interaction_id: str):
- self.interaction_requests = [
- interaction_request
- for interaction_request in self.interaction_requests
- if interaction_request.interaction_id != interaction_id
- ]
-
-
-class AgentDeployment:
- def __init__(self, id, agent: AgentBase, event_handler: AgentEvents):
- self.id = id
- self.agent = agent
- self.event_handler = event_handler
-
- @classmethod
- async def from_factory(
- cls,
- deployment_id: str,
- factory: AgentFactory,
- project_id: str,
- config: Any,
- ):
- event_handler = AgentEvents(deployment_id=deployment_id, project_id=project_id)
- agent = await factory(
- config,
- lambda: db.get_env_vars(project_id),
- event_handler.set_run_id,
- event_handler.add_log,
- event_handler.add_interaction_request,
- )
- return cls(deployment_id, agent, event_handler)
-
-
-class AgentDeploymentManager(ABC):
- """
- This is an abstract class that defines the interface for a deployment adapter.
-
- With this interface, we can create different deployment adapters that can be used
- to deploy and manage agents in different ways.
-
- For example, we can have a deployment adapter that deploys agents created by our library (without the need to use FCs right now) as Python tasks,
- a deployment adapter that deploys agents with arbiratry code in a Firecracker VM when we need it,
- or a deployment adapter that deploys agents as a docker container later.
- """
-
- @abstractmethod
- async def create_deployment(self, config: Any, **kwargs) -> AgentDeployment:
- pass
-
- @abstractmethod
- async def remove_deployment(self, id: str):
- pass
-
- @abstractmethod
- async def get_deployment(self, id: str) -> AgentDeployment | None:
- pass
-
- @abstractmethod
- async def list_deployments(self) -> List[AgentDeployment]:
- pass
-
- @abstractmethod
- async def update_deployment(
- self,
- id: str,
- config: Any,
- **kwargs,
- ) -> AgentDeployment:
- pass
diff --git a/apps/dashboard/api-service/deployment/work_queue.py b/apps/dashboard/api-service/deployment/work_queue.py
deleted file mode 100644
index 29ed47a12..000000000
--- a/apps/dashboard/api-service/deployment/work_queue.py
+++ /dev/null
@@ -1,50 +0,0 @@
-from asyncio import Queue, ensure_future
-from typing import Any, Callable, Coroutine, Generic, TypeVar
-
-from typing import Coroutine
-
-T = TypeVar("T")
-
-
-class WorkQueue(Generic[T]):
- """Queue that tries to always process only the most recently scheduled workload."""
-
- def __init__(self, on_workload: Callable[[T], Coroutine[Any, Any, Any]]) -> None:
- self._queue: Queue[Coroutine] = Queue()
- self._on_workload = on_workload
- # Start the worker that saves logs from queue to the db.
- self._worker = ensure_future(self._start())
-
- async def _work(self):
- # Remove all logs except the newest one from the queue.
- for _ in range(self._queue.qsize() - 1):
- old_coro = self._queue.get_nowait()
- try:
- old_coro.close()
- except Exception as e:
- print(e)
- finally:
- self._queue.task_done()
-
- # Save the newest log to the db or wait until a log is pushed to the queue and then save it to the db.
- task = await self._queue.get()
- try:
- await ensure_future(task)
- except Exception as e:
- print(e)
- finally:
- self._queue.task_done()
-
- async def _start(self):
- while True:
- await self._work()
-
- async def flush(self):
- await self._queue.join()
-
- def schedule(self, workload: T):
- task = self._on_workload(workload)
- self._queue.put_nowait(task)
-
- def close(self):
- self._worker.cancel()
diff --git a/apps/dashboard/api-service/generate.py b/apps/dashboard/api-service/generate.py
deleted file mode 100644
index 0f1ab34f6..000000000
--- a/apps/dashboard/api-service/generate.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# Script for generating and saving OpenAPI schema
-
-from fastapi.openapi.utils import get_openapi
-from app import app
-import json
-
-with open("openapi.json", "w") as f:
- json.dump(
- get_openapi(
- title=app.title,
- version=app.version,
- openapi_version=app.openapi_version,
- description=app.description,
- routes=app.routes,
- ),
- f,
- indent=2,
- )
diff --git a/apps/dashboard/api-service/observability.py b/apps/dashboard/api-service/observability.py
deleted file mode 100644
index 17dc08611..000000000
--- a/apps/dashboard/api-service/observability.py
+++ /dev/null
@@ -1,15 +0,0 @@
-from opentelemetry import metrics
-from opentelemetry import trace
-
-tracer = trace.get_tracer_provider().get_tracer(__name__)
-meter = metrics.get_meter_provider().get_meter(__name__)
-
-total_deployments_counter = meter.create_counter(
- "agents.deployments.total", "1", "Total number of agent deployments"
-)
-
-total_deployment_runs_counter = meter.create_counter(
- "agents.deployments.runs.total",
- "1",
- "Total number of agent deployment runs",
-)
diff --git a/apps/dashboard/api-service/openapi.json b/apps/dashboard/api-service/openapi.json
deleted file mode 100644
index 90790f2a5..000000000
--- a/apps/dashboard/api-service/openapi.json
+++ /dev/null
@@ -1,299 +0,0 @@
-{
- "openapi": "3.0.2",
- "info": {
- "title": "e2b-api",
- "version": "0.1.0"
- },
- "paths": {
- "/health": {
- "get": {
- "summary": "Health",
- "operationId": "health_health_get",
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
- }
- }
- }
- },
- "/deployments": {
- "put": {
- "summary": "Create Agent Deployment",
- "operationId": "create_agent_deployment_deployments_put",
- "parameters": [
- {
- "required": true,
- "schema": {
- "title": "Project Id",
- "type": "string"
- },
- "name": "project_id",
- "in": "query"
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CreateDeploymentBody"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- },
- "security": [
- {
- "OAuth2PasswordBearer": []
- }
- ]
- }
- },
- "/deployments/{id}": {
- "get": {
- "summary": "Get Agent Deployment",
- "operationId": "get_agent_deployment_deployments__id__get",
- "parameters": [
- {
- "required": true,
- "schema": {
- "title": "Id",
- "type": "string"
- },
- "name": "id",
- "in": "path"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- },
- "security": [
- {
- "OAuth2PasswordBearer": []
- }
- ]
- },
- "delete": {
- "summary": "Delete Agent Deployment",
- "operationId": "delete_agent_deployment_deployments__id__delete",
- "parameters": [
- {
- "required": true,
- "schema": {
- "title": "Id",
- "type": "string"
- },
- "name": "id",
- "in": "path"
- }
- ],
- "responses": {
- "204": {
- "description": "Successful Response"
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- },
- "security": [
- {
- "OAuth2PasswordBearer": []
- }
- ]
- }
- },
- "/deployments/{id}/interactions": {
- "post": {
- "summary": "Interact With Agent Deployment",
- "operationId": "interact_with_agent_deployment_deployments__id__interactions_post",
- "parameters": [
- {
- "required": true,
- "schema": {
- "title": "Id",
- "type": "string"
- },
- "name": "id",
- "in": "path"
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/AgentInteraction"
- }
- }
- },
- "required": true
- },
- "responses": {
- "200": {
- "description": "Successful Response",
- "content": {
- "application/json": {
- "schema": {}
- }
- }
- },
- "422": {
- "description": "Validation Error",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/HTTPValidationError"
- }
- }
- }
- }
- },
- "security": [
- {
- "OAuth2PasswordBearer": []
- }
- ]
- }
- }
- },
- "components": {
- "schemas": {
- "AgentInteraction": {
- "title": "AgentInteraction",
- "required": [
- "type"
- ],
- "type": "object",
- "properties": {
- "interaction_id": {
- "title": "Interaction Id",
- "type": "string"
- },
- "type": {
- "title": "Type",
- "type": "string"
- },
- "data": {
- "title": "Data"
- }
- }
- },
- "CreateDeploymentBody": {
- "title": "CreateDeploymentBody",
- "type": "object",
- "properties": {
- "config": {
- "title": "Config"
- },
- "secrets": {
- "title": "Secrets"
- }
- }
- },
- "HTTPValidationError": {
- "title": "HTTPValidationError",
- "type": "object",
- "properties": {
- "detail": {
- "title": "Detail",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ValidationError"
- }
- }
- }
- },
- "ValidationError": {
- "title": "ValidationError",
- "required": [
- "loc",
- "msg",
- "type"
- ],
- "type": "object",
- "properties": {
- "loc": {
- "title": "Location",
- "type": "array",
- "items": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- }
- },
- "msg": {
- "title": "Message",
- "type": "string"
- },
- "type": {
- "title": "Error Type",
- "type": "string"
- }
- }
- }
- },
- "securitySchemes": {
- "OAuth2PasswordBearer": {
- "type": "oauth2",
- "flows": {
- "password": {
- "scopes": {},
- "tokenUrl": ""
- }
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/openapitools.json b/apps/dashboard/api-service/openapitools.json
deleted file mode 100644
index 04369381e..000000000
--- a/apps/dashboard/api-service/openapitools.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
- "spaces": 2,
- "generator-cli": {
- "version": "6.4.0"
- }
-}
diff --git a/apps/dashboard/api-service/playground/.gitignore b/apps/dashboard/api-service/playground/.gitignore
deleted file mode 100644
index 684adb13f..000000000
--- a/apps/dashboard/api-service/playground/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-node_modules
-
-lib
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground/nodemon.json b/apps/dashboard/api-service/playground/nodemon.json
deleted file mode 100644
index e5fec7f3d..000000000
--- a/apps/dashboard/api-service/playground/nodemon.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "watch": [
- "src"
- ],
- "events": {
- "restart": "kill-port 49160",
- "crash": "kill-port 49160"
- },
- "ignore": [
- "src/generated/**/*"
- ],
- "ext": ".ts",
- "delay": 200,
- "exec": "cross-env NODE_ENV=dev; tsoa spec-and-routes && cross-env ./scripts/build.js && node ./lib/server.js"
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground/package-lock.json b/apps/dashboard/api-service/playground/package-lock.json
deleted file mode 100644
index 7849e7807..000000000
--- a/apps/dashboard/api-service/playground/package-lock.json
+++ /dev/null
@@ -1,3033 +0,0 @@
-{
- "name": "playground",
- "version": "1.0.0",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "": {
- "name": "playground",
- "version": "1.0.0",
- "dependencies": {
- "@devbookhq/sdk": "^2.6.74",
- "express": "^4.18.2",
- "morgan": "^1.10.0",
- "node-cache": "^5.1.2",
- "tsoa": "^5.1.1"
- },
- "devDependencies": {
- "@types/express": "^4.17.17",
- "@types/morgan": "^1.9.4",
- "@types/node": "^18.15.0",
- "concurrently": "^7.6.0",
- "esbuild": "^0.17.11",
- "kill-port": "^2.0.1",
- "nodemon": "^2.0.21",
- "typescript": "^4.9.5"
- }
- },
- "node_modules/@devbookhq/sdk": {
- "version": "2.6.74",
- "resolved": "https://registry.npmjs.org/@devbookhq/sdk/-/sdk-2.6.74.tgz",
- "integrity": "sha512-6T2gVnVzfKBr4L1nnP85MzzHN6KFzKyVsYrFavZHnwKqV6pNw+zzyz/CgBjXi1ilucuHjl8xAw7WPQW2v2SGxw==",
- "dependencies": {
- "cross-fetch": "^3.1.5",
- "normalize-path": "^3.0.0",
- "openapi-typescript-fetch": "^1.1.3",
- "rpc-websocket-client": "^1.1.4"
- }
- },
- "node_modules/@esbuild/android-arm": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.15.tgz",
- "integrity": "sha512-sRSOVlLawAktpMvDyJIkdLI/c/kdRTOqo8t6ImVxg8yT7LQDUYV5Rp2FKeEosLr6ZCja9UjYAzyRSxGteSJPYg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-arm64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.15.tgz",
- "integrity": "sha512-0kOB6Y7Br3KDVgHeg8PRcvfLkq+AccreK///B4Z6fNZGr/tNHX0z2VywCc7PTeWp+bPvjA5WMvNXltHw5QjAIA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/android-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.15.tgz",
- "integrity": "sha512-MzDqnNajQZ63YkaUWVl9uuhcWyEyh69HGpMIrf+acR4otMkfLJ4sUCxqwbCyPGicE9dVlrysI3lMcDBjGiBBcQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.15.tgz",
- "integrity": "sha512-7siLjBc88Z4+6qkMDxPT2juf2e8SJxmsbNVKFY2ifWCDT72v5YJz9arlvBw5oB4W/e61H1+HDB/jnu8nNg0rLA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.15.tgz",
- "integrity": "sha512-NbImBas2rXwYI52BOKTW342Tm3LTeVlaOQ4QPZ7XuWNKiO226DisFk/RyPk3T0CKZkKMuU69yOvlapJEmax7cg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.15.tgz",
- "integrity": "sha512-Xk9xMDjBVG6CfgoqlVczHAdJnCs0/oeFOspFap5NkYAmRCT2qTn1vJWA2f419iMtsHSLm+O8B6SLV/HlY5cYKg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.15.tgz",
- "integrity": "sha512-3TWAnnEOdclvb2pnfsTWtdwthPfOz7qAfcwDLcfZyGJwm1SRZIMOeB5FODVhnM93mFSPsHB9b/PmxNNbSnd0RQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.15.tgz",
- "integrity": "sha512-MLTgiXWEMAMr8nmS9Gigx43zPRmEfeBfGCwxFQEMgJ5MC53QKajaclW6XDPjwJvhbebv+RzK05TQjvH3/aM4Xw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.15.tgz",
- "integrity": "sha512-T0MVnYw9KT6b83/SqyznTs/3Jg2ODWrZfNccg11XjDehIved2oQfrX/wVuev9N936BpMRaTR9I1J0tdGgUgpJA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.15.tgz",
- "integrity": "sha512-wp02sHs015T23zsQtU4Cj57WiteiuASHlD7rXjKUyAGYzlOKDAjqK6bk5dMi2QEl/KVOcsjwL36kD+WW7vJt8Q==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.15.tgz",
- "integrity": "sha512-k7FsUJjGGSxwnBmMh8d7IbObWu+sF/qbwc+xKZkBe/lTAF16RqxRCnNHA7QTd3oS2AfGBAnHlXL67shV5bBThQ==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.15.tgz",
- "integrity": "sha512-ZLWk6czDdog+Q9kE/Jfbilu24vEe/iW/Sj2d8EVsmiixQ1rM2RKH2n36qfxK4e8tVcaXkvuV3mU5zTZviE+NVQ==",
- "cpu": [
- "mips64el"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.15.tgz",
- "integrity": "sha512-mY6dPkIRAiFHRsGfOYZC8Q9rmr8vOBZBme0/j15zFUKM99d4ILY4WpOC7i/LqoY+RE7KaMaSfvY8CqjJtuO4xg==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.15.tgz",
- "integrity": "sha512-EcyUtxffdDtWjjwIH8sKzpDRLcVtqANooMNASO59y+xmqqRYBBM7xVLQhqF7nksIbm2yHABptoioS9RAbVMWVA==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.15.tgz",
- "integrity": "sha512-BuS6Jx/ezxFuHxgsfvz7T4g4YlVrmCmg7UAwboeyNNg0OzNzKsIZXpr3Sb/ZREDXWgt48RO4UQRDBxJN3B9Rbg==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/linux-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.15.tgz",
- "integrity": "sha512-JsdS0EgEViwuKsw5tiJQo9UdQdUJYuB+Mf6HxtJSPN35vez1hlrNb1KajvKWF5Sa35j17+rW1ECEO9iNrIXbNg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.15.tgz",
- "integrity": "sha512-R6fKjtUysYGym6uXf6qyNephVUQAGtf3n2RCsOST/neIwPqRWcnc3ogcielOd6pT+J0RDR1RGcy0ZY7d3uHVLA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.15.tgz",
- "integrity": "sha512-mVD4PGc26b8PI60QaPUltYKeSX0wxuy0AltC+WCTFwvKCq2+OgLP4+fFd+hZXzO2xW1HPKcytZBdjqL6FQFa7w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.15.tgz",
- "integrity": "sha512-U6tYPovOkw3459t2CBwGcFYfFRjivcJJc1WC8Q3funIwX8x4fP+R6xL/QuTPNGOblbq/EUDxj9GU+dWKX0oWlQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "sunos"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.15.tgz",
- "integrity": "sha512-W+Z5F++wgKAleDABemiyXVnzXgvRFs+GVKThSI+mGgleLWluv0D7Diz4oQpgdpNzh4i2nNDzQtWbjJiqutRp6Q==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.15.tgz",
- "integrity": "sha512-Muz/+uGgheShKGqSVS1KsHtCyEzcdOn/W/Xbh6H91Etm+wiIfwZaBn1W58MeGtfI8WA961YMHFYTthBdQs4t+w==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@esbuild/win32-x64": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.15.tgz",
- "integrity": "sha512-DjDa9ywLUUmjhV2Y9wUTIF+1XsmuFGvZoCmOWkli1XcNAh5t25cc7fgsCx4Zi/Uurep3TTLyDiKATgGEg61pkA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@tsoa/cli": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/@tsoa/cli/-/cli-5.1.1.tgz",
- "integrity": "sha512-krvp6Qr2yPUfj6bJRs0vwQhLANeINzyusNnzgSoerDfBBBnjZ+VhvR4rWguAcLc1kgP/kFAJz5kIp4iqLFmILQ==",
- "dependencies": {
- "@tsoa/runtime": "^5.0.0",
- "deepmerge": "^4.2.2",
- "fs-extra": "^10.1.0",
- "glob": "^8.0.3",
- "handlebars": "^4.7.7",
- "merge": "^2.1.1",
- "minimatch": "^5.1.0",
- "typescript": "^4.9.5",
- "validator": "^13.7.0",
- "yamljs": "^0.3.0",
- "yargs": "^17.5.1"
- },
- "bin": {
- "tsoa": "dist/cli.js"
- },
- "engines": {
- "node": ">=12.0.0",
- "yarn": ">=1.9.4"
- }
- },
- "node_modules/@tsoa/cli/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/@tsoa/cli/node_modules/minimatch": {
- "version": "5.1.6",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@tsoa/runtime": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/@tsoa/runtime/-/runtime-5.0.0.tgz",
- "integrity": "sha512-DY0x7ZhNRF9FcwCZXQQbQhVj3bfZe0LScNyqp0c8PhDTj0gRMjY4ESVpihopRzhQtamReJoDRg3FhEu4BlSVtA==",
- "dependencies": {
- "@types/multer": "^1.4.7",
- "promise.any": "^2.0.5",
- "reflect-metadata": "^0.1.13",
- "validator": "^13.7.0"
- },
- "engines": {
- "node": ">=12.0.0",
- "yarn": ">=1.9.4"
- }
- },
- "node_modules/@types/body-parser": {
- "version": "1.19.2",
- "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",
- "integrity": "sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==",
- "dependencies": {
- "@types/connect": "*",
- "@types/node": "*"
- }
- },
- "node_modules/@types/connect": {
- "version": "3.4.35",
- "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz",
- "integrity": "sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==",
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@types/express": {
- "version": "4.17.17",
- "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.17.tgz",
- "integrity": "sha512-Q4FmmuLGBG58btUnfS1c1r/NQdlp3DMfGDGig8WhfpA2YRUtEkxAjkZb0yvplJGYdF1fsQ81iMDcH24sSCNC/Q==",
- "dependencies": {
- "@types/body-parser": "*",
- "@types/express-serve-static-core": "^4.17.33",
- "@types/qs": "*",
- "@types/serve-static": "*"
- }
- },
- "node_modules/@types/express-serve-static-core": {
- "version": "4.17.33",
- "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.33.tgz",
- "integrity": "sha512-TPBqmR/HRYI3eC2E5hmiivIzv+bidAfXofM+sbonAGvyDhySGw9/PQZFt2BLOrjUUR++4eJVpx6KnLQK1Fk9tA==",
- "dependencies": {
- "@types/node": "*",
- "@types/qs": "*",
- "@types/range-parser": "*"
- }
- },
- "node_modules/@types/mime": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@types/mime/-/mime-3.0.1.tgz",
- "integrity": "sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA=="
- },
- "node_modules/@types/morgan": {
- "version": "1.9.4",
- "resolved": "https://registry.npmjs.org/@types/morgan/-/morgan-1.9.4.tgz",
- "integrity": "sha512-cXoc4k+6+YAllH3ZHmx4hf7La1dzUk6keTR4bF4b4Sc0mZxU/zK4wO7l+ZzezXm/jkYj/qC+uYGZrarZdIVvyQ==",
- "dev": true,
- "dependencies": {
- "@types/node": "*"
- }
- },
- "node_modules/@types/multer": {
- "version": "1.4.7",
- "resolved": "https://registry.npmjs.org/@types/multer/-/multer-1.4.7.tgz",
- "integrity": "sha512-/SNsDidUFCvqqcWDwxv2feww/yqhNeTRL5CVoL3jU4Goc4kKEL10T7Eye65ZqPNi4HRx8sAEX59pV1aEH7drNA==",
- "dependencies": {
- "@types/express": "*"
- }
- },
- "node_modules/@types/node": {
- "version": "18.15.11",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz",
- "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q=="
- },
- "node_modules/@types/qs": {
- "version": "6.9.7",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz",
- "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw=="
- },
- "node_modules/@types/range-parser": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.4.tgz",
- "integrity": "sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw=="
- },
- "node_modules/@types/serve-static": {
- "version": "1.15.1",
- "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.1.tgz",
- "integrity": "sha512-NUo5XNiAdULrJENtJXZZ3fHtfMolzZwczzBbnAeBbqBwG+LaG6YaJtuwzwGSQZ2wsCrxjEhNNjAkKigy3n8teQ==",
- "dependencies": {
- "@types/mime": "*",
- "@types/node": "*"
- }
- },
- "node_modules/abbrev": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
- "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
- "dev": true
- },
- "node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
- "dev": true,
- "dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/argparse": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
- "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dependencies": {
- "sprintf-js": "~1.0.2"
- }
- },
- "node_modules/array-buffer-byte-length": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
- "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "is-array-buffer": "^3.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
- },
- "node_modules/array.prototype.map": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.5.tgz",
- "integrity": "sha512-gfaKntvwqYIuC7mLLyv2wzZIJqrRhn5PZ9EfFejSx6a78sV7iDsGpG9P+3oUPtm1Rerqm6nrKS4FYuTIvWfo3g==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4",
- "es-array-method-boxes-properly": "^1.0.0",
- "is-string": "^1.0.7"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/available-typed-arrays": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
- "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
- },
- "node_modules/basic-auth": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz",
- "integrity": "sha512-NF+epuEdnUYVlGuhaxbbq+dvJttwLnGY+YixlXlME5KpQ5W3CnXA5cVTneY3SPbPDRkcjMbifrwmFYcClgOZeg==",
- "dependencies": {
- "safe-buffer": "5.1.2"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/basic-auth/node_modules/safe-buffer": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
- },
- "node_modules/binary-extensions": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
- "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/body-parser": {
- "version": "1.20.1",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
- "integrity": "sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw==",
- "dependencies": {
- "bytes": "3.1.2",
- "content-type": "~1.0.4",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "on-finished": "2.4.1",
- "qs": "6.11.0",
- "raw-body": "2.5.1",
- "type-is": "~1.6.18",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
- "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
- "dependencies": {
- "fill-range": "^7.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/bufferutil": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.7.tgz",
- "integrity": "sha512-kukuqc39WOHtdxtw4UScxF/WVnMFVSQVKhtx3AjZJzhd0RGZZldcrfSEbVsWWe6KNH253574cq5F+wpv0G9pJw==",
- "hasInstallScript": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "node-gyp-build": "^4.3.0"
- },
- "engines": {
- "node": ">=6.14.2"
- }
- },
- "node_modules/bytes": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
- "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/call-bind": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
- "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "get-intrinsic": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/chalk/node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/chokidar": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
- "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
- "dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- ],
- "dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
- },
- "engines": {
- "node": ">= 8.10.0"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/clone": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
- "integrity": "sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w==",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="
- },
- "node_modules/concurrently": {
- "version": "7.6.0",
- "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-7.6.0.tgz",
- "integrity": "sha512-BKtRgvcJGeZ4XttiDiNcFiRlxoAeZOseqUvyYRUp/Vtd+9p1ULmeoSqGsDA+2ivdeDFpqrJvGvmI+StKfKl5hw==",
- "dev": true,
- "dependencies": {
- "chalk": "^4.1.0",
- "date-fns": "^2.29.1",
- "lodash": "^4.17.21",
- "rxjs": "^7.0.0",
- "shell-quote": "^1.7.3",
- "spawn-command": "^0.0.2-1",
- "supports-color": "^8.1.0",
- "tree-kill": "^1.2.2",
- "yargs": "^17.3.1"
- },
- "bin": {
- "conc": "dist/bin/concurrently.js",
- "concurrently": "dist/bin/concurrently.js"
- },
- "engines": {
- "node": "^12.20.0 || ^14.13.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://github.com/open-cli-tools/concurrently?sponsor=1"
- }
- },
- "node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/content-type": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
- "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
- "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie-signature": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
- "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
- },
- "node_modules/cross-fetch": {
- "version": "3.1.5",
- "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz",
- "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==",
- "dependencies": {
- "node-fetch": "2.6.7"
- }
- },
- "node_modules/date-fns": {
- "version": "2.29.3",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz",
- "integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA==",
- "dev": true,
- "engines": {
- "node": ">=0.11"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/date-fns"
- }
- },
- "node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/deepmerge": {
- "version": "4.3.1",
- "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
- "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/define-properties": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz",
- "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==",
- "dependencies": {
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/depd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
- "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/destroy": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
- "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
- },
- "node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
- },
- "node_modules/encodeurl": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
- "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/es-abstract": {
- "version": "1.21.2",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.2.tgz",
- "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==",
- "dependencies": {
- "array-buffer-byte-length": "^1.0.0",
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
- "es-set-tostringtag": "^2.0.1",
- "es-to-primitive": "^1.2.1",
- "function.prototype.name": "^1.1.5",
- "get-intrinsic": "^1.2.0",
- "get-symbol-description": "^1.0.0",
- "globalthis": "^1.0.3",
- "gopd": "^1.0.1",
- "has": "^1.0.3",
- "has-property-descriptors": "^1.0.0",
- "has-proto": "^1.0.1",
- "has-symbols": "^1.0.3",
- "internal-slot": "^1.0.5",
- "is-array-buffer": "^3.0.2",
- "is-callable": "^1.2.7",
- "is-negative-zero": "^2.0.2",
- "is-regex": "^1.1.4",
- "is-shared-array-buffer": "^1.0.2",
- "is-string": "^1.0.7",
- "is-typed-array": "^1.1.10",
- "is-weakref": "^1.0.2",
- "object-inspect": "^1.12.3",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.4",
- "regexp.prototype.flags": "^1.4.3",
- "safe-regex-test": "^1.0.0",
- "string.prototype.trim": "^1.2.7",
- "string.prototype.trimend": "^1.0.6",
- "string.prototype.trimstart": "^1.0.6",
- "typed-array-length": "^1.0.4",
- "unbox-primitive": "^1.0.2",
- "which-typed-array": "^1.1.9"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/es-aggregate-error": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.9.tgz",
- "integrity": "sha512-fvnX40sb538wdU6r4s35cq4EY6Lr09Upj40BEVem4LEsuW8XgQep9yD5Q1U2KftokNp1rWODFJ2qwZSsAjFpbg==",
- "dependencies": {
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4",
- "function-bind": "^1.1.1",
- "functions-have-names": "^1.2.3",
- "get-intrinsic": "^1.1.3",
- "globalthis": "^1.0.3",
- "has-property-descriptors": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/es-array-method-boxes-properly": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz",
- "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA=="
- },
- "node_modules/es-get-iterator": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz",
- "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.3",
- "has-symbols": "^1.0.3",
- "is-arguments": "^1.1.1",
- "is-map": "^2.0.2",
- "is-set": "^2.0.2",
- "is-string": "^1.0.7",
- "isarray": "^2.0.5",
- "stop-iteration-iterator": "^1.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/es-set-tostringtag": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz",
- "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==",
- "dependencies": {
- "get-intrinsic": "^1.1.3",
- "has": "^1.0.3",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "dependencies": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/esbuild": {
- "version": "0.17.15",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.15.tgz",
- "integrity": "sha512-LBUV2VsUIc/iD9ME75qhT4aJj0r75abCVS0jakhFzOtR7TQsqQA5w0tZ+KTKnwl3kXE0MhskNdHDh/I5aCR1Zw==",
- "dev": true,
- "hasInstallScript": true,
- "bin": {
- "esbuild": "bin/esbuild"
- },
- "engines": {
- "node": ">=12"
- },
- "optionalDependencies": {
- "@esbuild/android-arm": "0.17.15",
- "@esbuild/android-arm64": "0.17.15",
- "@esbuild/android-x64": "0.17.15",
- "@esbuild/darwin-arm64": "0.17.15",
- "@esbuild/darwin-x64": "0.17.15",
- "@esbuild/freebsd-arm64": "0.17.15",
- "@esbuild/freebsd-x64": "0.17.15",
- "@esbuild/linux-arm": "0.17.15",
- "@esbuild/linux-arm64": "0.17.15",
- "@esbuild/linux-ia32": "0.17.15",
- "@esbuild/linux-loong64": "0.17.15",
- "@esbuild/linux-mips64el": "0.17.15",
- "@esbuild/linux-ppc64": "0.17.15",
- "@esbuild/linux-riscv64": "0.17.15",
- "@esbuild/linux-s390x": "0.17.15",
- "@esbuild/linux-x64": "0.17.15",
- "@esbuild/netbsd-x64": "0.17.15",
- "@esbuild/openbsd-x64": "0.17.15",
- "@esbuild/sunos-x64": "0.17.15",
- "@esbuild/win32-arm64": "0.17.15",
- "@esbuild/win32-ia32": "0.17.15",
- "@esbuild/win32-x64": "0.17.15"
- }
- },
- "node_modules/escalade": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
- },
- "node_modules/etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/express": {
- "version": "4.18.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
- "integrity": "sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ==",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "1.20.1",
- "content-disposition": "0.5.4",
- "content-type": "~1.0.4",
- "cookie": "0.5.0",
- "cookie-signature": "1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "1.2.0",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "merge-descriptors": "1.0.1",
- "methods": "~1.1.2",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "0.1.7",
- "proxy-addr": "~2.0.7",
- "qs": "6.11.0",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "0.18.0",
- "serve-static": "1.15.0",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- }
- },
- "node_modules/fill-range": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
- "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/finalhandler": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
- "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "on-finished": "2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "2.0.1",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/for-each": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
- "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
- "dependencies": {
- "is-callable": "^1.1.3"
- }
- },
- "node_modules/forwarded": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
- "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/fs-extra": {
- "version": "10.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
- "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
- "dependencies": {
- "graceful-fs": "^4.2.0",
- "jsonfile": "^6.0.1",
- "universalify": "^2.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw=="
- },
- "node_modules/fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
- },
- "node_modules/function.prototype.name": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.5.tgz",
- "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3",
- "es-abstract": "^1.19.0",
- "functions-have-names": "^1.2.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/functions-have-names": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
- "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
- "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
- "dependencies": {
- "function-bind": "^1.1.1",
- "has": "^1.0.3",
- "has-symbols": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-symbol-description": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
- "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-them-args": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/get-them-args/-/get-them-args-1.3.2.tgz",
- "integrity": "sha512-LRn8Jlk+DwZE4GTlDbT3Hikd1wSHgLMme/+7ddlqKd7ldwR6LjJgTVWzBnR01wnYGe4KgrXjg287RaI22UHmAw==",
- "dev": true
- },
- "node_modules/glob": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
- "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^5.0.1",
- "once": "^1.3.0"
- },
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/glob/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/glob/node_modules/minimatch": {
- "version": "5.1.6",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
- "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/globalthis": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz",
- "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
- "dependencies": {
- "define-properties": "^1.1.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/gopd": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
- "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
- "dependencies": {
- "get-intrinsic": "^1.1.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/graceful-fs": {
- "version": "4.2.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
- },
- "node_modules/handlebars": {
- "version": "4.7.7",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz",
- "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==",
- "dependencies": {
- "minimist": "^1.2.5",
- "neo-async": "^2.6.0",
- "source-map": "^0.6.1",
- "wordwrap": "^1.0.0"
- },
- "bin": {
- "handlebars": "bin/handlebars"
- },
- "engines": {
- "node": ">=0.4.7"
- },
- "optionalDependencies": {
- "uglify-js": "^3.1.4"
- }
- },
- "node_modules/has": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
- "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dependencies": {
- "function-bind": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/has-bigints": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
- "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz",
- "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==",
- "dependencies": {
- "get-intrinsic": "^1.1.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
- "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
- "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-tostringtag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
- "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/http-errors": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
- "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
- "dependencies": {
- "depd": "2.0.0",
- "inherits": "2.0.4",
- "setprototypeof": "1.2.0",
- "statuses": "2.0.1",
- "toidentifier": "1.0.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/ignore-by-default": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz",
- "integrity": "sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA==",
- "dev": true
- },
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
- },
- "node_modules/internal-slot": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz",
- "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==",
- "dependencies": {
- "get-intrinsic": "^1.2.0",
- "has": "^1.0.3",
- "side-channel": "^1.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/ipaddr.js": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
- "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/is-arguments": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz",
- "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-array-buffer": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
- "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.0",
- "is-typed-array": "^1.1.10"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-bigint": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
- "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
- "dependencies": {
- "has-bigints": "^1.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
- "dev": true,
- "dependencies": {
- "binary-extensions": "^2.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-boolean-object": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
- "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-callable": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
- "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-date-object": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
- "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-map": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz",
- "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-negative-zero": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",
- "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/is-number-object": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
- "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-regex": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
- "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-set": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz",
- "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-shared-array-buffer": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",
- "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",
- "dependencies": {
- "call-bind": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-string": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
- "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-symbol": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
- "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-typed-array": {
- "version": "1.1.10",
- "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz",
- "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==",
- "dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "gopd": "^1.0.1",
- "has-tostringtag": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-weakref": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
- "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
- "dependencies": {
- "call-bind": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/isarray": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="
- },
- "node_modules/isomorphic-ws": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz",
- "integrity": "sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w==",
- "peerDependencies": {
- "ws": "*"
- }
- },
- "node_modules/iterate-iterator": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.2.tgz",
- "integrity": "sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/iterate-value": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz",
- "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==",
- "dependencies": {
- "es-get-iterator": "^1.0.2",
- "iterate-iterator": "^1.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/jsonfile": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
- "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
- "dependencies": {
- "universalify": "^2.0.0"
- },
- "optionalDependencies": {
- "graceful-fs": "^4.1.6"
- }
- },
- "node_modules/kill-port": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/kill-port/-/kill-port-2.0.1.tgz",
- "integrity": "sha512-e0SVOV5jFo0mx8r7bS29maVWp17qGqLBZ5ricNSajON6//kmb7qqqNnml4twNE8Dtj97UQD+gNFOaipS/q1zzQ==",
- "dev": true,
- "dependencies": {
- "get-them-args": "1.3.2",
- "shell-exec": "1.0.2"
- },
- "bin": {
- "kill-port": "cli.js"
- }
- },
- "node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
- "dev": true
- },
- "node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/merge": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz",
- "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w=="
- },
- "node_modules/merge-descriptors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
- "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
- },
- "node_modules/methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/minimist": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
- "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/morgan": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.10.0.tgz",
- "integrity": "sha512-AbegBVI4sh6El+1gNwvD5YIck7nSA36weD7xvIxG4in80j/UoK8AEGaWnnz8v1GxonMCltmlNs5ZKbGvl9b1XQ==",
- "dependencies": {
- "basic-auth": "~2.0.1",
- "debug": "2.6.9",
- "depd": "~2.0.0",
- "on-finished": "~2.3.0",
- "on-headers": "~1.0.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/morgan/node_modules/on-finished": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
- "integrity": "sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==",
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
- },
- "node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/neo-async": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
- "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
- },
- "node_modules/node-cache": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/node-cache/-/node-cache-5.1.2.tgz",
- "integrity": "sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==",
- "dependencies": {
- "clone": "2.x"
- },
- "engines": {
- "node": ">= 8.0.0"
- }
- },
- "node_modules/node-fetch": {
- "version": "2.6.7",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
- "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
- "dependencies": {
- "whatwg-url": "^5.0.0"
- },
- "engines": {
- "node": "4.x || >=6.0.0"
- },
- "peerDependencies": {
- "encoding": "^0.1.0"
- },
- "peerDependenciesMeta": {
- "encoding": {
- "optional": true
- }
- }
- },
- "node_modules/node-gyp-build": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz",
- "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==",
- "optional": true,
- "peer": true,
- "bin": {
- "node-gyp-build": "bin.js",
- "node-gyp-build-optional": "optional.js",
- "node-gyp-build-test": "build-test.js"
- }
- },
- "node_modules/nodemon": {
- "version": "2.0.22",
- "resolved": "https://registry.npmjs.org/nodemon/-/nodemon-2.0.22.tgz",
- "integrity": "sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ==",
- "dev": true,
- "dependencies": {
- "chokidar": "^3.5.2",
- "debug": "^3.2.7",
- "ignore-by-default": "^1.0.1",
- "minimatch": "^3.1.2",
- "pstree.remy": "^1.1.8",
- "semver": "^5.7.1",
- "simple-update-notifier": "^1.0.7",
- "supports-color": "^5.5.0",
- "touch": "^3.1.0",
- "undefsafe": "^2.0.5"
- },
- "bin": {
- "nodemon": "bin/nodemon.js"
- },
- "engines": {
- "node": ">=8.10.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/nodemon"
- }
- },
- "node_modules/nodemon/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
- "dependencies": {
- "ms": "^2.1.1"
- }
- },
- "node_modules/nodemon/node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
- "dev": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/nodemon/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true
- },
- "node_modules/nodemon/node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "dependencies": {
- "has-flag": "^3.0.0"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/nopt": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
- "integrity": "sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg==",
- "dev": true,
- "dependencies": {
- "abbrev": "1"
- },
- "bin": {
- "nopt": "bin/nopt.js"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/normalize-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
- "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.12.3",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
- "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/object-keys": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/object.assign": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz",
- "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "has-symbols": "^1.0.3",
- "object-keys": "^1.1.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/on-finished": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
- "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/on-headers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz",
- "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/openapi-typescript-fetch": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/openapi-typescript-fetch/-/openapi-typescript-fetch-1.1.3.tgz",
- "integrity": "sha512-smLZPck4OkKMNExcw8jMgrMOGgVGx2N/s6DbKL2ftNl77g5HfoGpZGFy79RBzU/EkaO0OZpwBnslfdBfh7ZcWg==",
- "engines": {
- "node": ">= 12.0.0",
- "npm": ">= 7.0.0"
- }
- },
- "node_modules/parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/path-to-regexp": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
- "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
- },
- "node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true,
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/promise.any": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/promise.any/-/promise.any-2.0.5.tgz",
- "integrity": "sha512-aM+D4cv0Sjkc90Qhg19XH8Mo5aw28YWqPTFWFkaOpE80MuPbjH/brgI7NI4YGWbcS3suOa0xjJrYznet7lSHhw==",
- "dependencies": {
- "array.prototype.map": "^1.0.5",
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4",
- "es-aggregate-error": "^1.0.9",
- "get-intrinsic": "^1.1.3",
- "iterate-value": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/proxy-addr": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
- "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
- "dependencies": {
- "forwarded": "0.2.0",
- "ipaddr.js": "1.9.1"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/pstree.remy": {
- "version": "1.1.8",
- "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz",
- "integrity": "sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==",
- "dev": true
- },
- "node_modules/qs": {
- "version": "6.11.0",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
- "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
- "dependencies": {
- "side-channel": "^1.0.4"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/raw-body": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz",
- "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==",
- "dependencies": {
- "bytes": "3.1.2",
- "http-errors": "2.0.0",
- "iconv-lite": "0.4.24",
- "unpipe": "1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/readdirp": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
- "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
- "dev": true,
- "dependencies": {
- "picomatch": "^2.2.1"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/reflect-metadata": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.13.tgz",
- "integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg=="
- },
- "node_modules/regexp.prototype.flags": {
- "version": "1.4.3",
- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz",
- "integrity": "sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.3",
- "functions-have-names": "^1.2.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/rpc-websocket-client": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/rpc-websocket-client/-/rpc-websocket-client-1.1.4.tgz",
- "integrity": "sha512-UDMVcsNDJ3WET+0EFdmseYX+60MOCA3BpgpZ5dbtiGsqHo+9uWfgNbPZ4iGDtNcX+EUhCt/Y7C0fTmUU3CkkWA==",
- "dependencies": {
- "isomorphic-ws": "^4.0.1",
- "uuid": "^3.3.3",
- "ws": "^7.1.2"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/rpc-websocket-client/node_modules/uuid": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
- "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
- "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.",
- "bin": {
- "uuid": "bin/uuid"
- }
- },
- "node_modules/rxjs": {
- "version": "7.8.0",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz",
- "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==",
- "dev": true,
- "dependencies": {
- "tslib": "^2.1.0"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/safe-regex-test": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",
- "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.1.3",
- "is-regex": "^1.1.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
- },
- "node_modules/semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
- "dev": true,
- "bin": {
- "semver": "bin/semver"
- }
- },
- "node_modules/send": {
- "version": "0.18.0",
- "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
- "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
- "dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "0.5.2",
- "http-errors": "2.0.0",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "2.0.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/send/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
- },
- "node_modules/serve-static": {
- "version": "1.15.0",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
- "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
- "dependencies": {
- "encodeurl": "~1.0.2",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "0.18.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/setprototypeof": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
- "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
- },
- "node_modules/shell-exec": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/shell-exec/-/shell-exec-1.0.2.tgz",
- "integrity": "sha512-jyVd+kU2X+mWKMmGhx4fpWbPsjvD53k9ivqetutVW/BQ+WIZoDoP4d8vUMGezV6saZsiNoW2f9GIhg9Dondohg==",
- "dev": true
- },
- "node_modules/shell-quote": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.0.tgz",
- "integrity": "sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ==",
- "dev": true,
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
- "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
- "dependencies": {
- "call-bind": "^1.0.0",
- "get-intrinsic": "^1.0.2",
- "object-inspect": "^1.9.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/simple-update-notifier": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz",
- "integrity": "sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg==",
- "dev": true,
- "dependencies": {
- "semver": "~7.0.0"
- },
- "engines": {
- "node": ">=8.10.0"
- }
- },
- "node_modules/simple-update-notifier/node_modules/semver": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz",
- "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==",
- "dev": true,
- "bin": {
- "semver": "bin/semver.js"
- }
- },
- "node_modules/source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/spawn-command": {
- "version": "0.0.2-1",
- "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz",
- "integrity": "sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg==",
- "dev": true
- },
- "node_modules/sprintf-js": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
- "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
- },
- "node_modules/statuses": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
- "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/stop-iteration-iterator": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz",
- "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==",
- "dependencies": {
- "internal-slot": "^1.0.4"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/string.prototype.trim": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz",
- "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimend": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
- "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/string.prototype.trimstart": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz",
- "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.1.4",
- "es-abstract": "^1.20.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/supports-color": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
- "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
- "dev": true,
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/supports-color?sponsor=1"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/toidentifier": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
- "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/touch": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz",
- "integrity": "sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA==",
- "dev": true,
- "dependencies": {
- "nopt": "~1.0.10"
- },
- "bin": {
- "nodetouch": "bin/nodetouch.js"
- }
- },
- "node_modules/tr46": {
- "version": "0.0.3",
- "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
- "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
- },
- "node_modules/tree-kill": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
- "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
- "dev": true,
- "bin": {
- "tree-kill": "cli.js"
- }
- },
- "node_modules/tslib": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz",
- "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==",
- "dev": true
- },
- "node_modules/tsoa": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/tsoa/-/tsoa-5.1.1.tgz",
- "integrity": "sha512-U6+5CyD3+u9Dtza0fBnv4+lgmbZEskYljzRpKf3edGCAGtMKD2rfjtDw9jUdTfWb1FEDvsnR3pRvsSGBXaOdsA==",
- "dependencies": {
- "@tsoa/cli": "^5.1.1",
- "@tsoa/runtime": "^5.0.0"
- },
- "bin": {
- "tsoa": "dist/cli.js"
- },
- "engines": {
- "node": ">=12.0.0",
- "yarn": ">=1.9.4"
- }
- },
- "node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/typed-array-length": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz",
- "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "is-typed-array": "^1.1.9"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/typescript": {
- "version": "4.9.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz",
- "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==",
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=4.2.0"
- }
- },
- "node_modules/uglify-js": {
- "version": "3.17.4",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz",
- "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==",
- "optional": true,
- "bin": {
- "uglifyjs": "bin/uglifyjs"
- },
- "engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/unbox-primitive": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
- "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
- "dependencies": {
- "call-bind": "^1.0.2",
- "has-bigints": "^1.0.2",
- "has-symbols": "^1.0.3",
- "which-boxed-primitive": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/undefsafe": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz",
- "integrity": "sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA==",
- "dev": true
- },
- "node_modules/universalify": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
- "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
- "engines": {
- "node": ">= 10.0.0"
- }
- },
- "node_modules/unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/utf-8-validate": {
- "version": "5.0.10",
- "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz",
- "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==",
- "hasInstallScript": true,
- "optional": true,
- "peer": true,
- "dependencies": {
- "node-gyp-build": "^4.3.0"
- },
- "engines": {
- "node": ">=6.14.2"
- }
- },
- "node_modules/utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/validator": {
- "version": "13.9.0",
- "resolved": "https://registry.npmjs.org/validator/-/validator-13.9.0.tgz",
- "integrity": "sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA==",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/webidl-conversions": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
- "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
- },
- "node_modules/whatwg-url": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
- "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
- "dependencies": {
- "tr46": "~0.0.3",
- "webidl-conversions": "^3.0.0"
- }
- },
- "node_modules/which-boxed-primitive": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
- "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
- "dependencies": {
- "is-bigint": "^1.0.1",
- "is-boolean-object": "^1.1.0",
- "is-number-object": "^1.0.4",
- "is-string": "^1.0.5",
- "is-symbol": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/which-typed-array": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz",
- "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==",
- "dependencies": {
- "available-typed-arrays": "^1.0.5",
- "call-bind": "^1.0.2",
- "for-each": "^0.3.3",
- "gopd": "^1.0.1",
- "has-tostringtag": "^1.0.0",
- "is-typed-array": "^1.1.10"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/wordwrap": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
- "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q=="
- },
- "node_modules/wrap-ansi": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="
- },
- "node_modules/ws": {
- "version": "7.5.9",
- "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
- "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
- "engines": {
- "node": ">=8.3.0"
- },
- "peerDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": "^5.0.2"
- },
- "peerDependenciesMeta": {
- "bufferutil": {
- "optional": true
- },
- "utf-8-validate": {
- "optional": true
- }
- }
- },
- "node_modules/y18n": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/yamljs": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/yamljs/-/yamljs-0.3.0.tgz",
- "integrity": "sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==",
- "dependencies": {
- "argparse": "^1.0.7",
- "glob": "^7.0.5"
- },
- "bin": {
- "json2yaml": "bin/json2yaml",
- "yaml2json": "bin/yaml2json"
- }
- },
- "node_modules/yamljs/node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/yargs": {
- "version": "17.7.1",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz",
- "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==",
- "dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
- "engines": {
- "node": ">=12"
- }
- }
- }
-}
diff --git a/apps/dashboard/api-service/playground/package.json b/apps/dashboard/api-service/playground/package.json
deleted file mode 100644
index 0c7a03a43..000000000
--- a/apps/dashboard/api-service/playground/package.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "name": "playground",
- "version": "1.0.0",
- "dependencies": {
- "@devbookhq/sdk": "^2.6.74",
- "express": "^4.18.2",
- "morgan": "^1.10.0",
- "node-cache": "^5.1.2",
- "tsoa": "^5.1.1"
- },
- "devDependencies": {
- "@types/express": "^4.17.17",
- "@types/morgan": "^1.9.4",
- "@types/node": "^18.15.0",
- "concurrently": "^7.6.0",
- "esbuild": "^0.17.11",
- "kill-port": "^2.0.1",
- "nodemon": "^2.0.21",
- "typescript": "^4.9.5"
- },
- "main": "lib/server.js",
- "scripts": {
- "dev": "nodemon -q",
- "generate": "tsoa spec-and-routes",
- "check-types": "tsc --noEmit",
- "build": "./scripts/build.js",
- "start": "node lib/server.js"
- }
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground/scripts/build.js b/apps/dashboard/api-service/playground/scripts/build.js
deleted file mode 100755
index 9545c420a..000000000
--- a/apps/dashboard/api-service/playground/scripts/build.js
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env node
-/* eslint-disable import/no-extraneous-dependencies */
-
-const esbuild = require('esbuild')
-const path = require('path')
-
-const isDev = process.env.NODE_ENV === 'development'
-
-const makeAllPackagesExternalPlugin = {
- name: 'make-all-packages-external',
- setup(build) {
- const filter = /^[^./]|^\.[^./]|^\.\.[^/]/ // Must not start with "/" or "./" or "../"
- build.onResolve({ filter }, (args) => ({
- path: args.path,
- external: true,
- }))
- },
-}
-
-esbuild
- .build({
- bundle: true,
- minify: !isDev,
- tsconfig: 'tsconfig.json',
- platform: 'node',
- target: 'node18',
- sourcemap: 'both',
- plugins: [makeAllPackagesExternalPlugin],
- outdir: 'lib',
- entryPoints: [path.join('src', 'server.ts')],
- })
- .catch(() => process.exit(1))
diff --git a/apps/dashboard/api-service/playground/src/app.ts b/apps/dashboard/api-service/playground/src/app.ts
deleted file mode 100644
index 3ca19bc73..000000000
--- a/apps/dashboard/api-service/playground/src/app.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import express, {
- json,
- urlencoded,
- Response as ExResponse,
- Request as ExRequest,
- NextFunction,
-} from 'express'
-import { ValidateError } from 'tsoa'
-import morgan from 'morgan'
-
-import { RegisterRoutes } from './generated/routes'
-
-export const app = express()
-
-app.use(
- urlencoded({
- extended: true,
- }),
- morgan('tiny'),
-)
-
-app.use(json())
-
-RegisterRoutes(app)
-
-app.use(
- function notFoundHandler(_req, res: ExResponse) {
- res.status(500).send({
- message: 'Not Found',
- })
- },
- function errorHandler(
- err: unknown,
- req: ExRequest,
- res: ExResponse,
- next: NextFunction
- ): ExResponse | void {
- if (err instanceof ValidateError) {
- console.warn(`Caught Validation Error for ${req.path}:`, err.fields)
- return res.status(422).json({
- message: 'Validation Failed',
- details: err?.fields,
- })
- }
- if (err instanceof Error) {
- console.warn(`Caught Internal Error for ${req.path}:`, err)
- return res.status(500).json({
- message: 'Internal Server Error',
- })
- }
- next()
- },
-)
diff --git a/apps/dashboard/api-service/playground/src/generated/routes.ts b/apps/dashboard/api-service/playground/src/generated/routes.ts
deleted file mode 100644
index d68fe511d..000000000
--- a/apps/dashboard/api-service/playground/src/generated/routes.ts
+++ /dev/null
@@ -1,542 +0,0 @@
-/* tslint:disable */
-/* eslint-disable */
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-import { Controller, ValidationService, FieldErrors, ValidateError, TsoaRoute, HttpStatusCodeLiteral, TsoaResponse, fetchMiddlewares } from '@tsoa/runtime';
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-import { FilesystemController } from './../sessions/filesystemController';
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-import { ProcessController } from './../sessions/processesController';
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-import { SessionsController } from './../sessions/sessionsController';
-import type { RequestHandler, Router } from 'express';
-
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
-const models: TsoaRoute.Models = {
- "EntryInfo": {
- "dataType": "refObject",
- "properties": {
- "isDir": {"dataType":"boolean","required":true},
- "name": {"dataType":"string","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "ListFilesystemDirResponse": {
- "dataType": "refObject",
- "properties": {
- "entries": {"dataType":"array","array":{"dataType":"refObject","ref":"EntryInfo"},"required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "ReadFilesystemFileResponse": {
- "dataType": "refObject",
- "properties": {
- "content": {"dataType":"string","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OutType.Stderr": {
- "dataType": "refEnum",
- "enums": ["Stderr"],
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OutType": {
- "dataType": "refEnum",
- "enums": ["Stdout","Stderr"],
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OutStderrResponse": {
- "dataType": "refObject",
- "properties": {
- "type": {"ref":"OutType.Stderr","required":true},
- "timestamp": {"dataType":"double","required":true},
- "line": {"dataType":"string","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OutType.Stdout": {
- "dataType": "refEnum",
- "enums": ["Stdout"],
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OutStdoutResponse": {
- "dataType": "refObject",
- "properties": {
- "type": {"ref":"OutType.Stdout","required":true},
- "timestamp": {"dataType":"double","required":true},
- "line": {"dataType":"string","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "ProcessResponse": {
- "dataType": "refObject",
- "properties": {
- "stderr": {"dataType":"array","array":{"dataType":"refObject","ref":"OutStderrResponse"},"required":true},
- "stdout": {"dataType":"array","array":{"dataType":"refObject","ref":"OutStdoutResponse"},"required":true},
- "processID": {"dataType":"string","required":true},
- "finished": {"dataType":"boolean","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "EnvVars": {
- "dataType": "refAlias",
- "type": {"dataType":"nestedObjectLiteral","nestedProperties":{},"additionalProperties":{"dataType":"string"},"validators":{}},
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "StartProcessParams": {
- "dataType": "refObject",
- "properties": {
- "cmd": {"dataType":"string","required":true},
- "envVars": {"ref":"EnvVars"},
- "rootdir": {"dataType":"string"},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "OpenPort": {
- "dataType": "refObject",
- "properties": {
- "State": {"dataType":"string","required":true},
- "Ip": {"dataType":"string","required":true},
- "Port": {"dataType":"double","required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- "SessionResponse": {
- "dataType": "refObject",
- "properties": {
- "id": {"dataType":"string","required":true},
- "ports": {"dataType":"array","array":{"dataType":"refObject","ref":"OpenPort"},"required":true},
- },
- "additionalProperties": false,
- },
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-};
-const validationService = new ValidationService(models);
-
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
-export function RegisterRoutes(app: Router) {
- // ###########################################################################################################
- // NOTE: If you do not see routes for all of your controllers in this file, then you might not have informed tsoa of where to look
- // Please look into the "controllerPathGlobs" config option described in the readme: https://github.com/lukeautry/tsoa
- // ###########################################################################################################
- app.get('/sessions/:sessionID/filesystem/dir',
- ...(fetchMiddlewares<RequestHandler>(FilesystemController)),
- ...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.listFilesystemDir)),
-
- function FilesystemController_listFilesystemDir(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- path: {"in":"query","name":"path","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new FilesystemController();
-
-
- const promise = controller.listFilesystemDir.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.put('/sessions/:sessionID/filesystem/dir',
- ...(fetchMiddlewares<RequestHandler>(FilesystemController)),
- ...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.makeFilesystemDir)),
-
- function FilesystemController_makeFilesystemDir(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- path: {"in":"query","name":"path","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new FilesystemController();
-
-
- const promise = controller.makeFilesystemDir.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.delete('/sessions/:sessionID/filesystem',
- ...(fetchMiddlewares<RequestHandler>(FilesystemController)),
- ...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.deleteFilesystemEntry)),
-
- function FilesystemController_deleteFilesystemEntry(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- path: {"in":"query","name":"path","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new FilesystemController();
-
-
- const promise = controller.deleteFilesystemEntry.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.get('/sessions/:sessionID/filesystem/file',
- ...(fetchMiddlewares<RequestHandler>(FilesystemController)),
- ...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.readFilesystemFile)),
-
- function FilesystemController_readFilesystemFile(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- path: {"in":"query","name":"path","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new FilesystemController();
-
-
- const promise = controller.readFilesystemFile.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.put('/sessions/:sessionID/filesystem/file',
- ...(fetchMiddlewares<RequestHandler>(FilesystemController)),
- ...(fetchMiddlewares<RequestHandler>(FilesystemController.prototype.writeFilesystemFile)),
-
- function FilesystemController_writeFilesystemFile(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- path: {"in":"query","name":"path","required":true,"dataType":"string"},
- content: {"in":"body-prop","name":"content","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new FilesystemController();
-
-
- const promise = controller.writeFilesystemFile.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.post('/sessions/:sessionID/processes',
- ...(fetchMiddlewares<RequestHandler>(ProcessController)),
- ...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.startProcess)),
-
- function ProcessController_startProcess(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- requestBody: {"in":"body","name":"requestBody","required":true,"ref":"StartProcessParams"},
- wait: {"in":"query","name":"wait","dataType":"boolean"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new ProcessController();
-
-
- const promise = controller.startProcess.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.delete('/sessions/:sessionID/processes/:processID',
- ...(fetchMiddlewares<RequestHandler>(ProcessController)),
- ...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.stopProcess)),
-
- function ProcessController_stopProcess(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- processID: {"in":"path","name":"processID","required":true,"dataType":"string"},
- results: {"in":"query","name":"results","dataType":"boolean"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new ProcessController();
-
-
- const promise = controller.stopProcess.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.post('/sessions/:sessionID/processes/:processID/stdin',
- ...(fetchMiddlewares<RequestHandler>(ProcessController)),
- ...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.writeProcessStdin)),
-
- function ProcessController_writeProcessStdin(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- processID: {"in":"path","name":"processID","required":true,"dataType":"string"},
- stdin: {"in":"body-prop","name":"stdin","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new ProcessController();
-
-
- const promise = controller.writeProcessStdin.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.get('/sessions/:sessionID/processes/:processID',
- ...(fetchMiddlewares<RequestHandler>(ProcessController)),
- ...(fetchMiddlewares<RequestHandler>(ProcessController.prototype.getProcess)),
-
- function ProcessController_getProcess(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- processID: {"in":"path","name":"processID","required":true,"dataType":"string"},
- wait: {"in":"query","name":"wait","dataType":"boolean"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new ProcessController();
-
-
- const promise = controller.getProcess.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.post('/sessions',
- ...(fetchMiddlewares<RequestHandler>(SessionsController)),
- ...(fetchMiddlewares<RequestHandler>(SessionsController.prototype.createSessions)),
-
- function SessionsController_createSessions(request: any, response: any, next: any) {
- const args = {
- envID: {"in":"body-prop","name":"envID","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new SessionsController();
-
-
- const promise = controller.createSessions.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.delete('/sessions/:sessionID',
- ...(fetchMiddlewares<RequestHandler>(SessionsController)),
- ...(fetchMiddlewares<RequestHandler>(SessionsController.prototype.deleteSession)),
-
- function SessionsController_deleteSession(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new SessionsController();
-
-
- const promise = controller.deleteSession.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
- app.get('/sessions/:sessionID',
- ...(fetchMiddlewares<RequestHandler>(SessionsController)),
- ...(fetchMiddlewares<RequestHandler>(SessionsController.prototype.getSession)),
-
- function SessionsController_getSession(request: any, response: any, next: any) {
- const args = {
- sessionID: {"in":"path","name":"sessionID","required":true,"dataType":"string"},
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- let validatedArgs: any[] = [];
- try {
- validatedArgs = getValidatedArgs(args, request, response);
-
- const controller = new SessionsController();
-
-
- const promise = controller.getSession.apply(controller, validatedArgs as any);
- promiseHandler(controller, promise, response, undefined, next);
- } catch (err) {
- return next(err);
- }
- });
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- function isController(object: any): object is Controller {
- return 'getHeaders' in object && 'getStatus' in object && 'setStatus' in object;
- }
-
- function promiseHandler(controllerObj: any, promise: any, response: any, successStatus: any, next: any) {
- return Promise.resolve(promise)
- .then((data: any) => {
- let statusCode = successStatus;
- let headers;
- if (isController(controllerObj)) {
- headers = controllerObj.getHeaders();
- statusCode = controllerObj.getStatus() || statusCode;
- }
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- returnHandler(response, statusCode, data, headers)
- })
- .catch((error: any) => next(error));
- }
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- function returnHandler(response: any, statusCode?: number, data?: any, headers: any = {}) {
- if (response.headersSent) {
- return;
- }
- Object.keys(headers).forEach((name: string) => {
- response.set(name, headers[name]);
- });
- if (data && typeof data.pipe === 'function' && data.readable && typeof data._read === 'function') {
- response.status(statusCode || 200)
- data.pipe(response);
- } else if (data !== null && data !== undefined) {
- response.status(statusCode || 200).json(data);
- } else {
- response.status(statusCode || 204).end();
- }
- }
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- function responder(response: any): TsoaResponse<HttpStatusCodeLiteral, unknown> {
- return function(status, data, headers) {
- returnHandler(response, status, data, headers);
- };
- };
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-
- function getValidatedArgs(args: any, request: any, response: any): any[] {
- const fieldErrors: FieldErrors = {};
- const values = Object.keys(args).map((key) => {
- const name = args[key].name;
- switch (args[key].in) {
- case 'request':
- return request;
- case 'query':
- return validationService.ValidateParam(args[key], request.query[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'queries':
- return validationService.ValidateParam(args[key], request.query, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'path':
- return validationService.ValidateParam(args[key], request.params[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'header':
- return validationService.ValidateParam(args[key], request.header(name), name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'body':
- return validationService.ValidateParam(args[key], request.body, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'body-prop':
- return validationService.ValidateParam(args[key], request.body[name], name, fieldErrors, 'body.', {"noImplicitAdditionalProperties":"throw-on-extras"});
- case 'formData':
- if (args[key].dataType === 'file') {
- return validationService.ValidateParam(args[key], request.file, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- } else if (args[key].dataType === 'array' && args[key].array.dataType === 'file') {
- return validationService.ValidateParam(args[key], request.files, name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- } else {
- return validationService.ValidateParam(args[key], request.body[name], name, fieldErrors, undefined, {"noImplicitAdditionalProperties":"throw-on-extras"});
- }
- case 'res':
- return responder(response);
- }
- });
-
- if (Object.keys(fieldErrors).length > 0) {
- throw new ValidateError(fieldErrors, '');
- }
- return values;
- }
-
- // WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
-}
-
-// WARNING: This file was auto-generated with tsoa. Please do not modify it. Re-run tsoa to re-generate this file: https://github.com/lukeautry/tsoa
diff --git a/apps/dashboard/api-service/playground/src/server.ts b/apps/dashboard/api-service/playground/src/server.ts
deleted file mode 100644
index cd475677c..000000000
--- a/apps/dashboard/api-service/playground/src/server.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { app } from './app'
-
-const port = 49160
-
-app.listen(port, () =>
- console.log(`Listening at http://localhost:${port}`)
-)
diff --git a/apps/dashboard/api-service/playground/src/sessions/filesystemController.ts b/apps/dashboard/api-service/playground/src/sessions/filesystemController.ts
deleted file mode 100644
index d3e5f855b..000000000
--- a/apps/dashboard/api-service/playground/src/sessions/filesystemController.ts
+++ /dev/null
@@ -1,95 +0,0 @@
-import {
- Controller,
- Path,
- Get,
- Delete,
- Put,
- Query,
- Route,
- BodyProp,
-} from 'tsoa'
-import { FileInfo as EntryInfo } from '@devbookhq/sdk'
-import { dirname } from 'path'
-
-import { CachedSession } from './session'
-
-interface ListFilesystemDirResponse {
- entries: EntryInfo[]
-}
-
-interface ReadFilesystemFileResponse {
- content: string
-}
-
-@Route('sessions')
-export class FilesystemController extends Controller {
- @Get('{sessionID}/filesystem/dir')
- public async listFilesystemDir(
- @Path() sessionID: string,
- @Query() path: string,
- ): Promise<ListFilesystemDirResponse> {
- const entries = await CachedSession
- .findSession(sessionID)
- .session
- .filesystem!
- .list(path)
- return {
- entries,
- }
- }
-
- @Put('{sessionID}/filesystem/dir')
- public async makeFilesystemDir(
- @Path() sessionID: string,
- @Query() path: string,
- ): Promise<void> {
- await CachedSession
- .findSession(sessionID)
- .session
- .filesystem
- ?.makeDir(path)
- }
-
- @Delete('{sessionID}/filesystem')
- public async deleteFilesystemEntry(
- @Path() sessionID: string,
- @Query() path: string,
- ) {
- await CachedSession
- .findSession(sessionID)
- .session
- .filesystem!
- .remove(path)
- }
-
- @Get('{sessionID}/filesystem/file')
- public async readFilesystemFile(
- @Path() sessionID: string,
- @Query() path: string,
- ): Promise<ReadFilesystemFileResponse> {
- const content = await CachedSession
- .findSession(sessionID)
- .session
- .filesystem!
- .read(path)
- return {
- content,
- }
- }
-
- @Put('{sessionID}/filesystem/file')
- public async writeFilesystemFile(
- @Path() sessionID: string,
- @Query() path: string,
- @BodyProp() content: string,
- ) {
- const dir = dirname(path)
-
- const session = CachedSession
- .findSession(sessionID)
- .session
-
- await session.filesystem!.makeDir(dir)
- await session.filesystem!.write(path, content)
- }
-}
diff --git a/apps/dashboard/api-service/playground/src/sessions/process.ts b/apps/dashboard/api-service/playground/src/sessions/process.ts
deleted file mode 100644
index db846af8e..000000000
--- a/apps/dashboard/api-service/playground/src/sessions/process.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import {
- OutStderrResponse,
- OutStdoutResponse,
- ProcessManager,
- createSessionProcess,
-} from '@devbookhq/sdk'
-
-export interface RunProcessParams extends Pick<Parameters<ProcessManager['start']>[0], 'cmd' | 'envVars' | 'rootdir'> { }
-
-export class CachedProcess {
- readonly stdout: OutStdoutResponse[] = []
- readonly stderr: OutStderrResponse[] = []
-
- private started = false
-
- finished = false
- process?: Awaited<ReturnType<typeof createSessionProcess>>
-
- get response() {
- return {
- stdout: this.stdout,
- stderr: this.stderr,
- finished: this.finished,
- processID: this.process?.processID!,
- }
- }
-
- constructor(private readonly manager: ProcessManager) { }
-
- async start(params: RunProcessParams) {
- if (this.started) throw new Error('Process already started')
- this.started = true
-
- const process = await createSessionProcess({
- manager: this.manager,
- onStderr: (o) => this.stderr.push(o),
- onStdout: (o) => this.stdout.push(o),
- ...params,
- })
-
- process.exited.finally(() => {
- this.finished = true
- })
-
- this.process = process
- return process
- }
-}
diff --git a/apps/dashboard/api-service/playground/src/sessions/processesController.ts b/apps/dashboard/api-service/playground/src/sessions/processesController.ts
deleted file mode 100644
index ce2b326d5..000000000
--- a/apps/dashboard/api-service/playground/src/sessions/processesController.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-import {
- Body,
- Controller,
- Path,
- Get,
- Post,
- Route,
- Delete,
- Query,
- BodyProp,
-} from 'tsoa'
-import {
- ProcessManager,
- OutStderrResponse,
- OutStdoutResponse,
-} from '@devbookhq/sdk'
-
-import { CachedSession } from './session'
-
-interface StartProcessParams extends Pick<Parameters<ProcessManager['start']>[0], 'cmd' | 'envVars' | 'rootdir'> { }
-
-interface ProcessResponse {
- stderr: OutStderrResponse[]
- stdout: OutStdoutResponse[]
- processID: string
- finished: boolean
-}
-
-@Route('sessions')
-export class ProcessController extends Controller {
- /**
- *
- * @param sessionID
- * @param wait if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- * @param requestBody
- * @returns `processID` and all `stdout` and `stderr` that the process outputted until now.
- */
- @Post('{sessionID}/processes')
- public async startProcess(
- @Path() sessionID: string,
- @Body() requestBody: StartProcessParams,
- @Query() wait?: boolean,
- ): Promise<ProcessResponse> {
- const cachedProcess = await CachedSession
- .findSession(sessionID)
- .startProcess(requestBody)
-
- if (wait) {
- await cachedProcess.process?.exited
- }
- return cachedProcess.response
- }
-
- @Delete('{sessionID}/processes/{processID}')
- public async stopProcess(
- @Path() sessionID: string,
- @Path() processID: string,
- @Query() results?: boolean
- ): Promise<ProcessResponse | undefined> {
- const cachedProcess = await CachedSession
- .findSession(sessionID)
- .stopProcess(processID)
-
- if (cachedProcess && results) {
- return cachedProcess.response
- }
- }
-
- @Post('{sessionID}/processes/{processID}/stdin')
- public async writeProcessStdin(
- @Path() sessionID: string,
- @Path() processID: string,
- @BodyProp() stdin: string,
- ): Promise<void> {
- await CachedSession
- .findSession(sessionID)
- .findProcess(processID)
- ?.process
- ?.sendStdin(stdin)
- }
-
- /**
- *
- * @param sessioniD
- * @param processID
- * @param wait if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- * @returns `processID` and all `stdout` and `stderr` that the process outputted until now.
- */
- @Get('{sessionID}/processes/{processID}')
- public async getProcess(
- @Path() sessionID: string,
- @Path() processID: string,
- @Query() wait?: boolean,
- ): Promise<ProcessResponse> {
- const cachedProcess = CachedSession
- .findSession(sessionID)
- .findProcess(processID)
-
- if (wait) {
- await cachedProcess?.process?.exited
- }
-
- return cachedProcess?.response!
- }
-}
diff --git a/apps/dashboard/api-service/playground/src/sessions/session.ts b/apps/dashboard/api-service/playground/src/sessions/session.ts
deleted file mode 100644
index 34705ffb0..000000000
--- a/apps/dashboard/api-service/playground/src/sessions/session.ts
+++ /dev/null
@@ -1,110 +0,0 @@
-import { OpenedPort as OpenPort, Session } from '@devbookhq/sdk'
-import NodeCache from 'node-cache'
-
-import { CachedProcess, RunProcessParams } from './process'
-
-export const sessionCache = new NodeCache({
- stdTTL: 7200,
- checkperiod: 200,
- useClones: false,
- deleteOnExpire: true,
-})
-
-sessionCache.on('expired', async function (_, cached: CachedSession) {
- try {
- await cached.delete()
- } catch (err) {
- console.error(err)
- }
-})
-
-export class CachedSession {
- private readonly cachedProcesses: CachedProcess[] = []
-
- private closed = false
-
- ports: OpenPort[] = []
-
- id?: string
- session: Session
-
- /**
- * You must call `.init()` to start the session.
- *
- * @param envID
- */
- constructor(envID: string) {
- this.session = new Session({
- id: envID,
- onClose: () => {
- this.delete()
- },
- codeSnippet: {
- onScanPorts: (ports) => {
- // We need to remap the ports because there is a lot of hidden properties
- // that breaks the generated API between client and server.
- this.ports = ports.map(p => ({
- Ip: p.Ip,
- Port: p.Port,
- State: p.State,
- }))
- },
- },
- })
- }
-
- async init() {
- await this.session.open()
-
- const url = this.session.getHostname()
- if (!url) throw new Error('Cannot start session')
-
- const [id] = url.split('.')
- this.id = id
- sessionCache.set(id, this)
-
- return this
- }
-
- async delete() {
- if (!this.id) return
- if (this.closed) return
- this.closed = true
-
- await this.session.close()
- sessionCache.del(this.id)
- }
-
- async stopProcess(processID: string) {
- const cachedProcess = this.findProcess(processID)
- if (!cachedProcess) return
-
- await cachedProcess.process?.kill()
- const idx = this.cachedProcesses.findIndex(p => p.process?.processID === processID)
- if (idx !== -1) {
- this.cachedProcesses.splice(idx, 1)
- }
-
- return cachedProcess
- }
-
- findProcess(processID: string) {
- return this.cachedProcesses.find(p => p.process?.processID === processID)
- }
-
- async startProcess(params: RunProcessParams) {
- if (!this.session.process) throw new Error('Session is not open')
-
- const cachedProcess = new CachedProcess(this.session.process)
- await cachedProcess.start(params)
- this.cachedProcesses.push(cachedProcess)
-
- return cachedProcess
- }
-
- static findSession(id: string) {
- const cachedSession = sessionCache.get(id) as CachedSession
- if (!cachedSession) throw new Error('Session does not exist')
- return cachedSession
- }
-}
diff --git a/apps/dashboard/api-service/playground/src/sessions/sessionsController.ts b/apps/dashboard/api-service/playground/src/sessions/sessionsController.ts
deleted file mode 100644
index f807c38a3..000000000
--- a/apps/dashboard/api-service/playground/src/sessions/sessionsController.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import {
- Controller,
- Delete,
- Path,
- Get,
- Post,
- BodyProp,
- Route,
-} from 'tsoa'
-import { OpenedPort as OpenPort } from '@devbookhq/sdk'
-
-import { CachedSession } from './session'
-
-interface SessionResponse {
- id: string
- ports: OpenPort[]
-}
-
-@Route('sessions')
-export class SessionsController extends Controller {
- @Post()
- public async createSessions(
- @BodyProp() envID: string,
- ): Promise<SessionResponse> {
- const cachedSession = await new CachedSession(envID).init()
-
- return {
- id: cachedSession.id!,
- ports: cachedSession.ports,
- }
- }
-
- @Delete('{sessionID}')
- public async deleteSession(
- @Path() sessionID: string,
- ): Promise<void> {
- await CachedSession
- .findSession(sessionID)
- .delete()
- }
-
- @Get('{sessionID}')
- public async getSession(
- @Path() sessionID: string,
- ): Promise<SessionResponse> {
- const cachedSession = CachedSession.findSession(sessionID)
-
- return {
- id: cachedSession.id!,
- ports: cachedSession.ports,
- }
- }
-}
diff --git a/apps/dashboard/api-service/playground/swagger.json b/apps/dashboard/api-service/playground/swagger.json
deleted file mode 100644
index f75ea7eb3..000000000
--- a/apps/dashboard/api-service/playground/swagger.json
+++ /dev/null
@@ -1,662 +0,0 @@
-{
- "components": {
- "examples": {},
- "headers": {},
- "parameters": {},
- "requestBodies": {},
- "responses": {},
- "schemas": {
- "EntryInfo": {
- "properties": {
- "isDir": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "isDir",
- "name"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "ListFilesystemDirResponse": {
- "properties": {
- "entries": {
- "items": {
- "$ref": "#/components/schemas/EntryInfo"
- },
- "type": "array"
- }
- },
- "required": [
- "entries"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "ReadFilesystemFileResponse": {
- "properties": {
- "content": {
- "type": "string"
- }
- },
- "required": [
- "content"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "OutType.Stderr": {
- "enum": [
- "Stderr"
- ],
- "type": "string"
- },
- "OutType": {
- "enum": [
- "Stdout",
- "Stderr"
- ],
- "type": "string"
- },
- "OutStderrResponse": {
- "properties": {
- "type": {
- "$ref": "#/components/schemas/OutType.Stderr"
- },
- "timestamp": {
- "type": "number",
- "format": "double"
- },
- "line": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "timestamp",
- "line"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "OutType.Stdout": {
- "enum": [
- "Stdout"
- ],
- "type": "string"
- },
- "OutStdoutResponse": {
- "properties": {
- "type": {
- "$ref": "#/components/schemas/OutType.Stdout"
- },
- "timestamp": {
- "type": "number",
- "format": "double"
- },
- "line": {
- "type": "string"
- }
- },
- "required": [
- "type",
- "timestamp",
- "line"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "ProcessResponse": {
- "properties": {
- "stderr": {
- "items": {
- "$ref": "#/components/schemas/OutStderrResponse"
- },
- "type": "array"
- },
- "stdout": {
- "items": {
- "$ref": "#/components/schemas/OutStdoutResponse"
- },
- "type": "array"
- },
- "processID": {
- "type": "string"
- },
- "finished": {
- "type": "boolean"
- }
- },
- "required": [
- "stderr",
- "stdout",
- "processID",
- "finished"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "EnvVars": {
- "properties": {},
- "additionalProperties": {
- "type": "string"
- },
- "type": "object"
- },
- "StartProcessParams": {
- "properties": {
- "cmd": {
- "type": "string"
- },
- "envVars": {
- "$ref": "#/components/schemas/EnvVars"
- },
- "rootdir": {
- "type": "string"
- }
- },
- "required": [
- "cmd"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "OpenPort": {
- "properties": {
- "State": {
- "type": "string"
- },
- "Ip": {
- "type": "string"
- },
- "Port": {
- "type": "number",
- "format": "double"
- }
- },
- "required": [
- "State",
- "Ip",
- "Port"
- ],
- "type": "object",
- "additionalProperties": false
- },
- "SessionResponse": {
- "properties": {
- "id": {
- "type": "string"
- },
- "ports": {
- "items": {
- "$ref": "#/components/schemas/OpenPort"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "ports"
- ],
- "type": "object",
- "additionalProperties": false
- }
- },
- "securitySchemes": {}
- },
- "info": {
- "title": "playground",
- "version": "1.0.0",
- "contact": {}
- },
- "openapi": "3.0.0",
- "paths": {
- "/sessions/{sessionID}/filesystem/dir": {
- "get": {
- "operationId": "ListFilesystemDir",
- "responses": {
- "200": {
- "description": "Ok",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ListFilesystemDirResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- },
- "put": {
- "operationId": "MakeFilesystemDir",
- "responses": {
- "204": {
- "description": "No content"
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- },
- "/sessions/{sessionID}/filesystem": {
- "delete": {
- "operationId": "DeleteFilesystemEntry",
- "responses": {
- "204": {
- "description": "No content"
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- },
- "/sessions/{sessionID}/filesystem/file": {
- "get": {
- "operationId": "ReadFilesystemFile",
- "responses": {
- "200": {
- "description": "Ok",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ReadFilesystemFileResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- },
- "put": {
- "operationId": "WriteFilesystemFile",
- "responses": {
- "204": {
- "description": "No content"
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "content": {
- "type": "string"
- }
- },
- "required": [
- "content"
- ],
- "type": "object"
- }
- }
- }
- }
- }
- },
- "/sessions/{sessionID}/processes": {
- "post": {
- "operationId": "StartProcess",
- "responses": {
- "200": {
- "description": "`processID` and all `stdout` and `stderr` that the process outputted until now.",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProcessResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "description": "if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.",
- "in": "query",
- "name": "wait",
- "required": false,
- "schema": {
- "type": "boolean"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/StartProcessParams"
- }
- }
- }
- }
- }
- },
- "/sessions/{sessionID}/processes/{processID}": {
- "delete": {
- "operationId": "StopProcess",
- "responses": {
- "200": {
- "description": "Ok",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProcessResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "path",
- "name": "processID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "query",
- "name": "results",
- "required": false,
- "schema": {
- "type": "boolean"
- }
- }
- ]
- },
- "get": {
- "operationId": "GetProcess",
- "responses": {
- "200": {
- "description": "`processID` and all `stdout` and `stderr` that the process outputted until now.",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProcessResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "path",
- "name": "processID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "description": "if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.",
- "in": "query",
- "name": "wait",
- "required": false,
- "schema": {
- "type": "boolean"
- }
- }
- ]
- }
- },
- "/sessions/{sessionID}/processes/{processID}/stdin": {
- "post": {
- "operationId": "WriteProcessStdin",
- "responses": {
- "204": {
- "description": "No content"
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- },
- {
- "in": "path",
- "name": "processID",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "stdin": {
- "type": "string"
- }
- },
- "required": [
- "stdin"
- ],
- "type": "object"
- }
- }
- }
- }
- }
- },
- "/sessions": {
- "post": {
- "operationId": "CreateSessions",
- "responses": {
- "200": {
- "description": "Ok",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SessionResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [],
- "requestBody": {
- "required": true,
- "content": {
- "application/json": {
- "schema": {
- "properties": {
- "envID": {
- "type": "string"
- }
- },
- "required": [
- "envID"
- ],
- "type": "object"
- }
- }
- }
- }
- }
- },
- "/sessions/{sessionID}": {
- "delete": {
- "operationId": "DeleteSession",
- "responses": {
- "204": {
- "description": "No content"
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- },
- "get": {
- "operationId": "GetSession",
- "responses": {
- "200": {
- "description": "Ok",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SessionResponse"
- }
- }
- }
- }
- },
- "security": [],
- "parameters": [
- {
- "in": "path",
- "name": "sessionID",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ]
- }
- }
- },
- "servers": [
- {
- "url": "https://localhost:49160/"
- }
- ]
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground/tsconfig.json b/apps/dashboard/api-service/playground/tsconfig.json
deleted file mode 100644
index a993526d2..000000000
--- a/apps/dashboard/api-service/playground/tsconfig.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "compilerOptions": {
- "lib": [
- "es2020"
- ],
- "emitDecoratorMetadata": true,
- "experimentalDecorators": true,
- "module": "es2020",
- "moduleResolution": "node",
- "target": "es2020",
- "allowJs": true, /* Allow javascript files to be compiled. */
- "checkJs": true, /* Report errors in .js files. */
- "outDir": "lib", /* Redirect output structure to the directory. */
- "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
- /* Strict Type-Checking Options */
- "strict": true, /* Enable all strict type-checking options. */
- "noImplicitAny": false, /* Raise error on expressions and declarations with an implied 'any' type. */
- "strictNullChecks": true, /* Enable strict null checks. */
- "strictFunctionTypes": true, /* Enable strict checking of function types. */
- "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
- "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
- "allowSyntheticDefaultImports": true,
- "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
- "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
- "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
- /* Advanced Options */
- "skipLibCheck": true,
- // "downlevelIteration": true,
- "resolveJsonModule": true, /* Include modules imported with '.json' extension */
- "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
- },
- "exclude": [
- "scripts",
- "lib",
- ]
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground/tsoa.json b/apps/dashboard/api-service/playground/tsoa.json
deleted file mode 100644
index d62ef21df..000000000
--- a/apps/dashboard/api-service/playground/tsoa.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "entryFile": "src/app.ts",
- "noImplicitAdditionalProperties": "throw-on-extras",
- "controllerPathGlobs": [
- "src/**/*Controller.ts"
- ],
- "spec": {
- "outputDirectory": "./",
- "specVersion": 3,
- "host": "localhost:49160"
- },
- "routes": {
- "routesDir": "src/generated"
- }
-}
\ No newline at end of file
diff --git a/apps/dashboard/api-service/playground_client/__init__.py b/apps/dashboard/api-service/playground_client/__init__.py
deleted file mode 100644
index a0fea5b24..000000000
--- a/apps/dashboard/api-service/playground_client/__init__.py
+++ /dev/null
@@ -1,46 +0,0 @@
-# coding: utf-8
-
-# flake8: noqa
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-__version__ = "1.0.0"
-
-# import apis into sdk package
-from playground_client.api.default_api import DefaultApi
-
-# import ApiClient
-from playground_client.api_client import ApiClient
-from playground_client.configuration import Configuration
-from playground_client.exceptions import OpenApiException
-from playground_client.exceptions import ApiTypeError
-from playground_client.exceptions import ApiValueError
-from playground_client.exceptions import ApiKeyError
-from playground_client.exceptions import ApiAttributeError
-from playground_client.exceptions import ApiException
-# import models into sdk package
-from playground_client.models.create_sessions_request import CreateSessionsRequest
-from playground_client.models.entry_info import EntryInfo
-from playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse
-from playground_client.models.open_port import OpenPort
-from playground_client.models.out_stderr_response import OutStderrResponse
-from playground_client.models.out_stdout_response import OutStdoutResponse
-from playground_client.models.out_type import OutType
-from playground_client.models.out_type_stderr import OutTypeStderr
-from playground_client.models.out_type_stdout import OutTypeStdout
-from playground_client.models.process_response import ProcessResponse
-from playground_client.models.read_filesystem_file_response import ReadFilesystemFileResponse
-from playground_client.models.session_response import SessionResponse
-from playground_client.models.start_process_params import StartProcessParams
-from playground_client.models.write_filesystem_file_request import WriteFilesystemFileRequest
-from playground_client.models.write_process_stdin_request import WriteProcessStdinRequest
diff --git a/apps/dashboard/api-service/playground_client/api/__init__.py b/apps/dashboard/api-service/playground_client/api/__init__.py
deleted file mode 100644
index e64b08f0b..000000000
--- a/apps/dashboard/api-service/playground_client/api/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from __future__ import absolute_import
-
-# flake8: noqa
-
-# import apis into api package
-from playground_client.api.default_api import DefaultApi
diff --git a/apps/dashboard/api-service/playground_client/api/default_api.py b/apps/dashboard/api-service/playground_client/api/default_api.py
deleted file mode 100644
index 5c10cf5e2..000000000
--- a/apps/dashboard/api-service/playground_client/api/default_api.py
+++ /dev/null
@@ -1,1838 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import re # noqa: F401
-
-from pydantic import validate_arguments, ValidationError
-from typing_extensions import Annotated
-
-from pydantic import Field, StrictBool, StrictStr
-
-from typing import Optional
-
-from playground_client.models.create_sessions_request import CreateSessionsRequest
-from playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse
-from playground_client.models.process_response import ProcessResponse
-from playground_client.models.read_filesystem_file_response import ReadFilesystemFileResponse
-from playground_client.models.session_response import SessionResponse
-from playground_client.models.start_process_params import StartProcessParams
-from playground_client.models.write_filesystem_file_request import WriteFilesystemFileRequest
-from playground_client.models.write_process_stdin_request import WriteProcessStdinRequest
-
-from playground_client.api_client import ApiClient
-from playground_client.exceptions import ( # noqa: F401
- ApiTypeError,
- ApiValueError
-)
-
-
-class DefaultApi(object):
- """NOTE: This class is auto generated by OpenAPI Generator
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
-
- def __init__(self, api_client=None):
- if api_client is None:
- api_client = ApiClient.get_default()
- self.api_client = api_client
-
- @validate_arguments
- def create_sessions(self, create_sessions_request : CreateSessionsRequest, **kwargs) -> SessionResponse: # noqa: E501
- """create_sessions # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.create_sessions(create_sessions_request, async_req=True)
- >>> result = thread.get()
-
- :param create_sessions_request: (required)
- :type create_sessions_request: CreateSessionsRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: SessionResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.create_sessions_with_http_info(create_sessions_request, **kwargs) # noqa: E501
-
- @validate_arguments
- def create_sessions_with_http_info(self, create_sessions_request : CreateSessionsRequest, **kwargs): # noqa: E501
- """create_sessions # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.create_sessions_with_http_info(create_sessions_request, async_req=True)
- >>> result = thread.get()
-
- :param create_sessions_request: (required)
- :type create_sessions_request: CreateSessionsRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(SessionResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'create_sessions_request'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method create_sessions" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
-
- # process the query parameters
- _query_params = []
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
- if _params['create_sessions_request']:
- _body_params = _params['create_sessions_request']
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # set the HTTP header `Content-Type`
- _content_types_list = _params.get('_content_type',
- self.api_client.select_header_content_type(
- ['application/json']))
- if _content_types_list:
- _header_params['Content-Type'] = _content_types_list
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "SessionResponse",
- }
-
- return self.api_client.call_api(
- '/sessions', 'POST',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def delete_filesystem_entry(self, session_id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501
- """delete_filesystem_entry # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.delete_filesystem_entry(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
- kwargs['_return_http_data_only'] = True
- return self.delete_filesystem_entry_with_http_info(session_id, path, **kwargs) # noqa: E501
-
- @validate_arguments
- def delete_filesystem_entry_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501
- """delete_filesystem_entry # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.delete_filesystem_entry_with_http_info(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'path'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method delete_filesystem_entry" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('path') is not None: # noqa: E501
- _query_params.append(('path', _params['path']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {}
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/filesystem', 'DELETE',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def delete_session(self, session_id : StrictStr, **kwargs) -> None: # noqa: E501
- """delete_session # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.delete_session(session_id, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
- kwargs['_return_http_data_only'] = True
- return self.delete_session_with_http_info(session_id, **kwargs) # noqa: E501
-
- @validate_arguments
- def delete_session_with_http_info(self, session_id : StrictStr, **kwargs): # noqa: E501
- """delete_session # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.delete_session_with_http_info(session_id, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method delete_session" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {}
-
- return self.api_client.call_api(
- '/sessions/{sessionID}', 'DELETE',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def get_process(self, session_id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501
- """get_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.get_process(session_id, process_id, wait, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- :type wait: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: ProcessResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.get_process_with_http_info(session_id, process_id, wait, **kwargs) # noqa: E501
-
- @validate_arguments
- def get_process_with_http_info(self, session_id : StrictStr, process_id : StrictStr, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501
- """get_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.get_process_with_http_info(session_id, process_id, wait, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- :type wait: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(ProcessResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'process_id',
- 'wait'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method get_process" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
- if _params['process_id']:
- _path_params['processID'] = _params['process_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('wait') is not None: # noqa: E501
- _query_params.append(('wait', _params['wait']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "ProcessResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/processes/{processID}', 'GET',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def get_session(self, session_id : StrictStr, **kwargs) -> SessionResponse: # noqa: E501
- """get_session # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.get_session(session_id, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: SessionResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.get_session_with_http_info(session_id, **kwargs) # noqa: E501
-
- @validate_arguments
- def get_session_with_http_info(self, session_id : StrictStr, **kwargs): # noqa: E501
- """get_session # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.get_session_with_http_info(session_id, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(SessionResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method get_session" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "SessionResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}', 'GET',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def list_filesystem_dir(self, session_id : StrictStr, path : StrictStr, **kwargs) -> ListFilesystemDirResponse: # noqa: E501
- """list_filesystem_dir # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.list_filesystem_dir(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: ListFilesystemDirResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.list_filesystem_dir_with_http_info(session_id, path, **kwargs) # noqa: E501
-
- @validate_arguments
- def list_filesystem_dir_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501
- """list_filesystem_dir # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.list_filesystem_dir_with_http_info(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(ListFilesystemDirResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'path'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method list_filesystem_dir" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('path') is not None: # noqa: E501
- _query_params.append(('path', _params['path']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "ListFilesystemDirResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/filesystem/dir', 'GET',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def make_filesystem_dir(self, session_id : StrictStr, path : StrictStr, **kwargs) -> None: # noqa: E501
- """make_filesystem_dir # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.make_filesystem_dir(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
- kwargs['_return_http_data_only'] = True
- return self.make_filesystem_dir_with_http_info(session_id, path, **kwargs) # noqa: E501
-
- @validate_arguments
- def make_filesystem_dir_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501
- """make_filesystem_dir # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.make_filesystem_dir_with_http_info(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'path'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method make_filesystem_dir" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('path') is not None: # noqa: E501
- _query_params.append(('path', _params['path']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {}
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/filesystem/dir', 'PUT',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def read_filesystem_file(self, session_id : StrictStr, path : StrictStr, **kwargs) -> ReadFilesystemFileResponse: # noqa: E501
- """read_filesystem_file # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.read_filesystem_file(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: ReadFilesystemFileResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.read_filesystem_file_with_http_info(session_id, path, **kwargs) # noqa: E501
-
- @validate_arguments
- def read_filesystem_file_with_http_info(self, session_id : StrictStr, path : StrictStr, **kwargs): # noqa: E501
- """read_filesystem_file # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.read_filesystem_file_with_http_info(session_id, path, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(ReadFilesystemFileResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'path'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method read_filesystem_file" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('path') is not None: # noqa: E501
- _query_params.append(('path', _params['path']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "ReadFilesystemFileResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/filesystem/file', 'GET',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def start_process(self, session_id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs) -> ProcessResponse: # noqa: E501
- """start_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.start_process(session_id, start_process_params, wait, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param start_process_params: (required)
- :type start_process_params: StartProcessParams
- :param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- :type wait: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: ProcessResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.start_process_with_http_info(session_id, start_process_params, wait, **kwargs) # noqa: E501
-
- @validate_arguments
- def start_process_with_http_info(self, session_id : StrictStr, start_process_params : StartProcessParams, wait : Annotated[Optional[StrictBool], Field(description="if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.")] = None, **kwargs): # noqa: E501
- """start_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.start_process_with_http_info(session_id, start_process_params, wait, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param start_process_params: (required)
- :type start_process_params: StartProcessParams
- :param wait: if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`.
- :type wait: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(ProcessResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'start_process_params',
- 'wait'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method start_process" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('wait') is not None: # noqa: E501
- _query_params.append(('wait', _params['wait']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
- if _params['start_process_params']:
- _body_params = _params['start_process_params']
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # set the HTTP header `Content-Type`
- _content_types_list = _params.get('_content_type',
- self.api_client.select_header_content_type(
- ['application/json']))
- if _content_types_list:
- _header_params['Content-Type'] = _content_types_list
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "ProcessResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/processes', 'POST',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def stop_process(self, session_id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs) -> ProcessResponse: # noqa: E501
- """stop_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.stop_process(session_id, process_id, results, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param results:
- :type results: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: ProcessResponse
- """
- kwargs['_return_http_data_only'] = True
- return self.stop_process_with_http_info(session_id, process_id, results, **kwargs) # noqa: E501
-
- @validate_arguments
- def stop_process_with_http_info(self, session_id : StrictStr, process_id : StrictStr, results : Optional[StrictBool] = None, **kwargs): # noqa: E501
- """stop_process # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.stop_process_with_http_info(session_id, process_id, results, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param results:
- :type results: bool
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: tuple(ProcessResponse, status_code(int), headers(HTTPHeaderDict))
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'process_id',
- 'results'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method stop_process" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
- if _params['process_id']:
- _path_params['processID'] = _params['process_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('results') is not None: # noqa: E501
- _query_params.append(('results', _params['results']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
-
- # set the HTTP header `Accept`
- _header_params['Accept'] = self.api_client.select_header_accept(
- ['application/json']) # noqa: E501
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {
- '200': "ProcessResponse",
- }
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/processes/{processID}', 'DELETE',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def write_filesystem_file(self, session_id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs) -> None: # noqa: E501
- """write_filesystem_file # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.write_filesystem_file(session_id, path, write_filesystem_file_request, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param write_filesystem_file_request: (required)
- :type write_filesystem_file_request: WriteFilesystemFileRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
- kwargs['_return_http_data_only'] = True
- return self.write_filesystem_file_with_http_info(session_id, path, write_filesystem_file_request, **kwargs) # noqa: E501
-
- @validate_arguments
- def write_filesystem_file_with_http_info(self, session_id : StrictStr, path : StrictStr, write_filesystem_file_request : WriteFilesystemFileRequest, **kwargs): # noqa: E501
- """write_filesystem_file # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.write_filesystem_file_with_http_info(session_id, path, write_filesystem_file_request, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param path: (required)
- :type path: str
- :param write_filesystem_file_request: (required)
- :type write_filesystem_file_request: WriteFilesystemFileRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'path',
- 'write_filesystem_file_request'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method write_filesystem_file" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
-
- # process the query parameters
- _query_params = []
- if _params.get('path') is not None: # noqa: E501
- _query_params.append(('path', _params['path']))
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
- if _params['write_filesystem_file_request']:
- _body_params = _params['write_filesystem_file_request']
-
- # set the HTTP header `Content-Type`
- _content_types_list = _params.get('_content_type',
- self.api_client.select_header_content_type(
- ['application/json']))
- if _content_types_list:
- _header_params['Content-Type'] = _content_types_list
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {}
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/filesystem/file', 'PUT',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
-
- @validate_arguments
- def write_process_stdin(self, session_id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs) -> None: # noqa: E501
- """write_process_stdin # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.write_process_stdin(session_id, process_id, write_process_stdin_request, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param write_process_stdin_request: (required)
- :type write_process_stdin_request: WriteProcessStdinRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
- kwargs['_return_http_data_only'] = True
- return self.write_process_stdin_with_http_info(session_id, process_id, write_process_stdin_request, **kwargs) # noqa: E501
-
- @validate_arguments
- def write_process_stdin_with_http_info(self, session_id : StrictStr, process_id : StrictStr, write_process_stdin_request : WriteProcessStdinRequest, **kwargs): # noqa: E501
- """write_process_stdin # noqa: E501
-
- This method makes a synchronous HTTP request by default. To make an
- asynchronous HTTP request, please pass async_req=True
-
- >>> thread = api.write_process_stdin_with_http_info(session_id, process_id, write_process_stdin_request, async_req=True)
- >>> result = thread.get()
-
- :param session_id: (required)
- :type session_id: str
- :param process_id: (required)
- :type process_id: str
- :param write_process_stdin_request: (required)
- :type write_process_stdin_request: WriteProcessStdinRequest
- :param async_req: Whether to execute the request asynchronously.
- :type async_req: bool, optional
- :param _return_http_data_only: response data without head status code
- and headers
- :type _return_http_data_only: bool, optional
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :type _preload_content: bool, optional
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_auth: dict, optional
- :type _content_type: string, optional: force content-type for the request
- :return: Returns the result object.
- If the method is called asynchronously,
- returns the request thread.
- :rtype: None
- """
-
- _params = locals()
-
- _all_params = [
- 'session_id',
- 'process_id',
- 'write_process_stdin_request'
- ]
- _all_params.extend(
- [
- 'async_req',
- '_return_http_data_only',
- '_preload_content',
- '_request_timeout',
- '_request_auth',
- '_content_type',
- '_headers'
- ]
- )
-
- # validate the arguments
- for _key, _val in _params['kwargs'].items():
- if _key not in _all_params:
- raise ApiTypeError(
- "Got an unexpected keyword argument '%s'"
- " to method write_process_stdin" % _key
- )
- _params[_key] = _val
- del _params['kwargs']
-
- _collection_formats = {}
-
- # process the path parameters
- _path_params = {}
- if _params['session_id']:
- _path_params['sessionID'] = _params['session_id']
- if _params['process_id']:
- _path_params['processID'] = _params['process_id']
-
- # process the query parameters
- _query_params = []
-
- # process the header parameters
- _header_params = dict(_params.get('_headers', {}))
-
- # process the form parameters
- _form_params = []
- _files = {}
-
- # process the body parameter
- _body_params = None
- if _params['write_process_stdin_request']:
- _body_params = _params['write_process_stdin_request']
-
- # set the HTTP header `Content-Type`
- _content_types_list = _params.get('_content_type',
- self.api_client.select_header_content_type(
- ['application/json']))
- if _content_types_list:
- _header_params['Content-Type'] = _content_types_list
-
- # authentication setting
- _auth_settings = [] # noqa: E501
-
- _response_types_map = {}
-
- return self.api_client.call_api(
- '/sessions/{sessionID}/processes/{processID}/stdin', 'POST',
- _path_params,
- _query_params,
- _header_params,
- body=_body_params,
- post_params=_form_params,
- files=_files,
- response_types_map=_response_types_map,
- auth_settings=_auth_settings,
- async_req=_params.get('async_req'),
- _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501
- _preload_content=_params.get('_preload_content', True),
- _request_timeout=_params.get('_request_timeout'),
- collection_formats=_collection_formats,
- _request_auth=_params.get('_request_auth'))
diff --git a/apps/dashboard/api-service/playground_client/api_client.py b/apps/dashboard/api-service/playground_client/api_client.py
deleted file mode 100644
index a216e00d4..000000000
--- a/apps/dashboard/api-service/playground_client/api_client.py
+++ /dev/null
@@ -1,750 +0,0 @@
-# coding: utf-8
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-from __future__ import absolute_import
-
-import atexit
-import datetime
-from dateutil.parser import parse
-import json
-import mimetypes
-from multiprocessing.pool import ThreadPool
-import os
-import re
-import tempfile
-
-from urllib.parse import quote
-
-from playground_client.configuration import Configuration
-import playground_client.models
-from playground_client import rest
-from playground_client.exceptions import ApiValueError, ApiException
-
-
-class ApiClient(object):
- """Generic API client for OpenAPI client library builds.
-
- OpenAPI generic API client. This client handles the client-
- server communication, and is invariant across implementations. Specifics of
- the methods and models for each application are generated from the OpenAPI
- templates.
-
- NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
- Do not edit the class manually.
-
- :param configuration: .Configuration object for this client
- :param header_name: a header to pass when making calls to the API.
- :param header_value: a header value to pass when making calls to
- the API.
- :param cookie: a cookie to include in the header when making calls
- to the API
- :param pool_threads: The number of threads to use for async requests
- to the API. More threads means more concurrent API requests.
- """
-
- PRIMITIVE_TYPES = (float, bool, bytes, str, int)
- NATIVE_TYPES_MAPPING = {
- 'int': int,
- 'long': int, # TODO remove as only py3 is supported?
- 'float': float,
- 'str': str,
- 'bool': bool,
- 'date': datetime.date,
- 'datetime': datetime.datetime,
- 'object': object,
- }
- _pool = None
-
- def __init__(self, configuration=None, header_name=None, header_value=None,
- cookie=None, pool_threads=1):
- # use default configuraiton if none is provided
- if configuration is None:
- configuration = Configuration.get_default()
- self.configuration = configuration
- self.pool_threads = pool_threads
-
- self.rest_client = rest.RESTClientObject(configuration)
- self.default_headers = {}
- if header_name is not None:
- self.default_headers[header_name] = header_value
- self.cookie = cookie
- # Set default User-Agent.
- self.user_agent = 'OpenAPI-Generator/1.0.0/python'
- self.client_side_validation = configuration.client_side_validation
-
- def __enter__(self):
- return self
-
- def __exit__(self, exc_type, exc_value, traceback):
- self.close()
-
- def close(self):
- if self._pool:
- self._pool.close()
- self._pool.join()
- self._pool = None
- if hasattr(atexit, 'unregister'):
- atexit.unregister(self.close)
-
- @property
- def pool(self):
- """Create thread pool on first request
- avoids instantiating unused threadpool for blocking clients.
- """
- if self._pool is None:
- atexit.register(self.close)
- self._pool = ThreadPool(self.pool_threads)
- return self._pool
-
- @property
- def user_agent(self):
- """User agent for this API client"""
- return self.default_headers['User-Agent']
-
- @user_agent.setter
- def user_agent(self, value):
- self.default_headers['User-Agent'] = value
-
- def set_default_header(self, header_name, header_value):
- self.default_headers[header_name] = header_value
-
-
- _default = None
-
- @classmethod
- def get_default(cls):
- """Return new instance of ApiClient.
-
- This method returns newly created, based on default constructor,
- object of ApiClient class or returns a copy of default
- ApiClient.
-
- :return: The ApiClient object.
- """
- if cls._default is None:
- cls._default = ApiClient()
- return cls._default
-
- @classmethod
- def set_default(cls, default):
- """Set default instance of ApiClient.
-
- It stores default ApiClient.
-
- :param default: object of ApiClient.
- """
- cls._default = default
-
- def __call_api(
- self, resource_path, method, path_params=None,
- query_params=None, header_params=None, body=None, post_params=None,
- files=None, response_types_map=None, auth_settings=None,
- _return_http_data_only=None, collection_formats=None,
- _preload_content=True, _request_timeout=None, _host=None,
- _request_auth=None):
-
- config = self.configuration
-
- # header parameters
- header_params = header_params or {}
- header_params.update(self.default_headers)
- if self.cookie:
- header_params['Cookie'] = self.cookie
- if header_params:
- header_params = self.sanitize_for_serialization(header_params)
- header_params = dict(self.parameters_to_tuples(header_params,
- collection_formats))
-
- # path parameters
- if path_params:
- path_params = self.sanitize_for_serialization(path_params)
- path_params = self.parameters_to_tuples(path_params,
- collection_formats)
- for k, v in path_params:
- # specified safe chars, encode everything
- resource_path = resource_path.replace(
- '{%s}' % k,
- quote(str(v), safe=config.safe_chars_for_path_param)
- )
-
- # post parameters
- if post_params or files:
- post_params = post_params if post_params else []
- post_params = self.sanitize_for_serialization(post_params)
- post_params = self.parameters_to_tuples(post_params,
- collection_formats)
- post_params.extend(self.files_parameters(files))
-
- # auth setting
- self.update_params_for_auth(
- header_params, query_params, auth_settings,
- resource_path, method, body,
- request_auth=_request_auth)
-
- # body
- if body:
- body = self.sanitize_for_serialization(body)
-
- # request url
- if _host is None:
- url = self.configuration.host + resource_path
- else:
- # use server/host defined in path or operation instead
- url = _host + resource_path
-
- # query parameters
- if query_params:
- query_params = self.sanitize_for_serialization(query_params)
- url_query = self.parameters_to_url_query(query_params,
- collection_formats)
- url += "?" + url_query
-
- try:
- # perform request and return response
- response_data = self.request(
- method, url,
- query_params=query_params,
- headers=header_params,
- post_params=post_params, body=body,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout)
- except ApiException as e:
- if e.body:
- e.body = e.body.decode('utf-8')
- raise e
-
- self.last_response = response_data
-
- return_data = response_data
-
- if not _preload_content:
- return return_data
-
- response_type = response_types_map.get(str(response_data.status), None)
-
- if response_type not in ["file", "bytes"]:
- match = None
- content_type = response_data.getheader('content-type')
- if content_type is not None:
- match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
- encoding = match.group(1) if match else "utf-8"
- response_data.data = response_data.data.decode(encoding)
-
- # deserialize response data
-
- if response_type:
- return_data = self.deserialize(response_data, response_type)
- else:
- return_data = None
-
- if _return_http_data_only:
- return (return_data)
- else:
- return (return_data, response_data.status,
- response_data.getheaders())
-
- def sanitize_for_serialization(self, obj):
- """Builds a JSON POST object.
-
- If obj is None, return None.
- If obj is str, int, long, float, bool, return directly.
- If obj is datetime.datetime, datetime.date
- convert to string in iso8601 format.
- If obj is list, sanitize each element in the list.
- If obj is dict, return the dict.
- If obj is OpenAPI model, return the properties dict.
-
- :param obj: The data to serialize.
- :return: The serialized form of data.
- """
- if obj is None:
- return None
- elif isinstance(obj, self.PRIMITIVE_TYPES):
- return obj
- elif isinstance(obj, list):
- return [self.sanitize_for_serialization(sub_obj)
- for sub_obj in obj]
- elif isinstance(obj, tuple):
- return tuple(self.sanitize_for_serialization(sub_obj)
- for sub_obj in obj)
- elif isinstance(obj, (datetime.datetime, datetime.date)):
- return obj.isoformat()
-
- if isinstance(obj, dict):
- obj_dict = obj
- else:
- # Convert model obj to dict except
- # attributes `openapi_types`, `attribute_map`
- # and attributes which value is not None.
- # Convert attribute name to json key in
- # model definition for request.
- obj_dict = obj.to_dict()
-
- return {key: self.sanitize_for_serialization(val)
- for key, val in obj_dict.items()}
-
- def deserialize(self, response, response_type):
- """Deserializes response into an object.
-
- :param response: RESTResponse object to be deserialized.
- :param response_type: class literal for
- deserialized object, or string of class name.
-
- :return: deserialized object.
- """
- # handle file downloading
- # save response body into a tmp file and return the instance
- if response_type == "file":
- return self.__deserialize_file(response)
-
- # fetch data from response object
- try:
- data = json.loads(response.data)
- except ValueError:
- data = response.data
-
- return self.__deserialize(data, response_type)
-
- def __deserialize(self, data, klass):
- """Deserializes dict, list, str into an object.
-
- :param data: dict, list or str.
- :param klass: class literal, or string of class name.
-
- :return: object.
- """
- if data is None:
- return None
-
- if type(klass) == str:
- if klass.startswith('List['):
- sub_kls = re.match(r'List\[(.*)]', klass).group(1)
- return [self.__deserialize(sub_data, sub_kls)
- for sub_data in data]
-
- if klass.startswith('Dict['):
- sub_kls = re.match(r'Dict\[([^,]*), (.*)]', klass).group(2)
- return {k: self.__deserialize(v, sub_kls)
- for k, v in data.items()}
-
- # convert str to class
- if klass in self.NATIVE_TYPES_MAPPING:
- klass = self.NATIVE_TYPES_MAPPING[klass]
- else:
- klass = getattr(playground_client.models, klass)
-
- if klass in self.PRIMITIVE_TYPES:
- return self.__deserialize_primitive(data, klass)
- elif klass == object:
- return self.__deserialize_object(data)
- elif klass == datetime.date:
- return self.__deserialize_date(data)
- elif klass == datetime.datetime:
- return self.__deserialize_datetime(data)
- else:
- return self.__deserialize_model(data, klass)
-
- def call_api(self, resource_path, method,
- path_params=None, query_params=None, header_params=None,
- body=None, post_params=None, files=None,
- response_types_map=None, auth_settings=None,
- async_req=None, _return_http_data_only=None,
- collection_formats=None,_preload_content=True,
- _request_timeout=None, _host=None, _request_auth=None):
- """Makes the HTTP request (synchronous) and returns deserialized data.
-
- To make an async_req request, set the async_req parameter.
-
- :param resource_path: Path to method endpoint.
- :param method: Method to call.
- :param path_params: Path parameters in the url.
- :param query_params: Query parameters in the url.
- :param header_params: Header parameters to be
- placed in the request header.
- :param body: Request body.
- :param post_params dict: Request post form parameters,
- for `application/x-www-form-urlencoded`, `multipart/form-data`.
- :param auth_settings list: Auth Settings names for the request.
- :param response: Response data type.
- :param files dict: key -> filename, value -> filepath,
- for `multipart/form-data`.
- :param async_req bool: execute request asynchronously
- :param _return_http_data_only: response data without head status code
- and headers
- :param collection_formats: dict of collection formats for path, query,
- header, and post parameters.
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- :param _request_auth: set to override the auth_settings for an a single
- request; this effectively ignores the authentication
- in the spec for a single request.
- :type _request_token: dict, optional
- :return:
- If async_req parameter is True,
- the request will be called asynchronously.
- The method will return the request thread.
- If parameter async_req is False or missing,
- then the method will return the response directly.
- """
- if not async_req:
- return self.__call_api(resource_path, method,
- path_params, query_params, header_params,
- body, post_params, files,
- response_types_map, auth_settings,
- _return_http_data_only, collection_formats,
- _preload_content, _request_timeout, _host,
- _request_auth)
-
- return self.pool.apply_async(self.__call_api, (resource_path,
- method, path_params,
- query_params,
- header_params, body,
- post_params, files,
- response_types_map,
- auth_settings,
- _return_http_data_only,
- collection_formats,
- _preload_content,
- _request_timeout,
- _host, _request_auth))
-
- def request(self, method, url, query_params=None, headers=None,
- post_params=None, body=None, _preload_content=True,
- _request_timeout=None):
- """Makes the HTTP request using RESTClient."""
- if method == "GET":
- return self.rest_client.get_request(url,
- query_params=query_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- headers=headers)
- elif method == "HEAD":
- return self.rest_client.head_request(url,
- query_params=query_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- headers=headers)
- elif method == "OPTIONS":
- return self.rest_client.options_request(url,
- query_params=query_params,
- headers=headers,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout)
- elif method == "POST":
- return self.rest_client.post_request(url,
- query_params=query_params,
- headers=headers,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
- elif method == "PUT":
- return self.rest_client.put_request(url,
- query_params=query_params,
- headers=headers,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
- elif method == "PATCH":
- return self.rest_client.patch_request(url,
- query_params=query_params,
- headers=headers,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
- elif method == "DELETE":
- return self.rest_client.delete_request(url,
- query_params=query_params,
- headers=headers,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
- else:
- raise ApiValueError(
- "http method must be `GET`, `HEAD`, `OPTIONS`,"
- " `POST`, `PATCH`, `PUT` or `DELETE`."
- )
-
- def parameters_to_tuples(self, params, collection_formats):
- """Get parameters as list of tuples, formatting collections.
-
- :param params: Parameters as dict or list of two-tuples
- :param dict collection_formats: Parameter collection formats
- :return: Parameters as list of tuples, collections formatted
- """
- new_params = []
- if collection_formats is None:
- collection_formats = {}
- for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501
- if k in collection_formats:
- collection_format = collection_formats[k]
- if collection_format == 'multi':
- new_params.extend((k, value) for value in v)
- else:
- if collection_format == 'ssv':
- delimiter = ' '
- elif collection_format == 'tsv':
- delimiter = '\t'
- elif collection_format == 'pipes':
- delimiter = '|'
- else: # csv is the default
- delimiter = ','
- new_params.append(
- (k, delimiter.join(str(value) for value in v)))
- else:
- new_params.append((k, v))
- return new_params
-
- def parameters_to_url_query(self, params, collection_formats):
- """Get parameters as list of tuples, formatting collections.
-
- :param params: Parameters as dict or list of two-tuples
- :param dict collection_formats: Parameter collection formats
- :return: URL query string (e.g. a=Hello%20World&b=123)
- """
- new_params = []
- if collection_formats is None:
- collection_formats = {}
- for k, v in params.items() if isinstance(params, dict) else params: # noqa: E501
- if isinstance(v, (int, float)):
- v = str(v)
- if isinstance(v, bool):
- v = str(v).lower()
-
- if k in collection_formats:
- collection_format = collection_formats[k]
- if collection_format == 'multi':
- new_params.extend((k, value) for value in v)
- else:
- if collection_format == 'ssv':
- delimiter = ' '
- elif collection_format == 'tsv':
- delimiter = '\t'
- elif collection_format == 'pipes':
- delimiter = '|'
- else: # csv is the default
- delimiter = ','
- new_params.append(
- (k, delimiter.join(quote(str(value)) for value in v)))
- else:
- new_params.append((k, v))
-
- return "&".join(["=".join(item) for item in new_params])
-
- def files_parameters(self, files=None):
- """Builds form parameters.
-
- :param files: File parameters.
- :return: Form parameters with files.
- """
- params = []
-
- if files:
- for k, v in files.items():
- if not v:
- continue
- file_names = v if type(v) is list else [v]
- for n in file_names:
- with open(n, 'rb') as f:
- filename = os.path.basename(f.name)
- filedata = f.read()
- mimetype = (mimetypes.guess_type(filename)[0] or
- 'application/octet-stream')
- params.append(
- tuple([k, tuple([filename, filedata, mimetype])]))
-
- return params
-
- def select_header_accept(self, accepts):
- """Returns `Accept` based on an array of accepts provided.
-
- :param accepts: List of headers.
- :return: Accept (e.g. application/json).
- """
- if not accepts:
- return
-
- for accept in accepts:
- if re.search('json', accept, re.IGNORECASE):
- return accept
-
- return accepts[0]
-
- def select_header_content_type(self, content_types):
- """Returns `Content-Type` based on an array of content_types provided.
-
- :param content_types: List of content-types.
- :return: Content-Type (e.g. application/json).
- """
- if not content_types:
- return None
-
- for content_type in content_types:
- if re.search('json', content_type, re.IGNORECASE):
- return content_type
-
- return content_types[0]
-
- def update_params_for_auth(self, headers, queries, auth_settings,
- resource_path, method, body,
- request_auth=None):
- """Updates header and query params based on authentication setting.
-
- :param headers: Header parameters dict to be updated.
- :param queries: Query parameters tuple list to be updated.
- :param auth_settings: Authentication setting identifiers list.
- :resource_path: A string representation of the HTTP request resource path.
- :method: A string representation of the HTTP request method.
- :body: A object representing the body of the HTTP request.
- The object type is the return value of sanitize_for_serialization().
- :param request_auth: if set, the provided settings will
- override the token in the configuration.
- """
- if not auth_settings:
- return
-
- if request_auth:
- self._apply_auth_params(headers, queries,
- resource_path, method, body,
- request_auth)
- return
-
- for auth in auth_settings:
- auth_setting = self.configuration.auth_settings().get(auth)
- if auth_setting:
- self._apply_auth_params(headers, queries,
- resource_path, method, body,
- auth_setting)
-
- def _apply_auth_params(self, headers, queries,
- resource_path, method, body,
- auth_setting):
- """Updates the request parameters based on a single auth_setting
-
- :param headers: Header parameters dict to be updated.
- :param queries: Query parameters tuple list to be updated.
- :resource_path: A string representation of the HTTP request resource path.
- :method: A string representation of the HTTP request method.
- :body: A object representing the body of the HTTP request.
- The object type is the return value of sanitize_for_serialization().
- :param auth_setting: auth settings for the endpoint
- """
- if auth_setting['in'] == 'cookie':
- headers['Cookie'] = auth_setting['value']
- elif auth_setting['in'] == 'header':
- if auth_setting['type'] != 'http-signature':
- headers[auth_setting['key']] = auth_setting['value']
- elif auth_setting['in'] == 'query':
- queries.append((auth_setting['key'], auth_setting['value']))
- else:
- raise ApiValueError(
- 'Authentication token must be in `query` or `header`'
- )
-
- def __deserialize_file(self, response):
- """Deserializes body to file
-
- Saves response body into a file in a temporary folder,
- using the filename from the `Content-Disposition` header if provided.
-
- :param response: RESTResponse.
- :return: file path.
- """
- fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path)
- os.close(fd)
- os.remove(path)
-
- content_disposition = response.getheader("Content-Disposition")
- if content_disposition:
- filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?',
- content_disposition).group(1)
- path = os.path.join(os.path.dirname(path), filename)
-
- with open(path, "wb") as f:
- f.write(response.data)
-
- return path
-
- def __deserialize_primitive(self, data, klass):
- """Deserializes string to primitive type.
-
- :param data: str.
- :param klass: class literal.
-
- :return: int, long, float, str, bool.
- """
- try:
- return klass(data)
- except UnicodeEncodeError:
- return str(data)
- except TypeError:
- return data
-
- def __deserialize_object(self, value):
- """Return an original value.
-
- :return: object.
- """
- return value
-
- def __deserialize_date(self, string):
- """Deserializes string to date.
-
- :param string: str.
- :return: date.
- """
- try:
- return parse(string).date()
- except ImportError:
- return string
- except ValueError:
- raise rest.ApiException(
- status=0,
- reason="Failed to parse `{0}` as date object".format(string)
- )
-
- def __deserialize_datetime(self, string):
- """Deserializes string to datetime.
-
- The string should be in iso8601 datetime format.
-
- :param string: str.
- :return: datetime.
- """
- try:
- return parse(string)
- except ImportError:
- return string
- except ValueError:
- raise rest.ApiException(
- status=0,
- reason=(
- "Failed to parse `{0}` as datetime object"
- .format(string)
- )
- )
-
- def __deserialize_model(self, data, klass):
- """Deserializes list or dict to model.
-
- :param data: dict, list.
- :param klass: class literal.
- :return: model object.
- """
-
- return klass.from_dict(data)
diff --git a/apps/dashboard/api-service/playground_client/configuration.py b/apps/dashboard/api-service/playground_client/configuration.py
deleted file mode 100644
index 2badb195b..000000000
--- a/apps/dashboard/api-service/playground_client/configuration.py
+++ /dev/null
@@ -1,426 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import copy
-import logging
-import multiprocessing
-import sys
-import urllib3
-
-import http.client as httplib
-from playground_client.exceptions import ApiValueError
-
-
-JSON_SCHEMA_VALIDATION_KEYWORDS = {
- 'multipleOf', 'maximum', 'exclusiveMaximum',
- 'minimum', 'exclusiveMinimum', 'maxLength',
- 'minLength', 'pattern', 'maxItems', 'minItems'
-}
-
-class Configuration(object):
- """NOTE: This class is auto generated by OpenAPI Generator
-
- Ref: https://openapi-generator.tech
- Do not edit the class manually.
-
- :param host: Base url.
- :param api_key: Dict to store API key(s).
- Each entry in the dict specifies an API key.
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is the API key secret.
- :param api_key_prefix: Dict to store API prefix (e.g. Bearer).
- The dict key is the name of the security scheme in the OAS specification.
- The dict value is an API key prefix when generating the auth data.
- :param username: Username for HTTP basic authentication.
- :param password: Password for HTTP basic authentication.
- :param access_token: Access token.
- :param server_index: Index to servers configuration.
- :param server_variables: Mapping with string values to replace variables in
- templated server configuration. The validation of enums is performed for
- variables with defined enum values before.
- :param server_operation_index: Mapping from operation ID to an index to server
- configuration.
- :param server_operation_variables: Mapping from operation ID to a mapping with
- string values to replace variables in templated server configuration.
- The validation of enums is performed for variables with defined enum values before.
- :param ssl_ca_cert: str - the path to a file of concatenated CA certificates
- in PEM format.
-
- """
-
- _default = None
-
- def __init__(self, host=None,
- api_key=None, api_key_prefix=None,
- username=None, password=None,
- access_token=None,
- server_index=None, server_variables=None,
- server_operation_index=None, server_operation_variables=None,
- ssl_ca_cert=None,
- ):
- """Constructor
- """
- self._base_path = "https://localhost:49160" if host is None else host
- """Default Base url
- """
- self.server_index = 0 if server_index is None and host is None else server_index
- self.server_operation_index = server_operation_index or {}
- """Default server index
- """
- self.server_variables = server_variables or {}
- self.server_operation_variables = server_operation_variables or {}
- """Default server variables
- """
- self.temp_folder_path = None
- """Temp file folder for downloading files
- """
- # Authentication Settings
- self.api_key = {}
- if api_key:
- self.api_key = api_key
- """dict to store API key(s)
- """
- self.api_key_prefix = {}
- if api_key_prefix:
- self.api_key_prefix = api_key_prefix
- """dict to store API prefix (e.g. Bearer)
- """
- self.refresh_api_key_hook = None
- """function hook to refresh API key if expired
- """
- self.username = username
- """Username for HTTP basic authentication
- """
- self.password = password
- """Password for HTTP basic authentication
- """
- self.access_token = access_token
- """Access token
- """
- self.logger = {}
- """Logging Settings
- """
- self.logger["package_logger"] = logging.getLogger("playground_client")
- self.logger["urllib3_logger"] = logging.getLogger("urllib3")
- self.logger_format = '%(asctime)s %(levelname)s %(message)s'
- """Log format
- """
- self.logger_stream_handler = None
- """Log stream handler
- """
- self.logger_file_handler = None
- """Log file handler
- """
- self.logger_file = None
- """Debug file location
- """
- self.debug = False
- """Debug switch
- """
-
- self.verify_ssl = True
- """SSL/TLS verification
- Set this to false to skip verifying SSL certificate when calling API
- from https server.
- """
- self.ssl_ca_cert = ssl_ca_cert
- """Set this to customize the certificate file to verify the peer.
- """
- self.cert_file = None
- """client certificate file
- """
- self.key_file = None
- """client key file
- """
- self.assert_hostname = None
- """Set this to True/False to enable/disable SSL hostname verification.
- """
-
- self.connection_pool_maxsize = multiprocessing.cpu_count() * 5
- """urllib3 connection pool's maximum number of connections saved
- per pool. urllib3 uses 1 connection as default value, but this is
- not the best value when you are making a lot of possibly parallel
- requests to the same host, which is often the case here.
- cpu_count * 5 is used as default value to increase performance.
- """
-
- self.proxy = None
- """Proxy URL
- """
- self.proxy_headers = None
- """Proxy headers
- """
- self.safe_chars_for_path_param = ''
- """Safe chars for path_param
- """
- self.retries = None
- """Adding retries to override urllib3 default value 3
- """
- # Enable client side validation
- self.client_side_validation = True
-
- self.socket_options = None
- """Options to pass down to the underlying urllib3 socket
- """
-
- def __deepcopy__(self, memo):
- cls = self.__class__
- result = cls.__new__(cls)
- memo[id(self)] = result
- for k, v in self.__dict__.items():
- if k not in ('logger', 'logger_file_handler'):
- setattr(result, k, copy.deepcopy(v, memo))
- # shallow copy of loggers
- result.logger = copy.copy(self.logger)
- # use setters to configure loggers
- result.logger_file = self.logger_file
- result.debug = self.debug
- return result
-
- def __setattr__(self, name, value):
- object.__setattr__(self, name, value)
-
- @classmethod
- def set_default(cls, default):
- """Set default instance of configuration.
-
- It stores default configuration, which can be
- returned by get_default_copy method.
-
- :param default: object of Configuration
- """
- cls._default = default
-
- @classmethod
- def get_default_copy(cls):
- """Deprecated. Please use `get_default` instead.
-
- Deprecated. Please use `get_default` instead.
-
- :return: The configuration object.
- """
- return cls.get_default()
-
- @classmethod
- def get_default(cls):
- """Return the default configuration.
-
- This method returns newly created, based on default constructor,
- object of Configuration class or returns a copy of default
- configuration.
-
- :return: The configuration object.
- """
- if cls._default is None:
- cls._default = Configuration()
- return cls._default
-
- @property
- def logger_file(self):
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- return self.__logger_file
-
- @logger_file.setter
- def logger_file(self, value):
- """The logger file.
-
- If the logger_file is None, then add stream handler and remove file
- handler. Otherwise, add file handler and remove stream handler.
-
- :param value: The logger_file path.
- :type: str
- """
- self.__logger_file = value
- if self.__logger_file:
- # If set logging file,
- # then add file handler and remove stream handler.
- self.logger_file_handler = logging.FileHandler(self.__logger_file)
- self.logger_file_handler.setFormatter(self.logger_formatter)
- for _, logger in self.logger.items():
- logger.addHandler(self.logger_file_handler)
-
- @property
- def debug(self):
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- return self.__debug
-
- @debug.setter
- def debug(self, value):
- """Debug status
-
- :param value: The debug status, True or False.
- :type: bool
- """
- self.__debug = value
- if self.__debug:
- # if debug status is True, turn on debug logging
- for _, logger in self.logger.items():
- logger.setLevel(logging.DEBUG)
- # turn on httplib debug
- httplib.HTTPConnection.debuglevel = 1
- else:
- # if debug status is False, turn off debug logging,
- # setting log level to default `logging.WARNING`
- for _, logger in self.logger.items():
- logger.setLevel(logging.WARNING)
- # turn off httplib debug
- httplib.HTTPConnection.debuglevel = 0
-
- @property
- def logger_format(self):
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- return self.__logger_format
-
- @logger_format.setter
- def logger_format(self, value):
- """The logger format.
-
- The logger_formatter will be updated when sets logger_format.
-
- :param value: The format string.
- :type: str
- """
- self.__logger_format = value
- self.logger_formatter = logging.Formatter(self.__logger_format)
-
- def get_api_key_with_prefix(self, identifier, alias=None):
- """Gets API key (with prefix if set).
-
- :param identifier: The identifier of apiKey.
- :param alias: The alternative identifier of apiKey.
- :return: The token for api key authentication.
- """
- if self.refresh_api_key_hook is not None:
- self.refresh_api_key_hook(self)
- key = self.api_key.get(identifier, self.api_key.get(alias) if alias is not None else None)
- if key:
- prefix = self.api_key_prefix.get(identifier)
- if prefix:
- return "%s %s" % (prefix, key)
- else:
- return key
-
- def get_basic_auth_token(self):
- """Gets HTTP basic authentication header (string).
-
- :return: The token for basic HTTP authentication.
- """
- username = ""
- if self.username is not None:
- username = self.username
- password = ""
- if self.password is not None:
- password = self.password
- return urllib3.util.make_headers(
- basic_auth=username + ':' + password
- ).get('authorization')
-
- def auth_settings(self):
- """Gets Auth Settings dict for api client.
-
- :return: The Auth Settings information dict.
- """
- auth = {}
- return auth
-
- def to_debug_report(self):
- """Gets the essential information for debugging.
-
- :return: The report for debugging.
- """
- return "Python SDK Debug Report:\n"\
- "OS: {env}\n"\
- "Python Version: {pyversion}\n"\
- "Version of the API: 1.0.0\n"\
- "SDK Package Version: 1.0.0".\
- format(env=sys.platform, pyversion=sys.version)
-
- def get_host_settings(self):
- """Gets an array of host settings
-
- :return: An array of host settings
- """
- return [
- {
- 'url': "https://localhost:49160",
- 'description': "No description provided",
- }
- ]
-
- def get_host_from_settings(self, index, variables=None, servers=None):
- """Gets host URL based on the index and variables
- :param index: array index of the host settings
- :param variables: hash of variable and the corresponding value
- :param servers: an array of host settings or None
- :return: URL based on host settings
- """
- if index is None:
- return self._base_path
-
- variables = {} if variables is None else variables
- servers = self.get_host_settings() if servers is None else servers
-
- try:
- server = servers[index]
- except IndexError:
- raise ValueError(
- "Invalid index {0} when selecting the host settings. "
- "Must be less than {1}".format(index, len(servers)))
-
- url = server['url']
-
- # go through variables and replace placeholders
- for variable_name, variable in server.get('variables', {}).items():
- used_value = variables.get(
- variable_name, variable['default_value'])
-
- if 'enum_values' in variable \
- and used_value not in variable['enum_values']:
- raise ValueError(
- "The variable `{0}` in the host URL has invalid value "
- "{1}. Must be {2}.".format(
- variable_name, variables[variable_name],
- variable['enum_values']))
-
- url = url.replace("{" + variable_name + "}", used_value)
-
- return url
-
- @property
- def host(self):
- """Return generated host."""
- return self.get_host_from_settings(self.server_index, variables=self.server_variables)
-
- @host.setter
- def host(self, value):
- """Fix base path."""
- self._base_path = value
- self.server_index = None
diff --git a/apps/dashboard/api-service/playground_client/docs/CreateSessionsRequest.md b/apps/dashboard/api-service/playground_client/docs/CreateSessionsRequest.md
deleted file mode 100644
index d2979faea..000000000
--- a/apps/dashboard/api-service/playground_client/docs/CreateSessionsRequest.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# CreateSessionsRequest
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**env_id** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.create_sessions_request import CreateSessionsRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of CreateSessionsRequest from a JSON string
-create_sessions_request_instance = CreateSessionsRequest.from_json(json)
-# print the JSON string representation of the object
-print CreateSessionsRequest.to_json()
-
-# convert the object into a dict
-create_sessions_request_dict = create_sessions_request_instance.to_dict()
-# create an instance of CreateSessionsRequest from a dict
-create_sessions_request_form_dict = create_sessions_request.from_dict(create_sessions_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/DefaultApi.md b/apps/dashboard/api-service/playground_client/docs/DefaultApi.md
deleted file mode 100644
index e37fb0a22..000000000
--- a/apps/dashboard/api-service/playground_client/docs/DefaultApi.md
+++ /dev/null
@@ -1,770 +0,0 @@
-# playground_client.DefaultApi
-
-All URIs are relative to *https://localhost:49160*
-
-Method | HTTP request | Description
-------------- | ------------- | -------------
-[**create_sessions**](DefaultApi.md#create_sessions) | **POST** /sessions |
-[**delete_filesystem_entry**](DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{sessionID}/filesystem |
-[**delete_session**](DefaultApi.md#delete_session) | **DELETE** /sessions/{sessionID} |
-[**get_process**](DefaultApi.md#get_process) | **GET** /sessions/{sessionID}/processes/{processID} |
-[**get_session**](DefaultApi.md#get_session) | **GET** /sessions/{sessionID} |
-[**list_filesystem_dir**](DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{sessionID}/filesystem/dir |
-[**make_filesystem_dir**](DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{sessionID}/filesystem/dir |
-[**read_filesystem_file**](DefaultApi.md#read_filesystem_file) | **GET** /sessions/{sessionID}/filesystem/file |
-[**start_process**](DefaultApi.md#start_process) | **POST** /sessions/{sessionID}/processes |
-[**stop_process**](DefaultApi.md#stop_process) | **DELETE** /sessions/{sessionID}/processes/{processID} |
-[**write_filesystem_file**](DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{sessionID}/filesystem/file |
-[**write_process_stdin**](DefaultApi.md#write_process_stdin) | **POST** /sessions/{sessionID}/processes/{processID}/stdin |
-
-
-# **create_sessions**
-> SessionResponse create_sessions(create_sessions_request)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- create_sessions_request = playground_client.CreateSessionsRequest() # CreateSessionsRequest |
-
- try:
- api_response = api_instance.create_sessions(create_sessions_request)
- print("The response of DefaultApi->create_sessions:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->create_sessions: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **create_sessions_request** | [**CreateSessionsRequest**](CreateSessionsRequest.md)| |
-
-### Return type
-
-[**SessionResponse**](SessionResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Ok | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_filesystem_entry**
-> delete_filesystem_entry(session_id, path)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- path = 'path_example' # str |
-
- try:
- api_instance.delete_filesystem_entry(session_id, path)
- except Exception as e:
- print("Exception when calling DefaultApi->delete_filesystem_entry: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **path** | **str**| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | No content | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **delete_session**
-> delete_session(session_id)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
-
- try:
- api_instance.delete_session(session_id)
- except Exception as e:
- print("Exception when calling DefaultApi->delete_session: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | No content | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_process**
-> ProcessResponse get_process(session_id, process_id, wait=wait)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- process_id = 'process_id_example' # str |
- wait = True # bool | if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. (optional)
-
- try:
- api_response = api_instance.get_process(session_id, process_id, wait=wait)
- print("The response of DefaultApi->get_process:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->get_process: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **process_id** | **str**| |
- **wait** | **bool**| if true the request will wait until the process ends and then return the &#x60;stdout&#x60;, &#x60;stderr&#x60; and &#x60;processID&#x60;. | [optional]
-
-### Return type
-
-[**ProcessResponse**](ProcessResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | &#x60;processID&#x60; and all &#x60;stdout&#x60; and &#x60;stderr&#x60; that the process outputted until now. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **get_session**
-> SessionResponse get_session(session_id)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
-
- try:
- api_response = api_instance.get_session(session_id)
- print("The response of DefaultApi->get_session:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->get_session: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
-
-### Return type
-
-[**SessionResponse**](SessionResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Ok | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **list_filesystem_dir**
-> ListFilesystemDirResponse list_filesystem_dir(session_id, path)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- path = 'path_example' # str |
-
- try:
- api_response = api_instance.list_filesystem_dir(session_id, path)
- print("The response of DefaultApi->list_filesystem_dir:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->list_filesystem_dir: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **path** | **str**| |
-
-### Return type
-
-[**ListFilesystemDirResponse**](ListFilesystemDirResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Ok | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **make_filesystem_dir**
-> make_filesystem_dir(session_id, path)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- path = 'path_example' # str |
-
- try:
- api_instance.make_filesystem_dir(session_id, path)
- except Exception as e:
- print("Exception when calling DefaultApi->make_filesystem_dir: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **path** | **str**| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: Not defined
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | No content | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **read_filesystem_file**
-> ReadFilesystemFileResponse read_filesystem_file(session_id, path)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- path = 'path_example' # str |
-
- try:
- api_response = api_instance.read_filesystem_file(session_id, path)
- print("The response of DefaultApi->read_filesystem_file:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->read_filesystem_file: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **path** | **str**| |
-
-### Return type
-
-[**ReadFilesystemFileResponse**](ReadFilesystemFileResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Ok | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **start_process**
-> ProcessResponse start_process(session_id, start_process_params, wait=wait)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- start_process_params = playground_client.StartProcessParams() # StartProcessParams |
- wait = True # bool | if true the request will wait until the process ends and then return the `stdout`, `stderr` and `processID`. (optional)
-
- try:
- api_response = api_instance.start_process(session_id, start_process_params, wait=wait)
- print("The response of DefaultApi->start_process:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->start_process: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **start_process_params** | [**StartProcessParams**](StartProcessParams.md)| |
- **wait** | **bool**| if true the request will wait until the process ends and then return the &#x60;stdout&#x60;, &#x60;stderr&#x60; and &#x60;processID&#x60;. | [optional]
-
-### Return type
-
-[**ProcessResponse**](ProcessResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | &#x60;processID&#x60; and all &#x60;stdout&#x60; and &#x60;stderr&#x60; that the process outputted until now. | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **stop_process**
-> ProcessResponse stop_process(session_id, process_id, results=results)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- process_id = 'process_id_example' # str |
- results = True # bool | (optional)
-
- try:
- api_response = api_instance.stop_process(session_id, process_id, results=results)
- print("The response of DefaultApi->stop_process:\n")
- pprint(api_response)
- except Exception as e:
- print("Exception when calling DefaultApi->stop_process: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **process_id** | **str**| |
- **results** | **bool**| | [optional]
-
-### Return type
-
-[**ProcessResponse**](ProcessResponse.md)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: Not defined
- - **Accept**: application/json
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**200** | Ok | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **write_filesystem_file**
-> write_filesystem_file(session_id, path, write_filesystem_file_request)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- path = 'path_example' # str |
- write_filesystem_file_request = playground_client.WriteFilesystemFileRequest() # WriteFilesystemFileRequest |
-
- try:
- api_instance.write_filesystem_file(session_id, path, write_filesystem_file_request)
- except Exception as e:
- print("Exception when calling DefaultApi->write_filesystem_file: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **path** | **str**| |
- **write_filesystem_file_request** | [**WriteFilesystemFileRequest**](WriteFilesystemFileRequest.md)| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | No content | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
-# **write_process_stdin**
-> write_process_stdin(session_id, process_id, write_process_stdin_request)
-
-
-
-### Example
-
-```python
-from __future__ import print_function
-import time
-import os
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- session_id = 'session_id_example' # str |
- process_id = 'process_id_example' # str |
- write_process_stdin_request = playground_client.WriteProcessStdinRequest() # WriteProcessStdinRequest |
-
- try:
- api_instance.write_process_stdin(session_id, process_id, write_process_stdin_request)
- except Exception as e:
- print("Exception when calling DefaultApi->write_process_stdin: %s\n" % e)
-```
-
-### Parameters
-
-Name | Type | Description | Notes
-------------- | ------------- | ------------- | -------------
- **session_id** | **str**| |
- **process_id** | **str**| |
- **write_process_stdin_request** | [**WriteProcessStdinRequest**](WriteProcessStdinRequest.md)| |
-
-### Return type
-
-void (empty response body)
-
-### Authorization
-
-No authorization required
-
-### HTTP request headers
-
- - **Content-Type**: application/json
- - **Accept**: Not defined
-
-### HTTP response details
-| Status code | Description | Response headers |
-|-------------|-------------|------------------|
-**204** | No content | - |
-
-[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
-
diff --git a/apps/dashboard/api-service/playground_client/docs/EntryInfo.md b/apps/dashboard/api-service/playground_client/docs/EntryInfo.md
deleted file mode 100644
index f8aedf795..000000000
--- a/apps/dashboard/api-service/playground_client/docs/EntryInfo.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# EntryInfo
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**is_dir** | **bool** | |
-**name** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.entry_info import EntryInfo
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of EntryInfo from a JSON string
-entry_info_instance = EntryInfo.from_json(json)
-# print the JSON string representation of the object
-print EntryInfo.to_json()
-
-# convert the object into a dict
-entry_info_dict = entry_info_instance.to_dict()
-# create an instance of EntryInfo from a dict
-entry_info_form_dict = entry_info.from_dict(entry_info_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/ListFilesystemDirResponse.md b/apps/dashboard/api-service/playground_client/docs/ListFilesystemDirResponse.md
deleted file mode 100644
index c062a5329..000000000
--- a/apps/dashboard/api-service/playground_client/docs/ListFilesystemDirResponse.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# ListFilesystemDirResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**entries** | [**List[EntryInfo]**](EntryInfo.md) | |
-
-## Example
-
-```python
-from playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ListFilesystemDirResponse from a JSON string
-list_filesystem_dir_response_instance = ListFilesystemDirResponse.from_json(json)
-# print the JSON string representation of the object
-print ListFilesystemDirResponse.to_json()
-
-# convert the object into a dict
-list_filesystem_dir_response_dict = list_filesystem_dir_response_instance.to_dict()
-# create an instance of ListFilesystemDirResponse from a dict
-list_filesystem_dir_response_form_dict = list_filesystem_dir_response.from_dict(list_filesystem_dir_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OpenPort.md b/apps/dashboard/api-service/playground_client/docs/OpenPort.md
deleted file mode 100644
index 5c9230720..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OpenPort.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# OpenPort
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**state** | **str** | |
-**ip** | **str** | |
-**port** | **float** | |
-
-## Example
-
-```python
-from playground_client.models.open_port import OpenPort
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OpenPort from a JSON string
-open_port_instance = OpenPort.from_json(json)
-# print the JSON string representation of the object
-print OpenPort.to_json()
-
-# convert the object into a dict
-open_port_dict = open_port_instance.to_dict()
-# create an instance of OpenPort from a dict
-open_port_form_dict = open_port.from_dict(open_port_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OutStderrResponse.md b/apps/dashboard/api-service/playground_client/docs/OutStderrResponse.md
deleted file mode 100644
index 7ab2acf19..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OutStderrResponse.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# OutStderrResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | [**OutTypeStderr**](OutTypeStderr.md) | |
-**timestamp** | **float** | |
-**line** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.out_stderr_response import OutStderrResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OutStderrResponse from a JSON string
-out_stderr_response_instance = OutStderrResponse.from_json(json)
-# print the JSON string representation of the object
-print OutStderrResponse.to_json()
-
-# convert the object into a dict
-out_stderr_response_dict = out_stderr_response_instance.to_dict()
-# create an instance of OutStderrResponse from a dict
-out_stderr_response_form_dict = out_stderr_response.from_dict(out_stderr_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OutStdoutResponse.md b/apps/dashboard/api-service/playground_client/docs/OutStdoutResponse.md
deleted file mode 100644
index 064cfedb1..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OutStdoutResponse.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# OutStdoutResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**type** | [**OutTypeStdout**](OutTypeStdout.md) | |
-**timestamp** | **float** | |
-**line** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.out_stdout_response import OutStdoutResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of OutStdoutResponse from a JSON string
-out_stdout_response_instance = OutStdoutResponse.from_json(json)
-# print the JSON string representation of the object
-print OutStdoutResponse.to_json()
-
-# convert the object into a dict
-out_stdout_response_dict = out_stdout_response_instance.to_dict()
-# create an instance of OutStdoutResponse from a dict
-out_stdout_response_form_dict = out_stdout_response.from_dict(out_stdout_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OutType.md b/apps/dashboard/api-service/playground_client/docs/OutType.md
deleted file mode 100644
index 7f447ad1d..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OutType.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# OutType
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OutTypeStderr.md b/apps/dashboard/api-service/playground_client/docs/OutTypeStderr.md
deleted file mode 100644
index 5a6c02e21..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OutTypeStderr.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# OutTypeStderr
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/OutTypeStdout.md b/apps/dashboard/api-service/playground_client/docs/OutTypeStdout.md
deleted file mode 100644
index cbc39f54c..000000000
--- a/apps/dashboard/api-service/playground_client/docs/OutTypeStdout.md
+++ /dev/null
@@ -1,10 +0,0 @@
-# OutTypeStdout
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/ProcessResponse.md b/apps/dashboard/api-service/playground_client/docs/ProcessResponse.md
deleted file mode 100644
index c5f3c914e..000000000
--- a/apps/dashboard/api-service/playground_client/docs/ProcessResponse.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# ProcessResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**stderr** | [**List[OutStderrResponse]**](OutStderrResponse.md) | |
-**stdout** | [**List[OutStdoutResponse]**](OutStdoutResponse.md) | |
-**process_id** | **str** | |
-**finished** | **bool** | |
-
-## Example
-
-```python
-from playground_client.models.process_response import ProcessResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ProcessResponse from a JSON string
-process_response_instance = ProcessResponse.from_json(json)
-# print the JSON string representation of the object
-print ProcessResponse.to_json()
-
-# convert the object into a dict
-process_response_dict = process_response_instance.to_dict()
-# create an instance of ProcessResponse from a dict
-process_response_form_dict = process_response.from_dict(process_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/ReadFilesystemFileResponse.md b/apps/dashboard/api-service/playground_client/docs/ReadFilesystemFileResponse.md
deleted file mode 100644
index 3c892939f..000000000
--- a/apps/dashboard/api-service/playground_client/docs/ReadFilesystemFileResponse.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# ReadFilesystemFileResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.read_filesystem_file_response import ReadFilesystemFileResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of ReadFilesystemFileResponse from a JSON string
-read_filesystem_file_response_instance = ReadFilesystemFileResponse.from_json(json)
-# print the JSON string representation of the object
-print ReadFilesystemFileResponse.to_json()
-
-# convert the object into a dict
-read_filesystem_file_response_dict = read_filesystem_file_response_instance.to_dict()
-# create an instance of ReadFilesystemFileResponse from a dict
-read_filesystem_file_response_form_dict = read_filesystem_file_response.from_dict(read_filesystem_file_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/SessionResponse.md b/apps/dashboard/api-service/playground_client/docs/SessionResponse.md
deleted file mode 100644
index 3cc9ebdea..000000000
--- a/apps/dashboard/api-service/playground_client/docs/SessionResponse.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# SessionResponse
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**id** | **str** | |
-**ports** | [**List[OpenPort]**](OpenPort.md) | |
-
-## Example
-
-```python
-from playground_client.models.session_response import SessionResponse
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of SessionResponse from a JSON string
-session_response_instance = SessionResponse.from_json(json)
-# print the JSON string representation of the object
-print SessionResponse.to_json()
-
-# convert the object into a dict
-session_response_dict = session_response_instance.to_dict()
-# create an instance of SessionResponse from a dict
-session_response_form_dict = session_response.from_dict(session_response_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/StartProcessParams.md b/apps/dashboard/api-service/playground_client/docs/StartProcessParams.md
deleted file mode 100644
index 376008f90..000000000
--- a/apps/dashboard/api-service/playground_client/docs/StartProcessParams.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# StartProcessParams
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**cmd** | **str** | |
-**env_vars** | **Dict[str, str]** | | [optional]
-**rootdir** | **str** | | [optional]
-
-## Example
-
-```python
-from playground_client.models.start_process_params import StartProcessParams
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of StartProcessParams from a JSON string
-start_process_params_instance = StartProcessParams.from_json(json)
-# print the JSON string representation of the object
-print StartProcessParams.to_json()
-
-# convert the object into a dict
-start_process_params_dict = start_process_params_instance.to_dict()
-# create an instance of StartProcessParams from a dict
-start_process_params_form_dict = start_process_params.from_dict(start_process_params_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/WriteFilesystemFileRequest.md b/apps/dashboard/api-service/playground_client/docs/WriteFilesystemFileRequest.md
deleted file mode 100644
index a1f431f16..000000000
--- a/apps/dashboard/api-service/playground_client/docs/WriteFilesystemFileRequest.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# WriteFilesystemFileRequest
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**content** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.write_filesystem_file_request import WriteFilesystemFileRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of WriteFilesystemFileRequest from a JSON string
-write_filesystem_file_request_instance = WriteFilesystemFileRequest.from_json(json)
-# print the JSON string representation of the object
-print WriteFilesystemFileRequest.to_json()
-
-# convert the object into a dict
-write_filesystem_file_request_dict = write_filesystem_file_request_instance.to_dict()
-# create an instance of WriteFilesystemFileRequest from a dict
-write_filesystem_file_request_form_dict = write_filesystem_file_request.from_dict(write_filesystem_file_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/docs/WriteProcessStdinRequest.md b/apps/dashboard/api-service/playground_client/docs/WriteProcessStdinRequest.md
deleted file mode 100644
index 541701d64..000000000
--- a/apps/dashboard/api-service/playground_client/docs/WriteProcessStdinRequest.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# WriteProcessStdinRequest
-
-
-## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**stdin** | **str** | |
-
-## Example
-
-```python
-from playground_client.models.write_process_stdin_request import WriteProcessStdinRequest
-
-# TODO update the JSON string below
-json = "{}"
-# create an instance of WriteProcessStdinRequest from a JSON string
-write_process_stdin_request_instance = WriteProcessStdinRequest.from_json(json)
-# print the JSON string representation of the object
-print WriteProcessStdinRequest.to_json()
-
-# convert the object into a dict
-write_process_stdin_request_dict = write_process_stdin_request_instance.to_dict()
-# create an instance of WriteProcessStdinRequest from a dict
-write_process_stdin_request_form_dict = write_process_stdin_request.from_dict(write_process_stdin_request_dict)
-```
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/apps/dashboard/api-service/playground_client/exceptions.py b/apps/dashboard/api-service/playground_client/exceptions.py
deleted file mode 100644
index cae92c61f..000000000
--- a/apps/dashboard/api-service/playground_client/exceptions.py
+++ /dev/null
@@ -1,160 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-class OpenApiException(Exception):
- """The base exception class for all OpenAPIExceptions"""
-
-
-class ApiTypeError(OpenApiException, TypeError):
- def __init__(self, msg, path_to_item=None, valid_classes=None,
- key_type=None):
- """ Raises an exception for TypeErrors
-
- Args:
- msg (str): the exception message
-
- Keyword Args:
- path_to_item (list): a list of keys an indices to get to the
- current_item
- None if unset
- valid_classes (tuple): the primitive classes that current item
- should be an instance of
- None if unset
- key_type (bool): False if our value is a value in a dict
- True if it is a key in a dict
- False if our item is an item in a list
- None if unset
- """
- self.path_to_item = path_to_item
- self.valid_classes = valid_classes
- self.key_type = key_type
- full_msg = msg
- if path_to_item:
- full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
- super(ApiTypeError, self).__init__(full_msg)
-
-
-class ApiValueError(OpenApiException, ValueError):
- def __init__(self, msg, path_to_item=None):
- """
- Args:
- msg (str): the exception message
-
- Keyword Args:
- path_to_item (list) the path to the exception in the
- received_data dict. None if unset
- """
-
- self.path_to_item = path_to_item
- full_msg = msg
- if path_to_item:
- full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
- super(ApiValueError, self).__init__(full_msg)
-
-
-class ApiAttributeError(OpenApiException, AttributeError):
- def __init__(self, msg, path_to_item=None):
- """
- Raised when an attribute reference or assignment fails.
-
- Args:
- msg (str): the exception message
-
- Keyword Args:
- path_to_item (None/list) the path to the exception in the
- received_data dict
- """
- self.path_to_item = path_to_item
- full_msg = msg
- if path_to_item:
- full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
- super(ApiAttributeError, self).__init__(full_msg)
-
-
-class ApiKeyError(OpenApiException, KeyError):
- def __init__(self, msg, path_to_item=None):
- """
- Args:
- msg (str): the exception message
-
- Keyword Args:
- path_to_item (None/list) the path to the exception in the
- received_data dict
- """
- self.path_to_item = path_to_item
- full_msg = msg
- if path_to_item:
- full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
- super(ApiKeyError, self).__init__(full_msg)
-
-
-class ApiException(OpenApiException):
-
- def __init__(self, status=None, reason=None, http_resp=None):
- if http_resp:
- self.status = http_resp.status
- self.reason = http_resp.reason
- self.body = http_resp.data
- self.headers = http_resp.getheaders()
- else:
- self.status = status
- self.reason = reason
- self.body = None
- self.headers = None
-
- def __str__(self):
- """Custom error messages for exception"""
- error_message = "({0})\n"\
- "Reason: {1}\n".format(self.status, self.reason)
- if self.headers:
- error_message += "HTTP response headers: {0}\n".format(
- self.headers)
-
- if self.body:
- error_message += "HTTP response body: {0}\n".format(self.body)
-
- return error_message
-
-
-class NotFoundException(ApiException):
-
- def __init__(self, status=None, reason=None, http_resp=None):
- super(NotFoundException, self).__init__(status, reason, http_resp)
-
-
-class UnauthorizedException(ApiException):
-
- def __init__(self, status=None, reason=None, http_resp=None):
- super(UnauthorizedException, self).__init__(status, reason, http_resp)
-
-
-class ForbiddenException(ApiException):
-
- def __init__(self, status=None, reason=None, http_resp=None):
- super(ForbiddenException, self).__init__(status, reason, http_resp)
-
-
-class ServiceException(ApiException):
-
- def __init__(self, status=None, reason=None, http_resp=None):
- super(ServiceException, self).__init__(status, reason, http_resp)
-
-
-def render_path(path_to_item):
- """Returns a string representation of a path"""
- result = ""
- for pth in path_to_item:
- if isinstance(pth, int):
- result += "[{0}]".format(pth)
- else:
- result += "['{0}']".format(pth)
- return result
diff --git a/apps/dashboard/api-service/playground_client/models/__init__.py b/apps/dashboard/api-service/playground_client/models/__init__.py
deleted file mode 100644
index 6f28cbd47..000000000
--- a/apps/dashboard/api-service/playground_client/models/__init__.py
+++ /dev/null
@@ -1,31 +0,0 @@
-# coding: utf-8
-
-# flake8: noqa
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-# import models into model package
-from playground_client.models.create_sessions_request import CreateSessionsRequest
-from playground_client.models.entry_info import EntryInfo
-from playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse
-from playground_client.models.open_port import OpenPort
-from playground_client.models.out_stderr_response import OutStderrResponse
-from playground_client.models.out_stdout_response import OutStdoutResponse
-from playground_client.models.out_type import OutType
-from playground_client.models.out_type_stderr import OutTypeStderr
-from playground_client.models.out_type_stdout import OutTypeStdout
-from playground_client.models.process_response import ProcessResponse
-from playground_client.models.read_filesystem_file_response import ReadFilesystemFileResponse
-from playground_client.models.session_response import SessionResponse
-from playground_client.models.start_process_params import StartProcessParams
-from playground_client.models.write_filesystem_file_request import WriteFilesystemFileRequest
-from playground_client.models.write_process_stdin_request import WriteProcessStdinRequest
diff --git a/apps/dashboard/api-service/playground_client/models/create_sessions_request.py b/apps/dashboard/api-service/playground_client/models/create_sessions_request.py
deleted file mode 100644
index 1966e452f..000000000
--- a/apps/dashboard/api-service/playground_client/models/create_sessions_request.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, Field, StrictStr
-
-class CreateSessionsRequest(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- env_id: StrictStr = Field(..., alias="envID")
- __properties = ["envID"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> CreateSessionsRequest:
- """Create an instance of CreateSessionsRequest from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> CreateSessionsRequest:
- """Create an instance of CreateSessionsRequest from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return CreateSessionsRequest.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in CreateSessionsRequest) in the input: " + obj)
-
- _obj = CreateSessionsRequest.parse_obj({
- "env_id": obj.get("envID")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/entry_info.py b/apps/dashboard/api-service/playground_client/models/entry_info.py
deleted file mode 100644
index 2e8e5857d..000000000
--- a/apps/dashboard/api-service/playground_client/models/entry_info.py
+++ /dev/null
@@ -1,77 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, Field, StrictBool, StrictStr
-
-class EntryInfo(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- is_dir: StrictBool = Field(..., alias="isDir")
- name: StrictStr = ...
- __properties = ["isDir", "name"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> EntryInfo:
- """Create an instance of EntryInfo from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> EntryInfo:
- """Create an instance of EntryInfo from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return EntryInfo.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in EntryInfo) in the input: " + obj)
-
- _obj = EntryInfo.parse_obj({
- "is_dir": obj.get("isDir"),
- "name": obj.get("name")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/list_filesystem_dir_response.py b/apps/dashboard/api-service/playground_client/models/list_filesystem_dir_response.py
deleted file mode 100644
index ddc8ad837..000000000
--- a/apps/dashboard/api-service/playground_client/models/list_filesystem_dir_response.py
+++ /dev/null
@@ -1,83 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-from typing import List
-from pydantic import BaseModel
-from playground_client.models.entry_info import EntryInfo
-
-class ListFilesystemDirResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- entries: List[EntryInfo] = ...
- __properties = ["entries"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> ListFilesystemDirResponse:
- """Create an instance of ListFilesystemDirResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- # override the default output from pydantic by calling `to_dict()` of each item in entries (list)
- _items = []
- if self.entries:
- for _item in self.entries:
- if _item:
- _items.append(_item.to_dict())
- _dict['entries'] = _items
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> ListFilesystemDirResponse:
- """Create an instance of ListFilesystemDirResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return ListFilesystemDirResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in ListFilesystemDirResponse) in the input: " + obj)
-
- _obj = ListFilesystemDirResponse.parse_obj({
- "entries": [EntryInfo.from_dict(_item) for _item in obj.get("entries")] if obj.get("entries") is not None else None
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/open_port.py b/apps/dashboard/api-service/playground_client/models/open_port.py
deleted file mode 100644
index b6d42be5d..000000000
--- a/apps/dashboard/api-service/playground_client/models/open_port.py
+++ /dev/null
@@ -1,79 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, Field, StrictStr
-
-class OpenPort(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- state: StrictStr = Field(..., alias="State")
- ip: StrictStr = Field(..., alias="Ip")
- port: float = Field(..., alias="Port")
- __properties = ["State", "Ip", "Port"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> OpenPort:
- """Create an instance of OpenPort from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> OpenPort:
- """Create an instance of OpenPort from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return OpenPort.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in OpenPort) in the input: " + obj)
-
- _obj = OpenPort.parse_obj({
- "state": obj.get("State"),
- "ip": obj.get("Ip"),
- "port": obj.get("Port")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/out_stderr_response.py b/apps/dashboard/api-service/playground_client/models/out_stderr_response.py
deleted file mode 100644
index adf9d920c..000000000
--- a/apps/dashboard/api-service/playground_client/models/out_stderr_response.py
+++ /dev/null
@@ -1,80 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, StrictStr
-from playground_client.models.out_type_stderr import OutTypeStderr
-
-class OutStderrResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- type: OutTypeStderr = ...
- timestamp: float = ...
- line: StrictStr = ...
- __properties = ["type", "timestamp", "line"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> OutStderrResponse:
- """Create an instance of OutStderrResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> OutStderrResponse:
- """Create an instance of OutStderrResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return OutStderrResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in OutStderrResponse) in the input: " + obj)
-
- _obj = OutStderrResponse.parse_obj({
- "type": obj.get("type"),
- "timestamp": obj.get("timestamp"),
- "line": obj.get("line")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/out_stdout_response.py b/apps/dashboard/api-service/playground_client/models/out_stdout_response.py
deleted file mode 100644
index a4e3e5180..000000000
--- a/apps/dashboard/api-service/playground_client/models/out_stdout_response.py
+++ /dev/null
@@ -1,80 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, StrictStr
-from playground_client.models.out_type_stdout import OutTypeStdout
-
-class OutStdoutResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- type: OutTypeStdout = ...
- timestamp: float = ...
- line: StrictStr = ...
- __properties = ["type", "timestamp", "line"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> OutStdoutResponse:
- """Create an instance of OutStdoutResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> OutStdoutResponse:
- """Create an instance of OutStdoutResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return OutStdoutResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in OutStdoutResponse) in the input: " + obj)
-
- _obj = OutStdoutResponse.parse_obj({
- "type": obj.get("type"),
- "timestamp": obj.get("timestamp"),
- "line": obj.get("line")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/out_type.py b/apps/dashboard/api-service/playground_client/models/out_type.py
deleted file mode 100644
index f2f383011..000000000
--- a/apps/dashboard/api-service/playground_client/models/out_type.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-from aenum import Enum, no_arg
-
-
-
-
-
-class OutType(str, Enum):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
-
- """
- allowed enum values
- """
-
- STDOUT = 'Stdout'
- STDERR = 'Stderr'
-
diff --git a/apps/dashboard/api-service/playground_client/models/out_type_stderr.py b/apps/dashboard/api-service/playground_client/models/out_type_stderr.py
deleted file mode 100644
index 5edb6109a..000000000
--- a/apps/dashboard/api-service/playground_client/models/out_type_stderr.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-from aenum import Enum, no_arg
-
-
-
-
-
-class OutTypeStderr(str, Enum):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
-
- """
- allowed enum values
- """
-
- STDERR = 'Stderr'
-
diff --git a/apps/dashboard/api-service/playground_client/models/out_type_stdout.py b/apps/dashboard/api-service/playground_client/models/out_type_stdout.py
deleted file mode 100644
index 4830f5bca..000000000
--- a/apps/dashboard/api-service/playground_client/models/out_type_stdout.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-from aenum import Enum, no_arg
-
-
-
-
-
-class OutTypeStdout(str, Enum):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
-
- """
- allowed enum values
- """
-
- STDOUT = 'Stdout'
-
diff --git a/apps/dashboard/api-service/playground_client/models/process_response.py b/apps/dashboard/api-service/playground_client/models/process_response.py
deleted file mode 100644
index b964e38cc..000000000
--- a/apps/dashboard/api-service/playground_client/models/process_response.py
+++ /dev/null
@@ -1,97 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-from typing import List
-from pydantic import BaseModel, Field, StrictBool, StrictStr
-from playground_client.models.out_stderr_response import OutStderrResponse
-from playground_client.models.out_stdout_response import OutStdoutResponse
-
-class ProcessResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- stderr: List[OutStderrResponse] = ...
- stdout: List[OutStdoutResponse] = ...
- process_id: StrictStr = Field(..., alias="processID")
- finished: StrictBool = ...
- __properties = ["stderr", "stdout", "processID", "finished"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> ProcessResponse:
- """Create an instance of ProcessResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- # override the default output from pydantic by calling `to_dict()` of each item in stderr (list)
- _items = []
- if self.stderr:
- for _item in self.stderr:
- if _item:
- _items.append(_item.to_dict())
- _dict['stderr'] = _items
- # override the default output from pydantic by calling `to_dict()` of each item in stdout (list)
- _items = []
- if self.stdout:
- for _item in self.stdout:
- if _item:
- _items.append(_item.to_dict())
- _dict['stdout'] = _items
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> ProcessResponse:
- """Create an instance of ProcessResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return ProcessResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in ProcessResponse) in the input: " + obj)
-
- _obj = ProcessResponse.parse_obj({
- "stderr": [OutStderrResponse.from_dict(_item) for _item in obj.get("stderr")] if obj.get("stderr") is not None else None,
- "stdout": [OutStdoutResponse.from_dict(_item) for _item in obj.get("stdout")] if obj.get("stdout") is not None else None,
- "process_id": obj.get("processID"),
- "finished": obj.get("finished")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/read_filesystem_file_response.py b/apps/dashboard/api-service/playground_client/models/read_filesystem_file_response.py
deleted file mode 100644
index d53013ee6..000000000
--- a/apps/dashboard/api-service/playground_client/models/read_filesystem_file_response.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, StrictStr
-
-class ReadFilesystemFileResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- content: StrictStr = ...
- __properties = ["content"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> ReadFilesystemFileResponse:
- """Create an instance of ReadFilesystemFileResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> ReadFilesystemFileResponse:
- """Create an instance of ReadFilesystemFileResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return ReadFilesystemFileResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in ReadFilesystemFileResponse) in the input: " + obj)
-
- _obj = ReadFilesystemFileResponse.parse_obj({
- "content": obj.get("content")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/session_response.py b/apps/dashboard/api-service/playground_client/models/session_response.py
deleted file mode 100644
index 36fc84e88..000000000
--- a/apps/dashboard/api-service/playground_client/models/session_response.py
+++ /dev/null
@@ -1,85 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-from typing import List
-from pydantic import BaseModel, StrictStr
-from playground_client.models.open_port import OpenPort
-
-class SessionResponse(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- id: StrictStr = ...
- ports: List[OpenPort] = ...
- __properties = ["id", "ports"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> SessionResponse:
- """Create an instance of SessionResponse from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- # override the default output from pydantic by calling `to_dict()` of each item in ports (list)
- _items = []
- if self.ports:
- for _item in self.ports:
- if _item:
- _items.append(_item.to_dict())
- _dict['ports'] = _items
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> SessionResponse:
- """Create an instance of SessionResponse from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return SessionResponse.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in SessionResponse) in the input: " + obj)
-
- _obj = SessionResponse.parse_obj({
- "id": obj.get("id"),
- "ports": [OpenPort.from_dict(_item) for _item in obj.get("ports")] if obj.get("ports") is not None else None
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/start_process_params.py b/apps/dashboard/api-service/playground_client/models/start_process_params.py
deleted file mode 100644
index 60376c2e4..000000000
--- a/apps/dashboard/api-service/playground_client/models/start_process_params.py
+++ /dev/null
@@ -1,79 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-from typing import Dict, Optional
-from pydantic import BaseModel, Field, StrictStr
-
-class StartProcessParams(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- cmd: StrictStr = ...
- env_vars: Optional[Dict[str, StrictStr]] = Field(None, alias="envVars")
- rootdir: Optional[StrictStr] = None
- __properties = ["cmd", "envVars", "rootdir"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> StartProcessParams:
- """Create an instance of StartProcessParams from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> StartProcessParams:
- """Create an instance of StartProcessParams from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return StartProcessParams.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in StartProcessParams) in the input: " + obj)
-
- _obj = StartProcessParams.parse_obj({
- "cmd": obj.get("cmd"),
- "env_vars": obj.get("envVars"),
- "rootdir": obj.get("rootdir")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/write_filesystem_file_request.py b/apps/dashboard/api-service/playground_client/models/write_filesystem_file_request.py
deleted file mode 100644
index 319e5c01c..000000000
--- a/apps/dashboard/api-service/playground_client/models/write_filesystem_file_request.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, StrictStr
-
-class WriteFilesystemFileRequest(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- content: StrictStr = ...
- __properties = ["content"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> WriteFilesystemFileRequest:
- """Create an instance of WriteFilesystemFileRequest from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> WriteFilesystemFileRequest:
- """Create an instance of WriteFilesystemFileRequest from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return WriteFilesystemFileRequest.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in WriteFilesystemFileRequest) in the input: " + obj)
-
- _obj = WriteFilesystemFileRequest.parse_obj({
- "content": obj.get("content")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/models/write_process_stdin_request.py b/apps/dashboard/api-service/playground_client/models/write_process_stdin_request.py
deleted file mode 100644
index 884bb6350..000000000
--- a/apps/dashboard/api-service/playground_client/models/write_process_stdin_request.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import annotations
-from inspect import getfullargspec
-import pprint
-import re # noqa: F401
-import json
-
-
-
-from pydantic import BaseModel, StrictStr
-
-class WriteProcessStdinRequest(BaseModel):
- """NOTE: This class is auto generated by OpenAPI Generator.
- Ref: https://openapi-generator.tech
-
- Do not edit the class manually.
- """
- stdin: StrictStr = ...
- __properties = ["stdin"]
-
- class Config:
- allow_population_by_field_name = True
- validate_assignment = True
-
- def to_str(self) -> str:
- """Returns the string representation of the model using alias"""
- return pprint.pformat(self.dict(by_alias=True))
-
- def to_json(self) -> str:
- """Returns the JSON representation of the model using alias"""
- return json.dumps(self.to_dict())
-
- @classmethod
- def from_json(cls, json_str: str) -> WriteProcessStdinRequest:
- """Create an instance of WriteProcessStdinRequest from a JSON string"""
- return cls.from_dict(json.loads(json_str))
-
- def to_dict(self):
- """Returns the dictionary representation of the model using alias"""
- _dict = self.dict(by_alias=True,
- exclude={
- },
- exclude_none=True)
- return _dict
-
- @classmethod
- def from_dict(cls, obj: dict) -> WriteProcessStdinRequest:
- """Create an instance of WriteProcessStdinRequest from a dict"""
- if obj is None:
- return None
-
- if type(obj) is not dict:
- return WriteProcessStdinRequest.parse_obj(obj)
-
- # raise errors for additional fields in the input
- for _key in obj.keys():
- if _key not in cls.__properties:
- raise ValueError("Error due to additional fields (not defined in WriteProcessStdinRequest) in the input: " + obj)
-
- _obj = WriteProcessStdinRequest.parse_obj({
- "stdin": obj.get("stdin")
- })
- return _obj
-
diff --git a/apps/dashboard/api-service/playground_client/rest.py b/apps/dashboard/api-service/playground_client/rest.py
deleted file mode 100644
index 4ee97c21b..000000000
--- a/apps/dashboard/api-service/playground_client/rest.py
+++ /dev/null
@@ -1,296 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import io
-import json
-import logging
-import re
-import ssl
-
-from urllib.parse import urlencode, quote_plus
-import urllib3
-
-from playground_client.exceptions import ApiException, UnauthorizedException, ForbiddenException, NotFoundException, ServiceException, ApiValueError
-
-
-logger = logging.getLogger(__name__)
-
-
-class RESTResponse(io.IOBase):
-
- def __init__(self, resp):
- self.urllib3_response = resp
- self.status = resp.status
- self.reason = resp.reason
- self.data = resp.data
-
- def getheaders(self):
- """Returns a dictionary of the response headers."""
- return self.urllib3_response.headers
-
- def getheader(self, name, default=None):
- """Returns a given response header."""
- return self.urllib3_response.headers.get(name, default)
-
-
-class RESTClientObject(object):
-
- def __init__(self, configuration, pools_size=4, maxsize=None):
- # urllib3.PoolManager will pass all kw parameters to connectionpool
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
- # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
- # maxsize is the number of requests to host that are allowed in parallel # noqa: E501
- # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
-
- # cert_reqs
- if configuration.verify_ssl:
- cert_reqs = ssl.CERT_REQUIRED
- else:
- cert_reqs = ssl.CERT_NONE
-
- addition_pool_args = {}
- if configuration.assert_hostname is not None:
- addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501
-
- if configuration.retries is not None:
- addition_pool_args['retries'] = configuration.retries
-
- if configuration.socket_options is not None:
- addition_pool_args['socket_options'] = configuration.socket_options
-
- if maxsize is None:
- if configuration.connection_pool_maxsize is not None:
- maxsize = configuration.connection_pool_maxsize
- else:
- maxsize = 4
-
- # https pool manager
- if configuration.proxy:
- self.pool_manager = urllib3.ProxyManager(
- num_pools=pools_size,
- maxsize=maxsize,
- cert_reqs=cert_reqs,
- ca_certs=configuration.ssl_ca_cert,
- cert_file=configuration.cert_file,
- key_file=configuration.key_file,
- proxy_url=configuration.proxy,
- proxy_headers=configuration.proxy_headers,
- **addition_pool_args
- )
- else:
- self.pool_manager = urllib3.PoolManager(
- num_pools=pools_size,
- maxsize=maxsize,
- cert_reqs=cert_reqs,
- ca_certs=configuration.ssl_ca_cert,
- cert_file=configuration.cert_file,
- key_file=configuration.key_file,
- **addition_pool_args
- )
-
- def request(self, method, url, query_params=None, headers=None,
- body=None, post_params=None, _preload_content=True,
- _request_timeout=None):
- """Perform requests.
-
- :param method: http request method
- :param url: http request url
- :param query_params: query parameters in the url
- :param headers: http request headers
- :param body: request json body, for `application/json`
- :param post_params: request post parameters,
- `application/x-www-form-urlencoded`
- and `multipart/form-data`
- :param _preload_content: if False, the urllib3.HTTPResponse object will
- be returned without reading/decoding response
- data. Default is True.
- :param _request_timeout: timeout setting for this request. If one
- number provided, it will be total request
- timeout. It can also be a pair (tuple) of
- (connection, read) timeouts.
- """
- method = method.upper()
- assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT',
- 'PATCH', 'OPTIONS']
-
- if post_params and body:
- raise ApiValueError(
- "body parameter cannot be used with post_params parameter."
- )
-
- post_params = post_params or {}
- headers = headers or {}
- # url already contains the URL query string
- # so reset query_params to empty dict
- query_params = {}
-
- timeout = None
- if _request_timeout:
- if isinstance(_request_timeout, (int,float)): # noqa: E501,F821
- timeout = urllib3.Timeout(total=_request_timeout)
- elif (isinstance(_request_timeout, tuple) and
- len(_request_timeout) == 2):
- timeout = urllib3.Timeout(
- connect=_request_timeout[0], read=_request_timeout[1])
-
- try:
- # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
- if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
-
- # no content type provided or payload is json
- if not headers.get('Content-Type') or re.search('json', headers['Content-Type'], re.IGNORECASE):
- request_body = None
- if body is not None:
- request_body = json.dumps(body)
- r = self.pool_manager.request(
- method, url,
- body=request_body,
- preload_content=_preload_content,
- timeout=timeout,
- headers=headers)
- elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501
- r = self.pool_manager.request(
- method, url,
- fields=post_params,
- encode_multipart=False,
- preload_content=_preload_content,
- timeout=timeout,
- headers=headers)
- elif headers['Content-Type'] == 'multipart/form-data':
- # must del headers['Content-Type'], or the correct
- # Content-Type which generated by urllib3 will be
- # overwritten.
- del headers['Content-Type']
- r = self.pool_manager.request(
- method, url,
- fields=post_params,
- encode_multipart=True,
- preload_content=_preload_content,
- timeout=timeout,
- headers=headers)
- # Pass a `string` parameter directly in the body to support
- # other content types than Json when `body` argument is
- # provided in serialized form
- elif isinstance(body, str) or isinstance(body, bytes):
- request_body = body
- r = self.pool_manager.request(
- method, url,
- body=request_body,
- preload_content=_preload_content,
- timeout=timeout,
- headers=headers)
- else:
- # Cannot generate the request from given parameters
- msg = """Cannot prepare a request message for provided
- arguments. Please check that your arguments match
- declared content type."""
- raise ApiException(status=0, reason=msg)
- # For `GET`, `HEAD`
- else:
- r = self.pool_manager.request(method, url,
- fields={},
- preload_content=_preload_content,
- timeout=timeout,
- headers=headers)
- except urllib3.exceptions.SSLError as e:
- msg = "{0}\n{1}".format(type(e).__name__, str(e))
- raise ApiException(status=0, reason=msg)
-
- if _preload_content:
- r = RESTResponse(r)
-
- # log response body
- logger.debug("response body: %s", r.data)
-
- if not 200 <= r.status <= 299:
- if r.status == 401:
- raise UnauthorizedException(http_resp=r)
-
- if r.status == 403:
- raise ForbiddenException(http_resp=r)
-
- if r.status == 404:
- raise NotFoundException(http_resp=r)
-
- if 500 <= r.status <= 599:
- raise ServiceException(http_resp=r)
-
- raise ApiException(http_resp=r)
-
- return r
-
- def get_request(self, url, headers=None, query_params=None, _preload_content=True,
- _request_timeout=None):
- return self.request("GET", url,
- headers=headers,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- query_params=query_params)
-
- def head_request(self, url, headers=None, query_params=None, _preload_content=True,
- _request_timeout=None):
- return self.request("HEAD", url,
- headers=headers,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- query_params=query_params)
-
- def options_request(self, url, headers=None, query_params=None, post_params=None,
- body=None, _preload_content=True, _request_timeout=None):
- return self.request("OPTIONS", url,
- headers=headers,
- query_params=query_params,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
-
- def delete_request(self, url, headers=None, query_params=None, body=None,
- _preload_content=True, _request_timeout=None):
- return self.request("DELETE", url,
- headers=headers,
- query_params=query_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
-
- def post_request(self, url, headers=None, query_params=None, post_params=None,
- body=None, _preload_content=True, _request_timeout=None):
- return self.request("POST", url,
- headers=headers,
- query_params=query_params,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
-
- def put_request(self, url, headers=None, query_params=None, post_params=None,
- body=None, _preload_content=True, _request_timeout=None):
- return self.request("PUT", url,
- headers=headers,
- query_params=query_params,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
-
- def patch_request(self, url, headers=None, query_params=None, post_params=None,
- body=None, _preload_content=True, _request_timeout=None):
- return self.request("PATCH", url,
- headers=headers,
- query_params=query_params,
- post_params=post_params,
- _preload_content=_preload_content,
- _request_timeout=_request_timeout,
- body=body)
diff --git a/apps/dashboard/api-service/playground_client/test/__init__.py b/apps/dashboard/api-service/playground_client/test/__init__.py
deleted file mode 100644
index e69de29bb..000000000
diff --git a/apps/dashboard/api-service/playground_client/test/test_create_sessions_request.py b/apps/dashboard/api-service/playground_client/test/test_create_sessions_request.py
deleted file mode 100644
index 44e9b8466..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_create_sessions_request.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.create_sessions_request import CreateSessionsRequest # noqa: E501
-from playground_client.rest import ApiException
-
-class TestCreateSessionsRequest(unittest.TestCase):
- """CreateSessionsRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test CreateSessionsRequest
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `CreateSessionsRequest`
- """
- model = playground_client.models.create_sessions_request.CreateSessionsRequest() # noqa: E501
- if include_optional :
- return CreateSessionsRequest(
- env_id = ''
- )
- else :
- return CreateSessionsRequest(
- env_id = '',
- )
- """
-
- def testCreateSessionsRequest(self):
- """Test CreateSessionsRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_default_api.py b/apps/dashboard/api-service/playground_client/test/test_default_api.py
deleted file mode 100644
index 96722de6c..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_default_api.py
+++ /dev/null
@@ -1,105 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-
-import playground_client
-from playground_client.api.default_api import DefaultApi # noqa: E501
-from playground_client.rest import ApiException
-
-
-class TestDefaultApi(unittest.TestCase):
- """DefaultApi unit test stubs"""
-
- def setUp(self):
- self.api = playground_client.api.default_api.DefaultApi() # noqa: E501
-
- def tearDown(self):
- pass
-
- def test_create_sessions(self):
- """Test case for create_sessions
-
- """
- pass
-
- def test_delete_filesystem_entry(self):
- """Test case for delete_filesystem_entry
-
- """
- pass
-
- def test_delete_session(self):
- """Test case for delete_session
-
- """
- pass
-
- def test_get_process(self):
- """Test case for get_process
-
- """
- pass
-
- def test_get_session(self):
- """Test case for get_session
-
- """
- pass
-
- def test_list_filesystem_dir(self):
- """Test case for list_filesystem_dir
-
- """
- pass
-
- def test_make_filesystem_dir(self):
- """Test case for make_filesystem_dir
-
- """
- pass
-
- def test_read_filesystem_file(self):
- """Test case for read_filesystem_file
-
- """
- pass
-
- def test_start_process(self):
- """Test case for start_process
-
- """
- pass
-
- def test_stop_process(self):
- """Test case for stop_process
-
- """
- pass
-
- def test_write_filesystem_file(self):
- """Test case for write_filesystem_file
-
- """
- pass
-
- def test_write_process_stdin(self):
- """Test case for write_process_stdin
-
- """
- pass
-
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_entry_info.py b/apps/dashboard/api-service/playground_client/test/test_entry_info.py
deleted file mode 100644
index e62a89692..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_entry_info.py
+++ /dev/null
@@ -1,57 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.entry_info import EntryInfo # noqa: E501
-from playground_client.rest import ApiException
-
-class TestEntryInfo(unittest.TestCase):
- """EntryInfo unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test EntryInfo
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `EntryInfo`
- """
- model = playground_client.models.entry_info.EntryInfo() # noqa: E501
- if include_optional :
- return EntryInfo(
- is_dir = True,
- name = ''
- )
- else :
- return EntryInfo(
- is_dir = True,
- name = '',
- )
- """
-
- def testEntryInfo(self):
- """Test EntryInfo"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_list_filesystem_dir_response.py b/apps/dashboard/api-service/playground_client/test/test_list_filesystem_dir_response.py
deleted file mode 100644
index 9e761c50d..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_list_filesystem_dir_response.py
+++ /dev/null
@@ -1,63 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.list_filesystem_dir_response import ListFilesystemDirResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestListFilesystemDirResponse(unittest.TestCase):
- """ListFilesystemDirResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test ListFilesystemDirResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ListFilesystemDirResponse`
- """
- model = playground_client.models.list_filesystem_dir_response.ListFilesystemDirResponse() # noqa: E501
- if include_optional :
- return ListFilesystemDirResponse(
- entries = [
- playground_client.models.entry_info.EntryInfo(
- is_dir = True,
- name = '', )
- ]
- )
- else :
- return ListFilesystemDirResponse(
- entries = [
- playground_client.models.entry_info.EntryInfo(
- is_dir = True,
- name = '', )
- ],
- )
- """
-
- def testListFilesystemDirResponse(self):
- """Test ListFilesystemDirResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_open_port.py b/apps/dashboard/api-service/playground_client/test/test_open_port.py
deleted file mode 100644
index 3e8090a49..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_open_port.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.open_port import OpenPort # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOpenPort(unittest.TestCase):
- """OpenPort unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test OpenPort
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OpenPort`
- """
- model = playground_client.models.open_port.OpenPort() # noqa: E501
- if include_optional :
- return OpenPort(
- state = '',
- ip = '',
- port = 1.337
- )
- else :
- return OpenPort(
- state = '',
- ip = '',
- port = 1.337,
- )
- """
-
- def testOpenPort(self):
- """Test OpenPort"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_out_stderr_response.py b/apps/dashboard/api-service/playground_client/test/test_out_stderr_response.py
deleted file mode 100644
index a95d3a630..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_out_stderr_response.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.out_stderr_response import OutStderrResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOutStderrResponse(unittest.TestCase):
- """OutStderrResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test OutStderrResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OutStderrResponse`
- """
- model = playground_client.models.out_stderr_response.OutStderrResponse() # noqa: E501
- if include_optional :
- return OutStderrResponse(
- type = 'Stderr',
- timestamp = 1.337,
- line = ''
- )
- else :
- return OutStderrResponse(
- type = 'Stderr',
- timestamp = 1.337,
- line = '',
- )
- """
-
- def testOutStderrResponse(self):
- """Test OutStderrResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_out_stdout_response.py b/apps/dashboard/api-service/playground_client/test/test_out_stdout_response.py
deleted file mode 100644
index c994bbb7c..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_out_stdout_response.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.out_stdout_response import OutStdoutResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOutStdoutResponse(unittest.TestCase):
- """OutStdoutResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test OutStdoutResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `OutStdoutResponse`
- """
- model = playground_client.models.out_stdout_response.OutStdoutResponse() # noqa: E501
- if include_optional :
- return OutStdoutResponse(
- type = 'Stdout',
- timestamp = 1.337,
- line = ''
- )
- else :
- return OutStdoutResponse(
- type = 'Stdout',
- timestamp = 1.337,
- line = '',
- )
- """
-
- def testOutStdoutResponse(self):
- """Test OutStdoutResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_out_type.py b/apps/dashboard/api-service/playground_client/test/test_out_type.py
deleted file mode 100644
index f405874fb..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_out_type.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.out_type import OutType # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOutType(unittest.TestCase):
- """OutType unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testOutType(self):
- """Test OutType"""
- # inst = OutType()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_out_type_stderr.py b/apps/dashboard/api-service/playground_client/test/test_out_type_stderr.py
deleted file mode 100644
index 0294cd45f..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_out_type_stderr.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.out_type_stderr import OutTypeStderr # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOutTypeStderr(unittest.TestCase):
- """OutTypeStderr unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testOutTypeStderr(self):
- """Test OutTypeStderr"""
- # inst = OutTypeStderr()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_out_type_stdout.py b/apps/dashboard/api-service/playground_client/test/test_out_type_stdout.py
deleted file mode 100644
index 17dfe7d14..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_out_type_stdout.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.out_type_stdout import OutTypeStdout # noqa: E501
-from playground_client.rest import ApiException
-
-class TestOutTypeStdout(unittest.TestCase):
- """OutTypeStdout unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def testOutTypeStdout(self):
- """Test OutTypeStdout"""
- # inst = OutTypeStdout()
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_process_response.py b/apps/dashboard/api-service/playground_client/test/test_process_response.py
deleted file mode 100644
index edb2fbffd..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_process_response.py
+++ /dev/null
@@ -1,81 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.process_response import ProcessResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestProcessResponse(unittest.TestCase):
- """ProcessResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test ProcessResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ProcessResponse`
- """
- model = playground_client.models.process_response.ProcessResponse() # noqa: E501
- if include_optional :
- return ProcessResponse(
- stderr = [
- playground_client.models.out_stderr_response.OutStderrResponse(
- type = 'Stderr',
- timestamp = 1.337,
- line = '', )
- ],
- stdout = [
- playground_client.models.out_stdout_response.OutStdoutResponse(
- type = 'Stdout',
- timestamp = 1.337,
- line = '', )
- ],
- process_id = '',
- finished = True
- )
- else :
- return ProcessResponse(
- stderr = [
- playground_client.models.out_stderr_response.OutStderrResponse(
- type = 'Stderr',
- timestamp = 1.337,
- line = '', )
- ],
- stdout = [
- playground_client.models.out_stdout_response.OutStdoutResponse(
- type = 'Stdout',
- timestamp = 1.337,
- line = '', )
- ],
- process_id = '',
- finished = True,
- )
- """
-
- def testProcessResponse(self):
- """Test ProcessResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_read_filesystem_file_response.py b/apps/dashboard/api-service/playground_client/test/test_read_filesystem_file_response.py
deleted file mode 100644
index 7078adaa6..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_read_filesystem_file_response.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.read_filesystem_file_response import ReadFilesystemFileResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestReadFilesystemFileResponse(unittest.TestCase):
- """ReadFilesystemFileResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test ReadFilesystemFileResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `ReadFilesystemFileResponse`
- """
- model = playground_client.models.read_filesystem_file_response.ReadFilesystemFileResponse() # noqa: E501
- if include_optional :
- return ReadFilesystemFileResponse(
- content = ''
- )
- else :
- return ReadFilesystemFileResponse(
- content = '',
- )
- """
-
- def testReadFilesystemFileResponse(self):
- """Test ReadFilesystemFileResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_session_response.py b/apps/dashboard/api-service/playground_client/test/test_session_response.py
deleted file mode 100644
index 78faba713..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_session_response.py
+++ /dev/null
@@ -1,67 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.session_response import SessionResponse # noqa: E501
-from playground_client.rest import ApiException
-
-class TestSessionResponse(unittest.TestCase):
- """SessionResponse unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test SessionResponse
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `SessionResponse`
- """
- model = playground_client.models.session_response.SessionResponse() # noqa: E501
- if include_optional :
- return SessionResponse(
- id = '',
- ports = [
- playground_client.models.open_port.OpenPort(
- state = '',
- ip = '',
- port = 1.337, )
- ]
- )
- else :
- return SessionResponse(
- id = '',
- ports = [
- playground_client.models.open_port.OpenPort(
- state = '',
- ip = '',
- port = 1.337, )
- ],
- )
- """
-
- def testSessionResponse(self):
- """Test SessionResponse"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_start_process_params.py b/apps/dashboard/api-service/playground_client/test/test_start_process_params.py
deleted file mode 100644
index a65e71d02..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_start_process_params.py
+++ /dev/null
@@ -1,59 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.start_process_params import StartProcessParams # noqa: E501
-from playground_client.rest import ApiException
-
-class TestStartProcessParams(unittest.TestCase):
- """StartProcessParams unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test StartProcessParams
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `StartProcessParams`
- """
- model = playground_client.models.start_process_params.StartProcessParams() # noqa: E501
- if include_optional :
- return StartProcessParams(
- cmd = '',
- env_vars = {
- 'key' : ''
- },
- rootdir = ''
- )
- else :
- return StartProcessParams(
- cmd = '',
- )
- """
-
- def testStartProcessParams(self):
- """Test StartProcessParams"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_write_filesystem_file_request.py b/apps/dashboard/api-service/playground_client/test/test_write_filesystem_file_request.py
deleted file mode 100644
index d83dd84f7..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_write_filesystem_file_request.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.write_filesystem_file_request import WriteFilesystemFileRequest # noqa: E501
-from playground_client.rest import ApiException
-
-class TestWriteFilesystemFileRequest(unittest.TestCase):
- """WriteFilesystemFileRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test WriteFilesystemFileRequest
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `WriteFilesystemFileRequest`
- """
- model = playground_client.models.write_filesystem_file_request.WriteFilesystemFileRequest() # noqa: E501
- if include_optional :
- return WriteFilesystemFileRequest(
- content = ''
- )
- else :
- return WriteFilesystemFileRequest(
- content = '',
- )
- """
-
- def testWriteFilesystemFileRequest(self):
- """Test WriteFilesystemFileRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client/test/test_write_process_stdin_request.py b/apps/dashboard/api-service/playground_client/test/test_write_process_stdin_request.py
deleted file mode 100644
index 73ed18b4a..000000000
--- a/apps/dashboard/api-service/playground_client/test/test_write_process_stdin_request.py
+++ /dev/null
@@ -1,55 +0,0 @@
-# coding: utf-8
-
-"""
- playground
-
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
-
- The version of the OpenAPI document: 1.0.0
- Generated by: https://openapi-generator.tech
-"""
-
-
-from __future__ import absolute_import
-
-import unittest
-import datetime
-
-import playground_client
-from playground_client.models.write_process_stdin_request import WriteProcessStdinRequest # noqa: E501
-from playground_client.rest import ApiException
-
-class TestWriteProcessStdinRequest(unittest.TestCase):
- """WriteProcessStdinRequest unit test stubs"""
-
- def setUp(self):
- pass
-
- def tearDown(self):
- pass
-
- def make_instance(self, include_optional):
- """Test WriteProcessStdinRequest
- include_option is a boolean, when False only required
- params are included, when True both required and
- optional params are included """
- # uncomment below to create an instance of `WriteProcessStdinRequest`
- """
- model = playground_client.models.write_process_stdin_request.WriteProcessStdinRequest() # noqa: E501
- if include_optional :
- return WriteProcessStdinRequest(
- stdin = ''
- )
- else :
- return WriteProcessStdinRequest(
- stdin = '',
- )
- """
-
- def testWriteProcessStdinRequest(self):
- """Test WriteProcessStdinRequest"""
- # inst_req_only = self.make_instance(include_optional=False)
- # inst_req_and_optional = self.make_instance(include_optional=True)
-
-if __name__ == '__main__':
- unittest.main()
diff --git a/apps/dashboard/api-service/playground_client_README.md b/apps/dashboard/api-service/playground_client_README.md
deleted file mode 100644
index 3e73372cf..000000000
--- a/apps/dashboard/api-service/playground_client_README.md
+++ /dev/null
@@ -1,108 +0,0 @@
-# playground-client
-No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-
-The `playground_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-
-- API version: 1.0.0
-- Package version: 1.0.0
-- Build package: org.openapitools.codegen.languages.PythonNextgenClientCodegen
-
-## Requirements.
-
-Python 3.7+
-
-## Installation & Usage
-
-This python library package is generated without supporting files like setup.py or requirements files
-
-To be able to use it, you will need these dependencies in your own package that uses this library:
-
-* urllib3 >= 1.25.3
-* python-dateutil
-* pydantic
-* aenum
-
-## Getting Started
-
-In your own code, to use this library to connect and interact with playground-client,
-you can run the following:
-
-```python
-from __future__ import print_function
-
-import time
-import playground_client
-from playground_client.rest import ApiException
-from pprint import pprint
-
-# Defining the host is optional and defaults to https://localhost:49160
-# See configuration.py for a list of all supported configuration parameters.
-configuration = playground_client.Configuration(
- host = "https://localhost:49160"
-)
-
-
-
-# Enter a context with an instance of the API client
-with playground_client.ApiClient(configuration) as api_client:
- # Create an instance of the API class
- api_instance = playground_client.DefaultApi(api_client)
- create_sessions_request = playground_client.CreateSessionsRequest() # CreateSessionsRequest |
-
- try:
- api_response = api_instance.create_sessions(create_sessions_request)
- print("The response of DefaultApi->create_sessions:\n")
- pprint(api_response)
- except ApiException as e:
- print("Exception when calling DefaultApi->create_sessions: %s\n" % e)
-
-```
-
-## Documentation for API Endpoints
-
-All URIs are relative to *https://localhost:49160*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**create_sessions**](playground_client/docs/DefaultApi.md#create_sessions) | **POST** /sessions |
-*DefaultApi* | [**delete_filesystem_entry**](playground_client/docs/DefaultApi.md#delete_filesystem_entry) | **DELETE** /sessions/{sessionID}/filesystem |
-*DefaultApi* | [**delete_session**](playground_client/docs/DefaultApi.md#delete_session) | **DELETE** /sessions/{sessionID} |
-*DefaultApi* | [**get_process**](playground_client/docs/DefaultApi.md#get_process) | **GET** /sessions/{sessionID}/processes/{processID} |
-*DefaultApi* | [**get_session**](playground_client/docs/DefaultApi.md#get_session) | **GET** /sessions/{sessionID} |
-*DefaultApi* | [**list_filesystem_dir**](playground_client/docs/DefaultApi.md#list_filesystem_dir) | **GET** /sessions/{sessionID}/filesystem/dir |
-*DefaultApi* | [**make_filesystem_dir**](playground_client/docs/DefaultApi.md#make_filesystem_dir) | **PUT** /sessions/{sessionID}/filesystem/dir |
-*DefaultApi* | [**read_filesystem_file**](playground_client/docs/DefaultApi.md#read_filesystem_file) | **GET** /sessions/{sessionID}/filesystem/file |
-*DefaultApi* | [**start_process**](playground_client/docs/DefaultApi.md#start_process) | **POST** /sessions/{sessionID}/processes |
-*DefaultApi* | [**stop_process**](playground_client/docs/DefaultApi.md#stop_process) | **DELETE** /sessions/{sessionID}/processes/{processID} |
-*DefaultApi* | [**write_filesystem_file**](playground_client/docs/DefaultApi.md#write_filesystem_file) | **PUT** /sessions/{sessionID}/filesystem/file |
-*DefaultApi* | [**write_process_stdin**](playground_client/docs/DefaultApi.md#write_process_stdin) | **POST** /sessions/{sessionID}/processes/{processID}/stdin |
-
-
-## Documentation For Models
-
- - [CreateSessionsRequest](playground_client/docs/CreateSessionsRequest.md)
- - [EntryInfo](playground_client/docs/EntryInfo.md)
- - [ListFilesystemDirResponse](playground_client/docs/ListFilesystemDirResponse.md)
- - [OpenPort](playground_client/docs/OpenPort.md)
- - [OutStderrResponse](playground_client/docs/OutStderrResponse.md)
- - [OutStdoutResponse](playground_client/docs/OutStdoutResponse.md)
- - [OutType](playground_client/docs/OutType.md)
- - [OutTypeStderr](playground_client/docs/OutTypeStderr.md)
- - [OutTypeStdout](playground_client/docs/OutTypeStdout.md)
- - [ProcessResponse](playground_client/docs/ProcessResponse.md)
- - [ReadFilesystemFileResponse](playground_client/docs/ReadFilesystemFileResponse.md)
- - [SessionResponse](playground_client/docs/SessionResponse.md)
- - [StartProcessParams](playground_client/docs/StartProcessParams.md)
- - [WriteFilesystemFileRequest](playground_client/docs/WriteFilesystemFileRequest.md)
- - [WriteProcessStdinRequest](playground_client/docs/WriteProcessStdinRequest.md)
-
-
-## Documentation For Authorization
-
- All endpoints do not require authorization.
-
-## Author
-
-
-
-
diff --git a/apps/dashboard/api-service/poetry.lock b/apps/dashboard/api-service/poetry.lock
deleted file mode 100644
index dea4d6d94..000000000
--- a/apps/dashboard/api-service/poetry.lock
+++ /dev/null
@@ -1,2191 +0,0 @@
-# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.
-
-[[package]]
-name = "aenum"
-version = "3.1.12"
-description = "Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "aenum-3.1.12-py2-none-any.whl", hash = "sha256:8d79c9e3ec997220e355b96b322e672fb56a53e61744138ed838407e3a07b610"},
- {file = "aenum-3.1.12-py3-none-any.whl", hash = "sha256:2d544ef7323c088d68abf9a84b9f3f6db0d516fec685e15678b5f84fdb7b8ba0"},
- {file = "aenum-3.1.12.tar.gz", hash = "sha256:3e531c91860a81f885f7e6e97d219ae9772cb899580084788935dad7d9742ef0"},
-]
-
-[[package]]
-name = "aiohttp"
-version = "3.8.4"
-description = "Async http client/server framework (asyncio)"
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "aiohttp-3.8.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5ce45967538fb747370308d3145aa68a074bdecb4f3a300869590f725ced69c1"},
- {file = "aiohttp-3.8.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b744c33b6f14ca26b7544e8d8aadff6b765a80ad6164fb1a430bbadd593dfb1a"},
- {file = "aiohttp-3.8.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1a45865451439eb320784918617ba54b7a377e3501fb70402ab84d38c2cd891b"},
- {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a86d42d7cba1cec432d47ab13b6637bee393a10f664c425ea7b305d1301ca1a3"},
- {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee3c36df21b5714d49fc4580247947aa64bcbe2939d1b77b4c8dcb8f6c9faecc"},
- {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:176a64b24c0935869d5bbc4c96e82f89f643bcdf08ec947701b9dbb3c956b7dd"},
- {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c844fd628851c0bc309f3c801b3a3d58ce430b2ce5b359cd918a5a76d0b20cb5"},
- {file = "aiohttp-3.8.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5393fb786a9e23e4799fec788e7e735de18052f83682ce2dfcabaf1c00c2c08e"},
- {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e4b09863aae0dc965c3ef36500d891a3ff495a2ea9ae9171e4519963c12ceefd"},
- {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:adfbc22e87365a6e564c804c58fc44ff7727deea782d175c33602737b7feadb6"},
- {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:147ae376f14b55f4f3c2b118b95be50a369b89b38a971e80a17c3fd623f280c9"},
- {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:eafb3e874816ebe2a92f5e155f17260034c8c341dad1df25672fb710627c6949"},
- {file = "aiohttp-3.8.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c6cc15d58053c76eacac5fa9152d7d84b8d67b3fde92709195cb984cfb3475ea"},
- {file = "aiohttp-3.8.4-cp310-cp310-win32.whl", hash = "sha256:59f029a5f6e2d679296db7bee982bb3d20c088e52a2977e3175faf31d6fb75d1"},
- {file = "aiohttp-3.8.4-cp310-cp310-win_amd64.whl", hash = "sha256:fe7ba4a51f33ab275515f66b0a236bcde4fb5561498fe8f898d4e549b2e4509f"},
- {file = "aiohttp-3.8.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3d8ef1a630519a26d6760bc695842579cb09e373c5f227a21b67dc3eb16cfea4"},
- {file = "aiohttp-3.8.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5b3f2e06a512e94722886c0827bee9807c86a9f698fac6b3aee841fab49bbfb4"},
- {file = "aiohttp-3.8.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3a80464982d41b1fbfe3154e440ba4904b71c1a53e9cd584098cd41efdb188ef"},
- {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b631e26df63e52f7cce0cce6507b7a7f1bc9b0c501fcde69742130b32e8782f"},
- {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f43255086fe25e36fd5ed8f2ee47477408a73ef00e804cb2b5cba4bf2ac7f5e"},
- {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4d347a172f866cd1d93126d9b239fcbe682acb39b48ee0873c73c933dd23bd0f"},
- {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a3fec6a4cb5551721cdd70473eb009d90935b4063acc5f40905d40ecfea23e05"},
- {file = "aiohttp-3.8.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:80a37fe8f7c1e6ce8f2d9c411676e4bc633a8462844e38f46156d07a7d401654"},
- {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:d1e6a862b76f34395a985b3cd39a0d949ca80a70b6ebdea37d3ab39ceea6698a"},
- {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:cd468460eefef601ece4428d3cf4562459157c0f6523db89365202c31b6daebb"},
- {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:618c901dd3aad4ace71dfa0f5e82e88b46ef57e3239fc7027773cb6d4ed53531"},
- {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:652b1bff4f15f6287550b4670546a2947f2a4575b6c6dff7760eafb22eacbf0b"},
- {file = "aiohttp-3.8.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80575ba9377c5171407a06d0196b2310b679dc752d02a1fcaa2bc20b235dbf24"},
- {file = "aiohttp-3.8.4-cp311-cp311-win32.whl", hash = "sha256:bbcf1a76cf6f6dacf2c7f4d2ebd411438c275faa1dc0c68e46eb84eebd05dd7d"},
- {file = "aiohttp-3.8.4-cp311-cp311-win_amd64.whl", hash = "sha256:6e74dd54f7239fcffe07913ff8b964e28b712f09846e20de78676ce2a3dc0bfc"},
- {file = "aiohttp-3.8.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:880e15bb6dad90549b43f796b391cfffd7af373f4646784795e20d92606b7a51"},
- {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb96fa6b56bb536c42d6a4a87dfca570ff8e52de2d63cabebfd6fb67049c34b6"},
- {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4a6cadebe132e90cefa77e45f2d2f1a4b2ce5c6b1bfc1656c1ddafcfe4ba8131"},
- {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f352b62b45dff37b55ddd7b9c0c8672c4dd2eb9c0f9c11d395075a84e2c40f75"},
- {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ab43061a0c81198d88f39aaf90dae9a7744620978f7ef3e3708339b8ed2ef01"},
- {file = "aiohttp-3.8.4-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c9cb1565a7ad52e096a6988e2ee0397f72fe056dadf75d17fa6b5aebaea05622"},
- {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:1b3ea7edd2d24538959c1c1abf97c744d879d4e541d38305f9bd7d9b10c9ec41"},
- {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:7c7837fe8037e96b6dd5cfcf47263c1620a9d332a87ec06a6ca4564e56bd0f36"},
- {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:3b90467ebc3d9fa5b0f9b6489dfb2c304a1db7b9946fa92aa76a831b9d587e99"},
- {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:cab9401de3ea52b4b4c6971db5fb5c999bd4260898af972bf23de1c6b5dd9d71"},
- {file = "aiohttp-3.8.4-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:d1f9282c5f2b5e241034a009779e7b2a1aa045f667ff521e7948ea9b56e0c5ff"},
- {file = "aiohttp-3.8.4-cp36-cp36m-win32.whl", hash = "sha256:5e14f25765a578a0a634d5f0cd1e2c3f53964553a00347998dfdf96b8137f777"},
- {file = "aiohttp-3.8.4-cp36-cp36m-win_amd64.whl", hash = "sha256:4c745b109057e7e5f1848c689ee4fb3a016c8d4d92da52b312f8a509f83aa05e"},
- {file = "aiohttp-3.8.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:aede4df4eeb926c8fa70de46c340a1bc2c6079e1c40ccf7b0eae1313ffd33519"},
- {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ddaae3f3d32fc2cb4c53fab020b69a05c8ab1f02e0e59665c6f7a0d3a5be54f"},
- {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c4eb3b82ca349cf6fadcdc7abcc8b3a50ab74a62e9113ab7a8ebc268aad35bb9"},
- {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9bcb89336efa095ea21b30f9e686763f2be4478f1b0a616969551982c4ee4c3b"},
- {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c08e8ed6fa3d477e501ec9db169bfac8140e830aa372d77e4a43084d8dd91ab"},
- {file = "aiohttp-3.8.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c6cd05ea06daca6ad6a4ca3ba7fe7dc5b5de063ff4daec6170ec0f9979f6c332"},
- {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7a00a9ed8d6e725b55ef98b1b35c88013245f35f68b1b12c5cd4100dddac333"},
- {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:de04b491d0e5007ee1b63a309956eaed959a49f5bb4e84b26c8f5d49de140fa9"},
- {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:40653609b3bf50611356e6b6554e3a331f6879fa7116f3959b20e3528783e699"},
- {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dbf3a08a06b3f433013c143ebd72c15cac33d2914b8ea4bea7ac2c23578815d6"},
- {file = "aiohttp-3.8.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:854f422ac44af92bfe172d8e73229c270dc09b96535e8a548f99c84f82dde241"},
- {file = "aiohttp-3.8.4-cp37-cp37m-win32.whl", hash = "sha256:aeb29c84bb53a84b1a81c6c09d24cf33bb8432cc5c39979021cc0f98c1292a1a"},
- {file = "aiohttp-3.8.4-cp37-cp37m-win_amd64.whl", hash = "sha256:db3fc6120bce9f446d13b1b834ea5b15341ca9ff3f335e4a951a6ead31105480"},
- {file = "aiohttp-3.8.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fabb87dd8850ef0f7fe2b366d44b77d7e6fa2ea87861ab3844da99291e81e60f"},
- {file = "aiohttp-3.8.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:91f6d540163f90bbaef9387e65f18f73ffd7c79f5225ac3d3f61df7b0d01ad15"},
- {file = "aiohttp-3.8.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:d265f09a75a79a788237d7f9054f929ced2e69eb0bb79de3798c468d8a90f945"},
- {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3d89efa095ca7d442a6d0cbc755f9e08190ba40069b235c9886a8763b03785da"},
- {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4dac314662f4e2aa5009977b652d9b8db7121b46c38f2073bfeed9f4049732cd"},
- {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fe11310ae1e4cd560035598c3f29d86cef39a83d244c7466f95c27ae04850f10"},
- {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6ddb2a2026c3f6a68c3998a6c47ab6795e4127315d2e35a09997da21865757f8"},
- {file = "aiohttp-3.8.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e75b89ac3bd27d2d043b234aa7b734c38ba1b0e43f07787130a0ecac1e12228a"},
- {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6e601588f2b502c93c30cd5a45bfc665faaf37bbe835b7cfd461753068232074"},
- {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a5d794d1ae64e7753e405ba58e08fcfa73e3fad93ef9b7e31112ef3c9a0efb52"},
- {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:a1f4689c9a1462f3df0a1f7e797791cd6b124ddbee2b570d34e7f38ade0e2c71"},
- {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:3032dcb1c35bc330134a5b8a5d4f68c1a87252dfc6e1262c65a7e30e62298275"},
- {file = "aiohttp-3.8.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8189c56eb0ddbb95bfadb8f60ea1b22fcfa659396ea36f6adcc521213cd7b44d"},
- {file = "aiohttp-3.8.4-cp38-cp38-win32.whl", hash = "sha256:33587f26dcee66efb2fff3c177547bd0449ab7edf1b73a7f5dea1e38609a0c54"},
- {file = "aiohttp-3.8.4-cp38-cp38-win_amd64.whl", hash = "sha256:e595432ac259af2d4630008bf638873d69346372d38255774c0e286951e8b79f"},
- {file = "aiohttp-3.8.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5a7bdf9e57126dc345b683c3632e8ba317c31d2a41acd5800c10640387d193ed"},
- {file = "aiohttp-3.8.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:22f6eab15b6db242499a16de87939a342f5a950ad0abaf1532038e2ce7d31567"},
- {file = "aiohttp-3.8.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7235604476a76ef249bd64cb8274ed24ccf6995c4a8b51a237005ee7a57e8643"},
- {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea9eb976ffdd79d0e893869cfe179a8f60f152d42cb64622fca418cd9b18dc2a"},
- {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:92c0cea74a2a81c4c76b62ea1cac163ecb20fb3ba3a75c909b9fa71b4ad493cf"},
- {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:493f5bc2f8307286b7799c6d899d388bbaa7dfa6c4caf4f97ef7521b9cb13719"},
- {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0a63f03189a6fa7c900226e3ef5ba4d3bd047e18f445e69adbd65af433add5a2"},
- {file = "aiohttp-3.8.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:10c8cefcff98fd9168cdd86c4da8b84baaa90bf2da2269c6161984e6737bf23e"},
- {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bca5f24726e2919de94f047739d0a4fc01372801a3672708260546aa2601bf57"},
- {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:03baa76b730e4e15a45f81dfe29a8d910314143414e528737f8589ec60cf7391"},
- {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:8c29c77cc57e40f84acef9bfb904373a4e89a4e8b74e71aa8075c021ec9078c2"},
- {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:03543dcf98a6619254b409be2d22b51f21ec66272be4ebda7b04e6412e4b2e14"},
- {file = "aiohttp-3.8.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:17b79c2963db82086229012cff93ea55196ed31f6493bb1ccd2c62f1724324e4"},
- {file = "aiohttp-3.8.4-cp39-cp39-win32.whl", hash = "sha256:34ce9f93a4a68d1272d26030655dd1b58ff727b3ed2a33d80ec433561b03d67a"},
- {file = "aiohttp-3.8.4-cp39-cp39-win_amd64.whl", hash = "sha256:41a86a69bb63bb2fc3dc9ad5ea9f10f1c9c8e282b471931be0268ddd09430b04"},
- {file = "aiohttp-3.8.4.tar.gz", hash = "sha256:bf2e1a9162c1e441bf805a1fd166e249d574ca04e03b34f97e2928769e91ab5c"},
-]
-
-[package.dependencies]
-aiosignal = ">=1.1.2"
-async-timeout = ">=4.0.0a3,<5.0"
-attrs = ">=17.3.0"
-charset-normalizer = ">=2.0,<4.0"
-frozenlist = ">=1.1.1"
-multidict = ">=4.5,<7.0"
-yarl = ">=1.0,<2.0"
-
-[package.extras]
-speedups = ["Brotli", "aiodns", "cchardet"]
-
-[[package]]
-name = "aiosignal"
-version = "1.3.1"
-description = "aiosignal: a list of registered asynchronous callbacks"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "aiosignal-1.3.1-py3-none-any.whl", hash = "sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17"},
- {file = "aiosignal-1.3.1.tar.gz", hash = "sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc"},
-]
-
-[package.dependencies]
-frozenlist = ">=1.1.0"
-
-[[package]]
-name = "anyio"
-version = "3.7.0"
-description = "High level compatibility layer for multiple asynchronous event loop implementations"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "anyio-3.7.0-py3-none-any.whl", hash = "sha256:eddca883c4175f14df8aedce21054bfca3adb70ffe76a9f607aef9d7fa2ea7f0"},
- {file = "anyio-3.7.0.tar.gz", hash = "sha256:275d9973793619a5374e1c89a4f4ad3f4b0a5510a2b5b939444bee8f4c4d37ce"},
-]
-
-[package.dependencies]
-exceptiongroup = {version = "*", markers = "python_version < \"3.11\""}
-idna = ">=2.8"
-sniffio = ">=1.1"
-
-[package.extras]
-doc = ["Sphinx (>=6.1.0)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)", "sphinx-rtd-theme", "sphinxcontrib-jquery"]
-test = ["anyio[trio]", "coverage[toml] (>=4.5)", "hypothesis (>=4.0)", "mock (>=4)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"]
-trio = ["trio (<0.22)"]
-
-[[package]]
-name = "async-timeout"
-version = "4.0.2"
-description = "Timeout context manager for asyncio programs"
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "async-timeout-4.0.2.tar.gz", hash = "sha256:2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15"},
- {file = "async_timeout-4.0.2-py3-none-any.whl", hash = "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c"},
-]
-
-[[package]]
-name = "asyncio"
-version = "3.4.3"
-description = "reference implementation of PEP 3156"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "asyncio-3.4.3-cp33-none-win32.whl", hash = "sha256:b62c9157d36187eca799c378e572c969f0da87cd5fc42ca372d92cdb06e7e1de"},
- {file = "asyncio-3.4.3-cp33-none-win_amd64.whl", hash = "sha256:c46a87b48213d7464f22d9a497b9eef8c1928b68320a2fa94240f969f6fec08c"},
- {file = "asyncio-3.4.3-py3-none-any.whl", hash = "sha256:c4d18b22701821de07bd6aea8b53d21449ec0ec5680645e5317062ea21817d2d"},
- {file = "asyncio-3.4.3.tar.gz", hash = "sha256:83360ff8bc97980e4ff25c964c7bd3923d333d177aa4f7fb736b019f26c7cb41"},
-]
-
-[[package]]
-name = "attrs"
-version = "23.1.0"
-description = "Classes Without Boilerplate"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "attrs-23.1.0-py3-none-any.whl", hash = "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04"},
- {file = "attrs-23.1.0.tar.gz", hash = "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015"},
-]
-
-[package.extras]
-cov = ["attrs[tests]", "coverage[toml] (>=5.3)"]
-dev = ["attrs[docs,tests]", "pre-commit"]
-docs = ["furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphinxcontrib-towncrier", "towncrier", "zope-interface"]
-tests = ["attrs[tests-no-zope]", "zope-interface"]
-tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins", "pytest-xdist[psutil]"]
-
-[[package]]
-name = "backoff"
-version = "2.2.1"
-description = "Function decoration for backoff and retry"
-category = "main"
-optional = false
-python-versions = ">=3.7,<4.0"
-files = [
- {file = "backoff-2.2.1-py3-none-any.whl", hash = "sha256:63579f9a0628e06278f7e47b7d7d5b6ce20dc65c5e96a6f3ca99a6adca0396e8"},
- {file = "backoff-2.2.1.tar.gz", hash = "sha256:03f829f5bb1923180821643f8753b0502c3b682293992485b0eef2807afa5cba"},
-]
-
-[[package]]
-name = "cachetools"
-version = "5.3.1"
-description = "Extensible memoizing collections and decorators"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "cachetools-5.3.1-py3-none-any.whl", hash = "sha256:95ef631eeaea14ba2e36f06437f36463aac3a096799e876ee55e5cdccb102590"},
- {file = "cachetools-5.3.1.tar.gz", hash = "sha256:dce83f2d9b4e1f732a8cd44af8e8fab2dbe46201467fc98b3ef8f269092bf62b"},
-]
-
-[[package]]
-name = "certifi"
-version = "2023.5.7"
-description = "Python package for providing Mozilla's CA Bundle."
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "certifi-2023.5.7-py3-none-any.whl", hash = "sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716"},
- {file = "certifi-2023.5.7.tar.gz", hash = "sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7"},
-]
-
-[[package]]
-name = "charset-normalizer"
-version = "3.1.0"
-description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
-category = "main"
-optional = false
-python-versions = ">=3.7.0"
-files = [
- {file = "charset-normalizer-3.1.0.tar.gz", hash = "sha256:34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e0ac8959c929593fee38da1c2b64ee9778733cdf03c482c9ff1d508b6b593b2b"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d7fc3fca01da18fbabe4625d64bb612b533533ed10045a2ac3dd194bfa656b60"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:04eefcee095f58eaabe6dc3cc2262f3bcd776d2c67005880894f447b3f2cb9c1"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20064ead0717cf9a73a6d1e779b23d149b53daf971169289ed2ed43a71e8d3b0"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1435ae15108b1cb6fffbcea2af3d468683b7afed0169ad718451f8db5d1aff6f"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c84132a54c750fda57729d1e2599bb598f5fa0344085dbde5003ba429a4798c0"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75f2568b4189dda1c567339b48cba4ac7384accb9c2a7ed655cd86b04055c795"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11d3bcb7be35e7b1bba2c23beedac81ee893ac9871d0ba79effc7fc01167db6c"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:891cf9b48776b5c61c700b55a598621fdb7b1e301a550365571e9624f270c203"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:5f008525e02908b20e04707a4f704cd286d94718f48bb33edddc7d7b584dddc1"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b06f0d3bf045158d2fb8837c5785fe9ff9b8c93358be64461a1089f5da983137"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:49919f8400b5e49e961f320c735388ee686a62327e773fa5b3ce6721f7e785ce"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:22908891a380d50738e1f978667536f6c6b526a2064156203d418f4856d6e86a"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-win32.whl", hash = "sha256:12d1a39aa6b8c6f6248bb54550efcc1c38ce0d8096a146638fd4738e42284448"},
- {file = "charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:65ed923f84a6844de5fd29726b888e58c62820e0769b76565480e1fdc3d062f8"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9a3267620866c9d17b959a84dd0bd2d45719b817245e49371ead79ed4f710d19"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6734e606355834f13445b6adc38b53c0fd45f1a56a9ba06c2058f86893ae8017"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f8303414c7b03f794347ad062c0516cee0e15f7a612abd0ce1e25caf6ceb47df"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aaf53a6cebad0eae578f062c7d462155eada9c172bd8c4d250b8c1d8eb7f916a"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3dc5b6a8ecfdc5748a7e429782598e4f17ef378e3e272eeb1340ea57c9109f41"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e1b25e3ad6c909f398df8921780d6a3d120d8c09466720226fc621605b6f92b1"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0ca564606d2caafb0abe6d1b5311c2649e8071eb241b2d64e75a0d0065107e62"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b82fab78e0b1329e183a65260581de4375f619167478dddab510c6c6fb04d9b6"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:bd7163182133c0c7701b25e604cf1611c0d87712e56e88e7ee5d72deab3e76b5"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:11d117e6c63e8f495412d37e7dc2e2fff09c34b2d09dbe2bee3c6229577818be"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:cf6511efa4801b9b38dc5546d7547d5b5c6ef4b081c60b23e4d941d0eba9cbeb"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:abc1185d79f47c0a7aaf7e2412a0eb2c03b724581139193d2d82b3ad8cbb00ac"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb7b2ab0188829593b9de646545175547a70d9a6e2b63bf2cd87a0a391599324"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-win32.whl", hash = "sha256:c36bcbc0d5174a80d6cccf43a0ecaca44e81d25be4b7f90f0ed7bcfbb5a00909"},
- {file = "charset_normalizer-3.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:cca4def576f47a09a943666b8f829606bcb17e2bc2d5911a46c8f8da45f56755"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0c95f12b74681e9ae127728f7e5409cbbef9cd914d5896ef238cc779b8152373"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fca62a8301b605b954ad2e9c3666f9d97f63872aa4efcae5492baca2056b74ab"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac0aa6cd53ab9a31d397f8303f92c42f534693528fafbdb997c82bae6e477ad9"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c3af8e0f07399d3176b179f2e2634c3ce9c1301379a6b8c9c9aeecd481da494f"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a5fc78f9e3f501a1614a98f7c54d3969f3ad9bba8ba3d9b438c3bc5d047dd28"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:628c985afb2c7d27a4800bfb609e03985aaecb42f955049957814e0491d4006d"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:74db0052d985cf37fa111828d0dd230776ac99c740e1a758ad99094be4f1803d"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:1e8fcdd8f672a1c4fc8d0bd3a2b576b152d2a349782d1eb0f6b8e52e9954731d"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:04afa6387e2b282cf78ff3dbce20f0cc071c12dc8f685bd40960cc68644cfea6"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dd5653e67b149503c68c4018bf07e42eeed6b4e956b24c00ccdf93ac79cdff84"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d2686f91611f9e17f4548dbf050e75b079bbc2a82be565832bc8ea9047b61c8c"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-win32.whl", hash = "sha256:4155b51ae05ed47199dc5b2a4e62abccb274cee6b01da5b895099b61b1982974"},
- {file = "charset_normalizer-3.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:322102cdf1ab682ecc7d9b1c5eed4ec59657a65e1c146a0da342b78f4112db23"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e633940f28c1e913615fd624fcdd72fdba807bf53ea6925d6a588e84e1151531"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3a06f32c9634a8705f4ca9946d667609f52cf130d5548881401f1eb2c39b1e2c"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7381c66e0561c5757ffe616af869b916c8b4e42b367ab29fedc98481d1e74e14"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3573d376454d956553c356df45bb824262c397c6e26ce43e8203c4c540ee0acb"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e89df2958e5159b811af9ff0f92614dabf4ff617c03a4c1c6ff53bf1c399e0e1"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:78cacd03e79d009d95635e7d6ff12c21eb89b894c354bd2b2ed0b4763373693b"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de5695a6f1d8340b12a5d6d4484290ee74d61e467c39ff03b39e30df62cf83a0"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1c60b9c202d00052183c9be85e5eaf18a4ada0a47d188a83c8f5c5b23252f649"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:f645caaf0008bacf349875a974220f1f1da349c5dbe7c4ec93048cdc785a3326"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ea9f9c6034ea2d93d9147818f17c2a0860d41b71c38b9ce4d55f21b6f9165a11"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:80d1543d58bd3d6c271b66abf454d437a438dff01c3e62fdbcd68f2a11310d4b"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:73dc03a6a7e30b7edc5b01b601e53e7fc924b04e1835e8e407c12c037e81adbd"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6f5c2e7bc8a4bf7c426599765b1bd33217ec84023033672c1e9a8b35eaeaaaf8"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-win32.whl", hash = "sha256:12a2b561af122e3d94cdb97fe6fb2bb2b82cef0cdca131646fdb940a1eda04f0"},
- {file = "charset_normalizer-3.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:3160a0fd9754aab7d47f95a6b63ab355388d890163eb03b2d2b87ab0a30cfa59"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:38e812a197bf8e71a59fe55b757a84c1f946d0ac114acafaafaf21667a7e169e"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6baf0baf0d5d265fa7944feb9f7451cc316bfe30e8df1a61b1bb08577c554f31"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8f25e17ab3039b05f762b0a55ae0b3632b2e073d9c8fc88e89aca31a6198e88f"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3747443b6a904001473370d7810aa19c3a180ccd52a7157aacc264a5ac79265e"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b116502087ce8a6b7a5f1814568ccbd0e9f6cfd99948aa59b0e241dc57cf739f"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d16fd5252f883eb074ca55cb622bc0bee49b979ae4e8639fff6ca3ff44f9f854"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fa558996782fc226b529fdd2ed7866c2c6ec91cee82735c98a197fae39f706"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f6c7a8a57e9405cad7485f4c9d3172ae486cfef1344b5ddd8e5239582d7355e"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ac3775e3311661d4adace3697a52ac0bab17edd166087d493b52d4f4f553f9f0"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:10c93628d7497c81686e8e5e557aafa78f230cd9e77dd0c40032ef90c18f2230"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:6f4f4668e1831850ebcc2fd0b1cd11721947b6dc7c00bf1c6bd3c929ae14f2c7"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0be65ccf618c1e7ac9b849c315cc2e8a8751d9cfdaa43027d4f6624bd587ab7e"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:53d0a3fa5f8af98a1e261de6a3943ca631c526635eb5817a87a59d9a57ebf48f"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-win32.whl", hash = "sha256:a04f86f41a8916fe45ac5024ec477f41f886b3c435da2d4e3d2709b22ab02af1"},
- {file = "charset_normalizer-3.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:830d2948a5ec37c386d3170c483063798d7879037492540f10a475e3fd6f244b"},
- {file = "charset_normalizer-3.1.0-py3-none-any.whl", hash = "sha256:3d9098b479e78c85080c98e1e35ff40b4a31d8953102bb0fd7d1b6f8a2111a3d"},
-]
-
-[[package]]
-name = "click"
-version = "8.1.3"
-description = "Composable command line interface toolkit"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"},
- {file = "click-8.1.3.tar.gz", hash = "sha256:7682dc8afb30297001674575ea00d1814d808d6a36af415a82bd481d37ba7b8e"},
-]
-
-[package.dependencies]
-colorama = {version = "*", markers = "platform_system == \"Windows\""}
-
-[[package]]
-name = "colorama"
-version = "0.4.6"
-description = "Cross-platform colored terminal text."
-category = "main"
-optional = false
-python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
-files = [
- {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
- {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
-]
-
-[[package]]
-name = "dataclasses-json"
-version = "0.5.8"
-description = "Easily serialize dataclasses to and from JSON"
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "dataclasses-json-0.5.8.tar.gz", hash = "sha256:6572ac08ad9340abcb74fd8c4c8e9752db2a182a402c8e871d0a8aa119e3804e"},
- {file = "dataclasses_json-0.5.8-py3-none-any.whl", hash = "sha256:65b167c15fdf9bde27569c09ac18dd39bf1cc5b7998525024cb4678d2653946c"},
-]
-
-[package.dependencies]
-marshmallow = ">=3.3.0,<4.0.0"
-marshmallow-enum = ">=1.5.1,<2.0.0"
-typing-inspect = ">=0.4.0"
-
-[package.extras]
-dev = ["flake8", "hypothesis", "ipython", "mypy (>=0.710)", "portray", "pytest (>=7.2.0)", "simplejson", "types-dataclasses"]
-
-[[package]]
-name = "deprecated"
-version = "1.2.14"
-description = "Python @deprecated decorator to deprecate old python classes, functions or methods."
-category = "main"
-optional = false
-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
-files = [
- {file = "Deprecated-1.2.14-py2.py3-none-any.whl", hash = "sha256:6fac8b097794a90302bdbb17b9b815e732d3c4720583ff1b198499d78470466c"},
- {file = "Deprecated-1.2.14.tar.gz", hash = "sha256:e5323eb936458dccc2582dc6f9c322c852a775a27065ff2b0c4970b9d53d01b3"},
-]
-
-[package.dependencies]
-wrapt = ">=1.10,<2"
-
-[package.extras]
-dev = ["PyTest", "PyTest-Cov", "bump2version (<1)", "sphinx (<2)", "tox"]
-
-[[package]]
-name = "deprecation"
-version = "2.1.0"
-description = "A library to handle automated deprecations"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "deprecation-2.1.0-py2.py3-none-any.whl", hash = "sha256:a10811591210e1fb0e768a8c25517cabeabcba6f0bf96564f8ff45189f90b14a"},
- {file = "deprecation-2.1.0.tar.gz", hash = "sha256:72b3bde64e5d778694b0cf68178aed03d15e15477116add3fb773e581f9518ff"},
-]
-
-[package.dependencies]
-packaging = "*"
-
-[[package]]
-name = "exceptiongroup"
-version = "1.1.1"
-description = "Backport of PEP 654 (exception groups)"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "exceptiongroup-1.1.1-py3-none-any.whl", hash = "sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e"},
- {file = "exceptiongroup-1.1.1.tar.gz", hash = "sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785"},
-]
-
-[package.extras]
-test = ["pytest (>=6)"]
-
-[[package]]
-name = "fastapi"
-version = "0.95.2"
-description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "fastapi-0.95.2-py3-none-any.whl", hash = "sha256:d374dbc4ef2ad9b803899bd3360d34c534adc574546e25314ab72c0c4411749f"},
- {file = "fastapi-0.95.2.tar.gz", hash = "sha256:4d9d3e8c71c73f11874bcf5e33626258d143252e329a01002f767306c64fb982"},
-]
-
-[package.dependencies]
-pydantic = ">=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.7.3,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0"
-starlette = ">=0.27.0,<0.28.0"
-
-[package.extras]
-all = ["email-validator (>=1.1.1)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "python-multipart (>=0.0.5)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"]
-dev = ["pre-commit (>=2.17.0,<3.0.0)", "ruff (==0.0.138)", "uvicorn[standard] (>=0.12.0,<0.21.0)"]
-doc = ["mdx-include (>=1.4.1,<2.0.0)", "mkdocs (>=1.1.2,<2.0.0)", "mkdocs-markdownextradata-plugin (>=0.1.7,<0.3.0)", "mkdocs-material (>=8.1.4,<9.0.0)", "pyyaml (>=5.3.1,<7.0.0)", "typer-cli (>=0.0.13,<0.0.14)", "typer[all] (>=0.6.1,<0.8.0)"]
-test = ["anyio[trio] (>=3.2.1,<4.0.0)", "black (==23.1.0)", "coverage[toml] (>=6.5.0,<8.0)", "databases[sqlite] (>=0.3.2,<0.7.0)", "email-validator (>=1.1.1,<2.0.0)", "flask (>=1.1.2,<3.0.0)", "httpx (>=0.23.0,<0.24.0)", "isort (>=5.0.6,<6.0.0)", "mypy (==0.982)", "orjson (>=3.2.1,<4.0.0)", "passlib[bcrypt] (>=1.7.2,<2.0.0)", "peewee (>=3.13.3,<4.0.0)", "pytest (>=7.1.3,<8.0.0)", "python-jose[cryptography] (>=3.3.0,<4.0.0)", "python-multipart (>=0.0.5,<0.0.7)", "pyyaml (>=5.3.1,<7.0.0)", "ruff (==0.0.138)", "sqlalchemy (>=1.3.18,<1.4.43)", "types-orjson (==3.6.2)", "types-ujson (==5.7.0.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,<6.0.0)"]
-
-[[package]]
-name = "frozenlist"
-version = "1.3.3"
-description = "A list-like structure which implements collections.abc.MutableSequence"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "frozenlist-1.3.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff8bf625fe85e119553b5383ba0fb6aa3d0ec2ae980295aaefa552374926b3f4"},
- {file = "frozenlist-1.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dfbac4c2dfcc082fcf8d942d1e49b6aa0766c19d3358bd86e2000bf0fa4a9cf0"},
- {file = "frozenlist-1.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b1c63e8d377d039ac769cd0926558bb7068a1f7abb0f003e3717ee003ad85530"},
- {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7fdfc24dcfce5b48109867c13b4cb15e4660e7bd7661741a391f821f23dfdca7"},
- {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2c926450857408e42f0bbc295e84395722ce74bae69a3b2aa2a65fe22cb14b99"},
- {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1841e200fdafc3d51f974d9d377c079a0694a8f06de2e67b48150328d66d5483"},
- {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f470c92737afa7d4c3aacc001e335062d582053d4dbe73cda126f2d7031068dd"},
- {file = "frozenlist-1.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:783263a4eaad7c49983fe4b2e7b53fa9770c136c270d2d4bbb6d2192bf4d9caf"},
- {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:924620eef691990dfb56dc4709f280f40baee568c794b5c1885800c3ecc69816"},
- {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:ae4dc05c465a08a866b7a1baf360747078b362e6a6dbeb0c57f234db0ef88ae0"},
- {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:bed331fe18f58d844d39ceb398b77d6ac0b010d571cba8267c2e7165806b00ce"},
- {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:02c9ac843e3390826a265e331105efeab489ffaf4dd86384595ee8ce6d35ae7f"},
- {file = "frozenlist-1.3.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:9545a33965d0d377b0bc823dcabf26980e77f1b6a7caa368a365a9497fb09420"},
- {file = "frozenlist-1.3.3-cp310-cp310-win32.whl", hash = "sha256:d5cd3ab21acbdb414bb6c31958d7b06b85eeb40f66463c264a9b343a4e238642"},
- {file = "frozenlist-1.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:b756072364347cb6aa5b60f9bc18e94b2f79632de3b0190253ad770c5df17db1"},
- {file = "frozenlist-1.3.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b4395e2f8d83fbe0c627b2b696acce67868793d7d9750e90e39592b3626691b7"},
- {file = "frozenlist-1.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:14143ae966a6229350021384870458e4777d1eae4c28d1a7aa47f24d030e6678"},
- {file = "frozenlist-1.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5d8860749e813a6f65bad8285a0520607c9500caa23fea6ee407e63debcdbef6"},
- {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:23d16d9f477bb55b6154654e0e74557040575d9d19fe78a161bd33d7d76808e8"},
- {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eb82dbba47a8318e75f679690190c10a5e1f447fbf9df41cbc4c3afd726d88cb"},
- {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9309869032abb23d196cb4e4db574232abe8b8be1339026f489eeb34a4acfd91"},
- {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a97b4fe50b5890d36300820abd305694cb865ddb7885049587a5678215782a6b"},
- {file = "frozenlist-1.3.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c188512b43542b1e91cadc3c6c915a82a5eb95929134faf7fd109f14f9892ce4"},
- {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:303e04d422e9b911a09ad499b0368dc551e8c3cd15293c99160c7f1f07b59a48"},
- {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:0771aed7f596c7d73444c847a1c16288937ef988dc04fb9f7be4b2aa91db609d"},
- {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:66080ec69883597e4d026f2f71a231a1ee9887835902dbe6b6467d5a89216cf6"},
- {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:41fe21dc74ad3a779c3d73a2786bdf622ea81234bdd4faf90b8b03cad0c2c0b4"},
- {file = "frozenlist-1.3.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f20380df709d91525e4bee04746ba612a4df0972c1b8f8e1e8af997e678c7b81"},
- {file = "frozenlist-1.3.3-cp311-cp311-win32.whl", hash = "sha256:f30f1928162e189091cf4d9da2eac617bfe78ef907a761614ff577ef4edfb3c8"},
- {file = "frozenlist-1.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:a6394d7dadd3cfe3f4b3b186e54d5d8504d44f2d58dcc89d693698e8b7132b32"},
- {file = "frozenlist-1.3.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8df3de3a9ab8325f94f646609a66cbeeede263910c5c0de0101079ad541af332"},
- {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0693c609e9742c66ba4870bcee1ad5ff35462d5ffec18710b4ac89337ff16e27"},
- {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd4210baef299717db0a600d7a3cac81d46ef0e007f88c9335db79f8979c0d3d"},
- {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:394c9c242113bfb4b9aa36e2b80a05ffa163a30691c7b5a29eba82e937895d5e"},
- {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6327eb8e419f7d9c38f333cde41b9ae348bec26d840927332f17e887a8dcb70d"},
- {file = "frozenlist-1.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2e24900aa13212e75e5b366cb9065e78bbf3893d4baab6052d1aca10d46d944c"},
- {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:3843f84a6c465a36559161e6c59dce2f2ac10943040c2fd021cfb70d58c4ad56"},
- {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:84610c1502b2461255b4c9b7d5e9c48052601a8957cd0aea6ec7a7a1e1fb9420"},
- {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:c21b9aa40e08e4f63a2f92ff3748e6b6c84d717d033c7b3438dd3123ee18f70e"},
- {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:efce6ae830831ab6a22b9b4091d411698145cb9b8fc869e1397ccf4b4b6455cb"},
- {file = "frozenlist-1.3.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:40de71985e9042ca00b7953c4f41eabc3dc514a2d1ff534027f091bc74416401"},
- {file = "frozenlist-1.3.3-cp37-cp37m-win32.whl", hash = "sha256:180c00c66bde6146a860cbb81b54ee0df350d2daf13ca85b275123bbf85de18a"},
- {file = "frozenlist-1.3.3-cp37-cp37m-win_amd64.whl", hash = "sha256:9bbbcedd75acdfecf2159663b87f1bb5cfc80e7cd99f7ddd9d66eb98b14a8411"},
- {file = "frozenlist-1.3.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:034a5c08d36649591be1cbb10e09da9f531034acfe29275fc5454a3b101ce41a"},
- {file = "frozenlist-1.3.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ba64dc2b3b7b158c6660d49cdb1d872d1d0bf4e42043ad8d5006099479a194e5"},
- {file = "frozenlist-1.3.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:47df36a9fe24054b950bbc2db630d508cca3aa27ed0566c0baf661225e52c18e"},
- {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:008a054b75d77c995ea26629ab3a0c0d7281341f2fa7e1e85fa6153ae29ae99c"},
- {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:841ea19b43d438a80b4de62ac6ab21cfe6827bb8a9dc62b896acc88eaf9cecba"},
- {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e235688f42b36be2b6b06fc37ac2126a73b75fb8d6bc66dd632aa35286238703"},
- {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca713d4af15bae6e5d79b15c10c8522859a9a89d3b361a50b817c98c2fb402a2"},
- {file = "frozenlist-1.3.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9ac5995f2b408017b0be26d4a1d7c61bce106ff3d9e3324374d66b5964325448"},
- {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:a4ae8135b11652b08a8baf07631d3ebfe65a4c87909dbef5fa0cdde440444ee4"},
- {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4ea42116ceb6bb16dbb7d526e242cb6747b08b7710d9782aa3d6732bd8d27649"},
- {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:810860bb4bdce7557bc0febb84bbd88198b9dbc2022d8eebe5b3590b2ad6c842"},
- {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:ee78feb9d293c323b59a6f2dd441b63339a30edf35abcb51187d2fc26e696d13"},
- {file = "frozenlist-1.3.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:0af2e7c87d35b38732e810befb9d797a99279cbb85374d42ea61c1e9d23094b3"},
- {file = "frozenlist-1.3.3-cp38-cp38-win32.whl", hash = "sha256:899c5e1928eec13fd6f6d8dc51be23f0d09c5281e40d9cf4273d188d9feeaf9b"},
- {file = "frozenlist-1.3.3-cp38-cp38-win_amd64.whl", hash = "sha256:7f44e24fa70f6fbc74aeec3e971f60a14dde85da364aa87f15d1be94ae75aeef"},
- {file = "frozenlist-1.3.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2b07ae0c1edaa0a36339ec6cce700f51b14a3fc6545fdd32930d2c83917332cf"},
- {file = "frozenlist-1.3.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:ebb86518203e12e96af765ee89034a1dbb0c3c65052d1b0c19bbbd6af8a145e1"},
- {file = "frozenlist-1.3.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5cf820485f1b4c91e0417ea0afd41ce5cf5965011b3c22c400f6d144296ccbc0"},
- {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c11e43016b9024240212d2a65043b70ed8dfd3b52678a1271972702d990ac6d"},
- {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8fa3c6e3305aa1146b59a09b32b2e04074945ffcfb2f0931836d103a2c38f936"},
- {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:352bd4c8c72d508778cf05ab491f6ef36149f4d0cb3c56b1b4302852255d05d5"},
- {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:65a5e4d3aa679610ac6e3569e865425b23b372277f89b5ef06cf2cdaf1ebf22b"},
- {file = "frozenlist-1.3.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e2c1185858d7e10ff045c496bbf90ae752c28b365fef2c09cf0fa309291669"},
- {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f163d2fd041c630fed01bc48d28c3ed4a3b003c00acd396900e11ee5316b56bb"},
- {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:05cdb16d09a0832eedf770cb7bd1fe57d8cf4eaf5aced29c4e41e3f20b30a784"},
- {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:8bae29d60768bfa8fb92244b74502b18fae55a80eac13c88eb0b496d4268fd2d"},
- {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:eedab4c310c0299961ac285591acd53dc6723a1ebd90a57207c71f6e0c2153ab"},
- {file = "frozenlist-1.3.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3bbdf44855ed8f0fbcd102ef05ec3012d6a4fd7c7562403f76ce6a52aeffb2b1"},
- {file = "frozenlist-1.3.3-cp39-cp39-win32.whl", hash = "sha256:efa568b885bca461f7c7b9e032655c0c143d305bf01c30caf6db2854a4532b38"},
- {file = "frozenlist-1.3.3-cp39-cp39-win_amd64.whl", hash = "sha256:cfe33efc9cb900a4c46f91a5ceba26d6df370ffddd9ca386eb1d4f0ad97b9ea9"},
- {file = "frozenlist-1.3.3.tar.gz", hash = "sha256:58bcc55721e8a90b88332d6cd441261ebb22342e238296bb330968952fbb3a6a"},
-]
-
-[[package]]
-name = "googleapis-common-protos"
-version = "1.59.1"
-description = "Common protobufs used in Google APIs"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "googleapis-common-protos-1.59.1.tar.gz", hash = "sha256:b35d530fe825fb4227857bc47ad84c33c809ac96f312e13182bdeaa2abe1178a"},
- {file = "googleapis_common_protos-1.59.1-py2.py3-none-any.whl", hash = "sha256:0cbedb6fb68f1c07e18eb4c48256320777707e7d0c55063ae56c15db3224a61e"},
-]
-
-[package.dependencies]
-protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0.dev0"
-
-[package.extras]
-grpc = ["grpcio (>=1.44.0,<2.0.0.dev0)"]
-
-[[package]]
-name = "gptcache"
-version = "0.1.30"
-description = "GPTCache, a powerful caching library that can be used to speed up and lower the cost of chat applications that rely on the LLM service. GPTCache works as a memcache for AIGC applications, similar to how Redis works for traditional applications."
-category = "main"
-optional = false
-python-versions = ">=3.8.1"
-files = [
- {file = "gptcache-0.1.30-py3-none-any.whl", hash = "sha256:57c37babe85161fbbe547cb036f6780b33232d70557ae085daccf3c032bc7b14"},
- {file = "gptcache-0.1.30.tar.gz", hash = "sha256:a69f600e286dee3e7f3b151c8b269778a4e6a7d5da409c01fbfbedf3239d0cd9"},
-]
-
-[package.dependencies]
-cachetools = "*"
-numpy = "*"
-requests = "*"
-
-[[package]]
-name = "greenlet"
-version = "2.0.2"
-description = "Lightweight in-process concurrent programming"
-category = "main"
-optional = false
-python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
-files = [
- {file = "greenlet-2.0.2-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:bdfea8c661e80d3c1c99ad7c3ff74e6e87184895bbaca6ee8cc61209f8b9b85d"},
- {file = "greenlet-2.0.2-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:9d14b83fab60d5e8abe587d51c75b252bcc21683f24699ada8fb275d7712f5a9"},
- {file = "greenlet-2.0.2-cp27-cp27m-win32.whl", hash = "sha256:6c3acb79b0bfd4fe733dff8bc62695283b57949ebcca05ae5c129eb606ff2d74"},
- {file = "greenlet-2.0.2-cp27-cp27m-win_amd64.whl", hash = "sha256:283737e0da3f08bd637b5ad058507e578dd462db259f7f6e4c5c365ba4ee9343"},
- {file = "greenlet-2.0.2-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:d27ec7509b9c18b6d73f2f5ede2622441de812e7b1a80bbd446cb0633bd3d5ae"},
- {file = "greenlet-2.0.2-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:30bcf80dda7f15ac77ba5af2b961bdd9dbc77fd4ac6105cee85b0d0a5fcf74df"},
- {file = "greenlet-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26fbfce90728d82bc9e6c38ea4d038cba20b7faf8a0ca53a9c07b67318d46088"},
- {file = "greenlet-2.0.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9190f09060ea4debddd24665d6804b995a9c122ef5917ab26e1566dcc712ceeb"},
- {file = "greenlet-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d75209eed723105f9596807495d58d10b3470fa6732dd6756595e89925ce2470"},
- {file = "greenlet-2.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:3a51c9751078733d88e013587b108f1b7a1fb106d402fb390740f002b6f6551a"},
- {file = "greenlet-2.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:76ae285c8104046b3a7f06b42f29c7b73f77683df18c49ab5af7983994c2dd91"},
- {file = "greenlet-2.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:2d4686f195e32d36b4d7cf2d166857dbd0ee9f3d20ae349b6bf8afc8485b3645"},
- {file = "greenlet-2.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:c4302695ad8027363e96311df24ee28978162cdcdd2006476c43970b384a244c"},
- {file = "greenlet-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c48f54ef8e05f04d6eff74b8233f6063cb1ed960243eacc474ee73a2ea8573ca"},
- {file = "greenlet-2.0.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a1846f1b999e78e13837c93c778dcfc3365902cfb8d1bdb7dd73ead37059f0d0"},
- {file = "greenlet-2.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a06ad5312349fec0ab944664b01d26f8d1f05009566339ac6f63f56589bc1a2"},
- {file = "greenlet-2.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:eff4eb9b7eb3e4d0cae3d28c283dc16d9bed6b193c2e1ace3ed86ce48ea8df19"},
- {file = "greenlet-2.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5454276c07d27a740c5892f4907c86327b632127dd9abec42ee62e12427ff7e3"},
- {file = "greenlet-2.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:7cafd1208fdbe93b67c7086876f061f660cfddc44f404279c1585bbf3cdc64c5"},
- {file = "greenlet-2.0.2-cp35-cp35m-macosx_10_14_x86_64.whl", hash = "sha256:910841381caba4f744a44bf81bfd573c94e10b3045ee00de0cbf436fe50673a6"},
- {file = "greenlet-2.0.2-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:18a7f18b82b52ee85322d7a7874e676f34ab319b9f8cce5de06067384aa8ff43"},
- {file = "greenlet-2.0.2-cp35-cp35m-win32.whl", hash = "sha256:03a8f4f3430c3b3ff8d10a2a86028c660355ab637cee9333d63d66b56f09d52a"},
- {file = "greenlet-2.0.2-cp35-cp35m-win_amd64.whl", hash = "sha256:4b58adb399c4d61d912c4c331984d60eb66565175cdf4a34792cd9600f21b394"},
- {file = "greenlet-2.0.2-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:703f18f3fda276b9a916f0934d2fb6d989bf0b4fb5a64825260eb9bfd52d78f0"},
- {file = "greenlet-2.0.2-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:32e5b64b148966d9cccc2c8d35a671409e45f195864560829f395a54226408d3"},
- {file = "greenlet-2.0.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2dd11f291565a81d71dab10b7033395b7a3a5456e637cf997a6f33ebdf06f8db"},
- {file = "greenlet-2.0.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e0f72c9ddb8cd28532185f54cc1453f2c16fb417a08b53a855c4e6a418edd099"},
- {file = "greenlet-2.0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cd021c754b162c0fb55ad5d6b9d960db667faad0fa2ff25bb6e1301b0b6e6a75"},
- {file = "greenlet-2.0.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:3c9b12575734155d0c09d6c3e10dbd81665d5c18e1a7c6597df72fd05990c8cf"},
- {file = "greenlet-2.0.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:b9ec052b06a0524f0e35bd8790686a1da006bd911dd1ef7d50b77bfbad74e292"},
- {file = "greenlet-2.0.2-cp36-cp36m-win32.whl", hash = "sha256:dbfcfc0218093a19c252ca8eb9aee3d29cfdcb586df21049b9d777fd32c14fd9"},
- {file = "greenlet-2.0.2-cp36-cp36m-win_amd64.whl", hash = "sha256:9f35ec95538f50292f6d8f2c9c9f8a3c6540bbfec21c9e5b4b751e0a7c20864f"},
- {file = "greenlet-2.0.2-cp37-cp37m-macosx_10_15_x86_64.whl", hash = "sha256:d5508f0b173e6aa47273bdc0a0b5ba055b59662ba7c7ee5119528f466585526b"},
- {file = "greenlet-2.0.2-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:f82d4d717d8ef19188687aa32b8363e96062911e63ba22a0cff7802a8e58e5f1"},
- {file = "greenlet-2.0.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9c59a2120b55788e800d82dfa99b9e156ff8f2227f07c5e3012a45a399620b7"},
- {file = "greenlet-2.0.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2780572ec463d44c1d3ae850239508dbeb9fed38e294c68d19a24d925d9223ca"},
- {file = "greenlet-2.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:937e9020b514ceedb9c830c55d5c9872abc90f4b5862f89c0887033ae33c6f73"},
- {file = "greenlet-2.0.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:36abbf031e1c0f79dd5d596bfaf8e921c41df2bdf54ee1eed921ce1f52999a86"},
- {file = "greenlet-2.0.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:18e98fb3de7dba1c0a852731c3070cf022d14f0d68b4c87a19cc1016f3bb8b33"},
- {file = "greenlet-2.0.2-cp37-cp37m-win32.whl", hash = "sha256:3f6ea9bd35eb450837a3d80e77b517ea5bc56b4647f5502cd28de13675ee12f7"},
- {file = "greenlet-2.0.2-cp37-cp37m-win_amd64.whl", hash = "sha256:7492e2b7bd7c9b9916388d9df23fa49d9b88ac0640db0a5b4ecc2b653bf451e3"},
- {file = "greenlet-2.0.2-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:b864ba53912b6c3ab6bcb2beb19f19edd01a6bfcbdfe1f37ddd1778abfe75a30"},
- {file = "greenlet-2.0.2-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:ba2956617f1c42598a308a84c6cf021a90ff3862eddafd20c3333d50f0edb45b"},
- {file = "greenlet-2.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc3a569657468b6f3fb60587e48356fe512c1754ca05a564f11366ac9e306526"},
- {file = "greenlet-2.0.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8eab883b3b2a38cc1e050819ef06a7e6344d4a990d24d45bc6f2cf959045a45b"},
- {file = "greenlet-2.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:acd2162a36d3de67ee896c43effcd5ee3de247eb00354db411feb025aa319857"},
- {file = "greenlet-2.0.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:0bf60faf0bc2468089bdc5edd10555bab6e85152191df713e2ab1fcc86382b5a"},
- {file = "greenlet-2.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:b0ef99cdbe2b682b9ccbb964743a6aca37905fda5e0452e5ee239b1654d37f2a"},
- {file = "greenlet-2.0.2-cp38-cp38-win32.whl", hash = "sha256:b80f600eddddce72320dbbc8e3784d16bd3fb7b517e82476d8da921f27d4b249"},
- {file = "greenlet-2.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:4d2e11331fc0c02b6e84b0d28ece3a36e0548ee1a1ce9ddde03752d9b79bba40"},
- {file = "greenlet-2.0.2-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:88d9ab96491d38a5ab7c56dd7a3cc37d83336ecc564e4e8816dbed12e5aaefc8"},
- {file = "greenlet-2.0.2-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:561091a7be172ab497a3527602d467e2b3fbe75f9e783d8b8ce403fa414f71a6"},
- {file = "greenlet-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:971ce5e14dc5e73715755d0ca2975ac88cfdaefcaab078a284fea6cfabf866df"},
- {file = "greenlet-2.0.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:be4ed120b52ae4d974aa40215fcdfde9194d63541c7ded40ee12eb4dda57b76b"},
- {file = "greenlet-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94c817e84245513926588caf1152e3b559ff794d505555211ca041f032abbb6b"},
- {file = "greenlet-2.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1a819eef4b0e0b96bb0d98d797bef17dc1b4a10e8d7446be32d1da33e095dbb8"},
- {file = "greenlet-2.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7efde645ca1cc441d6dc4b48c0f7101e8d86b54c8530141b09fd31cef5149ec9"},
- {file = "greenlet-2.0.2-cp39-cp39-win32.whl", hash = "sha256:ea9872c80c132f4663822dd2a08d404073a5a9b5ba6155bea72fb2a79d1093b5"},
- {file = "greenlet-2.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:db1a39669102a1d8d12b57de2bb7e2ec9066a6f2b3da35ae511ff93b01b5d564"},
- {file = "greenlet-2.0.2.tar.gz", hash = "sha256:e7c8dc13af7db097bed64a051d2dd49e9f0af495c26995c00a9ee842690d34c0"},
-]
-
-[package.extras]
-docs = ["Sphinx", "docutils (<0.18)"]
-test = ["objgraph", "psutil"]
-
-[[package]]
-name = "grpcio"
-version = "1.54.2"
-description = "HTTP/2-based RPC framework"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "grpcio-1.54.2-cp310-cp310-linux_armv7l.whl", hash = "sha256:40e1cbf69d6741b40f750f3cccc64326f927ac6145a9914d33879e586002350c"},
- {file = "grpcio-1.54.2-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:2288d76e4d4aa7ef3fe7a73c1c470b66ea68e7969930e746a8cd8eca6ef2a2ea"},
- {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:c0e3155fc5335ec7b3b70f15230234e529ca3607b20a562b6c75fb1b1218874c"},
- {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bf88004fe086c786dc56ef8dd6cb49c026833fdd6f42cb853008bce3f907148"},
- {file = "grpcio-1.54.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2be88c081e33f20630ac3343d8ad9f1125f32987968e9c8c75c051c9800896e8"},
- {file = "grpcio-1.54.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:33d40954199bddbb6a78f8f6f2b2082660f381cd2583ec860a6c2fa7c8400c08"},
- {file = "grpcio-1.54.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b52d00d1793d290c81ad6a27058f5224a7d5f527867e5b580742e1bd211afeee"},
- {file = "grpcio-1.54.2-cp310-cp310-win32.whl", hash = "sha256:881d058c5ccbea7cc2c92085a11947b572498a27ef37d3eef4887f499054dca8"},
- {file = "grpcio-1.54.2-cp310-cp310-win_amd64.whl", hash = "sha256:0212e2f7fdf7592e4b9d365087da30cb4d71e16a6f213120c89b4f8fb35a3ab3"},
- {file = "grpcio-1.54.2-cp311-cp311-linux_armv7l.whl", hash = "sha256:1e623e0cf99a0ac114f091b3083a1848dbc64b0b99e181473b5a4a68d4f6f821"},
- {file = "grpcio-1.54.2-cp311-cp311-macosx_10_10_universal2.whl", hash = "sha256:66233ccd2a9371158d96e05d082043d47dadb18cbb294dc5accfdafc2e6b02a7"},
- {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:4cb283f630624ebb16c834e5ac3d7880831b07cbe76cb08ab7a271eeaeb8943e"},
- {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2a1e601ee31ef30a9e2c601d0867e236ac54c922d32ed9f727b70dd5d82600d5"},
- {file = "grpcio-1.54.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f8da84bbc61a4e92af54dc96344f328e5822d574f767e9b08e1602bb5ddc254a"},
- {file = "grpcio-1.54.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5008964885e8d23313c8e5ea0d44433be9bfd7e24482574e8cc43c02c02fc796"},
- {file = "grpcio-1.54.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a2f5a1f1080ccdc7cbaf1171b2cf384d852496fe81ddedeb882d42b85727f610"},
- {file = "grpcio-1.54.2-cp311-cp311-win32.whl", hash = "sha256:b74ae837368cfffeb3f6b498688a123e6b960951be4dec0e869de77e7fa0439e"},
- {file = "grpcio-1.54.2-cp311-cp311-win_amd64.whl", hash = "sha256:8cdbcbd687e576d48f7886157c95052825ca9948c0ed2afdc0134305067be88b"},
- {file = "grpcio-1.54.2-cp37-cp37m-linux_armv7l.whl", hash = "sha256:782f4f8662a2157c4190d0f99eaaebc602899e84fb1e562a944e5025929e351c"},
- {file = "grpcio-1.54.2-cp37-cp37m-macosx_10_10_universal2.whl", hash = "sha256:714242ad0afa63a2e6dabd522ae22e1d76e07060b5af2ddda5474ba4f14c2c94"},
- {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_aarch64.whl", hash = "sha256:f900ed4ad7a0f1f05d35f955e0943944d5a75f607a836958c6b8ab2a81730ef2"},
- {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96a41817d2c763b1d0b32675abeb9179aa2371c72aefdf74b2d2b99a1b92417b"},
- {file = "grpcio-1.54.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70fcac7b94f4c904152809a050164650ac81c08e62c27aa9f156ac518029ebbe"},
- {file = "grpcio-1.54.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:fd6c6c29717724acf9fc1847c4515d57e4dc12762452457b9cb37461f30a81bb"},
- {file = "grpcio-1.54.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c2392f5b5d84b71d853918687d806c1aa4308109e5ca158a16e16a6be71041eb"},
- {file = "grpcio-1.54.2-cp37-cp37m-win_amd64.whl", hash = "sha256:51630c92591d6d3fe488a7c706bd30a61594d144bac7dee20c8e1ce78294f474"},
- {file = "grpcio-1.54.2-cp38-cp38-linux_armv7l.whl", hash = "sha256:b04202453941a63b36876a7172b45366dc0cde10d5fd7855c0f4a4e673c0357a"},
- {file = "grpcio-1.54.2-cp38-cp38-macosx_10_10_universal2.whl", hash = "sha256:89dde0ac72a858a44a2feb8e43dc68c0c66f7857a23f806e81e1b7cc7044c9cf"},
- {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:09d4bfd84686cd36fd11fd45a0732c7628308d094b14d28ea74a81db0bce2ed3"},
- {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7fc2b4edb938c8faa4b3c3ea90ca0dd89b7565a049e8e4e11b77e60e4ed2cc05"},
- {file = "grpcio-1.54.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:61f7203e2767800edee7a1e1040aaaf124a35ce0c7fe0883965c6b762defe598"},
- {file = "grpcio-1.54.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:e416c8baf925b5a1aff31f7f5aecc0060b25d50cce3a5a7255dc5cf2f1d4e5eb"},
- {file = "grpcio-1.54.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:dc80c9c6b608bf98066a038e0172013a49cfa9a08d53335aefefda2c64fc68f4"},
- {file = "grpcio-1.54.2-cp38-cp38-win32.whl", hash = "sha256:8d6192c37a30a115f4663592861f50e130caed33efc4eec24d92ec881c92d771"},
- {file = "grpcio-1.54.2-cp38-cp38-win_amd64.whl", hash = "sha256:46a057329938b08e5f0e12ea3d7aed3ecb20a0c34c4a324ef34e00cecdb88a12"},
- {file = "grpcio-1.54.2-cp39-cp39-linux_armv7l.whl", hash = "sha256:2296356b5c9605b73ed6a52660b538787094dae13786ba53080595d52df13a98"},
- {file = "grpcio-1.54.2-cp39-cp39-macosx_10_10_universal2.whl", hash = "sha256:c72956972e4b508dd39fdc7646637a791a9665b478e768ffa5f4fe42123d5de1"},
- {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:9bdbb7624d65dc0ed2ed8e954e79ab1724526f09b1efa88dcd9a1815bf28be5f"},
- {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c44e1a765b31e175c391f22e8fc73b2a2ece0e5e6ff042743d8109b5d2eff9f"},
- {file = "grpcio-1.54.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5cc928cfe6c360c1df636cf7991ab96f059666ac7b40b75a769410cc6217df9c"},
- {file = "grpcio-1.54.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:a08920fa1a97d4b8ee5db2f31195de4a9def1a91bc003544eb3c9e6b8977960a"},
- {file = "grpcio-1.54.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4864f99aac207e3e45c5e26c6cbb0ad82917869abc2f156283be86c05286485c"},
- {file = "grpcio-1.54.2-cp39-cp39-win32.whl", hash = "sha256:b38b3de8cff5bc70f8f9c615f51b48eff7313fc9aca354f09f81b73036e7ddfa"},
- {file = "grpcio-1.54.2-cp39-cp39-win_amd64.whl", hash = "sha256:be48496b0e00460717225e7680de57c38be1d8629dc09dadcd1b3389d70d942b"},
- {file = "grpcio-1.54.2.tar.gz", hash = "sha256:50a9f075eeda5097aa9a182bb3877fe1272875e45370368ac0ee16ab9e22d019"},
-]
-
-[package.extras]
-protobuf = ["grpcio-tools (>=1.54.2)"]
-
-[[package]]
-name = "gunicorn"
-version = "20.1.0"
-description = "WSGI HTTP Server for UNIX"
-category = "main"
-optional = false
-python-versions = ">=3.5"
-files = [
- {file = "gunicorn-20.1.0-py3-none-any.whl", hash = "sha256:9dcc4547dbb1cb284accfb15ab5667a0e5d1881cc443e0677b4882a4067a807e"},
- {file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"},
-]
-
-[package.dependencies]
-setuptools = ">=3.0"
-
-[package.extras]
-eventlet = ["eventlet (>=0.24.1)"]
-gevent = ["gevent (>=1.4.0)"]
-setproctitle = ["setproctitle"]
-tornado = ["tornado (>=0.2)"]
-
-[[package]]
-name = "h11"
-version = "0.14.0"
-description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "h11-0.14.0-py3-none-any.whl", hash = "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"},
- {file = "h11-0.14.0.tar.gz", hash = "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d"},
-]
-
-[[package]]
-name = "httpcore"
-version = "0.16.3"
-description = "A minimal low-level HTTP client."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "httpcore-0.16.3-py3-none-any.whl", hash = "sha256:da1fb708784a938aa084bde4feb8317056c55037247c787bd7e19eb2c2949dc0"},
- {file = "httpcore-0.16.3.tar.gz", hash = "sha256:c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb"},
-]
-
-[package.dependencies]
-anyio = ">=3.0,<5.0"
-certifi = "*"
-h11 = ">=0.13,<0.15"
-sniffio = ">=1.0.0,<2.0.0"
-
-[package.extras]
-http2 = ["h2 (>=3,<5)"]
-socks = ["socksio (>=1.0.0,<2.0.0)"]
-
-[[package]]
-name = "httptools"
-version = "0.5.0"
-description = "A collection of framework independent HTTP protocol utils."
-category = "main"
-optional = false
-python-versions = ">=3.5.0"
-files = [
- {file = "httptools-0.5.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8f470c79061599a126d74385623ff4744c4e0f4a0997a353a44923c0b561ee51"},
- {file = "httptools-0.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e90491a4d77d0cb82e0e7a9cb35d86284c677402e4ce7ba6b448ccc7325c5421"},
- {file = "httptools-0.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c1d2357f791b12d86faced7b5736dea9ef4f5ecdc6c3f253e445ee82da579449"},
- {file = "httptools-0.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1f90cd6fd97c9a1b7fe9215e60c3bd97336742a0857f00a4cb31547bc22560c2"},
- {file = "httptools-0.5.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:5230a99e724a1bdbbf236a1b58d6e8504b912b0552721c7c6b8570925ee0ccde"},
- {file = "httptools-0.5.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:3a47a34f6015dd52c9eb629c0f5a8a5193e47bf2a12d9a3194d231eaf1bc451a"},
- {file = "httptools-0.5.0-cp310-cp310-win_amd64.whl", hash = "sha256:24bb4bb8ac3882f90aa95403a1cb48465de877e2d5298ad6ddcfdebec060787d"},
- {file = "httptools-0.5.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e67d4f8734f8054d2c4858570cc4b233bf753f56e85217de4dfb2495904cf02e"},
- {file = "httptools-0.5.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7e5eefc58d20e4c2da82c78d91b2906f1a947ef42bd668db05f4ab4201a99f49"},
- {file = "httptools-0.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0297822cea9f90a38df29f48e40b42ac3d48a28637368f3ec6d15eebefd182f9"},
- {file = "httptools-0.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:557be7fbf2bfa4a2ec65192c254e151684545ebab45eca5d50477d562c40f986"},
- {file = "httptools-0.5.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:54465401dbbec9a6a42cf737627fb0f014d50dc7365a6b6cd57753f151a86ff0"},
- {file = "httptools-0.5.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:4d9ebac23d2de960726ce45f49d70eb5466725c0087a078866043dad115f850f"},
- {file = "httptools-0.5.0-cp311-cp311-win_amd64.whl", hash = "sha256:e8a34e4c0ab7b1ca17b8763613783e2458e77938092c18ac919420ab8655c8c1"},
- {file = "httptools-0.5.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f659d7a48401158c59933904040085c200b4be631cb5f23a7d561fbae593ec1f"},
- {file = "httptools-0.5.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ef1616b3ba965cd68e6f759eeb5d34fbf596a79e84215eeceebf34ba3f61fdc7"},
- {file = "httptools-0.5.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3625a55886257755cb15194efbf209584754e31d336e09e2ffe0685a76cb4b60"},
- {file = "httptools-0.5.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:72ad589ba5e4a87e1d404cc1cb1b5780bfcb16e2aec957b88ce15fe879cc08ca"},
- {file = "httptools-0.5.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:850fec36c48df5a790aa735417dca8ce7d4b48d59b3ebd6f83e88a8125cde324"},
- {file = "httptools-0.5.0-cp36-cp36m-win_amd64.whl", hash = "sha256:f222e1e9d3f13b68ff8a835574eda02e67277d51631d69d7cf7f8e07df678c86"},
- {file = "httptools-0.5.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:3cb8acf8f951363b617a8420768a9f249099b92e703c052f9a51b66342eea89b"},
- {file = "httptools-0.5.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:550059885dc9c19a072ca6d6735739d879be3b5959ec218ba3e013fd2255a11b"},
- {file = "httptools-0.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a04fe458a4597aa559b79c7f48fe3dceabef0f69f562daf5c5e926b153817281"},
- {file = "httptools-0.5.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:7d0c1044bce274ec6711f0770fd2d5544fe392591d204c68328e60a46f88843b"},
- {file = "httptools-0.5.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c6eeefd4435055a8ebb6c5cc36111b8591c192c56a95b45fe2af22d9881eee25"},
- {file = "httptools-0.5.0-cp37-cp37m-win_amd64.whl", hash = "sha256:5b65be160adcd9de7a7e6413a4966665756e263f0d5ddeffde277ffeee0576a5"},
- {file = "httptools-0.5.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fe9c766a0c35b7e3d6b6939393c8dfdd5da3ac5dec7f971ec9134f284c6c36d6"},
- {file = "httptools-0.5.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:85b392aba273566c3d5596a0a490978c085b79700814fb22bfd537d381dd230c"},
- {file = "httptools-0.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f5e3088f4ed33947e16fd865b8200f9cfae1144f41b64a8cf19b599508e096bc"},
- {file = "httptools-0.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c2a56b6aad7cc8f5551d8e04ff5a319d203f9d870398b94702300de50190f63"},
- {file = "httptools-0.5.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:9b571b281a19762adb3f48a7731f6842f920fa71108aff9be49888320ac3e24d"},
- {file = "httptools-0.5.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:aa47ffcf70ba6f7848349b8a6f9b481ee0f7637931d91a9860a1838bfc586901"},
- {file = "httptools-0.5.0-cp38-cp38-win_amd64.whl", hash = "sha256:bede7ee075e54b9a5bde695b4fc8f569f30185891796b2e4e09e2226801d09bd"},
- {file = "httptools-0.5.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:64eba6f168803a7469866a9c9b5263a7463fa8b7a25b35e547492aa7322036b6"},
- {file = "httptools-0.5.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4b098e4bb1174096a93f48f6193e7d9aa7071506a5877da09a783509ca5fff42"},
- {file = "httptools-0.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9423a2de923820c7e82e18980b937893f4aa8251c43684fa1772e341f6e06887"},
- {file = "httptools-0.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca1b7becf7d9d3ccdbb2f038f665c0f4857e08e1d8481cbcc1a86a0afcfb62b2"},
- {file = "httptools-0.5.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:50d4613025f15f4b11f1c54bbed4761c0020f7f921b95143ad6d58c151198142"},
- {file = "httptools-0.5.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8ffce9d81c825ac1deaa13bc9694c0562e2840a48ba21cfc9f3b4c922c16f372"},
- {file = "httptools-0.5.0-cp39-cp39-win_amd64.whl", hash = "sha256:1af91b3650ce518d226466f30bbba5b6376dbd3ddb1b2be8b0658c6799dd450b"},
- {file = "httptools-0.5.0.tar.gz", hash = "sha256:295874861c173f9101960bba332429bb77ed4dcd8cdf5cee9922eb00e4f6bc09"},
-]
-
-[package.extras]
-test = ["Cython (>=0.29.24,<0.30.0)"]
-
-[[package]]
-name = "httpx"
-version = "0.23.3"
-description = "The next generation HTTP client."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "httpx-0.23.3-py3-none-any.whl", hash = "sha256:a211fcce9b1254ea24f0cd6af9869b3d29aba40154e947d2a07bb499b3e310d6"},
- {file = "httpx-0.23.3.tar.gz", hash = "sha256:9818458eb565bb54898ccb9b8b251a28785dd4a55afbc23d0eb410754fe7d0f9"},
-]
-
-[package.dependencies]
-certifi = "*"
-httpcore = ">=0.15.0,<0.17.0"
-rfc3986 = {version = ">=1.3,<2", extras = ["idna2008"]}
-sniffio = "*"
-
-[package.extras]
-brotli = ["brotli", "brotlicffi"]
-cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<13)"]
-http2 = ["h2 (>=3,<5)"]
-socks = ["socksio (>=1.0.0,<2.0.0)"]
-
-[[package]]
-name = "idna"
-version = "3.4"
-description = "Internationalized Domain Names in Applications (IDNA)"
-category = "main"
-optional = false
-python-versions = ">=3.5"
-files = [
- {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"},
- {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"},
-]
-
-[[package]]
-name = "importlib-metadata"
-version = "6.0.1"
-description = "Read metadata from Python packages"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "importlib_metadata-6.0.1-py3-none-any.whl", hash = "sha256:1543daade821c89b1c4a55986c326f36e54f2e6ca3bad96be4563d0acb74dcd4"},
- {file = "importlib_metadata-6.0.1.tar.gz", hash = "sha256:950127d57e35a806d520817d3e92eec3f19fdae9f0cd99da77a407c5aabefba3"},
-]
-
-[package.dependencies]
-zipp = ">=0.5"
-
-[package.extras]
-docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
-perf = ["ipython"]
-testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"]
-
-[[package]]
-name = "iniconfig"
-version = "2.0.0"
-description = "brain-dead simple config-ini parsing"
-category = "dev"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"},
- {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"},
-]
-
-[[package]]
-name = "langchain"
-version = "0.0.141"
-description = "Building applications with LLMs through composability"
-category = "main"
-optional = false
-python-versions = ">=3.8.1,<4.0"
-files = [
- {file = "langchain-0.0.141-py3-none-any.whl", hash = "sha256:6bbabf6ad5743bad41809b76138ddd110db69e7b78919b2f9cb5b3bac6bcf63c"},
- {file = "langchain-0.0.141.tar.gz", hash = "sha256:245888ff3d4439c0242f3a36669fb83917d39ece4fa6c316d4c34f1de63f532d"},
-]
-
-[package.dependencies]
-aiohttp = ">=3.8.3,<4.0.0"
-async-timeout = {version = ">=4.0.0,<5.0.0", markers = "python_version < \"3.11\""}
-dataclasses-json = ">=0.5.7,<0.6.0"
-gptcache = ">=0.1.7"
-numpy = ">=1,<2"
-openapi-schema-pydantic = ">=1.2,<2.0"
-pydantic = ">=1,<2"
-PyYAML = ">=5.4.1"
-requests = ">=2,<3"
-SQLAlchemy = ">=1,<2"
-tenacity = ">=8.1.0,<9.0.0"
-
-[package.extras]
-all = ["aleph-alpha-client (>=2.15.0,<3.0.0)", "anthropic (>=0.2.6,<0.3.0)", "beautifulsoup4 (>=4,<5)", "cohere (>=3,<4)", "deeplake (>=3.2.21,<4.0.0)", "elasticsearch (>=8,<9)", "faiss-cpu (>=1,<2)", "google-api-python-client (==2.70.0)", "google-search-results (>=2,<3)", "huggingface_hub (>=0,<1)", "jina (>=3.14,<4.0)", "jinja2 (>=3,<4)", "manifest-ml (>=0.0.1,<0.0.2)", "networkx (>=2.6.3,<3.0.0)", "nlpcloud (>=1,<2)", "nltk (>=3,<4)", "nomic (>=1.0.43,<2.0.0)", "openai (>=0,<1)", "opensearch-py (>=2.0.0,<3.0.0)", "pgvector (>=0.1.6,<0.2.0)", "pinecone-client (>=2,<3)", "pinecone-text (>=0.4.2,<0.5.0)", "psycopg2-binary (>=2.9.5,<3.0.0)", "pyowm (>=3.3.0,<4.0.0)", "pypdf (>=3.4.0,<4.0.0)", "qdrant-client (>=1.1.2,<2.0.0)", "redis (>=4,<5)", "sentence-transformers (>=2,<3)", "spacy (>=3,<4)", "tensorflow-text (>=2.11.0,<3.0.0)", "tiktoken (>=0.3.2,<0.4.0)", "torch (>=1,<3)", "transformers (>=4,<5)", "weaviate-client (>=3,<4)", "wikipedia (>=1,<2)", "wolframalpha (==5.0.0)"]
-cohere = ["cohere (>=3,<4)"]
-llms = ["anthropic (>=0.2.6,<0.3.0)", "cohere (>=3,<4)", "huggingface_hub (>=0,<1)", "manifest-ml (>=0.0.1,<0.0.2)", "nlpcloud (>=1,<2)", "openai (>=0,<1)", "torch (>=1,<3)", "transformers (>=4,<5)"]
-openai = ["openai (>=0,<1)"]
-qdrant = ["qdrant-client (>=1.1.2,<2.0.0)"]
-
-[[package]]
-name = "marshmallow"
-version = "3.19.0"
-description = "A lightweight library for converting complex datatypes to and from native Python datatypes."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "marshmallow-3.19.0-py3-none-any.whl", hash = "sha256:93f0958568da045b0021ec6aeb7ac37c81bfcccbb9a0e7ed8559885070b3a19b"},
- {file = "marshmallow-3.19.0.tar.gz", hash = "sha256:90032c0fd650ce94b6ec6dc8dfeb0e3ff50c144586462c389b81a07205bedb78"},
-]
-
-[package.dependencies]
-packaging = ">=17.0"
-
-[package.extras]
-dev = ["flake8 (==5.0.4)", "flake8-bugbear (==22.10.25)", "mypy (==0.990)", "pre-commit (>=2.4,<3.0)", "pytest", "pytz", "simplejson", "tox"]
-docs = ["alabaster (==0.7.12)", "autodocsumm (==0.2.9)", "sphinx (==5.3.0)", "sphinx-issues (==3.0.1)", "sphinx-version-warning (==1.1.2)"]
-lint = ["flake8 (==5.0.4)", "flake8-bugbear (==22.10.25)", "mypy (==0.990)", "pre-commit (>=2.4,<3.0)"]
-tests = ["pytest", "pytz", "simplejson"]
-
-[[package]]
-name = "marshmallow-enum"
-version = "1.5.1"
-description = "Enum field for Marshmallow"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "marshmallow-enum-1.5.1.tar.gz", hash = "sha256:38e697e11f45a8e64b4a1e664000897c659b60aa57bfa18d44e226a9920b6e58"},
- {file = "marshmallow_enum-1.5.1-py2.py3-none-any.whl", hash = "sha256:57161ab3dbfde4f57adeb12090f39592e992b9c86d206d02f6bd03ebec60f072"},
-]
-
-[package.dependencies]
-marshmallow = ">=2.0.0"
-
-[[package]]
-name = "multidict"
-version = "6.0.4"
-description = "multidict implementation"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:0b1a97283e0c85772d613878028fec909f003993e1007eafa715b24b377cb9b8"},
- {file = "multidict-6.0.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:eeb6dcc05e911516ae3d1f207d4b0520d07f54484c49dfc294d6e7d63b734171"},
- {file = "multidict-6.0.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:d6d635d5209b82a3492508cf5b365f3446afb65ae7ebd755e70e18f287b0adf7"},
- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c048099e4c9e9d615545e2001d3d8a4380bd403e1a0578734e0d31703d1b0c0b"},
- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ea20853c6dbbb53ed34cb4d080382169b6f4554d394015f1bef35e881bf83547"},
- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16d232d4e5396c2efbbf4f6d4df89bfa905eb0d4dc5b3549d872ab898451f569"},
- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:36c63aaa167f6c6b04ef2c85704e93af16c11d20de1d133e39de6a0e84582a93"},
- {file = "multidict-6.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:64bdf1086b6043bf519869678f5f2757f473dee970d7abf6da91ec00acb9cb98"},
- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:43644e38f42e3af682690876cff722d301ac585c5b9e1eacc013b7a3f7b696a0"},
- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:7582a1d1030e15422262de9f58711774e02fa80df0d1578995c76214f6954988"},
- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:ddff9c4e225a63a5afab9dd15590432c22e8057e1a9a13d28ed128ecf047bbdc"},
- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:ee2a1ece51b9b9e7752e742cfb661d2a29e7bcdba2d27e66e28a99f1890e4fa0"},
- {file = "multidict-6.0.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a2e4369eb3d47d2034032a26c7a80fcb21a2cb22e1173d761a162f11e562caa5"},
- {file = "multidict-6.0.4-cp310-cp310-win32.whl", hash = "sha256:574b7eae1ab267e5f8285f0fe881f17efe4b98c39a40858247720935b893bba8"},
- {file = "multidict-6.0.4-cp310-cp310-win_amd64.whl", hash = "sha256:4dcbb0906e38440fa3e325df2359ac6cb043df8e58c965bb45f4e406ecb162cc"},
- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0dfad7a5a1e39c53ed00d2dd0c2e36aed4650936dc18fd9a1826a5ae1cad6f03"},
- {file = "multidict-6.0.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:64da238a09d6039e3bd39bb3aee9c21a5e34f28bfa5aa22518581f910ff94af3"},
- {file = "multidict-6.0.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ff959bee35038c4624250473988b24f846cbeb2c6639de3602c073f10410ceba"},
- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:01a3a55bd90018c9c080fbb0b9f4891db37d148a0a18722b42f94694f8b6d4c9"},
- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c5cb09abb18c1ea940fb99360ea0396f34d46566f157122c92dfa069d3e0e982"},
- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666daae833559deb2d609afa4490b85830ab0dfca811a98b70a205621a6109fe"},
- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11bdf3f5e1518b24530b8241529d2050014c884cf18b6fc69c0c2b30ca248710"},
- {file = "multidict-6.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7d18748f2d30f94f498e852c67d61261c643b349b9d2a581131725595c45ec6c"},
- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:458f37be2d9e4c95e2d8866a851663cbc76e865b78395090786f6cd9b3bbf4f4"},
- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:b1a2eeedcead3a41694130495593a559a668f382eee0727352b9a41e1c45759a"},
- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:7d6ae9d593ef8641544d6263c7fa6408cc90370c8cb2bbb65f8d43e5b0351d9c"},
- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:5979b5632c3e3534e42ca6ff856bb24b2e3071b37861c2c727ce220d80eee9ed"},
- {file = "multidict-6.0.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:dcfe792765fab89c365123c81046ad4103fcabbc4f56d1c1997e6715e8015461"},
- {file = "multidict-6.0.4-cp311-cp311-win32.whl", hash = "sha256:3601a3cece3819534b11d4efc1eb76047488fddd0c85a3948099d5da4d504636"},
- {file = "multidict-6.0.4-cp311-cp311-win_amd64.whl", hash = "sha256:81a4f0b34bd92df3da93315c6a59034df95866014ac08535fc819f043bfd51f0"},
- {file = "multidict-6.0.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:67040058f37a2a51ed8ea8f6b0e6ee5bd78ca67f169ce6122f3e2ec80dfe9b78"},
- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:853888594621e6604c978ce2a0444a1e6e70c8d253ab65ba11657659dcc9100f"},
- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:39ff62e7d0f26c248b15e364517a72932a611a9b75f35b45be078d81bdb86603"},
- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:af048912e045a2dc732847d33821a9d84ba553f5c5f028adbd364dd4765092ac"},
- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1e8b901e607795ec06c9e42530788c45ac21ef3aaa11dbd0c69de543bfb79a9"},
- {file = "multidict-6.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62501642008a8b9871ddfccbf83e4222cf8ac0d5aeedf73da36153ef2ec222d2"},
- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:99b76c052e9f1bc0721f7541e5e8c05db3941eb9ebe7b8553c625ef88d6eefde"},
- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:509eac6cf09c794aa27bcacfd4d62c885cce62bef7b2c3e8b2e49d365b5003fe"},
- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:21a12c4eb6ddc9952c415f24eef97e3e55ba3af61f67c7bc388dcdec1404a067"},
- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:5cad9430ab3e2e4fa4a2ef4450f548768400a2ac635841bc2a56a2052cdbeb87"},
- {file = "multidict-6.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ab55edc2e84460694295f401215f4a58597f8f7c9466faec545093045476327d"},
- {file = "multidict-6.0.4-cp37-cp37m-win32.whl", hash = "sha256:5a4dcf02b908c3b8b17a45fb0f15b695bf117a67b76b7ad18b73cf8e92608775"},
- {file = "multidict-6.0.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6ed5f161328b7df384d71b07317f4d8656434e34591f20552c7bcef27b0ab88e"},
- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5fc1b16f586f049820c5c5b17bb4ee7583092fa0d1c4e28b5239181ff9532e0c"},
- {file = "multidict-6.0.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1502e24330eb681bdaa3eb70d6358e818e8e8f908a22a1851dfd4e15bc2f8161"},
- {file = "multidict-6.0.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b692f419760c0e65d060959df05f2a531945af31fda0c8a3b3195d4efd06de11"},
- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45e1ecb0379bfaab5eef059f50115b54571acfbe422a14f668fc8c27ba410e7e"},
- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ddd3915998d93fbcd2566ddf9cf62cdb35c9e093075f862935573d265cf8f65d"},
- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:59d43b61c59d82f2effb39a93c48b845efe23a3852d201ed2d24ba830d0b4cf2"},
- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cc8e1d0c705233c5dd0c5e6460fbad7827d5d36f310a0fadfd45cc3029762258"},
- {file = "multidict-6.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6aa0418fcc838522256761b3415822626f866758ee0bc6632c9486b179d0b52"},
- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6748717bb10339c4760c1e63da040f5f29f5ed6e59d76daee30305894069a660"},
- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4d1a3d7ef5e96b1c9e92f973e43aa5e5b96c659c9bc3124acbbd81b0b9c8a951"},
- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4372381634485bec7e46718edc71528024fcdc6f835baefe517b34a33c731d60"},
- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:fc35cb4676846ef752816d5be2193a1e8367b4c1397b74a565a9d0389c433a1d"},
- {file = "multidict-6.0.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:4b9d9e4e2b37daddb5c23ea33a3417901fa7c7b3dee2d855f63ee67a0b21e5b1"},
- {file = "multidict-6.0.4-cp38-cp38-win32.whl", hash = "sha256:e41b7e2b59679edfa309e8db64fdf22399eec4b0b24694e1b2104fb789207779"},
- {file = "multidict-6.0.4-cp38-cp38-win_amd64.whl", hash = "sha256:d6c254ba6e45d8e72739281ebc46ea5eb5f101234f3ce171f0e9f5cc86991480"},
- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:16ab77bbeb596e14212e7bab8429f24c1579234a3a462105cda4a66904998664"},
- {file = "multidict-6.0.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bc779e9e6f7fda81b3f9aa58e3a6091d49ad528b11ed19f6621408806204ad35"},
- {file = "multidict-6.0.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:4ceef517eca3e03c1cceb22030a3e39cb399ac86bff4e426d4fc6ae49052cc60"},
- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:281af09f488903fde97923c7744bb001a9b23b039a909460d0f14edc7bf59706"},
- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:52f2dffc8acaba9a2f27174c41c9e57f60b907bb9f096b36b1a1f3be71c6284d"},
- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b41156839806aecb3641f3208c0dafd3ac7775b9c4c422d82ee2a45c34ba81ca"},
- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5e3fc56f88cc98ef8139255cf8cd63eb2c586531e43310ff859d6bb3a6b51f1"},
- {file = "multidict-6.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8316a77808c501004802f9beebde51c9f857054a0c871bd6da8280e718444449"},
- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f70b98cd94886b49d91170ef23ec5c0e8ebb6f242d734ed7ed677b24d50c82cf"},
- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bf6774e60d67a9efe02b3616fee22441d86fab4c6d335f9d2051d19d90a40063"},
- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:e69924bfcdda39b722ef4d9aa762b2dd38e4632b3641b1d9a57ca9cd18f2f83a"},
- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:6b181d8c23da913d4ff585afd1155a0e1194c0b50c54fcfe286f70cdaf2b7176"},
- {file = "multidict-6.0.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:52509b5be062d9eafc8170e53026fbc54cf3b32759a23d07fd935fb04fc22d95"},
- {file = "multidict-6.0.4-cp39-cp39-win32.whl", hash = "sha256:27c523fbfbdfd19c6867af7346332b62b586eed663887392cff78d614f9ec313"},
- {file = "multidict-6.0.4-cp39-cp39-win_amd64.whl", hash = "sha256:33029f5734336aa0d4c0384525da0387ef89148dc7191aae00ca5fb23d7aafc2"},
- {file = "multidict-6.0.4.tar.gz", hash = "sha256:3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49"},
-]
-
-[[package]]
-name = "mypy-extensions"
-version = "1.0.0"
-description = "Type system extensions for programs checked with the mypy type checker."
-category = "main"
-optional = false
-python-versions = ">=3.5"
-files = [
- {file = "mypy_extensions-1.0.0-py3-none-any.whl", hash = "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d"},
- {file = "mypy_extensions-1.0.0.tar.gz", hash = "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782"},
-]
-
-[[package]]
-name = "numpy"
-version = "1.24.3"
-description = "Fundamental package for array computing in Python"
-category = "main"
-optional = false
-python-versions = ">=3.8"
-files = [
- {file = "numpy-1.24.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3c1104d3c036fb81ab923f507536daedc718d0ad5a8707c6061cdfd6d184e570"},
- {file = "numpy-1.24.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:202de8f38fc4a45a3eea4b63e2f376e5f2dc64ef0fa692838e31a808520efaf7"},
- {file = "numpy-1.24.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8535303847b89aa6b0f00aa1dc62867b5a32923e4d1681a35b5eef2d9591a463"},
- {file = "numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2d926b52ba1367f9acb76b0df6ed21f0b16a1ad87c6720a1121674e5cf63e2b6"},
- {file = "numpy-1.24.3-cp310-cp310-win32.whl", hash = "sha256:f21c442fdd2805e91799fbe044a7b999b8571bb0ab0f7850d0cb9641a687092b"},
- {file = "numpy-1.24.3-cp310-cp310-win_amd64.whl", hash = "sha256:ab5f23af8c16022663a652d3b25dcdc272ac3f83c3af4c02eb8b824e6b3ab9d7"},
- {file = "numpy-1.24.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9a7721ec204d3a237225db3e194c25268faf92e19338a35f3a224469cb6039a3"},
- {file = "numpy-1.24.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d6cc757de514c00b24ae8cf5c876af2a7c3df189028d68c0cb4eaa9cd5afc2bf"},
- {file = "numpy-1.24.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76e3f4e85fc5d4fd311f6e9b794d0c00e7002ec122be271f2019d63376f1d385"},
- {file = "numpy-1.24.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a1d3c026f57ceaad42f8231305d4653d5f05dc6332a730ae5c0bea3513de0950"},
- {file = "numpy-1.24.3-cp311-cp311-win32.whl", hash = "sha256:c91c4afd8abc3908e00a44b2672718905b8611503f7ff87390cc0ac3423fb096"},
- {file = "numpy-1.24.3-cp311-cp311-win_amd64.whl", hash = "sha256:5342cf6aad47943286afa6f1609cad9b4266a05e7f2ec408e2cf7aea7ff69d80"},
- {file = "numpy-1.24.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7776ea65423ca6a15255ba1872d82d207bd1e09f6d0894ee4a64678dd2204078"},
- {file = "numpy-1.24.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ae8d0be48d1b6ed82588934aaaa179875e7dc4f3d84da18d7eae6eb3f06c242c"},
- {file = "numpy-1.24.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ecde0f8adef7dfdec993fd54b0f78183051b6580f606111a6d789cd14c61ea0c"},
- {file = "numpy-1.24.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4749e053a29364d3452c034827102ee100986903263e89884922ef01a0a6fd2f"},
- {file = "numpy-1.24.3-cp38-cp38-win32.whl", hash = "sha256:d933fabd8f6a319e8530d0de4fcc2e6a61917e0b0c271fded460032db42a0fe4"},
- {file = "numpy-1.24.3-cp38-cp38-win_amd64.whl", hash = "sha256:56e48aec79ae238f6e4395886b5eaed058abb7231fb3361ddd7bfdf4eed54289"},
- {file = "numpy-1.24.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:4719d5aefb5189f50887773699eaf94e7d1e02bf36c1a9d353d9f46703758ca4"},
- {file = "numpy-1.24.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0ec87a7084caa559c36e0a2309e4ecb1baa03b687201d0a847c8b0ed476a7187"},
- {file = "numpy-1.24.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea8282b9bcfe2b5e7d491d0bf7f3e2da29700cec05b49e64d6246923329f2b02"},
- {file = "numpy-1.24.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:210461d87fb02a84ef243cac5e814aad2b7f4be953b32cb53327bb49fd77fbb4"},
- {file = "numpy-1.24.3-cp39-cp39-win32.whl", hash = "sha256:784c6da1a07818491b0ffd63c6bbe5a33deaa0e25a20e1b3ea20cf0e43f8046c"},
- {file = "numpy-1.24.3-cp39-cp39-win_amd64.whl", hash = "sha256:d5036197ecae68d7f491fcdb4df90082b0d4960ca6599ba2659957aafced7c17"},
- {file = "numpy-1.24.3-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:352ee00c7f8387b44d19f4cada524586f07379c0d49270f87233983bc5087ca0"},
- {file = "numpy-1.24.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a7d6acc2e7524c9955e5c903160aa4ea083736fde7e91276b0e5d98e6332812"},
- {file = "numpy-1.24.3-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:35400e6a8d102fd07c71ed7dcadd9eb62ee9a6e84ec159bd48c28235bbb0f8e4"},
- {file = "numpy-1.24.3.tar.gz", hash = "sha256:ab344f1bf21f140adab8e47fdbc7c35a477dc01408791f8ba00d018dd0bc5155"},
-]
-
-[[package]]
-name = "openai"
-version = "0.27.8"
-description = "Python client library for the OpenAI API"
-category = "main"
-optional = false
-python-versions = ">=3.7.1"
-files = [
- {file = "openai-0.27.8-py3-none-any.whl", hash = "sha256:e0a7c2f7da26bdbe5354b03c6d4b82a2f34bd4458c7a17ae1a7092c3e397e03c"},
- {file = "openai-0.27.8.tar.gz", hash = "sha256:2483095c7db1eee274cebac79e315a986c4e55207bb4fa7b82d185b3a2ed9536"},
-]
-
-[package.dependencies]
-aiohttp = "*"
-requests = ">=2.20"
-tqdm = "*"
-
-[package.extras]
-datalib = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)"]
-dev = ["black (>=21.6b0,<22.0)", "pytest (>=6.0.0,<7.0.0)", "pytest-asyncio", "pytest-mock"]
-embeddings = ["matplotlib", "numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "plotly", "scikit-learn (>=1.0.2)", "scipy", "tenacity (>=8.0.1)"]
-wandb = ["numpy", "openpyxl (>=3.0.7)", "pandas (>=1.2.3)", "pandas-stubs (>=1.1.0.11)", "wandb"]
-
-[[package]]
-name = "openapi-schema-pydantic"
-version = "1.2.4"
-description = "OpenAPI (v3) specification schema as pydantic class"
-category = "main"
-optional = false
-python-versions = ">=3.6.1"
-files = [
- {file = "openapi-schema-pydantic-1.2.4.tar.gz", hash = "sha256:3e22cf58b74a69f752cc7e5f1537f6e44164282db2700cbbcd3bb99ddd065196"},
- {file = "openapi_schema_pydantic-1.2.4-py3-none-any.whl", hash = "sha256:a932ecc5dcbb308950282088956e94dea069c9823c84e507d64f6b622222098c"},
-]
-
-[package.dependencies]
-pydantic = ">=1.8.2"
-
-[[package]]
-name = "opentelemetry-api"
-version = "1.18.0"
-description = "OpenTelemetry Python API"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_api-1.18.0-py3-none-any.whl", hash = "sha256:d05bcc94ec239fd76fd90d784c5e3ad081a8a1ac2ffc8a2c83a49ace052d1492"},
- {file = "opentelemetry_api-1.18.0.tar.gz", hash = "sha256:2bbf29739fcef268c419e3bf1735566c2e7f81026c14bcc78b62a0b97f8ecf2f"},
-]
-
-[package.dependencies]
-deprecated = ">=1.2.6"
-importlib-metadata = ">=6.0.0,<6.1.0"
-setuptools = ">=16.0"
-
-[[package]]
-name = "opentelemetry-distro"
-version = "0.39b0"
-description = "OpenTelemetry Python Distro"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_distro-0.39b0-py3-none-any.whl", hash = "sha256:5e29abbdde6766fd8debe45fe460350daa9161b926b1a3998ffcd371f8f3f525"},
- {file = "opentelemetry_distro-0.39b0.tar.gz", hash = "sha256:994066df104e0b4ee857708851509806e246a7cfd1ad3c8f875b8d4c4bf72e96"},
-]
-
-[package.dependencies]
-opentelemetry-api = ">=1.12,<2.0"
-opentelemetry-instrumentation = "0.39b0"
-opentelemetry-sdk = ">=1.13,<2.0"
-
-[package.extras]
-otlp = ["opentelemetry-exporter-otlp (==1.18.0)"]
-
-[[package]]
-name = "opentelemetry-exporter-otlp"
-version = "1.18.0"
-description = "OpenTelemetry Collector Exporters"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_exporter_otlp-1.18.0-py3-none-any.whl", hash = "sha256:2b8d18aa3f8fa360df2fe6c274132cf38939a02f8aa621d6ed060a920aa9e4c6"},
- {file = "opentelemetry_exporter_otlp-1.18.0.tar.gz", hash = "sha256:cafcf7f28debbcc22e06d52cdc4f65a118f17b730dabe8f9d4b87587e95b1481"},
-]
-
-[package.dependencies]
-opentelemetry-exporter-otlp-proto-grpc = "1.18.0"
-opentelemetry-exporter-otlp-proto-http = "1.18.0"
-
-[[package]]
-name = "opentelemetry-exporter-otlp-proto-common"
-version = "1.18.0"
-description = "OpenTelemetry Protobuf encoding"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_exporter_otlp_proto_common-1.18.0-py3-none-any.whl", hash = "sha256:276073ccc8c6e6570fe05ca8ca0de77d662bc89bc614ec8bfbc855112f7e25e3"},
- {file = "opentelemetry_exporter_otlp_proto_common-1.18.0.tar.gz", hash = "sha256:4d9883d6929aabe75e485950bbe8b149a14d95e50b1570426832daa6913b0871"},
-]
-
-[package.dependencies]
-opentelemetry-proto = "1.18.0"
-
-[[package]]
-name = "opentelemetry-exporter-otlp-proto-grpc"
-version = "1.18.0"
-description = "OpenTelemetry Collector Protobuf over gRPC Exporter"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_exporter_otlp_proto_grpc-1.18.0-py3-none-any.whl", hash = "sha256:c773bc9df2c9d6464f0d5936963399b2fc440f0616c1277f29512d540ad7e0a2"},
- {file = "opentelemetry_exporter_otlp_proto_grpc-1.18.0.tar.gz", hash = "sha256:8eddfde4267da876871e62f1b58369986bdb7e47e43032c498f1ea807d7191c4"},
-]
-
-[package.dependencies]
-backoff = {version = ">=1.10.0,<3.0.0", markers = "python_version >= \"3.7\""}
-deprecated = ">=1.2.6"
-googleapis-common-protos = ">=1.52,<2.0"
-grpcio = ">=1.0.0,<2.0.0"
-opentelemetry-api = ">=1.15,<2.0"
-opentelemetry-exporter-otlp-proto-common = "1.18.0"
-opentelemetry-proto = "1.18.0"
-opentelemetry-sdk = ">=1.18.0,<1.19.0"
-
-[package.extras]
-test = ["pytest-grpc"]
-
-[[package]]
-name = "opentelemetry-exporter-otlp-proto-http"
-version = "1.18.0"
-description = "OpenTelemetry Collector Protobuf over HTTP Exporter"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_exporter_otlp_proto_http-1.18.0-py3-none-any.whl", hash = "sha256:c22110705473f1c61bd4d74ded3b8bd3fac66ffbe7d9ba376267d8539919ed90"},
- {file = "opentelemetry_exporter_otlp_proto_http-1.18.0.tar.gz", hash = "sha256:d9a2118558decf9e9a2d6573ad9d33876f3a44d7dc43f10d38a900d5a6f867d6"},
-]
-
-[package.dependencies]
-backoff = {version = ">=1.10.0,<3.0.0", markers = "python_version >= \"3.7\""}
-deprecated = ">=1.2.6"
-googleapis-common-protos = ">=1.52,<2.0"
-opentelemetry-api = ">=1.15,<2.0"
-opentelemetry-exporter-otlp-proto-common = "1.18.0"
-opentelemetry-proto = "1.18.0"
-opentelemetry-sdk = ">=1.18.0,<1.19.0"
-requests = ">=2.7,<3.0"
-
-[package.extras]
-test = ["responses (==0.22.0)"]
-
-[[package]]
-name = "opentelemetry-instrumentation"
-version = "0.39b0"
-description = "Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_instrumentation-0.39b0-py3-none-any.whl", hash = "sha256:fcfd74413159fe797e343104f7e85a3f8146713634debcac10a057ac7f1eb011"},
- {file = "opentelemetry_instrumentation-0.39b0.tar.gz", hash = "sha256:2a6d1f386aa769dc763e6f2c6b483f50c4024f1bc76a78b57f05ae05970ce5f4"},
-]
-
-[package.dependencies]
-opentelemetry-api = ">=1.4,<2.0"
-setuptools = ">=16.0"
-wrapt = ">=1.0.0,<2.0.0"
-
-[[package]]
-name = "opentelemetry-proto"
-version = "1.18.0"
-description = "OpenTelemetry Python Proto"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_proto-1.18.0-py3-none-any.whl", hash = "sha256:34d1c49283f0246a58761d9322d5a79702a09afda0bb181bb6378ed26862e446"},
- {file = "opentelemetry_proto-1.18.0.tar.gz", hash = "sha256:4f38d01049c3926b9fd09833574bfb5e172d84c8ca85e2ab7f4b5a198d75aeef"},
-]
-
-[package.dependencies]
-protobuf = ">=3.19,<5.0"
-
-[[package]]
-name = "opentelemetry-sdk"
-version = "1.18.0"
-description = "OpenTelemetry Python SDK"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_sdk-1.18.0-py3-none-any.whl", hash = "sha256:a097cc1e0db6ff33b4d250a9350dc17975d24a22aa667fca2866e60c51306723"},
- {file = "opentelemetry_sdk-1.18.0.tar.gz", hash = "sha256:cd3230930a2ab288b1df149d261e9cd2bd48dee54ad18465a777831cb6779e90"},
-]
-
-[package.dependencies]
-opentelemetry-api = "1.18.0"
-opentelemetry-semantic-conventions = "0.39b0"
-setuptools = ">=16.0"
-typing-extensions = ">=3.7.4"
-
-[[package]]
-name = "opentelemetry-semantic-conventions"
-version = "0.39b0"
-description = "OpenTelemetry Semantic Conventions"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "opentelemetry_semantic_conventions-0.39b0-py3-none-any.whl", hash = "sha256:0dd7a9dc0dfde2335f643705bba8f7c44182c797bc208b7601f0b8e8211cfd5c"},
- {file = "opentelemetry_semantic_conventions-0.39b0.tar.gz", hash = "sha256:06a9f198574e0dab6ebc072b59d89092cf9f115638a8a02157586769b6b7a69a"},
-]
-
-[[package]]
-name = "packaging"
-version = "23.1"
-description = "Core utilities for Python packages"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"},
- {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"},
-]
-
-[[package]]
-name = "pluggy"
-version = "1.0.0"
-description = "plugin and hook calling mechanisms for python"
-category = "dev"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"},
- {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"},
-]
-
-[package.extras]
-dev = ["pre-commit", "tox"]
-testing = ["pytest", "pytest-benchmark"]
-
-[[package]]
-name = "postgrest"
-version = "0.10.6"
-description = "PostgREST client for Python. This library provides an ORM interface to PostgREST."
-category = "main"
-optional = false
-python-versions = ">=3.8,<4.0"
-files = [
- {file = "postgrest-0.10.6-py3-none-any.whl", hash = "sha256:7302068ce3cd80e761e35d6d665d3e65632442488258e3299c008013119d7fe6"},
- {file = "postgrest-0.10.6.tar.gz", hash = "sha256:ee145d53ea8642a16fa7f42848443baa08ae1e6f41e071865f5f54bcb3b24aa3"},
-]
-
-[package.dependencies]
-deprecation = ">=2.1.0,<3.0.0"
-httpx = ">=0.23.0,<0.24.0"
-pydantic = ">=1.9.0,<2.0.0"
-strenum = ">=0.4.9,<0.5.0"
-
-[[package]]
-name = "protobuf"
-version = "4.23.2"
-description = ""
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "protobuf-4.23.2-cp310-abi3-win32.whl", hash = "sha256:384dd44cb4c43f2ccddd3645389a23ae61aeb8cfa15ca3a0f60e7c3ea09b28b3"},
- {file = "protobuf-4.23.2-cp310-abi3-win_amd64.whl", hash = "sha256:09310bce43353b46d73ba7e3bca78273b9bc50349509b9698e64d288c6372c2a"},
- {file = "protobuf-4.23.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:b2cfab63a230b39ae603834718db74ac11e52bccaaf19bf20f5cce1a84cf76df"},
- {file = "protobuf-4.23.2-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:c52cfcbfba8eb791255edd675c1fe6056f723bf832fa67f0442218f8817c076e"},
- {file = "protobuf-4.23.2-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:86df87016d290143c7ce3be3ad52d055714ebaebb57cc659c387e76cfacd81aa"},
- {file = "protobuf-4.23.2-cp37-cp37m-win32.whl", hash = "sha256:281342ea5eb631c86697e1e048cb7e73b8a4e85f3299a128c116f05f5c668f8f"},
- {file = "protobuf-4.23.2-cp37-cp37m-win_amd64.whl", hash = "sha256:ce744938406de1e64b91410f473736e815f28c3b71201302612a68bf01517fea"},
- {file = "protobuf-4.23.2-cp38-cp38-win32.whl", hash = "sha256:6c081863c379bb1741be8f8193e893511312b1d7329b4a75445d1ea9955be69e"},
- {file = "protobuf-4.23.2-cp38-cp38-win_amd64.whl", hash = "sha256:25e3370eda26469b58b602e29dff069cfaae8eaa0ef4550039cc5ef8dc004511"},
- {file = "protobuf-4.23.2-cp39-cp39-win32.whl", hash = "sha256:efabbbbac1ab519a514579ba9ec52f006c28ae19d97915951f69fa70da2c9e91"},
- {file = "protobuf-4.23.2-cp39-cp39-win_amd64.whl", hash = "sha256:54a533b971288af3b9926e53850c7eb186886c0c84e61daa8444385a4720297f"},
- {file = "protobuf-4.23.2-py3-none-any.whl", hash = "sha256:8da6070310d634c99c0db7df48f10da495cc283fd9e9234877f0cd182d43ab7f"},
- {file = "protobuf-4.23.2.tar.gz", hash = "sha256:20874e7ca4436f683b64ebdbee2129a5a2c301579a67d1a7dda2cdf62fb7f5f7"},
-]
-
-[[package]]
-name = "pydantic"
-version = "1.10.9"
-description = "Data validation and settings management using python type hints"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "pydantic-1.10.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e692dec4a40bfb40ca530e07805b1208c1de071a18d26af4a2a0d79015b352ca"},
- {file = "pydantic-1.10.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3c52eb595db83e189419bf337b59154bdcca642ee4b2a09e5d7797e41ace783f"},
- {file = "pydantic-1.10.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:939328fd539b8d0edf244327398a667b6b140afd3bf7e347cf9813c736211896"},
- {file = "pydantic-1.10.9-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b48d3d634bca23b172f47f2335c617d3fcb4b3ba18481c96b7943a4c634f5c8d"},
- {file = "pydantic-1.10.9-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:f0b7628fb8efe60fe66fd4adadd7ad2304014770cdc1f4934db41fe46cc8825f"},
- {file = "pydantic-1.10.9-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:e1aa5c2410769ca28aa9a7841b80d9d9a1c5f223928ca8bec7e7c9a34d26b1d4"},
- {file = "pydantic-1.10.9-cp310-cp310-win_amd64.whl", hash = "sha256:eec39224b2b2e861259d6f3c8b6290d4e0fbdce147adb797484a42278a1a486f"},
- {file = "pydantic-1.10.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d111a21bbbfd85c17248130deac02bbd9b5e20b303338e0dbe0faa78330e37e0"},
- {file = "pydantic-1.10.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2e9aec8627a1a6823fc62fb96480abe3eb10168fd0d859ee3d3b395105ae19a7"},
- {file = "pydantic-1.10.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:07293ab08e7b4d3c9d7de4949a0ea571f11e4557d19ea24dd3ae0c524c0c334d"},
- {file = "pydantic-1.10.9-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7ee829b86ce984261d99ff2fd6e88f2230068d96c2a582f29583ed602ef3fc2c"},
- {file = "pydantic-1.10.9-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:4b466a23009ff5cdd7076eb56aca537c745ca491293cc38e72bf1e0e00de5b91"},
- {file = "pydantic-1.10.9-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:7847ca62e581e6088d9000f3c497267868ca2fa89432714e21a4fb33a04d52e8"},
- {file = "pydantic-1.10.9-cp311-cp311-win_amd64.whl", hash = "sha256:7845b31959468bc5b78d7b95ec52fe5be32b55d0d09983a877cca6aedc51068f"},
- {file = "pydantic-1.10.9-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:517a681919bf880ce1dac7e5bc0c3af1e58ba118fd774da2ffcd93c5f96eaece"},
- {file = "pydantic-1.10.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67195274fd27780f15c4c372f4ba9a5c02dad6d50647b917b6a92bf00b3d301a"},
- {file = "pydantic-1.10.9-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2196c06484da2b3fded1ab6dbe182bdabeb09f6318b7fdc412609ee2b564c49a"},
- {file = "pydantic-1.10.9-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:6257bb45ad78abacda13f15bde5886efd6bf549dd71085e64b8dcf9919c38b60"},
- {file = "pydantic-1.10.9-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:3283b574b01e8dbc982080d8287c968489d25329a463b29a90d4157de4f2baaf"},
- {file = "pydantic-1.10.9-cp37-cp37m-win_amd64.whl", hash = "sha256:5f8bbaf4013b9a50e8100333cc4e3fa2f81214033e05ac5aa44fa24a98670a29"},
- {file = "pydantic-1.10.9-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9cd67fb763248cbe38f0593cd8611bfe4b8ad82acb3bdf2b0898c23415a1f82"},
- {file = "pydantic-1.10.9-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f50e1764ce9353be67267e7fd0da08349397c7db17a562ad036aa7c8f4adfdb6"},
- {file = "pydantic-1.10.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:73ef93e5e1d3c8e83f1ff2e7fdd026d9e063c7e089394869a6e2985696693766"},
- {file = "pydantic-1.10.9-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:128d9453d92e6e81e881dd7e2484e08d8b164da5507f62d06ceecf84bf2e21d3"},
- {file = "pydantic-1.10.9-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ad428e92ab68798d9326bb3e5515bc927444a3d71a93b4a2ca02a8a5d795c572"},
- {file = "pydantic-1.10.9-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:fab81a92f42d6d525dd47ced310b0c3e10c416bbfae5d59523e63ea22f82b31e"},
- {file = "pydantic-1.10.9-cp38-cp38-win_amd64.whl", hash = "sha256:963671eda0b6ba6926d8fc759e3e10335e1dc1b71ff2a43ed2efd6996634dafb"},
- {file = "pydantic-1.10.9-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:970b1bdc6243ef663ba5c7e36ac9ab1f2bfecb8ad297c9824b542d41a750b298"},
- {file = "pydantic-1.10.9-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7e1d5290044f620f80cf1c969c542a5468f3656de47b41aa78100c5baa2b8276"},
- {file = "pydantic-1.10.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:83fcff3c7df7adff880622a98022626f4f6dbce6639a88a15a3ce0f96466cb60"},
- {file = "pydantic-1.10.9-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0da48717dc9495d3a8f215e0d012599db6b8092db02acac5e0d58a65248ec5bc"},
- {file = "pydantic-1.10.9-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:0a2aabdc73c2a5960e87c3ffebca6ccde88665616d1fd6d3db3178ef427b267a"},
- {file = "pydantic-1.10.9-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:9863b9420d99dfa9c064042304868e8ba08e89081428a1c471858aa2af6f57c4"},
- {file = "pydantic-1.10.9-cp39-cp39-win_amd64.whl", hash = "sha256:e7c9900b43ac14110efa977be3da28931ffc74c27e96ee89fbcaaf0b0fe338e1"},
- {file = "pydantic-1.10.9-py3-none-any.whl", hash = "sha256:6cafde02f6699ce4ff643417d1a9223716ec25e228ddc3b436fe7e2d25a1f305"},
- {file = "pydantic-1.10.9.tar.gz", hash = "sha256:95c70da2cd3b6ddf3b9645ecaa8d98f3d80c606624b6d245558d202cd23ea3be"},
-]
-
-[package.dependencies]
-typing-extensions = ">=4.2.0"
-
-[package.extras]
-dotenv = ["python-dotenv (>=0.10.4)"]
-email = ["email-validator (>=1.0.3)"]
-
-[[package]]
-name = "pytest"
-version = "7.3.2"
-description = "pytest: simple powerful testing with Python"
-category = "dev"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "pytest-7.3.2-py3-none-any.whl", hash = "sha256:cdcbd012c9312258922f8cd3f1b62a6580fdced17db6014896053d47cddf9295"},
- {file = "pytest-7.3.2.tar.gz", hash = "sha256:ee990a3cc55ba808b80795a79944756f315c67c12b56abd3ac993a7b8c17030b"},
-]
-
-[package.dependencies]
-colorama = {version = "*", markers = "sys_platform == \"win32\""}
-exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
-iniconfig = "*"
-packaging = "*"
-pluggy = ">=0.12,<2.0"
-tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""}
-
-[package.extras]
-testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
-
-[[package]]
-name = "python-dateutil"
-version = "2.8.2"
-description = "Extensions to the standard Python datetime module"
-category = "main"
-optional = false
-python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
-files = [
- {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"},
- {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"},
-]
-
-[package.dependencies]
-six = ">=1.5"
-
-[[package]]
-name = "python-dotenv"
-version = "1.0.0"
-description = "Read key-value pairs from a .env file and set them as environment variables"
-category = "main"
-optional = false
-python-versions = ">=3.8"
-files = [
- {file = "python-dotenv-1.0.0.tar.gz", hash = "sha256:a8df96034aae6d2d50a4ebe8216326c61c3eb64836776504fcca410e5937a3ba"},
- {file = "python_dotenv-1.0.0-py3-none-any.whl", hash = "sha256:f5971a9226b701070a4bf2c38c89e5a3f0d64de8debda981d1db98583009122a"},
-]
-
-[package.extras]
-cli = ["click (>=5.0)"]
-
-[[package]]
-name = "pyyaml"
-version = "6.0"
-description = "YAML parser and emitter for Python"
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"},
- {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"},
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"},
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"},
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"},
- {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"},
- {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"},
- {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"},
- {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"},
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"},
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"},
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"},
- {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"},
- {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"},
- {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"},
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"},
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"},
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"},
- {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"},
- {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"},
- {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"},
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"},
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"},
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"},
- {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"},
- {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"},
- {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"},
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"},
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"},
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"},
- {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"},
- {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"},
- {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"},
- {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"},
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"},
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"},
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"},
- {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"},
- {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"},
- {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"},
-]
-
-[[package]]
-name = "requests"
-version = "2.31.0"
-description = "Python HTTP for Humans."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"},
- {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"},
-]
-
-[package.dependencies]
-certifi = ">=2017.4.17"
-charset-normalizer = ">=2,<4"
-idna = ">=2.5,<4"
-urllib3 = ">=1.21.1,<3"
-
-[package.extras]
-socks = ["PySocks (>=1.5.6,!=1.5.7)"]
-use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
-
-[[package]]
-name = "rfc3986"
-version = "1.5.0"
-description = "Validating URI References per RFC 3986"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "rfc3986-1.5.0-py2.py3-none-any.whl", hash = "sha256:a86d6e1f5b1dc238b218b012df0aa79409667bb209e58da56d0b94704e712a97"},
- {file = "rfc3986-1.5.0.tar.gz", hash = "sha256:270aaf10d87d0d4e095063c65bf3ddbc6ee3d0b226328ce21e036f946e421835"},
-]
-
-[package.dependencies]
-idna = {version = "*", optional = true, markers = "extra == \"idna2008\""}
-
-[package.extras]
-idna2008 = ["idna"]
-
-[[package]]
-name = "setuptools"
-version = "67.8.0"
-description = "Easily download, build, install, upgrade, and uninstall Python packages"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "setuptools-67.8.0-py3-none-any.whl", hash = "sha256:5df61bf30bb10c6f756eb19e7c9f3b473051f48db77fddbe06ff2ca307df9a6f"},
- {file = "setuptools-67.8.0.tar.gz", hash = "sha256:62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102"},
-]
-
-[package.extras]
-docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"]
-testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"]
-testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"]
-
-[[package]]
-name = "six"
-version = "1.16.0"
-description = "Python 2 and 3 compatibility utilities"
-category = "main"
-optional = false
-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
-files = [
- {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
- {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
-]
-
-[[package]]
-name = "sniffio"
-version = "1.3.0"
-description = "Sniff out which async library your code is running under"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "sniffio-1.3.0-py3-none-any.whl", hash = "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"},
- {file = "sniffio-1.3.0.tar.gz", hash = "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101"},
-]
-
-[[package]]
-name = "sqlalchemy"
-version = "1.4.48"
-description = "Database Abstraction Library"
-category = "main"
-optional = false
-python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
-files = [
- {file = "SQLAlchemy-1.4.48-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:4bac3aa3c3d8bc7408097e6fe8bf983caa6e9491c5d2e2488cfcfd8106f13b6a"},
- {file = "SQLAlchemy-1.4.48-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:dbcae0e528d755f4522cad5842f0942e54b578d79f21a692c44d91352ea6d64e"},
- {file = "SQLAlchemy-1.4.48-cp27-cp27m-win32.whl", hash = "sha256:cbbe8b8bffb199b225d2fe3804421b7b43a0d49983f81dc654d0431d2f855543"},
- {file = "SQLAlchemy-1.4.48-cp27-cp27m-win_amd64.whl", hash = "sha256:627e04a5d54bd50628fc8734d5fc6df2a1aa5962f219c44aad50b00a6cdcf965"},
- {file = "SQLAlchemy-1.4.48-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:9af1db7a287ef86e0f5cd990b38da6bd9328de739d17e8864f1817710da2d217"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-macosx_11_0_x86_64.whl", hash = "sha256:ce7915eecc9c14a93b73f4e1c9d779ca43e955b43ddf1e21df154184f39748e5"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5381ddd09a99638f429f4cbe1b71b025bed318f6a7b23e11d65f3eed5e181c33"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:87609f6d4e81a941a17e61a4c19fee57f795e96f834c4f0a30cee725fc3f81d9"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fb0808ad34167f394fea21bd4587fc62f3bd81bba232a1e7fbdfa17e6cfa7cd7"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-win32.whl", hash = "sha256:d53cd8bc582da5c1c8c86b6acc4ef42e20985c57d0ebc906445989df566c5603"},
- {file = "SQLAlchemy-1.4.48-cp310-cp310-win_amd64.whl", hash = "sha256:4355e5915844afdc5cf22ec29fba1010166e35dd94a21305f49020022167556b"},
- {file = "SQLAlchemy-1.4.48-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:066c2b0413e8cb980e6d46bf9d35ca83be81c20af688fedaef01450b06e4aa5e"},
- {file = "SQLAlchemy-1.4.48-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c99bf13e07140601d111a7c6f1fc1519914dd4e5228315bbda255e08412f61a4"},
- {file = "SQLAlchemy-1.4.48-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2ee26276f12614d47cc07bc85490a70f559cba965fb178b1c45d46ffa8d73fda"},
- {file = "SQLAlchemy-1.4.48-cp311-cp311-win32.whl", hash = "sha256:49c312bcff4728bffc6fb5e5318b8020ed5c8b958a06800f91859fe9633ca20e"},
- {file = "SQLAlchemy-1.4.48-cp311-cp311-win_amd64.whl", hash = "sha256:cef2e2abc06eab187a533ec3e1067a71d7bbec69e582401afdf6d8cad4ba3515"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:3509159e050bd6d24189ec7af373359f07aed690db91909c131e5068176c5a5d"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2fc2ab4d9f6d9218a5caa4121bdcf1125303482a1cdcfcdbd8567be8518969c0"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e1ddbbcef9bcedaa370c03771ebec7e39e3944782bef49e69430383c376a250b"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f82d8efea1ca92b24f51d3aea1a82897ed2409868a0af04247c8c1e4fef5890"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-win32.whl", hash = "sha256:e3e98d4907805b07743b583a99ecc58bf8807ecb6985576d82d5e8ae103b5272"},
- {file = "SQLAlchemy-1.4.48-cp36-cp36m-win_amd64.whl", hash = "sha256:25887b4f716e085a1c5162f130b852f84e18d2633942c8ca40dfb8519367c14f"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-macosx_10_15_x86_64.whl", hash = "sha256:0817c181271b0ce5df1aa20949f0a9e2426830fed5ecdcc8db449618f12c2730"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe1dd2562313dd9fe1778ed56739ad5d9aae10f9f43d9f4cf81d65b0c85168bb"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:68413aead943883b341b2b77acd7a7fe2377c34d82e64d1840860247cec7ff7c"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fbde5642104ac6e95f96e8ad6d18d9382aa20672008cf26068fe36f3004491df"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-win32.whl", hash = "sha256:11c6b1de720f816c22d6ad3bbfa2f026f89c7b78a5c4ffafb220e0183956a92a"},
- {file = "SQLAlchemy-1.4.48-cp37-cp37m-win_amd64.whl", hash = "sha256:eb5464ee8d4bb6549d368b578e9529d3c43265007193597ddca71c1bae6174e6"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-macosx_10_15_x86_64.whl", hash = "sha256:92e6133cf337c42bfee03ca08c62ba0f2d9695618c8abc14a564f47503157be9"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:44d29a3fc6d9c45962476b470a81983dd8add6ad26fdbfae6d463b509d5adcda"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:005e942b451cad5285015481ae4e557ff4154dde327840ba91b9ac379be3b6ce"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9c8cfe951ed074ba5e708ed29c45397a95c4143255b0d022c7c8331a75ae61f3"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-win32.whl", hash = "sha256:2b9af65cc58726129d8414fc1a1a650dcdd594ba12e9c97909f1f57d48e393d3"},
- {file = "SQLAlchemy-1.4.48-cp38-cp38-win_amd64.whl", hash = "sha256:2b562e9d1e59be7833edf28b0968f156683d57cabd2137d8121806f38a9d58f4"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-macosx_11_0_x86_64.whl", hash = "sha256:a1fc046756cf2a37d7277c93278566ddf8be135c6a58397b4c940abf837011f4"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9d9b55252d2ca42a09bcd10a697fa041e696def9dfab0b78c0aaea1485551a08"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6dab89874e72a9ab5462997846d4c760cdb957958be27b03b49cf0de5e5c327c"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1fd8b5ee5a3acc4371f820934b36f8109ce604ee73cc668c724abb054cebcb6e"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-win32.whl", hash = "sha256:eee09350fd538e29cfe3a496ec6f148504d2da40dbf52adefb0d2f8e4d38ccc4"},
- {file = "SQLAlchemy-1.4.48-cp39-cp39-win_amd64.whl", hash = "sha256:7ad2b0f6520ed5038e795cc2852eb5c1f20fa6831d73301ced4aafbe3a10e1f6"},
- {file = "SQLAlchemy-1.4.48.tar.gz", hash = "sha256:b47bc287096d989a0838ce96f7d8e966914a24da877ed41a7531d44b55cdb8df"},
-]
-
-[package.dependencies]
-greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and platform_machine == \"aarch64\" or python_version >= \"3\" and platform_machine == \"ppc64le\" or python_version >= \"3\" and platform_machine == \"x86_64\" or python_version >= \"3\" and platform_machine == \"amd64\" or python_version >= \"3\" and platform_machine == \"AMD64\" or python_version >= \"3\" and platform_machine == \"win32\" or python_version >= \"3\" and platform_machine == \"WIN32\""}
-
-[package.extras]
-aiomysql = ["aiomysql", "greenlet (!=0.4.17)"]
-aiosqlite = ["aiosqlite", "greenlet (!=0.4.17)", "typing-extensions (!=3.10.0.1)"]
-asyncio = ["greenlet (!=0.4.17)"]
-asyncmy = ["asyncmy (>=0.2.3,!=0.2.4)", "greenlet (!=0.4.17)"]
-mariadb-connector = ["mariadb (>=1.0.1,!=1.1.2)"]
-mssql = ["pyodbc"]
-mssql-pymssql = ["pymssql"]
-mssql-pyodbc = ["pyodbc"]
-mypy = ["mypy (>=0.910)", "sqlalchemy2-stubs"]
-mysql = ["mysqlclient (>=1.4.0)", "mysqlclient (>=1.4.0,<2)"]
-mysql-connector = ["mysql-connector-python"]
-oracle = ["cx-oracle (>=7)", "cx-oracle (>=7,<8)"]
-postgresql = ["psycopg2 (>=2.7)"]
-postgresql-asyncpg = ["asyncpg", "greenlet (!=0.4.17)"]
-postgresql-pg8000 = ["pg8000 (>=1.16.6,!=1.29.0)"]
-postgresql-psycopg2binary = ["psycopg2-binary"]
-postgresql-psycopg2cffi = ["psycopg2cffi"]
-pymysql = ["pymysql", "pymysql (<1)"]
-sqlcipher = ["sqlcipher3-binary"]
-
-[[package]]
-name = "starlette"
-version = "0.27.0"
-description = "The little ASGI library that shines."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "starlette-0.27.0-py3-none-any.whl", hash = "sha256:918416370e846586541235ccd38a474c08b80443ed31c578a418e2209b3eef91"},
- {file = "starlette-0.27.0.tar.gz", hash = "sha256:6a6b0d042acb8d469a01eba54e9cda6cbd24ac602c4cd016723117d6a7e73b75"},
-]
-
-[package.dependencies]
-anyio = ">=3.4.0,<5"
-
-[package.extras]
-full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"]
-
-[[package]]
-name = "strenum"
-version = "0.4.10"
-description = "An Enum that inherits from str."
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "StrEnum-0.4.10-py3-none-any.whl", hash = "sha256:aebf04bba8e5af435937c452d69a86798b6f8d5ca5f20ba18561dbfad571ccdd"},
- {file = "StrEnum-0.4.10.tar.gz", hash = "sha256:898cc0ebb5054ee07400341ac1d75fdfee489d76d6df3fbc1c2eaf95971e3916"},
-]
-
-[package.extras]
-docs = ["myst-parser[linkify]", "sphinx", "sphinx-rtd-theme"]
-release = ["twine"]
-test = ["pylint", "pytest", "pytest-black", "pytest-cov", "pytest-pylint"]
-
-[[package]]
-name = "tenacity"
-version = "8.2.2"
-description = "Retry code until it succeeds"
-category = "main"
-optional = false
-python-versions = ">=3.6"
-files = [
- {file = "tenacity-8.2.2-py3-none-any.whl", hash = "sha256:2f277afb21b851637e8f52e6a613ff08734c347dc19ade928e519d7d2d8569b0"},
- {file = "tenacity-8.2.2.tar.gz", hash = "sha256:43af037822bd0029025877f3b2d97cc4d7bb0c2991000a3d59d71517c5c969e0"},
-]
-
-[package.extras]
-doc = ["reno", "sphinx", "tornado (>=4.5)"]
-
-[[package]]
-name = "tomli"
-version = "2.0.1"
-description = "A lil' TOML parser"
-category = "dev"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
- {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
-]
-
-[[package]]
-name = "tqdm"
-version = "4.65.0"
-description = "Fast, Extensible Progress Meter"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "tqdm-4.65.0-py3-none-any.whl", hash = "sha256:c4f53a17fe37e132815abceec022631be8ffe1b9381c2e6e30aa70edc99e9671"},
- {file = "tqdm-4.65.0.tar.gz", hash = "sha256:1871fb68a86b8fb3b59ca4cdd3dcccbc7e6d613eeed31f4c332531977b89beb5"},
-]
-
-[package.dependencies]
-colorama = {version = "*", markers = "platform_system == \"Windows\""}
-
-[package.extras]
-dev = ["py-make (>=0.1.0)", "twine", "wheel"]
-notebook = ["ipywidgets (>=6)"]
-slack = ["slack-sdk"]
-telegram = ["requests"]
-
-[[package]]
-name = "typing-extensions"
-version = "4.6.3"
-description = "Backported and Experimental Type Hints for Python 3.7+"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "typing_extensions-4.6.3-py3-none-any.whl", hash = "sha256:88a4153d8505aabbb4e13aacb7c486c2b4a33ca3b3f807914a9b4c844c471c26"},
- {file = "typing_extensions-4.6.3.tar.gz", hash = "sha256:d91d5919357fe7f681a9f2b5b4cb2a5f1ef0a1e9f59c4d8ff0d3491e05c0ffd5"},
-]
-
-[[package]]
-name = "typing-inspect"
-version = "0.9.0"
-description = "Runtime inspection utilities for typing module."
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "typing_inspect-0.9.0-py3-none-any.whl", hash = "sha256:9ee6fc59062311ef8547596ab6b955e1b8aa46242d854bfc78f4f6b0eff35f9f"},
- {file = "typing_inspect-0.9.0.tar.gz", hash = "sha256:b23fc42ff6f6ef6954e4852c1fb512cdd18dbea03134f91f856a95ccc9461f78"},
-]
-
-[package.dependencies]
-mypy-extensions = ">=0.3.0"
-typing-extensions = ">=3.7.4"
-
-[[package]]
-name = "urllib3"
-version = "1.26.16"
-description = "HTTP library with thread-safe connection pooling, file post, and more."
-category = "main"
-optional = false
-python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
-files = [
- {file = "urllib3-1.26.16-py2.py3-none-any.whl", hash = "sha256:8d36afa7616d8ab714608411b4a3b13e58f463aee519024578e062e141dce20f"},
- {file = "urllib3-1.26.16.tar.gz", hash = "sha256:8f135f6502756bde6b2a9b28989df5fbe87c9970cecaa69041edcce7f0589b14"},
-]
-
-[package.extras]
-brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)", "brotlipy (>=0.6.0)"]
-secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "ipaddress", "pyOpenSSL (>=0.14)", "urllib3-secure-extra"]
-socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
-
-[[package]]
-name = "uuid"
-version = "1.30"
-description = "UUID object and generation functions (Python 2.3 or higher)"
-category = "main"
-optional = false
-python-versions = "*"
-files = [
- {file = "uuid-1.30.tar.gz", hash = "sha256:1f87cc004ac5120466f36c5beae48b4c48cc411968eed0eaecd3da82aa96193f"},
-]
-
-[[package]]
-name = "uvicorn"
-version = "0.22.0"
-description = "The lightning-fast ASGI server."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "uvicorn-0.22.0-py3-none-any.whl", hash = "sha256:e9434d3bbf05f310e762147f769c9f21235ee118ba2d2bf1155a7196448bd996"},
- {file = "uvicorn-0.22.0.tar.gz", hash = "sha256:79277ae03db57ce7d9aa0567830bbb51d7a612f54d6e1e3e92da3ef24c2c8ed8"},
-]
-
-[package.dependencies]
-click = ">=7.0"
-colorama = {version = ">=0.4", optional = true, markers = "sys_platform == \"win32\" and extra == \"standard\""}
-h11 = ">=0.8"
-httptools = {version = ">=0.5.0", optional = true, markers = "extra == \"standard\""}
-python-dotenv = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}
-pyyaml = {version = ">=5.1", optional = true, markers = "extra == \"standard\""}
-uvloop = {version = ">=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1", optional = true, markers = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\" and extra == \"standard\""}
-watchfiles = {version = ">=0.13", optional = true, markers = "extra == \"standard\""}
-websockets = {version = ">=10.4", optional = true, markers = "extra == \"standard\""}
-
-[package.extras]
-standard = ["colorama (>=0.4)", "httptools (>=0.5.0)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.14.0,!=0.15.0,!=0.15.1)", "watchfiles (>=0.13)", "websockets (>=10.4)"]
-
-[[package]]
-name = "uvloop"
-version = "0.17.0"
-description = "Fast implementation of asyncio event loop on top of libuv"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "uvloop-0.17.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ce9f61938d7155f79d3cb2ffa663147d4a76d16e08f65e2c66b77bd41b356718"},
- {file = "uvloop-0.17.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:68532f4349fd3900b839f588972b3392ee56042e440dd5873dfbbcd2cc67617c"},
- {file = "uvloop-0.17.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0949caf774b9fcefc7c5756bacbbbd3fc4c05a6b7eebc7c7ad6f825b23998d6d"},
- {file = "uvloop-0.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff3d00b70ce95adce264462c930fbaecb29718ba6563db354608f37e49e09024"},
- {file = "uvloop-0.17.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:a5abddb3558d3f0a78949c750644a67be31e47936042d4f6c888dd6f3c95f4aa"},
- {file = "uvloop-0.17.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8efcadc5a0003d3a6e887ccc1fb44dec25594f117a94e3127954c05cf144d811"},
- {file = "uvloop-0.17.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:3378eb62c63bf336ae2070599e49089005771cc651c8769aaad72d1bd9385a7c"},
- {file = "uvloop-0.17.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6aafa5a78b9e62493539456f8b646f85abc7093dd997f4976bb105537cf2635e"},
- {file = "uvloop-0.17.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c686a47d57ca910a2572fddfe9912819880b8765e2f01dc0dd12a9bf8573e539"},
- {file = "uvloop-0.17.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:864e1197139d651a76c81757db5eb199db8866e13acb0dfe96e6fc5d1cf45fc4"},
- {file = "uvloop-0.17.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:2a6149e1defac0faf505406259561bc14b034cdf1d4711a3ddcdfbaa8d825a05"},
- {file = "uvloop-0.17.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:6708f30db9117f115eadc4f125c2a10c1a50d711461699a0cbfaa45b9a78e376"},
- {file = "uvloop-0.17.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:23609ca361a7fc587031429fa25ad2ed7242941adec948f9d10c045bfecab06b"},
- {file = "uvloop-0.17.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2deae0b0fb00a6af41fe60a675cec079615b01d68beb4cc7b722424406b126a8"},
- {file = "uvloop-0.17.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45cea33b208971e87a31c17622e4b440cac231766ec11e5d22c76fab3bf9df62"},
- {file = "uvloop-0.17.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:9b09e0f0ac29eee0451d71798878eae5a4e6a91aa275e114037b27f7db72702d"},
- {file = "uvloop-0.17.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:dbbaf9da2ee98ee2531e0c780455f2841e4675ff580ecf93fe5c48fe733b5667"},
- {file = "uvloop-0.17.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:a4aee22ece20958888eedbad20e4dbb03c37533e010fb824161b4f05e641f738"},
- {file = "uvloop-0.17.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:307958f9fc5c8bb01fad752d1345168c0abc5d62c1b72a4a8c6c06f042b45b20"},
- {file = "uvloop-0.17.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ebeeec6a6641d0adb2ea71dcfb76017602ee2bfd8213e3fcc18d8f699c5104f"},
- {file = "uvloop-0.17.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1436c8673c1563422213ac6907789ecb2b070f5939b9cbff9ef7113f2b531595"},
- {file = "uvloop-0.17.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8887d675a64cfc59f4ecd34382e5b4f0ef4ae1da37ed665adba0c2badf0d6578"},
- {file = "uvloop-0.17.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:3db8de10ed684995a7f34a001f15b374c230f7655ae840964d51496e2f8a8474"},
- {file = "uvloop-0.17.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:7d37dccc7ae63e61f7b96ee2e19c40f153ba6ce730d8ba4d3b4e9738c1dccc1b"},
- {file = "uvloop-0.17.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:cbbe908fda687e39afd6ea2a2f14c2c3e43f2ca88e3a11964b297822358d0e6c"},
- {file = "uvloop-0.17.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3d97672dc709fa4447ab83276f344a165075fd9f366a97b712bdd3fee05efae8"},
- {file = "uvloop-0.17.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f1e507c9ee39c61bfddd79714e4f85900656db1aec4d40c6de55648e85c2799c"},
- {file = "uvloop-0.17.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:c092a2c1e736086d59ac8e41f9c98f26bbf9b9222a76f21af9dfe949b99b2eb9"},
- {file = "uvloop-0.17.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:30babd84706115626ea78ea5dbc7dd8d0d01a2e9f9b306d24ca4ed5796c66ded"},
- {file = "uvloop-0.17.0.tar.gz", hash = "sha256:0ddf6baf9cf11a1a22c71487f39f15b2cf78eb5bde7e5b45fbb99e8a9d91b9e1"},
-]
-
-[package.extras]
-dev = ["Cython (>=0.29.32,<0.30.0)", "Sphinx (>=4.1.2,<4.2.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "mypy (>=0.800)", "psutil", "pyOpenSSL (>=22.0.0,<22.1.0)", "pycodestyle (>=2.7.0,<2.8.0)", "pytest (>=3.6.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)"]
-docs = ["Sphinx (>=4.1.2,<4.2.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)"]
-test = ["Cython (>=0.29.32,<0.30.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "mypy (>=0.800)", "psutil", "pyOpenSSL (>=22.0.0,<22.1.0)", "pycodestyle (>=2.7.0,<2.8.0)"]
-
-[[package]]
-name = "watchfiles"
-version = "0.19.0"
-description = "Simple, modern and high performance file watching and code reload in python."
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "watchfiles-0.19.0-cp37-abi3-macosx_10_7_x86_64.whl", hash = "sha256:91633e64712df3051ca454ca7d1b976baf842d7a3640b87622b323c55f3345e7"},
- {file = "watchfiles-0.19.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:b6577b8c6c8701ba8642ea9335a129836347894b666dd1ec2226830e263909d3"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:18b28f6ad871b82df9542ff958d0c86bb0d8310bb09eb8e87d97318a3b5273af"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fac19dc9cbc34052394dbe81e149411a62e71999c0a19e1e09ce537867f95ae0"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:09ea3397aecbc81c19ed7f025e051a7387feefdb789cf768ff994c1228182fda"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c0376deac92377817e4fb8f347bf559b7d44ff556d9bc6f6208dd3f79f104aaf"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9c75eff897786ee262c9f17a48886f4e98e6cfd335e011c591c305e5d083c056"},
- {file = "watchfiles-0.19.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb5d45c4143c1dd60f98a16187fd123eda7248f84ef22244818c18d531a249d1"},
- {file = "watchfiles-0.19.0-cp37-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:79c533ff593db861ae23436541f481ec896ee3da4e5db8962429b441bbaae16e"},
- {file = "watchfiles-0.19.0-cp37-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:3d7d267d27aceeeaa3de0dd161a0d64f0a282264d592e335fff7958cc0cbae7c"},
- {file = "watchfiles-0.19.0-cp37-abi3-win32.whl", hash = "sha256:176a9a7641ec2c97b24455135d58012a5be5c6217fc4d5fef0b2b9f75dbf5154"},
- {file = "watchfiles-0.19.0-cp37-abi3-win_amd64.whl", hash = "sha256:945be0baa3e2440151eb3718fd8846751e8b51d8de7b884c90b17d271d34cae8"},
- {file = "watchfiles-0.19.0-cp37-abi3-win_arm64.whl", hash = "sha256:0089c6dc24d436b373c3c57657bf4f9a453b13767150d17284fc6162b2791911"},
- {file = "watchfiles-0.19.0-pp38-pypy38_pp73-macosx_10_7_x86_64.whl", hash = "sha256:cae3dde0b4b2078f31527acff6f486e23abed307ba4d3932466ba7cdd5ecec79"},
- {file = "watchfiles-0.19.0-pp38-pypy38_pp73-macosx_11_0_arm64.whl", hash = "sha256:7f3920b1285a7d3ce898e303d84791b7bf40d57b7695ad549dc04e6a44c9f120"},
- {file = "watchfiles-0.19.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9afd0d69429172c796164fd7fe8e821ade9be983f51c659a38da3faaaaac44dc"},
- {file = "watchfiles-0.19.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:68dce92b29575dda0f8d30c11742a8e2b9b8ec768ae414b54f7453f27bdf9545"},
- {file = "watchfiles-0.19.0-pp39-pypy39_pp73-macosx_10_7_x86_64.whl", hash = "sha256:5569fc7f967429d4bc87e355cdfdcee6aabe4b620801e2cf5805ea245c06097c"},
- {file = "watchfiles-0.19.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:5471582658ea56fca122c0f0d0116a36807c63fefd6fdc92c71ca9a4491b6b48"},
- {file = "watchfiles-0.19.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b538014a87f94d92f98f34d3e6d2635478e6be6423a9ea53e4dd96210065e193"},
- {file = "watchfiles-0.19.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:20b44221764955b1e703f012c74015306fb7e79a00c15370785f309b1ed9aa8d"},
- {file = "watchfiles-0.19.0.tar.gz", hash = "sha256:d9b073073e048081e502b6c6b0b88714c026a1a4c890569238d04aca5f9ca74b"},
-]
-
-[package.dependencies]
-anyio = ">=3.0.0"
-
-[[package]]
-name = "websockets"
-version = "11.0.3"
-description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "websockets-11.0.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3ccc8a0c387629aec40f2fc9fdcb4b9d5431954f934da3eaf16cdc94f67dbfac"},
- {file = "websockets-11.0.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d67ac60a307f760c6e65dad586f556dde58e683fab03323221a4e530ead6f74d"},
- {file = "websockets-11.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:84d27a4832cc1a0ee07cdcf2b0629a8a72db73f4cf6de6f0904f6661227f256f"},
- {file = "websockets-11.0.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffd7dcaf744f25f82190856bc26ed81721508fc5cbf2a330751e135ff1283564"},
- {file = "websockets-11.0.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7622a89d696fc87af8e8d280d9b421db5133ef5b29d3f7a1ce9f1a7bf7fcfa11"},
- {file = "websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bceab846bac555aff6427d060f2fcfff71042dba6f5fca7dc4f75cac815e57ca"},
- {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:54c6e5b3d3a8936a4ab6870d46bdd6ec500ad62bde9e44462c32d18f1e9a8e54"},
- {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:41f696ba95cd92dc047e46b41b26dd24518384749ed0d99bea0a941ca87404c4"},
- {file = "websockets-11.0.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:86d2a77fd490ae3ff6fae1c6ceaecad063d3cc2320b44377efdde79880e11526"},
- {file = "websockets-11.0.3-cp310-cp310-win32.whl", hash = "sha256:2d903ad4419f5b472de90cd2d40384573b25da71e33519a67797de17ef849b69"},
- {file = "websockets-11.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:1d2256283fa4b7f4c7d7d3e84dc2ece74d341bce57d5b9bf385df109c2a1a82f"},
- {file = "websockets-11.0.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e848f46a58b9fcf3d06061d17be388caf70ea5b8cc3466251963c8345e13f7eb"},
- {file = "websockets-11.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aa5003845cdd21ac0dc6c9bf661c5beddd01116f6eb9eb3c8e272353d45b3288"},
- {file = "websockets-11.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:b58cbf0697721120866820b89f93659abc31c1e876bf20d0b3d03cef14faf84d"},
- {file = "websockets-11.0.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:660e2d9068d2bedc0912af508f30bbeb505bbbf9774d98def45f68278cea20d3"},
- {file = "websockets-11.0.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c1f0524f203e3bd35149f12157438f406eff2e4fb30f71221c8a5eceb3617b6b"},
- {file = "websockets-11.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:def07915168ac8f7853812cc593c71185a16216e9e4fa886358a17ed0fd9fcf6"},
- {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b30c6590146e53149f04e85a6e4fcae068df4289e31e4aee1fdf56a0dead8f97"},
- {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:619d9f06372b3a42bc29d0cd0354c9bb9fb39c2cbc1a9c5025b4538738dbffaf"},
- {file = "websockets-11.0.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:01f5567d9cf6f502d655151645d4e8b72b453413d3819d2b6f1185abc23e82dd"},
- {file = "websockets-11.0.3-cp311-cp311-win32.whl", hash = "sha256:e1459677e5d12be8bbc7584c35b992eea142911a6236a3278b9b5ce3326f282c"},
- {file = "websockets-11.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:e7837cb169eca3b3ae94cc5787c4fed99eef74c0ab9506756eea335e0d6f3ed8"},
- {file = "websockets-11.0.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:9f59a3c656fef341a99e3d63189852be7084c0e54b75734cde571182c087b152"},
- {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2529338a6ff0eb0b50c7be33dc3d0e456381157a31eefc561771ee431134a97f"},
- {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:34fd59a4ac42dff6d4681d8843217137f6bc85ed29722f2f7222bd619d15e95b"},
- {file = "websockets-11.0.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:332d126167ddddec94597c2365537baf9ff62dfcc9db4266f263d455f2f031cb"},
- {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:6505c1b31274723ccaf5f515c1824a4ad2f0d191cec942666b3d0f3aa4cb4007"},
- {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f467ba0050b7de85016b43f5a22b46383ef004c4f672148a8abf32bc999a87f0"},
- {file = "websockets-11.0.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:9d9acd80072abcc98bd2c86c3c9cd4ac2347b5a5a0cae7ed5c0ee5675f86d9af"},
- {file = "websockets-11.0.3-cp37-cp37m-win32.whl", hash = "sha256:e590228200fcfc7e9109509e4d9125eace2042fd52b595dd22bbc34bb282307f"},
- {file = "websockets-11.0.3-cp37-cp37m-win_amd64.whl", hash = "sha256:b16fff62b45eccb9c7abb18e60e7e446998093cdcb50fed33134b9b6878836de"},
- {file = "websockets-11.0.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fb06eea71a00a7af0ae6aefbb932fb8a7df3cb390cc217d51a9ad7343de1b8d0"},
- {file = "websockets-11.0.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8a34e13a62a59c871064dfd8ffb150867e54291e46d4a7cf11d02c94a5275bae"},
- {file = "websockets-11.0.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:4841ed00f1026dfbced6fca7d963c4e7043aa832648671b5138008dc5a8f6d99"},
- {file = "websockets-11.0.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a073fc9ab1c8aff37c99f11f1641e16da517770e31a37265d2755282a5d28aa"},
- {file = "websockets-11.0.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:68b977f21ce443d6d378dbd5ca38621755f2063d6fdb3335bda981d552cfff86"},
- {file = "websockets-11.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e1a99a7a71631f0efe727c10edfba09ea6bee4166a6f9c19aafb6c0b5917d09c"},
- {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:bee9fcb41db2a23bed96c6b6ead6489702c12334ea20a297aa095ce6d31370d0"},
- {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:4b253869ea05a5a073ebfdcb5cb3b0266a57c3764cf6fe114e4cd90f4bfa5f5e"},
- {file = "websockets-11.0.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:1553cb82942b2a74dd9b15a018dce645d4e68674de2ca31ff13ebc2d9f283788"},
- {file = "websockets-11.0.3-cp38-cp38-win32.whl", hash = "sha256:f61bdb1df43dc9c131791fbc2355535f9024b9a04398d3bd0684fc16ab07df74"},
- {file = "websockets-11.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:03aae4edc0b1c68498f41a6772d80ac7c1e33c06c6ffa2ac1c27a07653e79d6f"},
- {file = "websockets-11.0.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:777354ee16f02f643a4c7f2b3eff8027a33c9861edc691a2003531f5da4f6bc8"},
- {file = "websockets-11.0.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:8c82f11964f010053e13daafdc7154ce7385ecc538989a354ccc7067fd7028fd"},
- {file = "websockets-11.0.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3580dd9c1ad0701169e4d6fc41e878ffe05e6bdcaf3c412f9d559389d0c9e016"},
- {file = "websockets-11.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6f1a3f10f836fab6ca6efa97bb952300b20ae56b409414ca85bff2ad241d2a61"},
- {file = "websockets-11.0.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:df41b9bc27c2c25b486bae7cf42fccdc52ff181c8c387bfd026624a491c2671b"},
- {file = "websockets-11.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:279e5de4671e79a9ac877427f4ac4ce93751b8823f276b681d04b2156713b9dd"},
- {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:1fdf26fa8a6a592f8f9235285b8affa72748dc12e964a5518c6c5e8f916716f7"},
- {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:69269f3a0b472e91125b503d3c0b3566bda26da0a3261c49f0027eb6075086d1"},
- {file = "websockets-11.0.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:97b52894d948d2f6ea480171a27122d77af14ced35f62e5c892ca2fae9344311"},
- {file = "websockets-11.0.3-cp39-cp39-win32.whl", hash = "sha256:c7f3cb904cce8e1be667c7e6fef4516b98d1a6a0635a58a57528d577ac18a128"},
- {file = "websockets-11.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:c792ea4eabc0159535608fc5658a74d1a81020eb35195dd63214dcf07556f67e"},
- {file = "websockets-11.0.3-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f2e58f2c36cc52d41f2659e4c0cbf7353e28c8c9e63e30d8c6d3494dc9fdedcf"},
- {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:de36fe9c02995c7e6ae6efe2e205816f5f00c22fd1fbf343d4d18c3d5ceac2f5"},
- {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0ac56b661e60edd453585f4bd68eb6a29ae25b5184fd5ba51e97652580458998"},
- {file = "websockets-11.0.3-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e052b8467dd07d4943936009f46ae5ce7b908ddcac3fda581656b1b19c083d9b"},
- {file = "websockets-11.0.3-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:42cc5452a54a8e46a032521d7365da775823e21bfba2895fb7b77633cce031bb"},
- {file = "websockets-11.0.3-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e6316827e3e79b7b8e7d8e3b08f4e331af91a48e794d5d8b099928b6f0b85f20"},
- {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8531fdcad636d82c517b26a448dcfe62f720e1922b33c81ce695d0edb91eb931"},
- {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c114e8da9b475739dde229fd3bc6b05a6537a88a578358bc8eb29b4030fac9c9"},
- {file = "websockets-11.0.3-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e063b1865974611313a3849d43f2c3f5368093691349cf3c7c8f8f75ad7cb280"},
- {file = "websockets-11.0.3-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:92b2065d642bf8c0a82d59e59053dd2fdde64d4ed44efe4870fa816c1232647b"},
- {file = "websockets-11.0.3-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:0ee68fe502f9031f19d495dae2c268830df2760c0524cbac5d759921ba8c8e82"},
- {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dcacf2c7a6c3a84e720d1bb2b543c675bf6c40e460300b628bab1b1efc7c034c"},
- {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b67c6f5e5a401fc56394f191f00f9b3811fe843ee93f4a70df3c389d1adf857d"},
- {file = "websockets-11.0.3-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1d5023a4b6a5b183dc838808087033ec5df77580485fc533e7dab2567851b0a4"},
- {file = "websockets-11.0.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:ed058398f55163a79bb9f06a90ef9ccc063b204bb346c4de78efc5d15abfe602"},
- {file = "websockets-11.0.3-py3-none-any.whl", hash = "sha256:6681ba9e7f8f3b19440921e99efbb40fc89f26cd71bf539e45d8c8a25c976dc6"},
- {file = "websockets-11.0.3.tar.gz", hash = "sha256:88fc51d9a26b10fc331be344f1781224a375b78488fc343620184e95a4b27016"},
-]
-
-[[package]]
-name = "wrapt"
-version = "1.15.0"
-description = "Module for decorators, wrappers and monkey patching."
-category = "main"
-optional = false
-python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
-files = [
- {file = "wrapt-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ca1cccf838cd28d5a0883b342474c630ac48cac5df0ee6eacc9c7290f76b11c1"},
- {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e826aadda3cae59295b95343db8f3d965fb31059da7de01ee8d1c40a60398b29"},
- {file = "wrapt-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:5fc8e02f5984a55d2c653f5fea93531e9836abbd84342c1d1e17abc4a15084c2"},
- {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:96e25c8603a155559231c19c0349245eeb4ac0096fe3c1d0be5c47e075bd4f46"},
- {file = "wrapt-1.15.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:40737a081d7497efea35ab9304b829b857f21558acfc7b3272f908d33b0d9d4c"},
- {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:f87ec75864c37c4c6cb908d282e1969e79763e0d9becdfe9fe5473b7bb1e5f09"},
- {file = "wrapt-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:1286eb30261894e4c70d124d44b7fd07825340869945c79d05bda53a40caa079"},
- {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:493d389a2b63c88ad56cdc35d0fa5752daac56ca755805b1b0c530f785767d5e"},
- {file = "wrapt-1.15.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:58d7a75d731e8c63614222bcb21dd992b4ab01a399f1f09dd82af17bbfc2368a"},
- {file = "wrapt-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:21f6d9a0d5b3a207cdf7acf8e58d7d13d463e639f0c7e01d82cdb671e6cb7923"},
- {file = "wrapt-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ce42618f67741d4697684e501ef02f29e758a123aa2d669e2d964ff734ee00ee"},
- {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:41d07d029dd4157ae27beab04d22b8e261eddfc6ecd64ff7000b10dc8b3a5727"},
- {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:54accd4b8bc202966bafafd16e69da9d5640ff92389d33d28555c5fd4f25ccb7"},
- {file = "wrapt-1.15.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2fbfbca668dd15b744418265a9607baa970c347eefd0db6a518aaf0cfbd153c0"},
- {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:76e9c727a874b4856d11a32fb0b389afc61ce8aaf281ada613713ddeadd1cfec"},
- {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e20076a211cd6f9b44a6be58f7eeafa7ab5720eb796975d0c03f05b47d89eb90"},
- {file = "wrapt-1.15.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a74d56552ddbde46c246b5b89199cb3fd182f9c346c784e1a93e4dc3f5ec9975"},
- {file = "wrapt-1.15.0-cp310-cp310-win32.whl", hash = "sha256:26458da5653aa5b3d8dc8b24192f574a58984c749401f98fff994d41d3f08da1"},
- {file = "wrapt-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:75760a47c06b5974aa5e01949bf7e66d2af4d08cb8c1d6516af5e39595397f5e"},
- {file = "wrapt-1.15.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ba1711cda2d30634a7e452fc79eabcadaffedf241ff206db2ee93dd2c89a60e7"},
- {file = "wrapt-1.15.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:56374914b132c702aa9aa9959c550004b8847148f95e1b824772d453ac204a72"},
- {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a89ce3fd220ff144bd9d54da333ec0de0399b52c9ac3d2ce34b569cf1a5748fb"},
- {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3bbe623731d03b186b3d6b0d6f51865bf598587c38d6f7b0be2e27414f7f214e"},
- {file = "wrapt-1.15.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3abbe948c3cbde2689370a262a8d04e32ec2dd4f27103669a45c6929bcdbfe7c"},
- {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:b67b819628e3b748fd3c2192c15fb951f549d0f47c0449af0764d7647302fda3"},
- {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:7eebcdbe3677e58dd4c0e03b4f2cfa346ed4049687d839adad68cc38bb559c92"},
- {file = "wrapt-1.15.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:74934ebd71950e3db69960a7da29204f89624dde411afbfb3b4858c1409b1e98"},
- {file = "wrapt-1.15.0-cp311-cp311-win32.whl", hash = "sha256:bd84395aab8e4d36263cd1b9308cd504f6cf713b7d6d3ce25ea55670baec5416"},
- {file = "wrapt-1.15.0-cp311-cp311-win_amd64.whl", hash = "sha256:a487f72a25904e2b4bbc0817ce7a8de94363bd7e79890510174da9d901c38705"},
- {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:4ff0d20f2e670800d3ed2b220d40984162089a6e2c9646fdb09b85e6f9a8fc29"},
- {file = "wrapt-1.15.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:9ed6aa0726b9b60911f4aed8ec5b8dd7bf3491476015819f56473ffaef8959bd"},
- {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:896689fddba4f23ef7c718279e42f8834041a21342d95e56922e1c10c0cc7afb"},
- {file = "wrapt-1.15.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:75669d77bb2c071333417617a235324a1618dba66f82a750362eccbe5b61d248"},
- {file = "wrapt-1.15.0-cp35-cp35m-win32.whl", hash = "sha256:fbec11614dba0424ca72f4e8ba3c420dba07b4a7c206c8c8e4e73f2e98f4c559"},
- {file = "wrapt-1.15.0-cp35-cp35m-win_amd64.whl", hash = "sha256:fd69666217b62fa5d7c6aa88e507493a34dec4fa20c5bd925e4bc12fce586639"},
- {file = "wrapt-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b0724f05c396b0a4c36a3226c31648385deb6a65d8992644c12a4963c70326ba"},
- {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bbeccb1aa40ab88cd29e6c7d8585582c99548f55f9b2581dfc5ba68c59a85752"},
- {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:38adf7198f8f154502883242f9fe7333ab05a5b02de7d83aa2d88ea621f13364"},
- {file = "wrapt-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:578383d740457fa790fdf85e6d346fda1416a40549fe8db08e5e9bd281c6a475"},
- {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:a4cbb9ff5795cd66f0066bdf5947f170f5d63a9274f99bdbca02fd973adcf2a8"},
- {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:af5bd9ccb188f6a5fdda9f1f09d9f4c86cc8a539bd48a0bfdc97723970348418"},
- {file = "wrapt-1.15.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:b56d5519e470d3f2fe4aa7585f0632b060d532d0696c5bdfb5e8319e1d0f69a2"},
- {file = "wrapt-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:77d4c1b881076c3ba173484dfa53d3582c1c8ff1f914c6461ab70c8428b796c1"},
- {file = "wrapt-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:077ff0d1f9d9e4ce6476c1a924a3332452c1406e59d90a2cf24aeb29eeac9420"},
- {file = "wrapt-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5c5aa28df055697d7c37d2099a7bc09f559d5053c3349b1ad0c39000e611d317"},
- {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3a8564f283394634a7a7054b7983e47dbf39c07712d7b177b37e03f2467a024e"},
- {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:780c82a41dc493b62fc5884fb1d3a3b81106642c5c5c78d6a0d4cbe96d62ba7e"},
- {file = "wrapt-1.15.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e169e957c33576f47e21864cf3fc9ff47c223a4ebca8960079b8bd36cb014fd0"},
- {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b02f21c1e2074943312d03d243ac4388319f2456576b2c6023041c4d57cd7019"},
- {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:f2e69b3ed24544b0d3dbe2c5c0ba5153ce50dcebb576fdc4696d52aa22db6034"},
- {file = "wrapt-1.15.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d787272ed958a05b2c86311d3a4135d3c2aeea4fc655705f074130aa57d71653"},
- {file = "wrapt-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:02fce1852f755f44f95af51f69d22e45080102e9d00258053b79367d07af39c0"},
- {file = "wrapt-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:abd52a09d03adf9c763d706df707c343293d5d106aea53483e0ec8d9e310ad5e"},
- {file = "wrapt-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cdb4f085756c96a3af04e6eca7f08b1345e94b53af8921b25c72f096e704e145"},
- {file = "wrapt-1.15.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:230ae493696a371f1dbffaad3dafbb742a4d27a0afd2b1aecebe52b740167e7f"},
- {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:63424c681923b9f3bfbc5e3205aafe790904053d42ddcc08542181a30a7a51bd"},
- {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d6bcbfc99f55655c3d93feb7ef3800bd5bbe963a755687cbf1f490a71fb7794b"},
- {file = "wrapt-1.15.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c99f4309f5145b93eca6e35ac1a988f0dc0a7ccf9ccdcd78d3c0adf57224e62f"},
- {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b130fe77361d6771ecf5a219d8e0817d61b236b7d8b37cc045172e574ed219e6"},
- {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:96177eb5645b1c6985f5c11d03fc2dbda9ad24ec0f3a46dcce91445747e15094"},
- {file = "wrapt-1.15.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d5fe3e099cf07d0fb5a1e23d399e5d4d1ca3e6dfcbe5c8570ccff3e9208274f7"},
- {file = "wrapt-1.15.0-cp38-cp38-win32.whl", hash = "sha256:abd8f36c99512755b8456047b7be10372fca271bf1467a1caa88db991e7c421b"},
- {file = "wrapt-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:b06fa97478a5f478fb05e1980980a7cdf2712015493b44d0c87606c1513ed5b1"},
- {file = "wrapt-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2e51de54d4fb8fb50d6ee8327f9828306a959ae394d3e01a1ba8b2f937747d86"},
- {file = "wrapt-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0970ddb69bba00670e58955f8019bec4a42d1785db3faa043c33d81de2bf843c"},
- {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76407ab327158c510f44ded207e2f76b657303e17cb7a572ffe2f5a8a48aa04d"},
- {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cd525e0e52a5ff16653a3fc9e3dd827981917d34996600bbc34c05d048ca35cc"},
- {file = "wrapt-1.15.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9d37ac69edc5614b90516807de32d08cb8e7b12260a285ee330955604ed9dd29"},
- {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:078e2a1a86544e644a68422f881c48b84fef6d18f8c7a957ffd3f2e0a74a0d4a"},
- {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:2cf56d0e237280baed46f0b5316661da892565ff58309d4d2ed7dba763d984b8"},
- {file = "wrapt-1.15.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:7dc0713bf81287a00516ef43137273b23ee414fe41a3c14be10dd95ed98a2df9"},
- {file = "wrapt-1.15.0-cp39-cp39-win32.whl", hash = "sha256:46ed616d5fb42f98630ed70c3529541408166c22cdfd4540b88d5f21006b0eff"},
- {file = "wrapt-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:eef4d64c650f33347c1f9266fa5ae001440b232ad9b98f1f43dfe7a79435c0a6"},
- {file = "wrapt-1.15.0-py3-none-any.whl", hash = "sha256:64b1df0f83706b4ef4cfb4fb0e4c2669100fd7ecacfb59e091fad300d4e04640"},
- {file = "wrapt-1.15.0.tar.gz", hash = "sha256:d06730c6aed78cee4126234cf2d071e01b44b915e725a6cb439a879ec9754a3a"},
-]
-
-[[package]]
-name = "yarl"
-version = "1.9.2"
-description = "Yet another URL library"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:8c2ad583743d16ddbdf6bb14b5cd76bf43b0d0006e918809d5d4ddf7bde8dd82"},
- {file = "yarl-1.9.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:82aa6264b36c50acfb2424ad5ca537a2060ab6de158a5bd2a72a032cc75b9eb8"},
- {file = "yarl-1.9.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c0c77533b5ed4bcc38e943178ccae29b9bcf48ffd1063f5821192f23a1bd27b9"},
- {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ee4afac41415d52d53a9833ebae7e32b344be72835bbb589018c9e938045a560"},
- {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9bf345c3a4f5ba7f766430f97f9cc1320786f19584acc7086491f45524a551ac"},
- {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a96c19c52ff442a808c105901d0bdfd2e28575b3d5f82e2f5fd67e20dc5f4ea"},
- {file = "yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:891c0e3ec5ec881541f6c5113d8df0315ce5440e244a716b95f2525b7b9f3608"},
- {file = "yarl-1.9.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c3a53ba34a636a256d767c086ceb111358876e1fb6b50dfc4d3f4951d40133d5"},
- {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:566185e8ebc0898b11f8026447eacd02e46226716229cea8db37496c8cdd26e0"},
- {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:2b0738fb871812722a0ac2154be1f049c6223b9f6f22eec352996b69775b36d4"},
- {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:32f1d071b3f362c80f1a7d322bfd7b2d11e33d2adf395cc1dd4df36c9c243095"},
- {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:e9fdc7ac0d42bc3ea78818557fab03af6181e076a2944f43c38684b4b6bed8e3"},
- {file = "yarl-1.9.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:56ff08ab5df8429901ebdc5d15941b59f6253393cb5da07b4170beefcf1b2528"},
- {file = "yarl-1.9.2-cp310-cp310-win32.whl", hash = "sha256:8ea48e0a2f931064469bdabca50c2f578b565fc446f302a79ba6cc0ee7f384d3"},
- {file = "yarl-1.9.2-cp310-cp310-win_amd64.whl", hash = "sha256:50f33040f3836e912ed16d212f6cc1efb3231a8a60526a407aeb66c1c1956dde"},
- {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:646d663eb2232d7909e6601f1a9107e66f9791f290a1b3dc7057818fe44fc2b6"},
- {file = "yarl-1.9.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aff634b15beff8902d1f918012fc2a42e0dbae6f469fce134c8a0dc51ca423bb"},
- {file = "yarl-1.9.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a83503934c6273806aed765035716216cc9ab4e0364f7f066227e1aaea90b8d0"},
- {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b25322201585c69abc7b0e89e72790469f7dad90d26754717f3310bfe30331c2"},
- {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:22a94666751778629f1ec4280b08eb11815783c63f52092a5953faf73be24191"},
- {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ec53a0ea2a80c5cd1ab397925f94bff59222aa3cf9c6da938ce05c9ec20428d"},
- {file = "yarl-1.9.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:159d81f22d7a43e6eabc36d7194cb53f2f15f498dbbfa8edc8a3239350f59fe7"},
- {file = "yarl-1.9.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:832b7e711027c114d79dffb92576acd1bd2decc467dec60e1cac96912602d0e6"},
- {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:95d2ecefbcf4e744ea952d073c6922e72ee650ffc79028eb1e320e732898d7e8"},
- {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:d4e2c6d555e77b37288eaf45b8f60f0737c9efa3452c6c44626a5455aeb250b9"},
- {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:783185c75c12a017cc345015ea359cc801c3b29a2966c2655cd12b233bf5a2be"},
- {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:b8cc1863402472f16c600e3e93d542b7e7542a540f95c30afd472e8e549fc3f7"},
- {file = "yarl-1.9.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:822b30a0f22e588b32d3120f6d41e4ed021806418b4c9f0bc3048b8c8cb3f92a"},
- {file = "yarl-1.9.2-cp311-cp311-win32.whl", hash = "sha256:a60347f234c2212a9f0361955007fcf4033a75bf600a33c88a0a8e91af77c0e8"},
- {file = "yarl-1.9.2-cp311-cp311-win_amd64.whl", hash = "sha256:be6b3fdec5c62f2a67cb3f8c6dbf56bbf3f61c0f046f84645cd1ca73532ea051"},
- {file = "yarl-1.9.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:38a3928ae37558bc1b559f67410df446d1fbfa87318b124bf5032c31e3447b74"},
- {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ac9bb4c5ce3975aeac288cfcb5061ce60e0d14d92209e780c93954076c7c4367"},
- {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3da8a678ca8b96c8606bbb8bfacd99a12ad5dd288bc6f7979baddd62f71c63ef"},
- {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:13414591ff516e04fcdee8dc051c13fd3db13b673c7a4cb1350e6b2ad9639ad3"},
- {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bf74d08542c3a9ea97bb8f343d4fcbd4d8f91bba5ec9d5d7f792dbe727f88938"},
- {file = "yarl-1.9.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e7221580dc1db478464cfeef9b03b95c5852cc22894e418562997df0d074ccc"},
- {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:494053246b119b041960ddcd20fd76224149cfea8ed8777b687358727911dd33"},
- {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:52a25809fcbecfc63ac9ba0c0fb586f90837f5425edfd1ec9f3372b119585e45"},
- {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:e65610c5792870d45d7b68c677681376fcf9cc1c289f23e8e8b39c1485384185"},
- {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:1b1bba902cba32cdec51fca038fd53f8beee88b77efc373968d1ed021024cc04"},
- {file = "yarl-1.9.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:662e6016409828ee910f5d9602a2729a8a57d74b163c89a837de3fea050c7582"},
- {file = "yarl-1.9.2-cp37-cp37m-win32.whl", hash = "sha256:f364d3480bffd3aa566e886587eaca7c8c04d74f6e8933f3f2c996b7f09bee1b"},
- {file = "yarl-1.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:6a5883464143ab3ae9ba68daae8e7c5c95b969462bbe42e2464d60e7e2698368"},
- {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5610f80cf43b6202e2c33ba3ec2ee0a2884f8f423c8f4f62906731d876ef4fac"},
- {file = "yarl-1.9.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b9a4e67ad7b646cd6f0938c7ebfd60e481b7410f574c560e455e938d2da8e0f4"},
- {file = "yarl-1.9.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:83fcc480d7549ccebe9415d96d9263e2d4226798c37ebd18c930fce43dfb9574"},
- {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5fcd436ea16fee7d4207c045b1e340020e58a2597301cfbcfdbe5abd2356c2fb"},
- {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:84e0b1599334b1e1478db01b756e55937d4614f8654311eb26012091be109d59"},
- {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3458a24e4ea3fd8930e934c129b676c27452e4ebda80fbe47b56d8c6c7a63a9e"},
- {file = "yarl-1.9.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:838162460b3a08987546e881a2bfa573960bb559dfa739e7800ceeec92e64417"},
- {file = "yarl-1.9.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f4e2d08f07a3d7d3e12549052eb5ad3eab1c349c53ac51c209a0e5991bbada78"},
- {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:de119f56f3c5f0e2fb4dee508531a32b069a5f2c6e827b272d1e0ff5ac040333"},
- {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:149ddea5abf329752ea5051b61bd6c1d979e13fbf122d3a1f9f0c8be6cb6f63c"},
- {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:674ca19cbee4a82c9f54e0d1eee28116e63bc6fd1e96c43031d11cbab8b2afd5"},
- {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:9b3152f2f5677b997ae6c804b73da05a39daa6a9e85a512e0e6823d81cdad7cc"},
- {file = "yarl-1.9.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:5415d5a4b080dc9612b1b63cba008db84e908b95848369aa1da3686ae27b6d2b"},
- {file = "yarl-1.9.2-cp38-cp38-win32.whl", hash = "sha256:f7a3d8146575e08c29ed1cd287068e6d02f1c7bdff8970db96683b9591b86ee7"},
- {file = "yarl-1.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:63c48f6cef34e6319a74c727376e95626f84ea091f92c0250a98e53e62c77c72"},
- {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:75df5ef94c3fdc393c6b19d80e6ef1ecc9ae2f4263c09cacb178d871c02a5ba9"},
- {file = "yarl-1.9.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c027a6e96ef77d401d8d5a5c8d6bc478e8042f1e448272e8d9752cb0aff8b5c8"},
- {file = "yarl-1.9.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:f3b078dbe227f79be488ffcfc7a9edb3409d018e0952cf13f15fd6512847f3f7"},
- {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59723a029760079b7d991a401386390c4be5bfec1e7dd83e25a6a0881859e716"},
- {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b03917871bf859a81ccb180c9a2e6c1e04d2f6a51d953e6a5cdd70c93d4e5a2a"},
- {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c1012fa63eb6c032f3ce5d2171c267992ae0c00b9e164efe4d73db818465fac3"},
- {file = "yarl-1.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a74dcbfe780e62f4b5a062714576f16c2f3493a0394e555ab141bf0d746bb955"},
- {file = "yarl-1.9.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8c56986609b057b4839968ba901944af91b8e92f1725d1a2d77cbac6972b9ed1"},
- {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:2c315df3293cd521033533d242d15eab26583360b58f7ee5d9565f15fee1bef4"},
- {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:b7232f8dfbd225d57340e441d8caf8652a6acd06b389ea2d3222b8bc89cbfca6"},
- {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:53338749febd28935d55b41bf0bcc79d634881195a39f6b2f767870b72514caf"},
- {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:066c163aec9d3d073dc9ffe5dd3ad05069bcb03fcaab8d221290ba99f9f69ee3"},
- {file = "yarl-1.9.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8288d7cd28f8119b07dd49b7230d6b4562f9b61ee9a4ab02221060d21136be80"},
- {file = "yarl-1.9.2-cp39-cp39-win32.whl", hash = "sha256:b124e2a6d223b65ba8768d5706d103280914d61f5cae3afbc50fc3dfcc016623"},
- {file = "yarl-1.9.2-cp39-cp39-win_amd64.whl", hash = "sha256:61016e7d582bc46a5378ffdd02cd0314fb8ba52f40f9cf4d9a5e7dbef88dee18"},
- {file = "yarl-1.9.2.tar.gz", hash = "sha256:04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"},
-]
-
-[package.dependencies]
-idna = ">=2.0"
-multidict = ">=4.0"
-
-[[package]]
-name = "zipp"
-version = "3.15.0"
-description = "Backport of pathlib-compatible object wrapper for zip files"
-category = "main"
-optional = false
-python-versions = ">=3.7"
-files = [
- {file = "zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556"},
- {file = "zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b"},
-]
-
-[package.extras]
-docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"]
-testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"]
-
-[metadata]
-lock-version = "2.0"
-python-versions = ">=3.10,<4.0"
-content-hash = "f7e1229cc51948c59d78b85b35b80f435747e05040d01656ba3b230fe5bad1a8"
diff --git a/apps/dashboard/api-service/poetry.toml b/apps/dashboard/api-service/poetry.toml
deleted file mode 100644
index 53b35d370..000000000
--- a/apps/dashboard/api-service/poetry.toml
+++ /dev/null
@@ -1,3 +0,0 @@
-[virtualenvs]
-create = true
-in-project = true
diff --git a/apps/dashboard/api-service/pyproject.toml b/apps/dashboard/api-service/pyproject.toml
deleted file mode 100644
index b16546a9e..000000000
--- a/apps/dashboard/api-service/pyproject.toml
+++ /dev/null
@@ -1,34 +0,0 @@
-[tool.poetry]
-name = "codegen"
-version = "0.1.0"
-description = ""
-authors = ["e2b <[email protected]>"]
-
-[tool.poetry.dependencies]
-python = ">=3.10,<4.0"
-python-dateutil = "^2.8.2"
-urllib3 = "^1.26.14"
-pydantic = "^1.10.6"
-aenum = "^3.1.11"
-asyncio = "^3.4.3"
-postgrest = "^0.10.6"
-uvicorn = {extras = ["standard"], version = "^0.22.0"}
-fastapi = "^0.95.1"
-langchain = "0.0.141"
-openai = "^0.27.6"
-uuid = "^1.30"
-aiohttp = "^3.8.4"
-gunicorn = "^20.1.0"
-opentelemetry-distro = "^0.39b0"
-opentelemetry-exporter-otlp = "^1.18.0"
-
-[tool.poetry.group.dev]
-optional = true
-
-[tool.poetry.group.dev.dependencies]
-python-dotenv = "^1.0.0"
-pytest = "^7.2.2"
-
-[build-system]
-requires = ["poetry-core>=1.3.0"]
-build-backend = "poetry.core.masonry.api"
diff --git a/apps/dashboard/api-service/session/__init__.py b/apps/dashboard/api-service/session/__init__.py
deleted file mode 100644
index ec9c1d513..000000000
--- a/apps/dashboard/api-service/session/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-from .playground.nodejs import NodeJSPlayground
diff --git a/apps/dashboard/api-service/session/env.py b/apps/dashboard/api-service/session/env.py
deleted file mode 100644
index 310c4c70a..000000000
--- a/apps/dashboard/api-service/session/env.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from functools import reduce
-from typing import List, TypedDict
-
-
-class EnvVar(TypedDict):
- key: str
- value: str
-
-
-def format_env_vars(envs: List[EnvVar]) -> dict[str, str]:
- return reduce(
- lambda acc, env: {
- **acc,
- **({env["key"]: env["value"]} if env["key"] else {}),
- },
- envs,
- {},
- )
-
-def cmd_with_env_vars(cmd: str, envs: dict[str, str]):
- return reduce(
- lambda acc, env: f"{env[0]}={env[1]} " + acc,
- envs.items(),
- cmd,
- )
diff --git a/apps/dashboard/api-service/session/playground/__init__.py b/apps/dashboard/api-service/session/playground/__init__.py
deleted file mode 100644
index 0f8a801e5..000000000
--- a/apps/dashboard/api-service/session/playground/__init__.py
+++ /dev/null
@@ -1,2 +0,0 @@
-from .base import Playground
-from .nodejs import NodeJSPlayground
diff --git a/apps/dashboard/api-service/session/playground/base.py b/apps/dashboard/api-service/session/playground/base.py
deleted file mode 100644
index 1142a89b4..000000000
--- a/apps/dashboard/api-service/session/playground/base.py
+++ /dev/null
@@ -1,261 +0,0 @@
-import math
-
-from multiprocessing.pool import ApplyResult
-from typing import Any, List
-from asyncio import sleep
-
-from playground_client.models.entry_info import EntryInfo
-from playground_client.models.list_filesystem_dir_response import (
- ListFilesystemDirResponse,
-)
-from playground_client.models.process_response import ProcessResponse
-from playground_client.models.read_filesystem_file_response import (
- ReadFilesystemFileResponse,
-)
-from playground_client.models.session_response import SessionResponse
-import playground_client
-from session.env import cmd_with_env_vars
-from session.session import GetEnvs, Session, get_result
-
-
-class Playground(Session):
- port_check_interval = 0.5 # 500ms
- max_port_checks = 10
-
- run_command_timeout_frequency = 1 # in Hz
-
- def __init__(self, env_id: str, get_envs: GetEnvs, rootdir="/"):
- super().__init__(env_id, get_envs)
- self.rootdir = rootdir
-
- async def get_open_ports(self):
- thread: Any = self.api.get_session(self.id, async_req=True)
- response: SessionResponse = await get_result(thread)
- return response.ports
-
- async def is_port_open(self, port: float) -> bool:
- open_ports = await self.get_open_ports()
- return any(
- open_port.port == port and open_port.state == "LISTEN"
- for open_port in open_ports
- )
-
- async def sync_clock(self):
- await self.run_command(
- "rc-service chronyd stop && chronyd -q 'server pool.ntp.org iburst'"
- )
-
- async def install_deps(self, rootdir: str):
- await self.run_command("apk add npm")
- await self.run_command(f"npm install --prefix {rootdir}", rootdir="/")
-
- async def clone_repo(
- self,
- repo_address: str,
- branch: str,
- rootdir: str,
- ):
- await self.make_dir(rootdir)
- res = await self.run_command(
- f"git clone --depth 1 --branch {branch} {repo_address} {rootdir}",
- rootdir="/",
- )
- print("Repo clone result", res)
-
- async def push_repo(
- self,
- repo_address: str,
- rootdir: str,
- commit_message: str,
- git_email: str,
- git_name: str,
- ):
- res = await self.run_command(
- (
- f"cd {rootdir} && "
- f'git config --global user.email "{git_email}" && '
- f'git config --global user.name "{git_name}" && '
- f"git config --global push.autoSetupRemote true && "
- f"git add . && "
- f'git commit -m "{commit_message}" && '
- f"git push {repo_address}"
- ),
- rootdir=rootdir,
- )
- print("Repo push result", res)
-
- async def change_rootdir(self, rootdir: str):
- self.rootdir = rootdir
-
- async def get_filenames(
- self,
- path: str,
- ignore: List[str] = [],
- ):
- dirs: List[EntryInfo] = [EntryInfo(name=path, isDir=True)]
- files: List[EntryInfo] = []
- while len(dirs) > 0:
- dir = dirs.pop()
- entries = await self.list_dir(dir.name)
- dirs.extend(
- EntryInfo(isDir=True, name=f"{dir.name}/{entry.name}")
- for entry in entries
- if entry.is_dir and not entry.name in ignore
- )
- files.extend(
- EntryInfo(isDir=False, name=f"{dir.name}/{entry.name}")
- for entry in entries
- if not entry.is_dir and not entry.name in ignore
- )
- return files
-
- async def get_files(
- self,
- path: str,
- ignore: List[str] = [],
- ):
- files = await self.get_filenames(path, ignore)
- for file in files:
- try:
- content = await self.read_file(file.name)
- yield (file.name, content)
- except:
- print("Skipping file", file.name)
- continue
-
- async def run_command(
- self,
- cmd: str,
- rootdir: str | None = None,
- timeout: float | None = None,
- ):
- thread: ApplyResult[ProcessResponse]
-
- thread = self.api.start_process(
- self.id,
- playground_client.StartProcessParams(
- cmd=cmd_with_env_vars(cmd, self.env_vars),
- # TODO: Env vars are not correctly passed to the devbookd process - that's why we add them with cmd_with_env_vars.
- envVars=self.env_vars,
- rootdir=rootdir or self.rootdir,
- ),
- wait=True if timeout is None else False,
- async_req=True,
- ) # type: ignore
-
- response: ProcessResponse = await get_result(thread)
-
- if timeout is None or response.finished:
- return response
-
- # Multiply the timeout by the frequency so when we sleep for the 1/frequency the total time sleeping will be the timeout.
- for _ in range(math.ceil(timeout * self.run_command_timeout_frequency)):
- thread = self.api.get_process(
- self.id,
- process_id=response.process_id,
- async_req=True,
- ) # type: ignore
-
- response: ProcessResponse = await get_result(thread)
-
- if response.finished:
- return response
- await sleep(1 / self.run_command_timeout_frequency)
-
- if not response.finished:
- thread = self.api.stop_process(
- self.id,
- process_id=response.process_id,
- results=False,
- async_req=True,
- ) # type: ignore
- await get_result(thread)
-
- return response
-
- async def start_process(
- self,
- cmd: str,
- rootdir: str | None = None,
- ):
- """Start process and return the process ID."""
- thread: Any = self.api.start_process(
- self.id,
- playground_client.StartProcessParams(
- cmd=cmd_with_env_vars(cmd, self.env_vars),
- # TODO: Env vars are not correctly passed to the devbookd process - that's why we add them with cmd_with_env_vars.
- envVars=self.env_vars,
- rootdir=rootdir or self.rootdir,
- ),
- async_req=True,
- )
-
- response: ProcessResponse = await get_result(thread)
- return response.process_id
-
- async def stop_process(self, process_id: str):
- thread: Any = self.api.stop_process(
- self.id,
- process_id=process_id,
- results=True,
- async_req=True,
- )
-
- response: ProcessResponse = await get_result(thread)
- return response
-
- async def read_file(self, path: str):
- thread: Any = self.api.read_filesystem_file(self.id, path, async_req=True)
- response: ReadFilesystemFileResponse = await get_result(thread)
- return response.content
-
- async def list_dir(self, path: str):
- thread: Any = self.api.list_filesystem_dir(self.id, path, async_req=True)
- response: ListFilesystemDirResponse = await get_result(thread)
- return response.entries
-
- async def delete_file(self, path: str):
- thread: Any = self.api.delete_filesystem_entry(self.id, path, async_req=True)
- await get_result(thread)
-
- async def delete_dir(self, path: str):
- thread: Any = self.api.delete_filesystem_entry(self.id, path, async_req=True)
- await get_result(thread)
-
- async def write_file(self, path: str, content: str):
- print("Writing file", path, content)
- thread: Any = self.api.write_filesystem_file(
- self.id,
- path,
- playground_client.WriteFilesystemFileRequest(content=content),
- async_req=True,
- )
- await get_result(thread)
-
- async def make_dir(self, path: str):
- thread: Any = self.api.make_filesystem_dir(self.id, path, async_req=True)
- await get_result(thread)
-
- async def run_server_with_request(
- self,
- server_cmd: str,
- request_cmd: str,
- port: float,
- rootdir: str | None = None,
- ):
- server_process_id = await self.start_process(
- cmd=server_cmd,
- rootdir=rootdir or self.rootdir,
- )
-
- for _ in range(self.max_port_checks):
- if await self.is_port_open(port):
- break
- await sleep(self.port_check_interval)
-
- request_result = await self.run_command(
- cmd=request_cmd,
- rootdir=rootdir or self.rootdir,
- )
- server_result = await self.stop_process(server_process_id)
- return request_result, server_result
diff --git a/apps/dashboard/api-service/session/playground/nodejs.py b/apps/dashboard/api-service/session/playground/nodejs.py
deleted file mode 100644
index f7c663d3f..000000000
--- a/apps/dashboard/api-service/session/playground/nodejs.py
+++ /dev/null
@@ -1,51 +0,0 @@
-import os
-
-from session.playground import Playground
-from session.session import GetEnvs
-
-
-class NodeJSPlayground(Playground):
- node_js_env_id = "PPSrlH5TIvFx"
- rootdir = "/repo"
- default_javascript_code_file = os.path.join(rootdir, "index.mjs")
- run_code_timeout = 3 # 3s
-
- def __init__(self, get_envs: GetEnvs):
- super().__init__(
- NodeJSPlayground.node_js_env_id,
- get_envs,
- rootdir=NodeJSPlayground.rootdir,
- )
-
- async def run_saved_javascript_code(self):
- result = await self.run_command(
- f"node {self.default_javascript_code_file}",
- rootdir=self.rootdir,
- timeout=self.run_code_timeout,
- )
- return result
-
- async def install_dependencies(self, dependencies: str):
- result = await self.run_command(
- f"npm install {dependencies}",
- rootdir=self.rootdir,
- )
- return result
-
- async def run_javascript_server_code_with_request(
- self,
- code: str,
- request_cmd: str,
- port: float,
- ):
- await self.write_file(self.default_javascript_code_file, code)
- result = await self.run_server_with_request(
- server_cmd=f"node {self.default_javascript_code_file}",
- request_cmd=request_cmd,
- port=port,
- rootdir=self.rootdir,
- )
- return result
-
- async def write_javascript_code(self, code: str):
- await self.write_file(self.default_javascript_code_file, code)
diff --git a/apps/dashboard/api-service/session/session.py b/apps/dashboard/api-service/session/session.py
deleted file mode 100644
index 3ce00793e..000000000
--- a/apps/dashboard/api-service/session/session.py
+++ /dev/null
@@ -1,64 +0,0 @@
-import asyncio
-
-from multiprocessing.pool import ApplyResult
-from typing import Callable, Coroutine, List, Any
-
-import playground_client
-from playground_client.models.session_response import SessionResponse
-
-from session.env import EnvVar, format_env_vars
-
-
-configuration = playground_client.Configuration(
- host="http://localhost:49160",
-)
-
-# Configuration for local server
-configuration.verify_ssl = False
-configuration.ssl_ca_cert = None
-configuration.cert_file = None
-
-GetEnvs = Callable[[], Coroutine[Any, Any, List[EnvVar]]]
-
-
-async def get_result(result: ApplyResult[Any]):
- while not result.ready():
- await asyncio.sleep(0.5) # give other tasks chance to run
-
- return result.get()
-
-
-class Session:
- def __init__(self, env_id: str, get_envs: GetEnvs):
- self.client = playground_client.ApiClient(configuration, pool_threads=3)
- self.api = playground_client.DefaultApi(self.client)
- self.env_id = env_id
- self.is_closed = False
- self.env_vars = {}
- self.get_envs = get_envs
- self.id: str = ""
-
- async def open(self):
- thread: ApplyResult[Any] = self.api.create_sessions(
- playground_client.CreateSessionsRequest(envID=self.env_id),
- _request_timeout=10,
- async_req=True,
- ) # type: ignore
-
- response: SessionResponse = await get_result(thread)
- self.id = response.id
-
- async def update_envs(self):
- """
- Run this each time you want to ensure the envs vars for this class are up to date.
- The self.env_vars are then used in for children methods like run_javascript_code, etc.
- """
- result = await self.get_envs()
- self.env_vars = format_env_vars(result)
-
- async def close(self):
- if not self.is_closed and self.id is not None:
- thread: Any = self.api.delete_session(self.id, async_req=True)
- await get_result(thread)
- self.is_closed = True
- self.client.close()
diff --git a/apps/dashboard/api-service/start.sh b/apps/dashboard/api-service/start.sh
deleted file mode 100755
index 085f90467..000000000
--- a/apps/dashboard/api-service/start.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-# Start playground api
-cd /playground && exec node lib/server.js &
-
-# Start python app
-cd /app && OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES exec poetry run opentelemetry-instrument --service_name agent-api --exporter_otlp_endpoint 'ingest.lightstep.com:443' --traces_exporter otlp_proto_grpc --metrics_exporter otlp_proto_grpc gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 12 --timeout 120 app:app -k uvicorn.workers.UvicornWorker &
-
-# Wait for any process to exit
-wait -n
-
-# Exit with status of process that exited first
-exit $?
diff --git a/apps/dashboard/components/AgentChallengeTag.tsx b/apps/dashboard/components/AgentChallengeTag.tsx
deleted file mode 100644
index 67d9a07fc..000000000
--- a/apps/dashboard/components/AgentChallengeTag.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import clsx from 'clsx'
-import { AgentChallengeTag as AgentChallengeTagType } from 'utils/agentLogs'
-
-export interface Props {
- tag: AgentChallengeTagType
-}
-
-function AgentChallengeTag({
- tag,
-}: Props) {
- return (
- <span
- className={clsx(
- 'flex items-center justify-center h-6 px-2 rounded-md text-xs border shrink-0',
- tag.severity === 'Success' && 'bg-green-500/10 border-green-500/20 text-green-500',
- tag.severity === 'Warning' && 'bg-orange-500/10 border-orange-500/20 text-orange-500',
- tag.severity === 'Error' && 'bg-red-500/10 border-red-500/20 text-red-500',
- )}
- >
- {tag.text}
- </span>
- )
-}
-
-export default AgentChallengeTag
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentChallengeTagButton.tsx b/apps/dashboard/components/AgentChallengeTagButton.tsx
deleted file mode 100644
index 619f1c0c2..000000000
--- a/apps/dashboard/components/AgentChallengeTagButton.tsx
+++ /dev/null
@@ -1,54 +0,0 @@
-import {
- useState,
-} from 'react'
-import {
- Plus,
-} from 'lucide-react'
-import AgentChallengeTagModal, { Severity } from 'components/AgentChallengeTagModal'
-
-export interface Props {
- newTagName: string
- onNewTagNameChange: (e: any) => void
- onSeveritySelect: (s: Severity) => void
-}
-
-function AgentChallengeTagButton({
- newTagName,
- onNewTagNameChange,
- onSeveritySelect,
-}: Props) {
- const [isModalOpen, setIsModalOpen] = useState(false)
-
- function handleButtonClick() {
- setIsModalOpen(val => !val)
- }
-
- function handleModalClickOutside() {
- setIsModalOpen(false)
- }
-
- return (
- <div>
- <button
- className="flex items-center justify-center text-xs shrink-0 text-gray-400 bg-[#1F2437] hover:bg-[#272D44] h-6 w-6 rounded-md"
- onClick={handleButtonClick}
- >
- <Plus size={14} />
- </button>
-
- {isModalOpen && (
- <>
- <div className="fixed inset-0 bg-transparent z-40" />
- <AgentChallengeTagModal
- value={newTagName}
- onChange={onNewTagNameChange}
- onClickOutside={handleModalClickOutside}
- onSeveritySelect={onSeveritySelect}
- />
- </>
- )}
- </div>
- )
-}
-
-export default AgentChallengeTagButton
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentChallengeTagModal.tsx b/apps/dashboard/components/AgentChallengeTagModal.tsx
deleted file mode 100644
index 7bd71fa49..000000000
--- a/apps/dashboard/components/AgentChallengeTagModal.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-import {
- useRef,
-} from 'react'
-import useOnClickOutside from 'hooks/useOnClickOutside'
-
-export type Severity = 'Success' | 'Warning' | 'Error'
-
-export interface Props {
- value: string
- onChange: (e: any) => void
- onClickOutside: (e: any) => void
- onSeveritySelect: (s: Severity) => void
-}
-
-function AgentChallengeTagModal({
- value,
- onChange,
- onClickOutside,
- onSeveritySelect,
-}: Props) {
- const ref = useRef<HTMLDivElement>(null)
-
- function handleClickOutside(e: any) {
- onClickOutside(e)
- }
-
- useOnClickOutside(ref, handleClickOutside)
-
- return (
- <div
- ref={ref}
- className="
- absolute
- mt-1
- w-[200px]
- border
- border-[#6366F1]/50
- shadow-lg
- bg-[#1F2437]
- z-50
- rounded-lg
- ">
- <input
- className="
- w-full
- bg-transparent
- p-4
- text-sm
- outline-none
- border-b
- border-b-white/5
- placeholder:text-gray-600
- "
- value={value}
- onChange={onChange}
- placeholder="Tag name"
- autoFocus
- />
- <span className="p-2 text-xs text-gray-500">Select Severity</span>
- <div className="
- p-2
- flex
- flex-col
- space-y-2
- items-start
- justify-start
- ">
- <button
- className="w-full rounded p-2 flex items-center justify-start space-x-2 hover:bg-[#31374F]"
- onClick={() => onSeveritySelect('Success')}
- >
- <div className="w-4 h-4 flex items-center justify-center bg-green-500/10 border border-green-500/20 rounded-full">
- <div className="w-2 h-2 rounded-full bg-green-500" />
- </div>
- <span className="text-sm text-gray-300">Success</span>
- </button>
-
- <button
- className="w-full rounded p-2 flex items-center justify-start space-x-2 hover:bg-[#31374F]"
- onClick={() => onSeveritySelect('Warning')}
- >
- <div className="w-4 h-4 flex items-center justify-center bg-orange-500/10 border border-orange-500/20 rounded-full">
- <div className="w-2 h-2 rounded-full bg-orange-500" />
- </div>
- <span className="text-sm text-gray-300">Warning</span>
- </button>
-
- <button
- className="w-full rounded p-2 flex items-center justify-start space-x-2 hover:bg-[#31374F]"
- onClick={() => onSeveritySelect('Error')}
- >
- <div className="w-4 h-4 flex items-center justify-center bg-red-500/10 border border-red-500/20 rounded-full">
- <div className="w-2 h-2 rounded-full bg-red-500" />
- </div>
- <span className="text-sm text-gray-300">Error</span>
- </button>
- </div>
- </div>
- )
-}
-
-export default AgentChallengeTagModal
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentDeploymentsList.tsx b/apps/dashboard/components/AgentDeploymentsList.tsx
deleted file mode 100644
index 1c0e5b8ea..000000000
--- a/apps/dashboard/components/AgentDeploymentsList.tsx
+++ /dev/null
@@ -1,164 +0,0 @@
-import {
- useMemo,
- useState,
-} from 'react'
-import Link from 'next/link'
-import {
- ChevronRight,
- Plus,
-} from 'lucide-react'
-import clsx from 'clsx'
-import { usePostHog } from 'posthog-js/react'
-
-import {
- LiteDeployment,
-} from 'utils/agentLogs'
-
-import DeploymentTree from 'components/DeploymentTree'
-
-export interface Props {
- deployments: LiteDeployment[]
-}
-
-function AgentDeploymentsList({
- deployments,
-}: Props) {
- const [openDeployments, setOpenDeployments] = useState<{ [key: string]: boolean }>({})
- const posthog = usePostHog()
- const sortedDeployments = useMemo(() => deployments
- // deployments sorted by created_at - the newest first
- .sort((a, b) => {
- if (a.created_at > b.created_at) return -1
- if (a.created_at < b.created_at) return 1
- return 0
- }), [deployments])
-
- function toggleDeployments(deploymentID: string) {
- if (openDeployments[deploymentID]) {
- posthog?.capture('closed deployment', {
- deploymentID: deploymentID,
- })
- setOpenDeployments(prev => ({
- ...prev,
- [deploymentID]: false,
- }))
- } else {
- posthog?.capture('opened deployment', {
- deploymentID: deploymentID,
- })
- setOpenDeployments(prev => ({
- ...prev,
- [deploymentID]: true,
- }))
- }
- }
-
- function captureSDKLinkClick() {
- posthog?.capture('clicked SDK coming soon link')
- console.log('clicked')
- }
-
- return (
- <main className="overflow-hidden flex flex-col max-h-full flex-1 rounded-md">
- <header className="flex items-center justify-between px-4 py-3 border-b border-b-white/5">
- <h1 className="text-xl font-semibold text-white">Agent Deployments</h1>
- <div className="flex items-center space-x-4">
- <a
- className="text-sm font-medium text-indigo-400 hover:text-indigo-500 cursor-pointer transition-all"
- href="https://github.com/e2b-dev/sdk"
- target="_blank"
- rel="noreferrer noopener"
- onClick={captureSDKLinkClick}
- >
- SDK Coming Soon
- </a>
-
- <Link href="/agent/smol-developer">
- <button
- className="py-1 px-2 rounded-md bg-green-400/10 hover:bg-green-400/20 border border-green-400/20 transition-all flex items-center space-x-2 text-green-400 text-sm font-semibold"
- >
- <Plus size={16} />
- <span>Deploy Smol Developer</span>
- </button>
- </Link>
- </div>
- </header>
- {sortedDeployments.length === 0 && (
- <div className="flex items-center justify-center flex-1">
- <p className="text-gray-400 text-lg">No log files uploaded yet</p>
- </div>
- )}
-
- {sortedDeployments.length > 0 && (
- <div className="my-4 flex-col space-y-4 px-4 py-2 sm:px-4 flex-1 flex pr-2 overflow-auto">
- {sortedDeployments.map(deployment => (
- <div
- key={deployment.id}
- >
- <div
- className="flex flex-col space-y-2 flex-1"
- >
- <div className="flex items-center space-x-2">
- <button
- className={clsx(
- 'h-6 w-6 flex items-center justify-center px-1 cursor-pointer hover:bg-gray-700 transition-all rounded-md',
- openDeployments[deployment.id] && 'bg-gray-700',
- !openDeployments[deployment.id] && 'bg-gray-800',
- )}
- onClick={() => toggleDeployments(deployment.id)}
- >
- <ChevronRight size={14} className={clsx(
- 'text-gray-400',
- 'transition-all',
- 'select-none',
- openDeployments[deployment.id] && 'rotate-90',
- )} />
- </button>
- <div
- className={clsx(
- 'text-sm',
- 'font-semibold',
- 'text-gray-200',
- 'flex',
- 'space-x-2',
- 'whitespace-nowrap',
- )}
- // This prevents hydration warning for timestamps rendered via SSR
- suppressHydrationWarning
- >
- <span className="text-gray-200 font-normal">
- {deployment.projects.name}
- </span>
- <span className="text-gray-600 font-normal truncate">
- {deployment.projects.slug}
- </span>
- </div>
- {/* {deployment.secrets &&
- <span className="text-xs text-gray-500">
- Open AI API - using your own API key
- </span>
- }
- {!deployment.secrets &&
- <span className="text-xs text-gray-500">
- {'Open AI API - using e2b\'s API key'}
- </span>
- } */}
- </div>
-
- {openDeployments[deployment.id] && (
- <div className="flex flex-col transition-all space-y-3 border-l border-white/5 pl-2 ml-[11px] flex-1">
- <DeploymentTree
- deployment={deployment}
- />
- </div>
- )}
- </div>
- </div>
- ))}
- </div>
- )}
- </main >
- )
-}
-
-export default AgentDeploymentsList
diff --git a/apps/dashboard/components/AgentDeploymentsStepsList.tsx b/apps/dashboard/components/AgentDeploymentsStepsList.tsx
deleted file mode 100644
index b9f309c46..000000000
--- a/apps/dashboard/components/AgentDeploymentsStepsList.tsx
+++ /dev/null
@@ -1,144 +0,0 @@
-import {
- useEffect,
- useCallback,
- Fragment,
- useMemo,
-} from 'react'
-import { useRouter } from 'next/router'
-import clsx from 'clsx'
-import { usePostHog } from 'posthog-js/react'
-
-interface Step {
- type: string
- id: string
- message: string
- timestamp: string
- group?: {
- id: string
- message: string
- }
-}
-
-interface StepGroup {
- id?: string
- message?: string
- steps: Step[]
-}
-
-function groupSteps(steps: Step[]) {
- return steps.reduce<StepGroup[]>((acc, step) => {
- if (!step.group) {
- acc.push({
- steps: [step],
- })
- } else {
- const group = acc.find((g) => g.id === step.group?.id)
- if (group) {
- group.steps.push(step)
- } else {
- acc.push({
- id: step.group.id,
- message: step.group.message,
- steps: [step],
- })
- }
- }
- return acc
- }, [])
-}
-
-
-export interface Props {
- steps: Step[]
-}
-
-function AgentDeploymentStepsList({
- steps,
-}: Props) {
- const router = useRouter()
- const selectedStepID = router.query.stepID as string
- const posthog = usePostHog()
-
- const selectStep = useCallback((id: string) => {
- posthog?.capture('selected log step', {
- stepID: id,
- })
- router.replace({
- pathname: '',
- query: {
- ...router.query,
- stepID: id,
- },
- }, undefined, { shallow: true })
- }, [router, posthog])
-
- useEffect(function selectDefaultStep() {
- if (selectedStepID) return
-
- const id = steps.length > 0 ? steps[0].id : undefined
- if (id) {
- selectStep(id)
- }
- }, [router, steps, selectedStepID, selectStep])
-
- const groupedSteps = useMemo(() => groupSteps(steps), [steps])
-
- return (
- <div className="flex flex-col ml-4 overflow-auto">
- {steps.length === 0 && (
- <div className="flex-1 flex items-center justify-center h-full">
- <p className="text-gray-400">No logs</p>
- </div>
- )}
- {groupedSteps.map((group, idx) => (
- <Fragment key={idx}>
- <div className={clsx({ 'border-gray-700 rounded-md py-4 my-3': group.id, 'border-transparent my-1': !group.id }, 'px-4 border relative')}>
- {group.id &&
- <span className="absolute top-[-9px] bg-gray-900 text-xs px-1.5 text-gray-50">
- {group.message}
- </span>
- }
- {group.steps.map((step, stepIdx) => (
- <Fragment key={stepIdx}>
- <div
- className={clsx('flex items-center space-x-2 cursor-pointer group')}
- onClick={() => selectStep(step.id)}
- >
- <span className={clsx(
- 'font-bold text-sm capitalize min-w-[72px] group-hover:text-[#6366F1] transition-all',
- selectedStepID === step.id && 'text-[#6366F1]',
- selectedStepID !== step.id && 'text-[#55618C]',
- )}
- >
- {step.type}
- </span>
- <span
- className={clsx(
- 'text-sm text-gray-100 max-w-full truncate p-2 group-hover:bg-[#1F2437] transition-all rounded-md cursor-pointer w-full flex justify-between',
- selectedStepID === step.id && 'bg-[#1F2437]',
- )}
- >
- <span>
- {step.message}
- </span>
- <span className="text-gray-600 text-sm self-center">
- {new Date(step.timestamp + 'Z').toLocaleTimeString()}
- </span>
- </span>
- </div>
- {stepIdx !== group.steps.length - 1 && (
- <div className="ml-1 rounded h-[24px] w-px bg-gray-800" />
- )}
- </Fragment>
- ))}
- </div>
- {idx !== groupedSteps.length - 1 && (
- <div className="ml-[21px] rounded h-[24px] w-px bg-gray-800" />
- )}
- </Fragment>
- ))}
- </div>
- )
-}
-
-export default AgentDeploymentStepsList
diff --git a/apps/dashboard/components/AgentFunctions.tsx b/apps/dashboard/components/AgentFunctions.tsx
deleted file mode 100644
index cc008bbd9..000000000
--- a/apps/dashboard/components/AgentFunctions.tsx
+++ /dev/null
@@ -1,138 +0,0 @@
-import {
- useState,
-} from 'react'
-import clsx from 'clsx'
-import {
- ChevronRight,
-} from 'lucide-react'
-
-import JsonView from 'components/JsonView'
-import { AgentFunction } from 'utils/agentLogs'
-
-export interface Props {
- functions: AgentFunction[]
-}
-function AgentFunctions({
- functions,
-}: Props) {
- const [opened, setOpened] = useState<number[]>([])
-
- function open(idx: number) {
- setOpened(opened => [...opened, idx])
- }
-
- function close(idx: number) {
- setOpened(opened => opened.filter(i => i !== idx))
- }
-
- function toggle(idx: number) {
- if (opened.includes(idx)) {
- close(idx)
- } else {
- open(idx)
- }
- }
-
- function sortAlphabetically(fns: AgentFunction[]) {
- return fns.sort((a, b) => {
- if (a.name < b.name) {
- return -1
- }
- if (a.name > b.name) {
- return 1
- }
-
- return 0
- })
- }
-
- return (
- <div className="flex-1 flex flex-col space-y-2 max-w-full w-full overflow-hidden">
- <h2 className="mb-2 font-medium text-sm text-gray-500">Functions</h2>
-
- <div className="flex-1 flex flex-col space-y-3 max-w-full w-full overflow-auto">
- {sortAlphabetically([...functions]).map((fn, idx) => (
- <div key={idx} className="flex flex-col space-y-2">
- <div className="group flex items-center space-x-2">
- <div
- className={clsx(
- 'p-1 cursor-pointer hover:bg-gray-700 transition-all rounded-md',
- opened.includes(idx) && 'bg-gray-700',
- !opened.includes(idx) && 'bg-gray-800',
- )}
- onClick={() => toggle(idx)}
- >
- <ChevronRight size={15} className={clsx(
- 'text-gray-400',
- 'transition-all',
- 'select-none',
- opened.includes(idx) && 'rotate-90',
- )} />
- </div>
-
- <span
- className={clsx(
- 'rounded-md',
- 'py-0.5',
- 'px-2',
- 'hover:bg-[#1F2437]',
- 'transition-all',
- 'w-full',
- 'text-sm',
- 'cursor-pointer',
- 'font-mono',
- opened.includes(idx) && 'bg-[#1F2437]',
- opened.includes(idx) && 'font-semibold',
- )}
- onClick={() => toggle(idx)}
- >
- {fn.name}
- </span>
- </div>
-
- {opened.includes(idx) && (
- <div className="px-[12px] flex items-start space-x-5 w-full">
- <div className="w-px self-stretch border-r border-gray-800 rounded" />
- <div className="flex flex-col space-y-3 w-full">
- {!fn.description && !fn.parameters && (
- <span className="text-sm text-gray-300">No description or parameters</span>
- )}
-
- {fn.description && (
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-bold text-gray-400">Description</span>
- <span className="text-sm text-gray-200 w-full">{fn.description}</span>
- </div>
- )}
-
- {fn.parameters && (
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-bold text-gray-400">Parameters</span>
- <div className="rounded-md overflow-hidden p-2">
- <JsonView
- src={fn.parameters}
- name={null}
- style={{
- background: 'transparent'
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- </div>
- </div>
- )}
- </div>
- </div>
- )}
- </div>
- ))}
- </div>
- </div>
- )
-}
-
-export default AgentFunctions
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentInstructions.tsx b/apps/dashboard/components/AgentInstructions.tsx
deleted file mode 100644
index ee41f714f..000000000
--- a/apps/dashboard/components/AgentInstructions.tsx
+++ /dev/null
@@ -1,118 +0,0 @@
-import {
- useCallback,
- useRef,
- useState,
-} from 'react'
-import {
- ArrowLeft,
- ArrowRight,
-} from 'lucide-react'
-
-import smolTemplates from 'utils/smolTemplates'
-import InstructionsEditor, { InstructionsEditorRef } from 'components/InstructionsEditor'
-import InstructionsTemplateButton from 'components/InstructionsTemplateButton'
-import AlertError from 'components/AlertError'
-import { usePostHog } from 'posthog-js/react'
-
-export interface Props {
- value: string
- onChange: (value: string) => void
- onTemplateSelect: (template: string) => void
- onBack: () => void
- onNext: () => void
-}
-
-function AgentInstructions({
- value,
- onChange,
- onTemplateSelect,
- onBack,
- onNext,
-}: Props) {
- const [error, setError] = useState<{ title: string, infoItems: string[] }>()
- const editorRef = useRef<InstructionsEditorRef>(null)
- const posthog = usePostHog()
-
- function handleContinue() {
- setError(undefined)
- posthog?.capture('confirmed instructions', {
- instructions: value,
- })
- if (!value) {
- setError({
- title: 'No instructions provided',
- infoItems: [
- 'Please provide instructions for the AI agent',
- ],
- })
- return
- }
- onNext()
- }
-
- const onFocus = useCallback(() => {
- posthog?.capture('focused instructions editor')
- }, [posthog])
-
- function handleTemplateClick(template: string) {
- editorRef.current?.setContent(template)
- onTemplateSelect(template)
- posthog?.capture('selected instructions template', {
- template: template,
- })
- }
-
- return (
- <div className="flex-1 flex flex-col items-start justify-start space-y-2">
- <h2 className="text-3xl font-bold tracking-tight sm:text-4xl">
- Deploy <a className="text-indigo-400 hover:text-indigo-500 transition-all" href="https://github.com/smol-ai/developer" target="_blank" rel="noreferrer noopener">Smol Developer</a>
- </h2>
- <p className="mt-2 mb-6 text-lg leading-8 text-gray-400">
- What do you want the AI agent to build?
- </p>
- {error && (
- <AlertError
- title={error.title}
- infoItems={error.infoItems}
- />
- )}
- <div className="flex items-center gap-2 flex-wrap">
- {Object.keys(smolTemplates).map((key) => (
- <InstructionsTemplateButton
- key={key}
- text={smolTemplates[key].title}
- onClick={() => handleTemplateClick(smolTemplates[key].content)}
- />
- ))}
- </div>
- <div className="relative bg-gray-950 flex flex-col p-2 w-full flex-1 overflow-auto border border-gray-700 rounded-md">
- <InstructionsEditor
- ref={editorRef}
- onFocus={onFocus}
- className="absolute inset-0 bg-gray-950 p-4 text-gray-100"
- placeholder="Create a website using Nextjs..."
- content={value}
- onChange={onChange}
- />
- </div>
- <div className="w-full flex items-center justify-between">
- <button
- className="flex items-center justify-start space-x-1 text-gray-400 hover:text-gray-100 transition-all"
- onClick={onBack}
- >
- <ArrowLeft size={14} />
- <span className="text-sm">Back</span>
- </button>
- <button
- className="px-2 py-1 flex group items-center space-x-1 font-medium rounded-md border border-indigo-400/30 bg-indigo-400/10 text-indigo-400 hover:bg-transparent hover:border-indigo-400 transition-all"
- onClick={handleContinue}
- >
- <span className="text-sm">Continue</span>
- <ArrowRight className="group-hover:translate-x-0.5 transition-all" size={14} />
- </button>
- </div>
- </div>
- )
-}
-
-export default AgentInstructions
diff --git a/apps/dashboard/components/AgentLogFileContent.tsx b/apps/dashboard/components/AgentLogFileContent.tsx
deleted file mode 100644
index 78cb74524..000000000
--- a/apps/dashboard/components/AgentLogFileContent.tsx
+++ /dev/null
@@ -1,86 +0,0 @@
-import {
- useCallback,
- useState,
-} from 'react'
-import Splitter from '@devbookhq/splitter'
-import clsx from 'clsx'
-
-import {
- SystemPromptLog,
- UserPromptLog,
- AssistantPromptLog,
- AgentPromptLogs,
- AgentNextActionLog,
- LiteLogFile,
-} from 'utils/agentLogs'
-import AgentPrompLogDetail from 'components/AgentPromptLogDetail'
-import AgentPromptLogsList from 'components/AgentPromptLogsList'
-import AgentNextActionLogDetail from 'components/AgentNextActionLogDetail'
-import { useLocalStorage } from 'hooks/useLocalStorage'
-
-export interface Props {
- logFile?: LiteLogFile
-}
-
-function AgentLogFileContent({
- logFile,
-}: Props) {
- const [selectedLog, setSelectedLog] = useState<SystemPromptLog | UserPromptLog | AssistantPromptLog>()
- const [splitterSizes, setSplitterSizes] = useLocalStorage('log-content-splitter', [40, 60])
-
- const setSizes = useCallback((pairIdx: number, sizes: number[]) => {
- setSplitterSizes(sizes)
- }, [setSplitterSizes])
-
- if (!logFile) return null
-
- return (
- <div className="flex-1 flex space-x-2 items-start justify-start overflow-hidden">
- {logFile.filename.includes('full_message_history')
- || logFile.filename.includes('current_context')
- || logFile.filename.includes('prompt_summary') ? (
- <Splitter
- gutterClassName={clsx(
- 'bg-gray-900 hover:bg-[#6366F1] transition-all delay-75 duration-[400ms] px-0.5 rounded-sm group',
- )}
- draggerClassName={clsx(
- 'bg-white/5 group-hover:bg-[#6366F1] transition-all delay-75 duration-[400ms] w-0.5 h-full',
- )}
- classes={['pr-2 overflow-auto', 'bg-gray-900 pl-2 pr-2']}
- initialSizes={splitterSizes}
- onResizeFinished={setSizes}
- minWidths={[120, 120]}
- >
- <AgentPromptLogsList
- logs={(logFile.content as AgentPromptLogs).logs}
- onSelected={setSelectedLog}
- />
- <AgentPrompLogDetail
- log={selectedLog}
- />
- </Splitter>
- ) : logFile.filename.includes('next_action') ? (
- <AgentNextActionLogDetail
- log={logFile.content as AgentNextActionLog}
- />
- ) : logFile.filename.includes('user_input.txt') || logFile.filename.includes('summary.txt') ? (
- <div className="overflow-auto p-2 mr-2.5 mb-2.5 h-full bg-[#1F2437] rounded-md flex flex-col space-y-4 w-full border border-gray-800">
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">User Input</span>
- <span
- className="text-sm text-gray-200 w-full prose whitespace-pre-wrap max-w-full"
- >
- {logFile.content as string}
- </span>
- </div>
- </div>
- ) : (
- <div>
- Unexpected JSON format. Please reach out to the e2b team.
- </div>
- )}
- </div>
- )
-}
-
-export default AgentLogFileContent
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentLogFilesList/Upload.tsx b/apps/dashboard/components/AgentLogFilesList/Upload.tsx
deleted file mode 100644
index 9310ea3bb..000000000
--- a/apps/dashboard/components/AgentLogFilesList/Upload.tsx
+++ /dev/null
@@ -1,74 +0,0 @@
-import { useRef, useState } from 'react'
-
-import { useUploadLogUpload } from 'hooks/useUploadLogUpload'
-import { log_files } from 'db/prisma'
-import { useRouter } from 'next/router'
-import LogFolderUploadButton from 'components/LogFolderUploadButton'
-
-export interface Props {
- defaultProjectID: string
-}
-
-function Upload({ defaultProjectID }: Props) {
- const router = useRouter()
- const fileInput = useRef<HTMLInputElement>(null)
- const uploadFiles = useUploadLogUpload(defaultProjectID)
- const [isUploading, setIsUploading] = useState(false)
-
- async function handleUpload(files: FileList) {
- const logFiles: Pick<log_files, 'content' | 'filename' | 'relativePath' | 'last_modified'>[] = []
-
- for (let i = 0; i < files.length; i++) {
- const file = files[i]
- const content = await file.text()
-
- if (file.name.startsWith('.')) continue
-
- logFiles.push({
- filename: file.name,
- relativePath: file.webkitRelativePath,
- content,
- last_modified: new Date(file.lastModified),
- })
- }
-
- await uploadFiles(logFiles)
- // Reload to refresh the list of log files
- router.reload()
- }
-
- async function handleFileChange(event: any) {
- if (event.target.files.length === 0) return
- setIsUploading(true)
- await handleUpload(event.target.files)
- setIsUploading(false)
- }
-
- function handleClickOnUpload() {
- // trigger the click event of the file input
- fileInput.current?.click()
- }
-
- return (
- <>
- <LogFolderUploadButton
- onClick={handleClickOnUpload}
- isUploading={isUploading}
- />
- <input
- type="file"
- style={{ display: 'none' }}
- ref={fileInput}
- onChange={handleFileChange}
- // @ts-ignore
- directory=""
- webkitdirectory=""
- mozdirectory=""
- allowdirs=""
- multiple
- />
- </>
- )
-}
-
-export default Upload
diff --git a/apps/dashboard/components/AgentLogFilesList/UploadFiletree.tsx b/apps/dashboard/components/AgentLogFilesList/UploadFiletree.tsx
deleted file mode 100644
index 516e7c88f..000000000
--- a/apps/dashboard/components/AgentLogFilesList/UploadFiletree.tsx
+++ /dev/null
@@ -1,89 +0,0 @@
-import { useCallback } from 'react'
-import path from 'path-browserify'
-
-import Filesystem, { FileInfo } from 'components/Filesystem'
-import { AgentChallengeTag, LiteLogFile } from 'utils/agentLogs'
-import { FiletreeProvider } from 'hooks/useFiletree'
-import { log_uploads } from 'db/prisma'
-
-export interface Props {
- logUpload: log_uploads
- logFiles: {
- id: string;
- relativePath: string;
- filename: string;
- }[]
- selectedLogFile?: LiteLogFile
-}
-
-function UploadTree({
- logUpload,
- selectedLogFile,
- logFiles,
-}: Props) {
- const fetchLogDirContent = useCallback<(dirpath: string) => (FileInfo & { id?: string, logUploadID: string, href?: any })[]>(dirpath => {
- const currentDir = dirpath.slice(1)
- const childFiles = logFiles
- .filter(f => {
- return path.dirname(f.relativePath) === currentDir
- })
-
- const filesInChildDirs = logFiles
- .filter(f => {
- const fileDir = path.dirname(f.relativePath)
- return fileDir !== currentDir && fileDir.startsWith(currentDir)
- })
-
- const childDirs = filesInChildDirs.reduce((acc, file) => {
- if (currentDir === '') {
- const fileDir = path.dirname(file.relativePath)
- const childDir = fileDir.split('/')[0]
- return acc.add(childDir)
- }
-
- const fileDir = path.dirname(file.relativePath)
- const childDirs = fileDir.slice(currentDir.length)
- const childDir = childDirs.split('/')[1]
- return acc.add(childDir)
- }, new Set<string>())
-
- const content = [
- ...childFiles.map(f => ({
- name: f.filename,
- isDir: false,
- id: f.id,
- tags: [],
- logUploadID: logUpload.id,
- href: {
- pathname: '/',
- query: {
- logFileID: f.id,
- },
- },
- })),
- ...Array.from(childDirs).map(dir => ({
- name: dir,
- isDir: true,
- // Filter out tags that don't belong to this dir.
- tags: (logUpload.tags as unknown as AgentChallengeTag[]).filter(t => t.path === `/${dir}`),
- logUploadID: logUpload.id,
- })),
- ]
-
- return content
- }, [logUpload, logFiles])
-
- return (
- <div className="flex flex-col items-start justify-start">
- <FiletreeProvider>
- <Filesystem
- expandedPath={'/' + selectedLogFile?.relativePath}
- rootPath='/'
- fetchContent={fetchLogDirContent}
- />
- </FiletreeProvider>
- </div>
- )
-}
-
-export default UploadTree
diff --git a/apps/dashboard/components/AgentLogFilesList/UploadedLogsDetail.tsx b/apps/dashboard/components/AgentLogFilesList/UploadedLogsDetail.tsx
deleted file mode 100644
index 75360e38c..000000000
--- a/apps/dashboard/components/AgentLogFilesList/UploadedLogsDetail.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import clsx from 'clsx'
-import { ChevronRight } from 'lucide-react'
-import { useEffect, useState } from 'react'
-import { useRouter } from 'next/router'
-
-import RenameLogUploadButton from 'components/RenameLogUploadButton'
-import UploadTree from 'components/AgentLogFilesList/UploadFiletree'
-import { useRenameLogUpload } from 'hooks/useRenameLogUpload'
-import { LiteLogFile } from 'utils/agentLogs'
-import { SupabaseClient, useSupabaseClient } from '@supabase/auth-helpers-react'
-import { Database } from 'db/supabase'
-import { formatLogFileContent } from 'utils/formatLogFileContent'
-import { log_uploads } from 'db/prisma'
-
-async function getUploadLogsContent(client: SupabaseClient<Database>, logUploadID: string) {
- const result = await client
- .from('log_files')
- .select('id, content, relativePath, filename')
- .eq('log_upload_id', logUploadID)
-
- if (result.error) {
- throw new Error(`failed to fetch log files for upload ${logUploadID} - ${result.error.message}`)
- }
-
- return result.data
-}
-
-export interface Props {
- logUpload: log_uploads
- onSelectLogFile: (logFile: LiteLogFile) => void
- selectedLogFile?: LiteLogFile
-}
-
-function UploadedLogsDetail({ logUpload, onSelectLogFile, selectedLogFile }: Props) {
- const [isOpen, setIsOpen] = useState(false)
- const router = useRouter()
- const renameLogUpload = useRenameLogUpload()
- const [uploadName, setUploadName] = useState(logUpload.display_name || `Upload from ${logUpload.created_at.toLocaleString()}`)
- const [isRenaming, setIsRenaming] = useState(false)
- const client = useSupabaseClient()
-
- const [logFiles, setLogFiles] = useState<{
- id: string;
- content: string;
- relativePath: string;
- filename: string;
- }[]>()
-
- const openLogFile = logUpload.id === selectedLogFile?.log_upload_id && logFiles ? selectedLogFile : undefined
-
- useEffect(function openIfLogFile() {
- if (logUpload.id !== selectedLogFile?.log_upload_id) return
- setIsOpen(true)
- }, [logUpload.id, selectedLogFile?.log_upload_id])
-
- useEffect(function fetchLogFiles() {
- if (!isOpen) return
- getUploadLogsContent(client, logUpload.id).then(f => {
- setLogFiles(
- f
- .sort((a, b) => a.relativePath.localeCompare(b.relativePath))
- .map(f => ({
- ...f,
- ...formatLogFileContent(f),
- }))
- )
- })
- }, [isOpen, client, logUpload])
-
- useEffect(function handleLogFileSelection() {
- const id = router.query.logFileID
- if (!id) return
- if (!logFiles) return
- const logFile = logFiles.find(f => f.id === id)
- if (!logFile) return
- onSelectLogFile({
- ...logFile,
- log_upload_id: logUpload.id,
- })
- setIsOpen(true)
- }, [router.query, logUpload, onSelectLogFile, logFiles])
-
- async function handleRenameLogUpload() {
- const newName = prompt('Enter a new name for the logs')
- if (!newName) return
-
- const oldName = uploadName
- setUploadName(newName)
- try {
- setIsRenaming(true)
- await renameLogUpload({ logUploadID: logUpload.id, displayName: newName })
- } catch (err) {
- console.error(`failed to rename log upload ${logUpload.id}`, err)
- setUploadName(oldName)
- } finally {
- setIsRenaming(false)
- }
- }
-
- return (
- <div>
- <div className="flex flex-col space-y-2 flex-1">
- <div className="flex items-center space-x-2">
- <button
- className={clsx(
- 'h-6 w-6 flex items-center justify-center px-1 cursor-pointer hover:bg-[#6366F1] transition-all rounded-md',
- {
- 'bg-[#6366F1] text-gray-200': isOpen,
- 'bg-[#1F2437] text-gray-200': !isOpen,
- },
- )}
- onClick={() => setIsOpen(o => !o)}
- >
- <ChevronRight size={14} className={clsx(
- 'transition-all',
- 'select-none',
- { 'rotate-90': isOpen },
- )} />
- </button>
-
- <RenameLogUploadButton
- isRenaming={isRenaming}
- onClick={handleRenameLogUpload}
- />
-
- <span
- className={clsx(
- 'text-sm',
- 'font-semibold',
- 'text-gray-200',
- 'whitespace-nowrap',
- )}
- // This prevents hydration warning for timestamps rendered via SSR
- suppressHydrationWarning
- >
- {uploadName}
- </span>
- </div>
-
- {isOpen && (
- <div className="flex flex-col space-y-3 border-l border-white/5 pl-2 ml-[11px] flex-1">
- <UploadTree
- logUpload={logUpload}
- selectedLogFile={openLogFile}
- logFiles={logFiles || []}
- />
- </div>
- )}
- </div>
- </div>
- )
-}
-
-export default UploadedLogsDetail
diff --git a/apps/dashboard/components/AgentLogFilesList/index.tsx b/apps/dashboard/components/AgentLogFilesList/index.tsx
deleted file mode 100644
index cc754589d..000000000
--- a/apps/dashboard/components/AgentLogFilesList/index.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import {
- useCallback,
- useEffect,
- useMemo,
- useState,
-} from 'react'
-import clsx from 'clsx'
-import Splitter, { SplitDirection } from '@devbookhq/splitter'
-import { useRouter } from 'next/router'
-import { SupabaseClient } from '@supabase/supabase-js'
-import { useSupabaseClient } from '@supabase/auth-helpers-react'
-
-import { log_uploads } from 'db/prisma'
-import {
- LiteLogFile,
-} from 'utils/agentLogs'
-import AgentLogFileContent from 'components/AgentLogFileContent'
-import { useLocalStorage } from 'hooks/useLocalStorage'
-import { Database } from 'db/supabase'
-import { formatLogFileContent } from 'utils/formatLogFileContent'
-
-import Upload from './Upload'
-import UploadedLogsDetail from './UploadedLogsDetail'
-
-export interface Props {
- logUploads: log_uploads[]
- defaultProjectID: string
-}
-
-async function getUploadLog(client: SupabaseClient<Database>, id: string) {
- const result = await client
- .from('log_files')
- .select('id, content, relativePath, log_upload_id, filename')
- .eq('id', id)
- .single()
-
- if (result.error) {
- throw new Error(`failed to fetch log files for upload ${id} - ${result.error.message}`)
- }
-
- return result.data
-}
-
-function AgentLogFilesList({
- logUploads,
- defaultProjectID,
-}: Props) {
- const [splitterSizes, setSplitterSizes] = useLocalStorage('log-file-list-splitter', [40, 60])
- const [selectedLogFile, setSelectedLogFile] = useState<LiteLogFile>()
- const router = useRouter()
- const client = useSupabaseClient()
-
- useEffect(function fetchSelectedLogDetails() {
- // Only fetch this for the initial load
- const logID = router.query.logFileID
- if (!logID) return
- getUploadLog(client, logID as string).then(log => {
- setSelectedLogFile({
- id: logID as string,
- ...formatLogFileContent(log),
- log_upload_id: log.log_upload_id,
- })
-
- })
- }, [client])
-
- const setSizes = useCallback((_: number, sizes: number[]) => {
- setSplitterSizes(sizes)
- }, [setSplitterSizes])
-
- const sortedLogUploads = useMemo(() => logUploads
- // logUploads sorted by created_at - the newest first
- .sort((a, b) => {
- if (a.created_at > b.created_at) return -1
- if (a.created_at < b.created_at) return 1
- return 0
- }), [logUploads])
-
- return (
- <main className="rounded-md overflow-hidden pb-6 flex flex-col max-h-full flex-1">
- <header className="flex items-center justify-between py-4 sm:px-6 lg:px-8 border-b border-b-white/5">
- <h1 className="text-2xl font-semibold text-white">Log Files</h1>
- <Upload
- defaultProjectID={defaultProjectID}
- />
- </header>
-
- {sortedLogUploads.length === 0 && (
- <div className="flex items-center justify-center flex-1">
- <p className="text-gray-400 text-lg">No log files uploaded yet</p>
- </div>
- )}
-
- <div className="my-4 overflow-hidden flex flex-col flex-1">
- {sortedLogUploads.length > 0 && (
- <Splitter
- gutterClassName={clsx(
- 'bg-gray-900 hover:bg-[#6366F1] transition-all delay-75 duration-[400ms] px-0.5 rounded-sm group',
- )}
- draggerClassName={clsx(
- 'bg-white/5 group-hover:bg-[#6366F1] transition-all delay-75 duration-[400ms] w-0.5 h-full',
- )}
- direction={SplitDirection.Horizontal}
- classes={['flex pr-2 overflow-auto', 'bg-gray-900 flex pl-2']}
- initialSizes={splitterSizes}
- onResizeFinished={setSizes}
- minWidths={[120, 120]}
- >
- <div className="flex flex-col sm:px-4 lg:px-8 flex-1 relative space-y-4">
- {sortedLogUploads.map(logUpload => (
- <UploadedLogsDetail
- logUpload={logUpload}
- key={logUpload.id}
- onSelectLogFile={setSelectedLogFile}
- selectedLogFile={selectedLogFile}
- />
- ))}
- </div>
- <AgentLogFileContent
- logFile={selectedLogFile}
- />
- </Splitter>
- )}
- </div>
- </main >
- )
-}
-
-export default AgentLogFilesList
diff --git a/apps/dashboard/components/AgentNextActionLogDetail.tsx b/apps/dashboard/components/AgentNextActionLogDetail.tsx
deleted file mode 100644
index e05384195..000000000
--- a/apps/dashboard/components/AgentNextActionLogDetail.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-import { AgentNextActionLog } from 'utils/agentLogs'
-
-import JsonView from 'components/JsonView'
-export interface Props {
- log: AgentNextActionLog
-}
-
-function AgentNextActionLogDetail({
- log,
-}: Props) {
- return (
- <div className="overflow-auto p-2 mr-2.5 mb-2.5 h-full bg-[#1F2437] rounded-md flex flex-col space-y-4 w-full border border-[#6366F1]/50">
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Thoughts</span>
- <JsonView
- src={log.thoughts}
- name={null}
- style={{
- background: 'transparent'
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- </div>
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Command</span>
- <JsonView
- src={log.command}
- name={null}
- style={{
- background: 'transparent',
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- </div>
- </div>
- )
-}
-
-export default AgentNextActionLogDetail
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentPromptLogDetail.tsx b/apps/dashboard/components/AgentPromptLogDetail.tsx
deleted file mode 100644
index aa179e0da..000000000
--- a/apps/dashboard/components/AgentPromptLogDetail.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-import {
- SystemPromptLog,
- UserPromptLog,
- AssistantPromptLog,
-} from 'utils/agentLogs'
-import { useMemo } from 'react'
-import JsonView from 'components/JsonView'
-
-
-function handleJSONQuotes(content: string) {
- try {
- return JSON.parse(content)
- } catch (err) {
- // Don't log anything here, try parsing with quotes replaced
- }
-
- try {
- return JSON.parse(content.replace(/"/g, '\\"').replace(/'/g, '"'))
- } catch (err) {
- // Don't log anything here, return undefined
- }
-}
-
-export interface Props {
- log?: SystemPromptLog | UserPromptLog | AssistantPromptLog
-}
-
-function AgentPrompLogDetail({
- log,
-}: Props) {
- const parsedLog = useMemo(() => {
- return log ? handleJSONQuotes(log.content) : undefined
- }, [log])
-
- return (
- <div className="overflow-auto mr-2.5 mb-2.5 p-2 h-full bg-[#1F2437] rounded-md flex flex-col space-y-4 border border-[#6366F1]/50">
- {log && (
- <>
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Role</span>
- <span className="text-sm text-gray-200 w-full">{log.role}</span>
- </div>
-
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Content</span>
- {log.role !== 'assistant' ? (
- <p className="text-sm text-gray-200 w-full prose whitespace-pre-wrap max-w-full">{log.content}</p>
- ) : (
- <>
- {!parsedLog &&
- <div>
- Unexpected JSON format. Please reach out to the e2b team.
- </div>
- }
- {parsedLog &&
- <JsonView
- src={parsedLog}
- name={null}
- style={{
- background: 'transparent',
- display: 'flex',
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- }
- </>
- )}
- </div>
-
- {log.role === 'assistant' && log.function_call && (
- <>
- <span className="text-sm font-medium text-gray-500">Function Call</span>
- <JsonView
- src={{
- ...(log as any).function_call,
- 'arguments': JSON.parse(log.function_call.arguments),
- }}
- name={null}
- style={{
- background: 'transparent'
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- </>
- )}
- </>
- )}
- </div >
- )
-}
-
-export default AgentPrompLogDetail
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentPromptLogsList.tsx b/apps/dashboard/components/AgentPromptLogsList.tsx
deleted file mode 100644
index 2a6848533..000000000
--- a/apps/dashboard/components/AgentPromptLogsList.tsx
+++ /dev/null
@@ -1,110 +0,0 @@
-import {
- useState,
- useEffect,
- useCallback,
- Fragment,
-} from 'react'
-import { useRouter } from 'next/router'
-import clsx from 'clsx'
-import {
- SystemPromptLog,
- UserPromptLog,
- AssistantPromptLog,
-} from 'utils/agentLogs'
-
-export interface Props {
- logs: (SystemPromptLog | UserPromptLog | AssistantPromptLog)[]
- onSelected: (ctx: SystemPromptLog | UserPromptLog | AssistantPromptLog) => void
-}
-
-function AgentPromptLogsList({
- logs,
- onSelected,
-}: Props) {
- const router = useRouter()
- const [selectedLogIdx, setSelectedLogIdx] = useState<number>(0)
-
- const selectLog = useCallback((idx: number) => {
- setSelectedLogIdx(idx)
- onSelected(logs[idx])
- router.replace({
- pathname: '',
- query: {
- ...router.query,
- selectedLog: idx.toString(),
- },
- }, undefined, { shallow: true })
- }, [logs, onSelected, router])
-
- useEffect(function selectLogBasedOnURLQuery() {
- const selectedLog = router.query.selectedLog as string
- let idx: number
- if (selectedLog) {
- idx = parseInt(selectedLog)
- } else {
- idx = 0
- }
- setSelectedLogIdx(idx)
- onSelected(logs[idx])
- }, [router, logs, onSelected])
-
- useEffect(function listenToArrowNavigitons() {
- function handleUpKey(e: KeyboardEvent) {
- if (e.key === 'ArrowUp') {
- if (selectedLogIdx === 0) {
- selectLog(logs.length - 1)
- } else {
- selectLog(selectedLogIdx - 1)
- }
- } else if (e.key === 'ArrowDown') {
- if (selectedLogIdx === logs.length - 1) {
- selectLog(0)
- } else {
- selectLog(selectedLogIdx + 1)
- }
- }
- }
- window.addEventListener('keydown', handleUpKey)
- return () => window.removeEventListener('keydown', handleUpKey)
- }, [logs, selectLog, selectedLogIdx])
-
- return (
- <div className="flex flex-col space-y-1 overflow-auto">
- {logs.length === 0 && (
- <div className="flex-1 flex items-center justify-center">
- <p className="text-gray-400">No logs</p>
- </div>
- )}
- {logs.map((ctx, idx) => (
- <Fragment key={idx}>
- <div
- className="flex items-center space-x-2 cursor-pointer group"
- onClick={() => selectLog(idx)}
- >
- <span className={clsx(
- 'font-bold text-sm capitalize min-w-[72px] group-hover:text-[#6366F1] transition-all',
- selectedLogIdx === idx && 'text-[#6366F1]',
- selectedLogIdx !== idx && 'text-[#55618C]',
- )}
- >
- {ctx.role}
- </span>
- <span
- className={clsx(
- 'text-sm text-gray-100 max-w-full truncate p-2 group-hover:bg-[#1F2437] transition-all rounded-md cursor-pointer w-full',
- selectedLogIdx === idx && 'bg-[#1F2437]',
- )}
- >
- {ctx.content}
- </span>
- </div>
- {idx !== logs.length - 1 && (
- <div className="ml-1 rounded h-[24px] w-px bg-white/5" />
- )}
- </Fragment>
- ))}
- </div>
- )
-}
-
-export default AgentPromptLogsList
\ No newline at end of file
diff --git a/apps/dashboard/components/AgentRun.tsx b/apps/dashboard/components/AgentRun.tsx
deleted file mode 100644
index 0acccc9be..000000000
--- a/apps/dashboard/components/AgentRun.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import Splitter from '@devbookhq/splitter'
-
-function AgentRun() {
- return (
- <main className="overflow-hidden flex flex-col flex-1">
- <header className="flex items-center justify-between pt-4 px-4 sm:pt-8 sm:px-6 lg:px-8">
- <h1 className="text-xl font-semibold leading-7 text-white">Run Detail [TODO: name]</h1>
- </header>
-
- <div className="flex-1 flex items-start justify-start sm:p-6 lg:px-8">
- <Splitter
- draggerClassName="bg-gray-700 group-hover:bg-[#F163A7] transition-all delay-75 duration-[400ms] w-0.5 h-12"
- gutterClassName="bg-transparent hover:bg-[#F163A7] transition-all delay-75 duration-[400ms] px-0.5 mx-0.5 rounded-md group"
- classes={['flex', 'flex']}
- >
- <div className="self-stretch bg-[#1F2437] border border-gray-700 rounded-md flex-1">Prompt</div>
- <div className="self-stretch flex-1">Steps</div>
- </Splitter>
- </div>
- </main>
- )
-}
-
-export default AgentRun
diff --git a/apps/dashboard/components/AgentRunLogDetail.tsx b/apps/dashboard/components/AgentRunLogDetail.tsx
deleted file mode 100644
index 19b94884f..000000000
--- a/apps/dashboard/components/AgentRunLogDetail.tsx
+++ /dev/null
@@ -1,49 +0,0 @@
-import JsonView from 'components/JsonView'
-
-export interface Props {
- step?: any
-}
-
-function AgentRunLogDetail({
- step,
-}: Props) {
- return (
- <div className="overflow-auto mr-2.5 mb-2.5 p-2 h-full bg-[#1F2437] rounded-md flex flex-col space-y-4 border border-[#6366F1]/50">
- {step && (
- <>
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Type</span>
- <span className="text-sm text-gray-200 w-full">{step.type}</span>
- </div>
-
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Message</span>
- <p className="text-sm text-gray-200 w-full prose whitespace-pre-wrap max-w-full">{step.message}</p>
- </div>
- {step.properties &&
- <div className="flex flex-col space-y-1 w-full">
- <span className="text-sm font-medium text-gray-500">Properties</span>
- <JsonView
- src={step.properties}
- name={null}
- style={{
- background: 'transparent',
- display: 'flex',
- whiteSpace: 'pre-wrap',
- }}
- displayObjectSize={false}
- quotesOnKeys={false}
- sortKeys={true}
- displayDataTypes={false}
- theme="ocean"
- enableClipboard={false}
- />
- </div>
- }
- </>
- )}
- </div >
- )
-}
-
-export default AgentRunLogDetail
\ No newline at end of file
diff --git a/apps/dashboard/components/ChooseOpenAIKey.tsx b/apps/dashboard/components/ChooseOpenAIKey.tsx
deleted file mode 100644
index d8590c8d6..000000000
--- a/apps/dashboard/components/ChooseOpenAIKey.tsx
+++ /dev/null
@@ -1,134 +0,0 @@
-import {
- ArrowLeft,
- ArrowRight,
-} from 'lucide-react'
-import { usePostHog } from 'posthog-js/react'
-import clsx from 'clsx'
-
-import OpenAIKeyInput from 'components/OpenAIKeyInput'
-
-export interface Props {
- selectedOpenAIKeyType: string
-
- onSelectedOpenAIKeyTypeChange: (type: string) => void
- userOpenAIKey?: string
- onUserOpenAIKeyChange: (e: any) => void
-
- openAIModels: { displayName: string, value: string }[]
- selectedOpenAIModel: { displayName: string, value: string }
- onOpenAIModelChange: (value: string) => void
-
- onNext: () => void
- onBack: () => void
-}
-
-const baseClasses = 'text-xs font-semibold py-1 px-2 rounded-md transition-all cursor-pointer'
-const unselectedClasses = 'text-gray-500 hover:bg-indigo-400/10 hover:text-indigo-400 border border-transparent hover:border-indigo-400/20'
-const selectedClasses = 'bg-indigo-400/10 text-indigo-400 border border-indigo-400/20'
-
-function ChooseOpenAIKey({
- selectedOpenAIKeyType,
-
- onSelectedOpenAIKeyTypeChange,
- userOpenAIKey,
- onUserOpenAIKeyChange,
-
- openAIModels,
- selectedOpenAIModel,
- onOpenAIModelChange,
-
- onNext,
- onBack,
-}: Props) {
- const posthog = usePostHog()
-
- function handleContinue() {
- if (selectedOpenAIKeyType === 'user' && !userOpenAIKey) {
- return
- }
- posthog?.capture('selected OpenAI key', {
- selectedOpenAIKeyType,
- selectedOpenAIModel,
- })
- onNext()
- }
-
- return (
- <div className="flex-1 flex flex-col items-start justify-start space-y-2">
- <h2 className="text-3xl font-bold tracking-tight sm:text-4xl">
- Select OpenAI API Key
- </h2>
- <p className="mt-2 mb-6 text-lg leading-8 text-gray-400">
- Pass your own OpenAI key or use the e2b key.
- </p>
-
- <div className="flex-1 w-full flex flex-col space-y-4 items-center justify-start">
- <div className="mb-2 flex items-center justify-center space-x-2">
- <div
- className={clsx(
- baseClasses,
- selectedOpenAIKeyType === 'e2b' ? selectedClasses : unselectedClasses,
- )}
- onClick={() => onSelectedOpenAIKeyTypeChange('e2b')}
- >
- Use e2b&apos;s OpenAI API Key
- </div>
- <div
- className={clsx(
- baseClasses,
- selectedOpenAIKeyType === 'user' ? selectedClasses : unselectedClasses,
- )}
- onClick={() => onSelectedOpenAIKeyTypeChange('user')}
- >
- Use my own OpenAI API key
- </div>
- </div>
-
- {selectedOpenAIKeyType === 'e2b' && (
- <ul className="list-disc p-4 border border-indigo-400/40 rounded-md text-sm">
- <li className="ml-4">Use the e2b key to get started quickly and not get charged for OpenAI API usage</li>
- <li className="ml-4">We can&apos;t guarantee that e2b will not get blocked by OpenAI API rate limits</li>
- <li className="ml-4"><b>All costs running the smol developer will be billed to e2b</b></li>
- </ul>
- )}
- {selectedOpenAIKeyType === 'user' && (
- <div className="flex flex-col space-y-2">
- <ul className="list-disc p-4 border border-indigo-400/40 rounded-md text-sm">
- <li className="ml-4">Use your own OpenAI API key</li>
- <li className="ml-4">Using your own key might help when e2b is hitting the OpenAI&apos;s API rate limits</li>
- <li className="ml-4"><b>All costs running the smol developer will be billed to your OpenAI account</b></li>
- </ul>
- <OpenAIKeyInput
- openAIKey={userOpenAIKey}
- onOpenAIKeyChange={onUserOpenAIKeyChange}
- models={openAIModels}
- selectedModel={selectedOpenAIModel}
- onModelChange={onOpenAIModelChange}
- />
- </div>
- )}
- </div>
-
-
- <div className="w-full flex items-center justify-between">
- <button
- className="flex items-center justify-start space-x-1 text-gray-400 hover:text-gray-100 transition-all"
- onClick={onBack}
- >
- <ArrowLeft size={14} />
- <span className="text-sm">Back</span>
- </button>
-
- <button
- className="px-2 py-1 flex group items-center space-x-1 font-medium rounded-md border border-indigo-400/30 bg-indigo-400/10 text-indigo-400 hover:bg-transparent hover:border-indigo-400 transition-all"
- onClick={handleContinue}
- >
- <span className="text-sm">Continue</span>
- <ArrowRight className="group-hover:translate-x-0.5 transition-all" size={14} />
- </button>
- </div>
- </div>
- )
-}
-
-export default ChooseOpenAIKey
\ No newline at end of file
diff --git a/apps/dashboard/components/ConfigureGitHubButton.tsx b/apps/dashboard/components/ConfigureGitHubButton.tsx
deleted file mode 100644
index aafa44520..000000000
--- a/apps/dashboard/components/ConfigureGitHubButton.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import {
- Github,
-} from 'lucide-react'
-
-export interface Props {
- onClick: (e: any) => void
-}
-
-function ConfigureGitHubButton({
- onClick,
-}: Props) {
- return (
- <button
- type="button"
- className="flex items-center space-x-2 rounded-md bg-white/10 px-3.5 py-2 text-sm font-semibold text-white shadow-sm hover:bg-white/20 transition-all"
- onClick={onClick}
- >
- <Github size={16} />
- <span>Configure GitHub Permissions</span>
- </button>
- )
-}
-
-export default ConfigureGitHubButton
\ No newline at end of file
diff --git a/apps/dashboard/components/DashboardHome.tsx b/apps/dashboard/components/DashboardHome.tsx
deleted file mode 100644
index 65d4c1e65..000000000
--- a/apps/dashboard/components/DashboardHome.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-import { useMemo } from 'react'
-import { useRouter } from 'next/router'
-import dynamic from 'next/dynamic'
-
-import { log_uploads, projects } from 'db/prisma'
-import { LiteDeployment } from 'utils/agentLogs'
-const AgentDeploymentsList = dynamic(() => import('components/AgentDeploymentsList'), { ssr: false })
-const AgentLogFilesList = dynamic(() => import('components/AgentLogFilesList'), { ssr: false })
-
-export interface Props {
- projects: (projects & { log_uploads: log_uploads[], deployments: LiteDeployment[] })[]
- defaultProjectID: string
- view: 'deployments' | 'logs'
-}
-
-function DashboardHome({
- projects,
- defaultProjectID,
- view,
-}: Props) {
- const router = useRouter()
- const showView = router.query['view'] === 'logs' ? 'logs' : view
-
- const deployments = useMemo(() => projects
- .filter(p => {
- if (p.deployments.length !== 1) return false
-
- const deployment = p.deployments[0]
- const auth = deployment.auth as any
- if (!auth) return false
- return true
- })
- .flatMap(p => p.deployments)
- , [projects])
-
- return (
- <>
- {showView === 'deployments' &&
- <AgentDeploymentsList
- deployments={deployments}
- />
- }
- {showView === 'logs' &&
- <AgentLogFilesList
- logUploads={projects.flatMap(p => p.log_uploads)}
- defaultProjectID={defaultProjectID}
- />
- }
- </>
- )
-}
-
-export default DashboardHome
diff --git a/apps/dashboard/components/DeployAgent.tsx b/apps/dashboard/components/DeployAgent.tsx
deleted file mode 100644
index 72861a5e9..000000000
--- a/apps/dashboard/components/DeployAgent.tsx
+++ /dev/null
@@ -1,142 +0,0 @@
-import {
- Github,
- ArrowLeft,
- ScrollText,
-} from 'lucide-react'
-
-import InstructionsEditor from 'components/InstructionsEditor'
-import { RepoSetup } from 'utils/repoSetup'
-import SpinnerIcon from 'components/Spinner'
-import AlertError from './AlertError'
-
-export interface Props {
- selectedRepo: RepoSetup;
- instructions: string
- onInstructionsChange: (value: string) => void
- onChangeTemplate: (e: any) => void
- onChangeRepo: (e: any) => void
- onBack: (e: any) => void
- onDeploy: (e: any) => void
- isDeploying?: boolean
- error?: string
- selectedOpenAIKeyType: string // 'e2b' or 'user'
-}
-
-function DeployAgent({
- selectedRepo,
- instructions,
- onInstructionsChange,
- onChangeTemplate,
- onChangeRepo,
- onBack,
- onDeploy,
- isDeploying,
- selectedOpenAIKeyType,
- error,
-}: Props) {
- return (
- <div className="flex-1 flex flex-col items-start justify-start space-y-2">
- <div className="flex-1 w-full flex flex-col items-start justify-start space-y-8">
-
- {isDeploying && (
- <div className="flex-1 w-full flex space-x-2 items-center justify-center">
- <SpinnerIcon className="text-gray-300" />
- <span className="text-gray-300">Deploying...</span>
- </div>
- )}
- {!isDeploying && error && (
- <AlertError
- title="Deploy failed"
- infoItems={[error]}
- />
- )}
- {!isDeploying && (
- <>
- {/* OpenAI Key */}
- <div className="w-full flex flex-col space-y-2 items-start justify-start">
- <span className="text-sm text-gray-300 font-medium">
- OpenAI API Key
- </span>
- <span className="text-sm font-medium text-gray-100">
- {selectedOpenAIKeyType === 'user' && 'Use your own OpenAI API key'}
- {selectedOpenAIKeyType === 'e2b' && 'Use e2b\'s OpenAI API key'}
- </span>
- </div>
-
- <hr className="w-full border-gray-700 rounded" />
-
- {/* Selected repo */}
- <div className="w-full flex flex-col space-y-2 items-start justify-start">
- <div className="w-full flex items-center justify-between">
- <div className="flex items-center space-x-1">
- <Github className="text-gray-300" size={16} />
- <span className="text-sm text-gray-300 font-medium">
- Repository
- </span>
- </div>
-
- <button
- type="button"
- className="rounded w-[136px] bg-white/10 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-white/20"
- onClick={onChangeRepo}
- >
- Change Repository
- </button>
- </div>
-
- <span className="text-sm font-medium text-gray-100">
- {selectedRepo.fullName}
- </span>
- </div>
-
- <hr className="w-full border-gray-700 rounded" />
-
- {/* Instructions */}
- <div className="flex-1 w-full flex flex-col space-y-2 items-start justify-start">
- <div className="w-full flex items-center justify-between">
- <div className="flex items-center space-x-1">
- <ScrollText className="text-gray-300" size={16} />
- <span className="text-sm text-gray-300 font-medium">
- Instructions
- </span>
- </div>
- <button
- type="button"
- className="rounded w-[136px] bg-white/10 px-2 py-1 text-xs font-semibold text-white shadow-sm hover:bg-white/20"
- onClick={onChangeTemplate}
- >
- Use Template
- </button>
- </div>
-
- <div className="relative bg-gray-950 flex flex-col p-2 w-full flex-1 overflow-auto border border-gray-700 rounded-md">
- <InstructionsEditor
- className="absolute inset-0 bg-gray-950 p-4 text-gray-100"
- content={instructions}
- onChange={onInstructionsChange}
- />
- </div>
- </div>
- <div className="w-full flex items-center justify-between">
- <button
- className="flex items-center justify-start space-x-1 text-gray-400 hover:text-gray-100 transition-all"
- onClick={onBack}
- >
- <ArrowLeft size={14} />
- <span className="text-sm">Back</span>
- </button>
- <button
- className="px-2 py-1 font-medium rounded-md text-sm border border-green-400/30 bg-green-400/10 text-green-400 hover:bg-transparent hover:border-green-400 transition-all"
- onClick={onDeploy}
- >
- Deploy on <b>e2b</b>
- </button>
- </div>
- </>
- )}
- </div>
- </div>
- )
-}
-
-export default DeployAgent
diff --git a/apps/dashboard/components/DeploymentTree.tsx b/apps/dashboard/components/DeploymentTree.tsx
deleted file mode 100644
index 4fbf89dc3..000000000
--- a/apps/dashboard/components/DeploymentTree.tsx
+++ /dev/null
@@ -1,47 +0,0 @@
-import { useCallback } from 'react'
-
-import Filesystem, { FileInfo } from 'components/Filesystem'
-import { LiteDeployment } from 'utils/agentLogs'
-import { FiletreeProvider } from 'hooks/useFiletree'
-import RunItem from './RunItem'
-
-export interface Props {
- deployment: LiteDeployment
-}
-
-function DeploymentTree({
- deployment,
-}: Props) {
- const fetchLogDirContent = useCallback<(dirpath: string) => (FileInfo & { href?: any })[]>(_ => {
- return deployment.log_files.map((f, i, a) => {
- const slug = `${deployment.projects.slug}-run-${a.length - i - 1}`
- return {
- name: f.id,
- timestamp: f.created_at,
- isDir: false,
- id: slug,
- tags: [],
- href: {
- pathname: '/logs/[slug]',
- query: {
- slug,
- },
- },
- }
- })
- }, [deployment])
-
- return (
- <div className="flex flex-col items-start justify-start">
- <FiletreeProvider>
- <Filesystem
- file={RunItem}
- rootPath='/'
- fetchContent={fetchLogDirContent}
- />
- </FiletreeProvider>
- </div>
- )
-}
-
-export default DeploymentTree
diff --git a/apps/dashboard/components/DirWrapper.tsx b/apps/dashboard/components/DirWrapper.tsx
deleted file mode 100644
index 78b42e582..000000000
--- a/apps/dashboard/components/DirWrapper.tsx
+++ /dev/null
@@ -1,113 +0,0 @@
-import React, { memo } from 'react'
-
-import Text from 'components/Text'
-
-import {
- Metadata,
- NodeType,
-} from '../filesystem/node'
-import { useChildren } from '../hooks/filesystem'
-import Dir from '../filesystem/dir'
-import Filesystem from '../filesystem/filesystem'
-
-import {
- FileProps,
- SelectHandler,
-} from './FilesystemTree'
-
-// DirProps are intended for a use by outside users of the Filesystem component.
-export type DirProps = Pick<
- Props,
- 'fs' |
- 'name' |
- 'path' |
- 'level' |
- 'metadata' |
- 'isExpanded' |
- 'isSelected' |
- 'onSelect' |
- 'onSelect'
-> & { children: React.ReactNode }
-
-export interface Props {
- fs: Filesystem
- path: string
- name: string
- level: number
- metadata: Metadata
- isExpanded: boolean
- isSelected: boolean
- onSelect?: SelectHandler
- file: React.ComponentType<FileProps>
- dir: React.ComponentType<DirProps>
-}
-
-const DirWrapper = memo(function ({
- path,
- fs,
- name,
- level,
- metadata,
- onSelect,
- file: UserFile,
- dir: UserDir,
- isExpanded,
- isSelected,
-}: Props) {
- const nodeChildren = useChildren(fs, path, isExpanded)
-
- return (
- <UserDir
- fs={fs}
- isExpanded={isExpanded}
- isSelected={isSelected}
- level={level}
- metadata={metadata}
- name={name}
- path={path}
- onSelect={onSelect}
- >
- {!nodeChildren || nodeChildren.length === 0 &&
- <Text
- className="text-center text-gray-500"
- size={Text.size.S3}
- text="Empty directory"
- />
- }
- {nodeChildren.length > 0 && nodeChildren.map(n => (
- <React.Fragment key={n.path}>
- {n.type === NodeType.Dir &&
- <DirWrapper
- dir={UserDir}
- file={UserFile}
- fs={fs}
- isExpanded={(n as Dir).isExpanded}
- isSelected={n.isSelected}
- key={n.path}
- level={n.level}
- metadata={n.metadata}
- name={n.name}
- path={n.path}
- onSelect={onSelect}
- />
- }
- {n.type === NodeType.File &&
- <UserFile
- fs={fs}
- isSelected={n.isSelected}
- key={n.path}
- level={n.level}
- metadata={n.metadata}
- name={n.name}
- path={n.path}
- onSelect={onSelect}
- />
- }
- </React.Fragment>
- ))}
- </UserDir>
- )
-})
-
-DirWrapper.displayName = 'DirWrapper'
-export default DirWrapper
diff --git a/apps/dashboard/components/Filesystem/Dir.tsx b/apps/dashboard/components/Filesystem/Dir.tsx
deleted file mode 100644
index cccc8ab20..000000000
--- a/apps/dashboard/components/Filesystem/Dir.tsx
+++ /dev/null
@@ -1,175 +0,0 @@
-import {
- useState,
-} from 'react'
-import {
- ChevronDown,
- ChevronRight,
- X,
-} from 'lucide-react'
-import clsx from 'clsx'
-import {
- useMetadata,
-} from 'hooks/filesystem'
-
-import { AgentChallengeTag as AgentChallengeTagType } from 'utils/agentLogs'
-import AgentChallengeTagButton from 'components/AgentChallengeTagButton'
-import { Severity } from 'components/AgentChallengeTagModal'
-import AgentChallengeTag from 'components/AgentChallengeTag'
-import {
- DirProps,
- NodeType,
-} from 'filesystem'
-import { useAddLogUploadTag } from 'hooks/useAddLogUploadTag'
-import { useDeleteLogUploadTag } from 'hooks/useDeleteLogUploadTag'
-
-function Dir({
- name,
- path,
- onSelect,
- metadata,
- children,
- fs,
- isExpanded,
- isSelected,
-}: DirProps) {
- const [node] = useState(fs.find(path))
- const [newTagName, setNewTagName] = useState('')
- const [, setMetadata] = useMetadata<AgentChallengeTagType[]>(fs, path, 'tags', true)
- const tags = metadata?.tags || [] as AgentChallengeTagType[]
-
- const addTag = useAddLogUploadTag()
- const deleteTag = useDeleteLogUploadTag()
-
- function handleOnClick(e: any) {
- fs.setIsDirExpanded(path, !isExpanded)
-
- // This conditions prevents deselecting when user clicks on a dir that's already selected.
- if (path !== fs.selectedPath) {
- fs.setIsNodeSelected(path, !isSelected)
- }
-
- onSelect?.(e,
- {
- type: NodeType.Dir,
- path,
- name,
- metadata,
- isSelected,
- isExpanded,
- })
- }
-
- async function addNewTag(s: Severity) {
- if (!newTagName) return
- const newTag: AgentChallengeTagType = {
- path,
- text: newTagName,
- severity: s,
- }
- setNewTagName('')
- setMetadata([...tags, newTag])
- try {
- await addTag(metadata['logUploadID'], newTag)
- } catch (e) {
- setMetadata([])
- console.error(e)
- }
- }
-
- async function removeTag(i: number) {
- setMetadata(tags.filter((t: any) => t !== tags[i]))
- try {
- await deleteTag(metadata['logUploadID'], tags[i])
- } catch (e) {
- setMetadata(tags)
- console.error(e)
- }
- }
-
- const icon = isExpanded ? (
- <ChevronDown
- className="text-white/60 shrink-0"
- size={16}
- />
- ) : (
- <ChevronRight
- className="text-white/60 shrink-0"
- size={16}
- />
- )
-
- return (
- <div className="flex flex-col rounded w-full">
- <div className="flex items-center justify-start w-full space-x-1">
- {tags.map((tag: AgentChallengeTagType, i: number) => (
- <div className="flex items-center space-x-1 shrink-0" key={i}>
- <AgentChallengeTag
- tag={tag}
- />
- <button
- className="text-gray-400 hover:text-gray-400"
- onClick={() => removeTag(i)}
- >
- <X size={12} />
- </button>
- </div>
- ))}
-
- {/* AutoGPT wants to add tags only for challenges - challenges are the first "dirs" -> very heuristic and works only for AutoGPT */}
- {tags.length === 0 && node?.level === 0 && (
- <AgentChallengeTagButton
- newTagName={newTagName}
- onNewTagNameChange={e => setNewTagName(e.target.value)}
- onSeveritySelect={addNewTag}
- />
- )}
- <div
- className={clsx(
- 'px-1',
- 'py-2',
- 'flex',
- 'flex-1',
- 'items-center',
- 'rounded-md',
- 'space-x-1',
- 'cursor-pointer',
- 'border-gray-800',
- 'hover:bg-[#1F2437]',
- { 'bg-transparent': !isSelected },
- )}
- onClick={handleOnClick}
- >
- {icon}
- <span
- className="
- text-sm
- text-gray-200
- whitespace-nowrap
- ">
- {name}
- </span>
- </div>
- </div>
-
- {isExpanded && (
- <div
- className="
- flex
- flex-col
- space-y-2
- lg:space-y-1
- mt-1
- ml-[11px]
- pl-3
- border-l
- border-white/5
- "
- >
- {children}
- </div>
- )}
- </div>
- )
-}
-
-export default Dir
diff --git a/apps/dashboard/components/Filesystem/File.tsx b/apps/dashboard/components/Filesystem/File.tsx
deleted file mode 100644
index 7c71475a8..000000000
--- a/apps/dashboard/components/Filesystem/File.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import {
- File as FileIcon,
-} from 'lucide-react'
-import clsx from 'clsx'
-import Link from 'next/link'
-
-import {
- FileProps,
- NodeType,
-} from '../../filesystem'
-import { useRouter } from 'next/router'
-
-function File({
- name,
- path: filePath,
- onSelect,
- isSelected,
- metadata,
- fs,
-}: FileProps) {
- const router = useRouter()
- const isSelectedViaRouter = router.query.logFileID === metadata['href']['query']['logFileID']
-
- function handleOnClick(e: any) {
- // This conditions prevents deselecting when user clicks on a file that's already selected.
- if (filePath !== fs.selectedPath) {
- fs.setIsNodeSelected(filePath, !isSelected)
- }
- onSelect?.(e,
- {
- type: NodeType.File,
- path: filePath,
- name,
- metadata,
- isSelected,
- isExpanded: false,
- })
- }
-
- return (
- <Link
- prefetch={false}
- href={metadata['href']}
- className={
- clsx(
- 'px-1',
- 'py-2',
- 'rounded-md',
- 'cursor-pointer',
- 'flex',
- 'items-center',
- 'space-x-1',
- 'hover:bg-[#1F2437]',
- 'w-full',
- { 'bg-[#1F2437]': isSelectedViaRouter },
- { 'bg-transparent': !isSelectedViaRouter }
- )}
- onClick={handleOnClick}
- replace
- shallow
- >
- <FileIcon
- className="shrink-0"
- size={16}
- />
- <span
- className="
- text-sm
- whitespace-nowrap
- text-gray-200
- "
- >
- {name}
- </span >
- </Link >
- )
-}
-
-export default File
diff --git a/apps/dashboard/components/Filesystem/index.tsx b/apps/dashboard/components/Filesystem/index.tsx
deleted file mode 100644
index 335bbdfda..000000000
--- a/apps/dashboard/components/Filesystem/index.tsx
+++ /dev/null
@@ -1,156 +0,0 @@
-import {
- useCallback,
- useEffect,
-} from 'react'
-import clsx from 'clsx'
-import path from 'path-browserify'
-
-import FilesystemPrimitive, {
- DirNode,
- FileNode,
- FileProps,
- NodeType,
- SelectHandler,
- useFilesystem,
-} from '../../filesystem'
-
-import Dir from './Dir'
-import File from './File'
-import { AgentChallengeTag } from 'utils/agentLogs'
-
-export interface FileInfo {
- isDir: boolean
- name: string
- tags: AgentChallengeTag[]
-}
-
-export interface Props {
- className?: string
- // Path where we should mount the filesytem.
- rootPath: string
- ignore?: string[]
- onFiletreeClick?: (path: string, type: NodeType) => void
- fetchContent: (dirpath: string) => (FileInfo & { href?: any, id?: string, timestamp?: Date, logUploadID?: string })[]
- expandedPath?: string
- file?: React.ComponentType<FileProps>
-}
-
-function Filesystem({
- className,
- rootPath,
- ignore,
- fetchContent,
- onFiletreeClick,
- expandedPath,
- file,
-}: Props) {
- const fs = useFilesystem({ rootPath })
- const fetchDirContent = useCallback(async (dirpath: string) => {
- const files = fetchContent(dirpath)
- const ns = files.map(f => (f.isDir
- ? new DirNode({ name: f.name, metadata: { logUploadID: f.logUploadID } })
- : new FileNode({
- name: f.name, metadata: {
- href: f.href,
- id: f.id,
- timestamp: f.timestamp,
- }
- })))
-
- fs.add(dirpath, ns, ignore)
- files.forEach(f => {
- fs.setMetadata<AgentChallengeTag[]>(path.join(dirpath, f.name), { key: 'tags', value: f.tags })
- })
- }, [
- fs,
- fetchContent,
- ignore,
- ])
-
- const handleNodeSelect: SelectHandler = useCallback(async (_, node) => {
- const {
- type,
- path,
- metadata,
- isExpanded,
- } = node
-
- onFiletreeClick?.(path, type)
-
- // User is closing dir.
- if (isExpanded) return
-
- if (type === NodeType.Dir) {
- if (!metadata['isWatching']) {
- fs.setMetadata(path, {
- key: 'isWatching',
- value: true,
- })
-
- if (!fs.hasChildren(path)) {
- fetchDirContent(path)
- }
- }
- } else if (type === NodeType.File) {
- // TODO: Open file
- }
- },
- [
- fs,
- onFiletreeClick,
- fetchDirContent,
- ],)
-
- useEffect(function expandPath() {
- if (expandedPath) {
- const dir = path.dirname(expandedPath)
- dir.split('/').forEach((v, i, a) => {
- const currentDir = a.slice(0, i + 1).join('/') || '/'
- fetchDirContent(currentDir)
- if (currentDir === '/') return
- fs.setIsDirExpanded(currentDir, true)
- })
- }
- }, [
- fs,
- handleNodeSelect,
- fetchDirContent,
- expandedPath,
- ])
-
- useEffect(function mountFilesystem() {
- fetchDirContent(rootPath)
- }, [
- rootPath,
- fetchDirContent,
- ])
-
- return (
- <div className="
- flex
- flex-col
- space-y-2
- w-full
- ">
- <FilesystemPrimitive.Tree
- emptyPlaceholder='Loading...'
- className={clsx(
- 'px-1',
- 'flex-1',
- 'flex',
- 'flex-col',
- 'space-y-2',
- 'lg:space-y-1',
- 'overflow-y-auto',
- className,
- )}
- dir={Dir}
- file={file || File}
- fs={fs}
- onSelect={handleNodeSelect}
- />
- </div>
- )
-}
-
-export default Filesystem
diff --git a/apps/dashboard/components/FilesystemTree.tsx b/apps/dashboard/components/FilesystemTree.tsx
deleted file mode 100644
index ea3ef7eb1..000000000
--- a/apps/dashboard/components/FilesystemTree.tsx
+++ /dev/null
@@ -1,117 +0,0 @@
-import React, {
- memo,
- useCallback,
- useMemo,
-} from 'react'
-
-import {
- Metadata,
- NodeType,
-} from 'filesystem/node'
-import { useChildren } from 'hooks/filesystem'
-import Dir from 'filesystem/dir'
-import DirWrapper, { DirProps } from './DirWrapper'
-
-import Text from 'components/Text'
-import { useFiletree } from 'hooks/useFiletree'
-import Filesystem from 'filesystem/filesystem'
-
-export type SelectHandler = (
- event: MouseEvent | TouchEvent,
- node: {
- type: NodeType
- name: string
- path: string
- metadata: Metadata
- isSelected: boolean
- isExpanded: boolean
- },
-) => void
-
-export interface FileProps {
- fs: Filesystem
- name: string
- path: string
- level: number
- metadata: Metadata
- isSelected: boolean
- onSelect?: SelectHandler
-}
-
-export interface Props {
- className?: string
- fs: Filesystem
- file?: React.ComponentType<FileProps>
- dir?: React.ComponentType<DirProps>
- onSelect?: SelectHandler
- emptyPlaceholder?: string
-}
-
-function FilesystemTree({
- className,
- fs,
- file,
- dir,
- onSelect,
- emptyPlaceholder = 'Empty directory',
-}: Props) {
- const nodeChildren = useChildren(fs, fs.root.path, true)
- const UserFile = useMemo(() => (file ? memo(file) : () => null), [file])
- const UserDir = useMemo(() => (dir ? memo(dir) : () => null), [dir])
-
- const ft = useFiletree()
-
- const handleSelect: SelectHandler = useCallback((e, n) => {
- onSelect?.(e, n)
- ft.select({
- type: n.type,
- path: n.path,
- })
- }, [ft, onSelect])
-
- return (
- <div className={className}>
- {nodeChildren.length === 0 &&
- <Text
- className="text-center text-gray-500"
- size={Text.size.S3}
- text={emptyPlaceholder}
- />
- }
-
- {nodeChildren.length > 0 && nodeChildren.map(n => (
- <React.Fragment key={n.path}>
- {n.type === NodeType.Dir && (
- <DirWrapper
- dir={UserDir}
- file={UserFile}
- fs={fs}
- isExpanded={(n as Dir).isExpanded}
- isSelected={n.isSelected}
- key={n.path}
- level={n.level}
- metadata={n.metadata}
- name={n.name}
- path={n.path}
- onSelect={handleSelect}
- />
- )}
- {n.type === NodeType.File && (
- <UserFile
- fs={fs}
- isSelected={n.isSelected}
- key={n.path}
- level={n.level}
- metadata={n.metadata}
- name={n.name}
- path={n.path}
- onSelect={handleSelect}
- />
- )}
- </React.Fragment>
- ))}
- </div>
- )
-}
-
-export default memo(FilesystemTree)
diff --git a/apps/dashboard/components/InstructionsEditor.tsx b/apps/dashboard/components/InstructionsEditor.tsx
deleted file mode 100644
index e6bc93329..000000000
--- a/apps/dashboard/components/InstructionsEditor.tsx
+++ /dev/null
@@ -1,63 +0,0 @@
-import {
- forwardRef,
- useImperativeHandle,
-} from 'react'
-import { EditorContent } from '@tiptap/react'
-import clsx from 'clsx'
-
-import Text from 'components/Text'
-import useDocEditor from 'hooks/useDocEditor'
-
-export interface Props {
- className?: string,
- title?: string
- placeholder?: string
- onChange: (value: string) => void
- content: string
- onFocus?: () => void
-}
-
-export interface InstructionsEditorRef {
- setContent: (content: string) => void
-}
-
-const InstructionsEditor = forwardRef<InstructionsEditorRef, Props>(function InstructionsEditor({
- className,
- title,
- onChange,
- content,
- onFocus,
- placeholder,
-}: Props, ref) {
- const editor = useDocEditor({
- initialContent: content,
- onContentChange: onChange,
- placeholder,
- onFocus,
- })
-
- useImperativeHandle(ref, () => {
- return {
- setContent(content: string) {
- editor?.commands.setContent(content)
- }
- }
- })
-
- return (
- <div className={clsx('flex flex-col space-y-2 self-stretch pb-6', 'instructions-editor', className)}>
- {title &&
- <Text
- className="font-bold text-slate-400"
- size={Text.size.S2}
- text={title}
- />
- }
- <EditorContent
- editor={editor}
- />
- </div>
- )
-})
-
-export default InstructionsEditor
diff --git a/apps/dashboard/components/InstructionsTemplateButton.tsx b/apps/dashboard/components/InstructionsTemplateButton.tsx
deleted file mode 100644
index e839fc6e8..000000000
--- a/apps/dashboard/components/InstructionsTemplateButton.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-export interface Props {
- text: string
- onClick: () => void
-}
-
-function InstructionsTemplateButton({
- text,
- onClick,
-}: Props) {
- return (
- <button
- className="flex items-center rounded-md bg-indigo-400/10 active:bg-indigo-400/20 px-2 py-1 text-xs font-medium text-indigo-400 border border-indigo-400/30 hover:border-indigo-400 cursor-pointer transition-all whitespace-nowrap"
- onClick={onClick}
- >
- {text}
- </button>
- )
-}
-
-export default InstructionsTemplateButton
diff --git a/apps/dashboard/components/JsonView.tsx b/apps/dashboard/components/JsonView.tsx
deleted file mode 100644
index 718648537..000000000
--- a/apps/dashboard/components/JsonView.tsx
+++ /dev/null
@@ -1,5 +0,0 @@
-import dynamic from 'next/dynamic'
-
-const JsonView = dynamic(import('react-json-view'), { ssr: false })
-
-export default JsonView
diff --git a/apps/dashboard/components/LogFolderUploadButton.tsx b/apps/dashboard/components/LogFolderUploadButton.tsx
deleted file mode 100644
index 6c81568c2..000000000
--- a/apps/dashboard/components/LogFolderUploadButton.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import {
- Upload,
-} from 'lucide-react'
-import Spinner from './Spinner'
-
-export interface Props {
- onClick: (e: any) => void
- isUploading: boolean
-}
-
-function LogFolderUploadButton({
- onClick,
- isUploading,
-}: Props) {
- return (
- <button
- className="p-2 rounded-md bg-[#6366F1] flex items-center h-[36px]"
- onClick={onClick}
- >
- {isUploading &&
- <Spinner />
- }
- {!isUploading &&
- <div className="flex items-center space-x-2">
- <Upload size={14} />
- <span className="text-sm font-medium">Upload log folder</span>
- </div>}
- </button>
- )
-}
-
-export default LogFolderUploadButton
\ No newline at end of file
diff --git a/apps/dashboard/components/OpenAIKeyInput.tsx b/apps/dashboard/components/OpenAIKeyInput.tsx
deleted file mode 100644
index 8283323ae..000000000
--- a/apps/dashboard/components/OpenAIKeyInput.tsx
+++ /dev/null
@@ -1,54 +0,0 @@
-export interface Props {
- openAIKey?: string
- onOpenAIKeyChange: (e: any) => void
- models: { displayName: string, value: string }[]
- selectedModel: { displayName: string, value: string }
- onModelChange: (value: string) => void
-}
-
-function OpenAIKeyInput({
- openAIKey,
- onOpenAIKeyChange,
- models,
- selectedModel,
- onModelChange,
-}: Props) {
- return (
- <div className="flex-1 flex flex-col space-y-2">
- <div className="flex-1 flex flex-col space-y-1">
- <label htmlFor="openai-model" className="block text-sm font-medium text-gray-400">
- Model
- </label>
- <select
- id="openai-model"
- name="location"
- className="cursor-pointer bg-gray-800 block w-full rounded-md px-3 py-1.5 text-gray-100 border border-gray-400 placeholder:text-gray-400 focus:border-gray-300 active:border-gray-300 outline-none sm:text-sm sm:leading-6 transition-all"
- value={selectedModel?.value}
- onChange={e => onModelChange(e.target.value)}
- >
- {models.map(model => (
- <option key={model.value} value={model.value}>
- {model.displayName}
- </option>
- ))}
- </select>
- </div>
-
- <div className="flex-1 flex flex-col space-y-1">
- <label htmlFor="openai-key" className="block text-sm font-medium text-gray-400">
- OpenAI Key
- </label>
- <input
- id="openai-key"
- className="bg-gray-800 block w-full rounded-md px-3 py-1.5 text-gray-100 border border-gray-400 placeholder:text-gray-400 focus:border-gray-300 outline-none sm:text-sm sm:leading-6 transition-all security"
- placeholder="OpenAI API Key"
- value={openAIKey}
- onChange={onOpenAIKeyChange}
- autoFocus
- />
- </div>
- </div>
- )
-}
-
-export default OpenAIKeyInput
\ No newline at end of file
diff --git a/apps/dashboard/components/RenameLogUploadButton.tsx b/apps/dashboard/components/RenameLogUploadButton.tsx
deleted file mode 100644
index d282a2173..000000000
--- a/apps/dashboard/components/RenameLogUploadButton.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-import {
- Edit,
-} from 'lucide-react'
-import Spinner from 'components/Spinner'
-
-import clsx from 'clsx'
-
-export interface Props {
- isRenaming: boolean
- onClick: (e: any) => void
-}
-
-
-function RenameLogUploadButton({
- isRenaming,
- onClick,
-}: Props) {
- return (
- <button
- className={clsx(
- 'h-6 w-20 flex items-center justify-center space-x-1 px-1 bg-[#1F2437] transition-all rounded-md text-gray-200 text-xs',
- isRenaming && 'hover:bg-[#1F2437] cursor-not-allowed',
- !isRenaming && 'cursor-pointer hover:bg-[#272D44]',
- )}
- onClick={onClick}
- >
- {isRenaming ? (
- <Spinner
- className="text-gray-200 transition-all select-none"
- />
- ) : (
- <Edit
- className="text-gray-200 transition-all select-none"
- size={14}
- />
- )}
- <span>Rename</span>
- </button>
- )
-}
-
-export default RenameLogUploadButton
\ No newline at end of file
diff --git a/apps/dashboard/components/RunItem.tsx b/apps/dashboard/components/RunItem.tsx
deleted file mode 100644
index 827525c94..000000000
--- a/apps/dashboard/components/RunItem.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import clsx from 'clsx'
-import Link from 'next/link'
-import { usePostHog } from 'posthog-js/react'
-import {
- FileProps,
-} from 'filesystem'
-
-function RunItem({
- name,
- path: filePath,
- onSelect,
- isSelected,
- metadata,
-}: FileProps) {
- const posthog = usePostHog()
- return (
- <Link
- href={metadata['href']}
- className={
- clsx(
- 'px-2',
- 'py-2',
- 'rounded-md',
- 'cursor-pointer',
- 'flex',
- 'transition-all',
- 'items-center',
- 'space-x-2',
- 'bg-[#1F2437]',
- 'border',
- 'border-[#2A3441]',
- 'hover:bg-[#262C40]',
- 'w-full',
- 'justify-between',
- )}
- onClick={() => {
- posthog?.capture('selected run', {
- slug: metadata['id'],
- })
- }}
- >
- <span className="flex space-x-2 truncate">
- <span
- className="
- text-sm
- whitespace-nowrap
- text-gray-200
- "
- >
- Run
- </span >
- <span
- className="
- text-sm
- truncate
- whitespace-nowrap
- text-gray-500
- "
- >
- {metadata['id']}
- </span>
- </span>
- <span
- className="
- text-sm
- whitespace-nowrap
- text-gray-500
- truncate
- "
- >
- {metadata['timestamp'].toLocaleString()}
- </span>
- </Link>
- )
-}
-
-export default RunItem
diff --git a/apps/dashboard/docker-compose.yml b/apps/dashboard/docker-compose.yml
deleted file mode 100644
index 77e2be964..000000000
--- a/apps/dashboard/docker-compose.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-version: "3.8"
-
-services:
- api:
- image: e2b/api:latest
- build:
- context: ./api-service
- environment:
- - PORT=49155
- - NEXT_PUBLIC_SUPABASE_URL=http://supabase_kong_workspace:8000
- # The following default key is generated by the local Supabase start and doesn't change
- - SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
- expose:
- - 49155
- external_links:
- - supabase_kong_workspace
- - supabase_db_workspace
- networks:
- - supabase-local-net
-
- app:
- image: e2b/app:latest
- build:
- context: ./
- args:
- BUILD: docker
- NEXT_PUBLIC_SUPABASE_URL: http://supabase_kong_workspace:8000
- NEXT_PUBLIC_API_URL: http://api:49155
- NEXT_PUBLIC_PROXY: 1
- NEXT_PUBLIC_SIGN_IN_EMAIL: [email protected]
- NEXT_PUBLIC_SIGN_IN_PASSWORD: [email protected]
- # The following default key is generated by the local Supabase start and doesn't change
- NEXT_PUBLIC_SUPABASE_ANON_KEY: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
- external_links:
- - supabase_kong_workspace
- - supabase_db_workspace
- environment:
- - NODE_ENV=development
- - SUPABASE_POSTGRES_URL=postgresql://postgres:postgres@supabase_db_workspace:5432/postgres
- # The following default key is generated by the local Supabase start and doesn't change
- - SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
- ports:
- - 3000:3000
- networks:
- - supabase-local-net
-
-networks:
- supabase-local-net:
- # This name identified the network with supabase containers started with `supabase start`.
- name: supabase_network_workspace
- external: true
\ No newline at end of file
diff --git a/apps/dashboard/filesystem/dir.ts b/apps/dashboard/filesystem/dir.ts
deleted file mode 100644
index 683d59f3b..000000000
--- a/apps/dashboard/filesystem/dir.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import Node, {
- Metadata,
- NodeType,
-} from './node'
-
-class Dir extends Node {
- readonly name: string
- readonly type = NodeType.Dir
- children = new Map<string, Node>()
- isExpanded = false
-
- constructor(
- {
- name,
- parent,
- metadata,
- isExpanded = false,
- }: {
- name: string,
- parent?: Dir, // Root dir doesn't have a parent.
- metadata?: Metadata,
- isExpanded?: boolean,
- }
- ) {
- super()
- this.name = name
- this.parent = parent
- if (metadata) this.metadata = metadata
- this.isExpanded = isExpanded
- }
-}
-
-export default Dir
diff --git a/apps/dashboard/filesystem/file.ts b/apps/dashboard/filesystem/file.ts
deleted file mode 100644
index 39c52a44f..000000000
--- a/apps/dashboard/filesystem/file.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import Dir from './dir'
-import Node, {
- Metadata,
- NodeType,
-} from './node'
-
-class File extends Node {
- readonly name: string
- readonly type = NodeType.File
-
- constructor({
- name,
- parent,
- metadata,
- }: {
- name: string,
- parent?: Dir
- metadata?: Metadata,
- }) {
- super()
- this.name = name
- this.parent = parent
- if (metadata) this.metadata = metadata
- }
-}
-
-export default File
diff --git a/apps/dashboard/filesystem/filesystem.ts b/apps/dashboard/filesystem/filesystem.ts
deleted file mode 100644
index fb8e385b8..000000000
--- a/apps/dashboard/filesystem/filesystem.ts
+++ /dev/null
@@ -1,285 +0,0 @@
-import { isMatch } from 'matcher'
-import path from 'path-browserify'
-
-import { logger } from '../utils/logger'
-import Dir from './dir'
-import Node, { NodeType } from './node'
-
-const log = logger('filesystem', 'orange', false)
-
-type DirListener = (path: string, children: IterableIterator<Node>) => void
-type MetadataListener<T = any> = (path: string, {
- key,
- newVal,
- oldVal,
-}: { key: string; newVal?: T; oldVal?: T }) => void
-
-class Filesystem {
- root: Dir
- private lastSelectedPath?: string
- get selectedPath() {
- return this.lastSelectedPath
- }
- private dirListeners = new Map<string, DirListener[]>()
- private metadataListeners = new Map<string, MetadataListener[]>()
-
- constructor(rootPath: string, initial: Node[]) {
- this.root = new Dir({ name: rootPath })
- initial.forEach(n => {
- n.parent = this.root
- this.root.children.set(n.name, n)
- })
- }
-
- /**
- * Removes all children and all listeners.
- */
- clear() {
- this.dirListeners.clear()
- this.metadataListeners.clear()
-
- this.root.children.forEach(c => {
- c.parent = undefined
- })
- this.root.children.clear()
- }
-
- /**
- * Registers a listener that gets notified when directory's child nodes change (a node is created or deleted).
- * @param path path to a directory
- * @param l listener function
- * @returns unsubscribe method
- */
- addDirListener(path: string, l: DirListener) {
- const ls = this.dirListeners.get(path) || []
- this.dirListeners.set(path, [...ls, l])
- return () => this.removeDirListener(path, l)
- }
-
- private removeDirListener(path: string, l: DirListener) {
- const ls = this.dirListeners.get(path) || []
- this.dirListeners.set(
- path,
- ls.filter(l1 => l1 !== l),
- )
- }
-
- private notifyDirListeners(path: string, children: IterableIterator<Node>) {
- const ls = this.dirListeners.get(path) || []
- ls.forEach(l => l(path, children))
- }
-
- /**
- * Registers a listener that gets notified when node's metadata value changes for the specified key.
- * @param path path to a node in the filesystem
- * @param key metadata key to listen to
- * @param l listener function
- * @returns unsubscribe method
- */
- addMetadataListener<T>(path: string, key: string, l: MetadataListener<T>) {
- const lkey = this.makeMetadataListenerKey(path, key)
- const ls = this.metadataListeners.get(lkey) || []
- this.metadataListeners.set(lkey, [...ls, l])
- return () => this.removeMetadataListener(path, key, l)
- }
-
- private removeMetadataListener(path: string, key: string, l: MetadataListener) {
- const lkey = this.makeMetadataListenerKey(path, key)
- const ls = this.metadataListeners.get(lkey) || []
- this.metadataListeners.set(
- lkey,
- ls.filter(l1 => l1 !== l),
- )
- }
-
- private notifyMetadataListeners<T>(path: string, {
- key,
- newVal,
- oldVal,
- }: { key: string; newVal?: T; oldVal?: T }) {
- const lkey = this.makeMetadataListenerKey(path, key)
- const ls = this.metadataListeners.get(lkey)
- ls?.forEach(l => {
- l(path, {
- key,
- oldVal,
- newVal,
- })
- })
- }
-
- /**
- * Tries to add new nodes to the specified directory.
- * @param dirpath directory where to insert a new node.
- * @param newNodes new nodes to add.
- * @returns an array of node names that couldn't be added because they already exist in the directory.
- */
- add(dirpath: string, newNodes: Node[], ignore?: string[]) {
- const n = this.find(dirpath)
- if (!n) throw new Error(`'${dirpath}': path doesn't exist on the filesystem. Can't create a new node`)
- if (n.type !== NodeType.Dir) throw new Error(`'${dirpath}': isn't a directory. Can't create a new node`)
-
- const dir = n as Dir
-
- const existing: string[] = []
- for (const nn of newNodes) {
-
- // Check if we should filter out a new node.
- if (ignore && ignore.length > 0) {
- if (isMatch(path.join(dir.path, nn.name), ignore)) continue
- }
-
- if (dir.children.has(nn.name)) {
- existing.push(nn.name)
- } else {
- nn.parent = dir
- dir.children.set(nn.name, nn)
- }
- }
-
- this.notifyDirListeners(dir.path, dir.children.values())
- return existing
- }
-
- /**
- * Tries to remove a node on the specified path.
- * @param pathToRemove path to a node that should be removed
- * @returns true if a node was removed, false if path doesn't exist in the filesystem
- */
- remove(pathToRemove: string) {
- const n = this.find(pathToRemove)
- if (!n) return false
-
- // This shouldn't ever happen.
- if (!n.parent) throw new Error(`Can't delete node. Node on path '${pathToRemove}' has no parent set`)
-
- // If we are removing a selected node, de-select it first.
- if (n.path === this.lastSelectedPath) {
- this.lastSelectedPath = undefined
- }
-
- // Parent is always a dir.
- const parent = n.parent as Dir
- const baseName = path.basename(pathToRemove)
- const child = parent.children.get(baseName)
- if (child) {
- child.parent = undefined
- parent.children.delete(baseName)
- }
-
- this.notifyDirListeners(parent.path, parent.children.values())
-
- return true
- }
-
- getChildren(path: string) {
- const n = this.find(path)
- if (!n) throw new Error(`'${path}': no such file or directory`)
- if (n.type !== NodeType.Dir) throw new Error(`'${path}': is not a directory`)
- return (n as Dir).children.values()
- }
-
- hasChildren(dirpath: string) {
- const n = this.find(dirpath)
- if (!n) throw new Error(`'${dirpath}': no such file or directory`)
- if (n.type !== NodeType.Dir) throw new Error(`'${dirpath}': is not a directory`)
- return (n as Dir).children.size > 0
- }
-
- setMetadata<T = unknown>(path: string, {
- key,
- value,
- }: { key: string; value: T | undefined }) {
- log('setMetadata', path, {
- key,
- value,
- })
- const n = this.find(path)
- if (!n) throw new Error(`${path}: no such file or directory. Can't set metadata`)
-
- const oldVal = n.metadata[key]
- n.metadata[key] = value
-
- this.notifyMetadataListeners<T>(path, {
- key,
- oldVal,
- newVal: value,
- })
- }
-
- getMetadata<T = unknown>(path: string, key: string): T {
- log('getMetadata', path, key)
- const n = this.find(path)
- if (!n) throw new Error(`${path}: no such file or directory. Can't get metadata`)
- return n.metadata[key]
- }
-
- setIsDirExpanded(dirpath: string, isExpanded: boolean) {
- const n = this.find(dirpath)
- if (!n) throw new Error(`${dirpath}: no such directory. Can't set isDirExpanded`)
- if (n.type !== NodeType.Dir) throw new Error(`${dirpath}: is not a directory. Can't set isDirExpanded`)
-
- const dir = n as Dir
- if (!dir.parent) throw new Error(`'${dirpath}: doesn't have parent. Can't set isDirExpanded to dir without parent`)
-
- if (dir.isExpanded !== isExpanded) {
- dir.isExpanded = isExpanded
- this.notifyDirListeners(dir.parent.path, dir.parent.children.values())
- }
- }
-
- setIsNodeSelected(path: string, isSelected: boolean) {
- // Deselect previously selected node if there was any.
- if (this.lastSelectedPath && this.lastSelectedPath !== path) {
- this.setIsNodeSelected(this.lastSelectedPath, false)
- this.lastSelectedPath = path
- }
-
- const n = this.find(path)
- if (!n) throw new Error(`${path}: no such file or directory. Can't set isNodeSelected`)
- if (!n.parent) throw new Error(`'${path}: doesn't have a parent. Can't set isNodeSelected to a node without a parent`)
-
- if (n.isSelected !== isSelected) {
- n.isSelected = isSelected
- this.lastSelectedPath = path
- this.notifyDirListeners(n.parent.path, n.parent.children.values())
- }
- }
-
- print(node: Dir = this.root, indent = 0) {
- const indentStr = ' '.repeat(indent)
-
- console.log(indentStr + node.path, `(${node.name})`)
-
- node.children.forEach(c => {
- if (c.type === NodeType.Dir) {
- this.print(c as Dir, indent + 1)
- } else {
- console.log(indentStr + ' ' + c.path, `(${c.name})`)
- }
- })
- }
-
- find(p: string, node: Node = this.root): Node | undefined {
- p = path.normalize(p)
- if (node.path === p) return node
-
- // No need to go deeper if the searched item on the
- // path `p` is on a lower dir level than we are at now.
- const pathLevel = p.split(path.sep).length - 1
- if (node.level > pathLevel) return
-
- if (node.type === NodeType.Dir) {
- for (const [, c] of (node as Dir).children) {
- const res = this.find(p, c)
- if (res) return res
- }
- }
- }
-
- private makeMetadataListenerKey(path: string, key: string) {
- return `${path}-${key}`
- }
-}
-
-export default Filesystem
diff --git a/apps/dashboard/filesystem/index.ts b/apps/dashboard/filesystem/index.ts
deleted file mode 100644
index e8c25bdbf..000000000
--- a/apps/dashboard/filesystem/index.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import Tree from 'components/FilesystemTree'
-export type {
- Props as FilesystemTreeProps,
- FileProps,
- SelectHandler,
-} from 'components/FilesystemTree'
-
-import DirWrapper from '../components/DirWrapper'
-export type {
- Props as DirWrapperProps,
- DirProps,
-} from 'components/DirWrapper'
-
-export { NodeType } from './node'
-export type { Metadata } from './node'
-
-export {
- useFilesystem,
- useMetadata,
-} from '../hooks/filesystem'
-
-export { default as Node } from './node'
-export { default as FileNode } from './file'
-export { default as DirNode } from './dir'
-
-/* eslint import/no-anonymous-default-export: [2, {"allowObject": true}] */
-export default {
- Tree,
- DirWrapper,
-}
diff --git a/apps/dashboard/filesystem/node.ts b/apps/dashboard/filesystem/node.ts
deleted file mode 100644
index 1164889af..000000000
--- a/apps/dashboard/filesystem/node.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import path from 'path-browserify'
-
-import Dir from './dir'
-
-export enum NodeType {
- File = 'File',
- Dir = 'Dir',
-}
-
-export interface Metadata {
- [name: string]: any
-}
-
-abstract class Node {
- abstract name: string
- abstract type: NodeType
- metadata: Metadata = {}
-
- isSelected = false
-
- private _path?: string
- get path(): string {
- if (!this._path) {
- this._path = path.join(this.parent?.path || '/', this.name)
- }
- return this._path
- }
-
- // Root dir doesn't have a parent.
- private _parent?: Dir
- get parent(): Dir | undefined {
- return this._parent
- }
- set parent(par: Dir | undefined) {
- if (par) {
- this._parent = par
- this._path = path.join(par.path || '/', this.name)
- }
- }
-
- /**
- * Level indicates the depth of a node in the filesystem.
- * A dir in the root directory has a level 0, a file in this
- * dir has a level 1, etc.
- */
- get level(): number {
- if (this.parent) return this.parent.level + 1
- // This makes sure that a files in the root have level 0. The root itself has level -1.
- else return -1
- }
-}
-
-export default Node
diff --git a/apps/dashboard/hooks/filesystem.ts b/apps/dashboard/hooks/filesystem.ts
deleted file mode 100644
index 79e116745..000000000
--- a/apps/dashboard/hooks/filesystem.ts
+++ /dev/null
@@ -1,88 +0,0 @@
-import {
- useCallback,
- useEffect,
- useState,
-} from 'react'
-import Filesystem from '../filesystem/filesystem'
-import Node from '../filesystem/node'
-
-export function useFilesystem({
- rootPath = '/',
- initial = [],
-}: { rootPath?: string, initial?: Node[] } = {
- rootPath: '/',
- initial: [],
- }) {
- const [fs] = useState(() => new Filesystem(rootPath, initial))
- return fs
-}
-
-export function useChildren(fs: Filesystem, path: string, shouldRegisterListener: boolean) {
- const [children, setChildren] = useState<Node[]>([])
-
- useEffect(function getChildren() {
- if (!shouldRegisterListener) return
-
- const remove = fs.addDirListener(path, (_, children) => {
- setChildren([...children])
- })
- setChildren([...fs.getChildren(path)])
- return () => { remove() }
- }, [
- fs,
- path,
- shouldRegisterListener,
- ])
-
- return children
-}
-
-type MetadataValue<T> = T | undefined
-type MetadataFuncValue<T> = (currentVal: T | undefined) => T | undefined
-export function useMetadata<T>(fs: Filesystem, path: string, key: string, shouldRegisterListener: boolean): [MetadataValue<T>, (newValue: MetadataValue<T> | MetadataFuncValue<T>) => void] {
- // TODO: We can't detect if user didn't pass `initialValue` because that's the same as passing undefined
- // as the initial value.
- // So if a node already has some value for the key and user didn't pass any initialValue, we overwrite it
- // which we shouldn't do.
-
- const [val, setVal] = useState<T>()
-
- const setMetadata = useCallback<(value: MetadataValue<T> | ((currentVal: MetadataValue<T>) => MetadataValue<T>)) => void>(value => {
- let v: T | undefined
- if (value instanceof Function) {
- v = value(val)
- } else {
- v = value
- }
-
- fs.setMetadata<T>(path, {
- key,
- value: v,
- })
- // No need to call `setVal` because `setVal` will get called thanks
- // to the registered metadata listener below.
- }, [
- fs,
- path,
- key,
- val,
- ])
-
- useEffect(function registerMetadataListener() {
- if (!shouldRegisterListener) return
-
- const remove = fs.addMetadataListener<T>(path, key, (_, { newVal }) => {
- setVal(newVal)
- })
- setVal(fs.getMetadata<T>(path, key))
- return () => { remove() }
- }, [
- fs,
- path,
- key,
- setVal,
- shouldRegisterListener,
- ])
-
- return [val, setMetadata]
-}
diff --git a/apps/dashboard/hooks/useAddLogUploadTag.ts b/apps/dashboard/hooks/useAddLogUploadTag.ts
deleted file mode 100644
index d2da92581..000000000
--- a/apps/dashboard/hooks/useAddLogUploadTag.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import { useCallback } from 'react'
-import useSWRMutation from 'swr/mutation'
-import { AgentChallengeTag } from 'utils/agentLogs'
-
-export interface PostLogUploadTag {
- id: string
- tag: AgentChallengeTag
-}
-
-export interface PostLogUploadTagResponse { }
-
-async function handlePostLogUploadTag(url: string, { arg }: { arg: PostLogUploadTag }) {
- const response = await fetch(url, {
- method: 'POST',
- body: JSON.stringify(arg),
- headers: {
- 'Content-Type': 'application/json',
- },
- })
- return await response.json() as PostLogUploadTagResponse
-}
-
-export function useAddLogUploadTag() {
- const {
- trigger: upload,
- } = useSWRMutation('/api/log_upload/tag', handlePostLogUploadTag)
-
- return useCallback(async (logUploadID: string, tag: AgentChallengeTag) =>
- upload({
- id: logUploadID,
- tag,
- }), [upload])
-}
diff --git a/apps/dashboard/hooks/useDeleteLogUpload.ts b/apps/dashboard/hooks/useDeleteLogUpload.ts
deleted file mode 100644
index 11be32989..000000000
--- a/apps/dashboard/hooks/useDeleteLogUpload.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { useCallback } from 'react'
-import useSWRMutation from 'swr/mutation'
-
-export interface DeleteLogUpload {
- // Log Upload ID
- id: string
-}
-
-export interface DeleteLogUploadResponse { }
-
-async function handleDeleteLogUpload(url: string, { arg }: { arg: DeleteLogUpload }) {
- const response = await fetch(url, {
- method: 'DELETE',
- body: JSON.stringify(arg),
- headers: {
- 'Content-Type': 'application/json',
- },
- })
- return await response.json() as DeleteLogUploadResponse
-}
-
-export function useDeleteLogUpload() {
- const {
- trigger: remove,
- } = useSWRMutation('/api/log_upload', handleDeleteLogUpload)
-
- return useCallback(async (logUploadID: string) => remove({
- id: logUploadID,
- }), [remove])
-}
diff --git a/apps/dashboard/hooks/useDeleteLogUploadTag.ts b/apps/dashboard/hooks/useDeleteLogUploadTag.ts
deleted file mode 100644
index e84ce6e3f..000000000
--- a/apps/dashboard/hooks/useDeleteLogUploadTag.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import { useCallback } from 'react'
-import useSWRMutation from 'swr/mutation'
-import { AgentChallengeTag } from 'utils/agentLogs'
-
-export interface DeleteLogUploadTag {
- // Log Upload ID
- id: string
- tag: AgentChallengeTag
-}
-
-export interface DeleteLogUploadTagResponse { }
-
-async function handleDeleteLogUploadTag(url: string, { arg }: { arg: DeleteLogUploadTag }) {
- const response = await fetch(url, {
- method: 'DELETE',
- body: JSON.stringify(arg),
- headers: {
- 'Content-Type': 'application/json',
- },
- })
- return await response.json() as DeleteLogUploadTagResponse
-}
-
-export function useDeleteLogUploadTag() {
- const {
- trigger: remove,
- } = useSWRMutation('/api/log_upload/tag', handleDeleteLogUploadTag)
-
- return useCallback(async (logUploadID: string, tag: AgentChallengeTag) => remove({
- id: logUploadID,
- tag,
- }), [remove])
-}
diff --git a/apps/dashboard/hooks/useDeploymentRunLog.ts b/apps/dashboard/hooks/useDeploymentRunLog.ts
deleted file mode 100644
index 0cce76cc0..000000000
--- a/apps/dashboard/hooks/useDeploymentRunLog.ts
+++ /dev/null
@@ -1,46 +0,0 @@
-import { useSupabaseClient } from '@supabase/auth-helpers-react'
-import { useState, useEffect, useMemo } from 'react'
-
-import { logsTable } from 'db/tables'
-import { Database } from 'db/supabase'
-import { LiteDeploymentLog } from 'utils/agentLogs'
-
-function useDeploymentRunLog(initLog: LiteDeploymentLog) {
- const [logContent, setLogContent] = useState<any>()
- const client = useSupabaseClient<Database>()
- const log = useMemo(() => {
- if (!logContent) return initLog
- return {
- ...initLog,
- content: logContent,
- }
- }, [initLog, logContent])
-
- // Sometimes a large field from realtime server can be missing because of the internal POSTGRES/TOAST workings.
- // We changed the table replication to full with `ALTER TABLE events REPLICA IDENTITY FULL;` to fix this.
- // https://github.com/supabase/realtime/issues/223 mentioned that we may need to check the `old_record` field of the payload for the actual value,
- // but so far it seems we don't have to.
- useEffect(function subscribe() {
- const updateSub = client.channel('any')
- .on('postgres_changes',
- {
- event: 'UPDATE',
- schema: 'public',
- table: logsTable,
- filter: `id=eq.${initLog.id}`,
- }, payload => {
- setLogContent(JSON.parse(payload.new.content))
- })
- .subscribe()
- return () => {
- updateSub.unsubscribe()
- }
- }, [
- client,
- initLog.id,
- ])
-
- return log
-}
-
-export default useDeploymentRunLog
diff --git a/apps/dashboard/hooks/useDocEditor.ts b/apps/dashboard/hooks/useDocEditor.ts
deleted file mode 100644
index 93fb335ec..000000000
--- a/apps/dashboard/hooks/useDocEditor.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-import { useEditor } from '@tiptap/react'
-import Placeholder from '@tiptap/extension-placeholder'
-
-import { extensions } from 'editor/schema'
-import CustomKeymap from 'editor/extensions/keymap'
-
-function useDocEditor({
- initialContent,
- onContentChange,
- placeholder,
- onFocus,
-}: {
- onFocus?: () => void,
- initialContent: string,
- /**
- * @param content in Markdown format
- * @returns
- */
- onContentChange: (content: string) => void,
- placeholder?: string
-}) {
- const editor = useEditor({
- parseOptions: {
- preserveWhitespace: 'full',
- },
- editorProps: {
- attributes: {
- 'data-gramm': 'false',
- 'spellcheck': 'false',
- },
- },
- extensions: [
- ...extensions,
- CustomKeymap,
- Placeholder.configure({
- placeholder: ({ editor }) => {
- if (!editor.getText()) {
- return placeholder || ''
- }
- return ''
- }
- }),
- ],
- onFocus({ editor }) {
- onFocus?.()
- },
- onCreate({ editor }) {
- editor?.commands.setContent(initialContent)
- },
- onUpdate({ transaction, editor }) {
- if (transaction.docChanged) {
- onContentChange(editor.storage.markdown.getMarkdown())
- }
- },
- }, [onContentChange, onFocus,])
-
- return editor
-}
-
-export default useDocEditor
diff --git a/apps/dashboard/hooks/useFiletree.tsx b/apps/dashboard/hooks/useFiletree.tsx
deleted file mode 100644
index 0577c6882..000000000
--- a/apps/dashboard/hooks/useFiletree.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-import {
- ReactNode,
- createContext,
- useCallback,
- useContext,
- useMemo,
- useState,
-} from 'react'
-
-import { NodeType } from '../filesystem'
-
-export type Node = {
- type: NodeType
- path: string
-}
-
-type Listener = (f: Node) => void
-
-export const filetreeContext = createContext<{
- select: (f: Node) => void
- addSelectListener: (l: Listener) => void
- removeSelectListener: (l: Listener) => void
-} | undefined>(undefined)
-
-export interface FiletreeProviderProps {
- children: ReactNode
-}
-
-export function FiletreeProvider({ children }: FiletreeProviderProps) {
- const [listeners] = useState<((f: Node) => void)[]>([])
-
- const select = useCallback((f: Node) => {
- for (const l of listeners) {
- l(f)
- }
- }, [listeners])
-
- const addSelectListener = useCallback((l: Listener) => {
- listeners.push(l)
- }, [listeners])
-
- const removeSelectListener = useCallback((l: Listener) => {
- const idx = listeners.findIndex(l1 => l1 === l)
- listeners.splice(idx, 1)
- }, [listeners])
-
- const value = useMemo(() => ({
- select,
- addSelectListener,
- removeSelectListener,
- }), [
- select,
- addSelectListener,
- removeSelectListener,
- ])
-
- return (
- <filetreeContext.Provider value={value}>
- {children}
- </filetreeContext.Provider>
- )
-}
-
-export function useFiletree() {
- const ctx = useContext(filetreeContext)
- if (ctx === undefined) {
- throw new Error('useFiletree must be used within `FileTreeProvider`')
- }
- return ctx
-}
diff --git a/apps/dashboard/hooks/useGitHubClient.ts b/apps/dashboard/hooks/useGitHubClient.ts
deleted file mode 100644
index 64c8cc91e..000000000
--- a/apps/dashboard/hooks/useGitHubClient.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { useMemo } from 'react'
-
-import { getGHUserClient } from 'github/userClient'
-import { GitHubClient } from 'github/client'
-
-export function useGitHubClient(accessToken?: string): GitHubClient | undefined {
- return useMemo(() => accessToken
- ? getGHUserClient({ accessToken })
- : undefined,
- [accessToken],
- )
-}
diff --git a/apps/dashboard/hooks/useLocalStorage.ts b/apps/dashboard/hooks/useLocalStorage.ts
deleted file mode 100644
index 6f0495a94..000000000
--- a/apps/dashboard/hooks/useLocalStorage.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { useState } from 'react'
-
-export function useLocalStorage<T>(key: string, initialValue: T) {
- // State to store our value
- // Pass initial state function to useState so logic is only executed once
- const [storedValue, setStoredValue] = useState<T>(() => {
- if (typeof window === 'undefined') {
- return initialValue
- }
- try {
- // Get from local storage by key
- const item = window.localStorage.getItem(key)
- // Parse stored json or if none return initialValue
- return item ? JSON.parse(item) : initialValue
- } catch (error) {
- // If error also return initialValue
- console.log(error)
- return initialValue
- }
- })
- // Return a wrapped version of useState's setter function that ...
- // ... persists the new value to localStorage.
- const setValue = (value: T | ((val: T) => T)) => {
- try {
- // Allow value to be a function so we have same API as useState
- const valueToStore =
- value instanceof Function ? value(storedValue) : value
- // Save state
- setStoredValue(valueToStore)
- // Save to local storage
- if (typeof window !== 'undefined') {
- window.localStorage.setItem(key, JSON.stringify(valueToStore))
- }
- } catch (error) {
- // A more advanced implementation would handle the error case
- console.log(error)
- }
- }
- return [storedValue, setValue] as const
-}
diff --git a/apps/dashboard/hooks/useRenameLogUpload.ts b/apps/dashboard/hooks/useRenameLogUpload.ts
deleted file mode 100644
index 45037f755..000000000
--- a/apps/dashboard/hooks/useRenameLogUpload.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { useCallback } from 'react'
-import useSWRMutation from 'swr/mutation'
-
-export interface PatchLogUpload {
- logUploadID: string
- displayName: string
-}
-
-export interface PatchLogUploadResponse { }
-
-async function handlePatchLogUpload(url: string, { arg }: { arg: PatchLogUpload }) {
- const response = await fetch(url, {
- method: 'PATCH',
- body: JSON.stringify(arg),
- headers: {
- 'Content-Type': 'application/json',
- },
- })
- return await response.json() as PatchLogUploadResponse
-}
-
-export function useRenameLogUpload() {
- const {
- trigger: rename,
- } = useSWRMutation('/api/log_upload', handlePatchLogUpload)
-
- return useCallback(async (args: PatchLogUpload) =>
- rename(args), [rename])
-}
diff --git a/apps/dashboard/hooks/useRepositories.ts b/apps/dashboard/hooks/useRepositories.ts
deleted file mode 100644
index 0d0f4384e..000000000
--- a/apps/dashboard/hooks/useRepositories.ts
+++ /dev/null
@@ -1,59 +0,0 @@
-import { useEffect, useReducer, useState } from 'react'
-import { GitHubClient } from 'github/client'
-
-export async function fetchRepos(client: GitHubClient) {
- const installations = await client.apps.listInstallationsForAuthenticatedUser()
- const repos = await Promise.all(
- installations.data.installations.map(async i => {
- try {
- const repos = await client.apps.listInstallationReposForAuthenticatedUser({
- installation_id: i.id,
- // TODO: Add pagination so we fetch all the repos not just the first 100
- per_page: 100,
- headers: {
- // We have to manually circumvent the caching mechanism here.
- // This request is called only when the user changes or when the component mounts, so we don't exceed the GitHub API quotas.
- 'If-Modified-Since': 'Sun, 14 Nov 2021 13:42:15 GMT',
- },
- })
-
- return await Promise.all(repos.data.repositories.map(async r => {
- const langs = await client.repos.listLanguages({
- owner: r.owner.login,
- repo: r.name,
- })
-
- let language = ''
- if (langs.data && Object.keys(langs.data).length > 0) {
- // Pick the most used language
- language = Object.keys(langs.data).reduce((a, b) => (langs.data[a] || 0) > (langs.data[b] || 0) ? a : b)
- }
- return {
- ...r,
- installation_id: i.id,
- language,
- }
- }))
- } catch (err) {
- console.error(err)
- return []
- }
- })
- )
- return repos.flat()
-}
-
-export function useRepositories(client?: GitHubClient) {
- const [repos, setRepos] = useState<Awaited<ReturnType<typeof fetchRepos>>>()
- const [hook, refetch] = useReducer(() => ({}), {})
-
- useEffect(function fetch() {
- if (!client) return
- fetchRepos(client).then(setRepos)
- }, [client, hook])
-
- return {
- repos,
- refetch,
- }
-}
diff --git a/apps/dashboard/hooks/useUploadLogUpload.ts b/apps/dashboard/hooks/useUploadLogUpload.ts
deleted file mode 100644
index b6e82fd60..000000000
--- a/apps/dashboard/hooks/useUploadLogUpload.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { log_files } from 'db/prisma'
-import { useCallback } from 'react'
-import useSWRMutation from 'swr/mutation'
-
-export interface FileUpload extends Pick<log_files, 'content' | 'filename' | 'relativePath' | 'last_modified'> { }
-
-export interface PostLogUpload {
- logFiles: FileUpload[]
- projectID: string
-}
-
-export interface PostLogUploadResponse {
- id: string
-}
-
-async function handlePostLogUpload(url: string, { arg }: { arg: PostLogUpload }) {
- const response = await fetch(url, {
- method: 'POST',
- body: JSON.stringify(arg),
- headers: {
- 'Content-Type': 'application/json',
- },
- })
- return await response.json() as PostLogUploadResponse
-}
-
-export function useUploadLogUpload(projectID: string) {
- const {
- trigger: upload,
- } = useSWRMutation('/api/log_upload', handlePostLogUpload)
-
- return useCallback(async (logFiles: FileUpload[]) =>
- upload({
- logFiles,
- projectID,
- }), [projectID, upload])
-}
\ No newline at end of file
diff --git a/apps/dashboard/next.config.js b/apps/dashboard/next.config.js
index 424b6fdaa..db3250e10 100644
--- a/apps/dashboard/next.config.js
+++ b/apps/dashboard/next.config.js
@@ -1,25 +1,5 @@
-/** @type {import('next').NextConfig} */
-const fastDockerBuild = {
- compress: false,
- productionBrowserSourceMaps: false,
- eslint: {
- ignoreDuringBuilds: true,
- },
- optimizeFonts: false,
- typescript: {
- ignoreBuildErrors: true,
- },
- output: 'standalone',
- experimental: {
- turbotrace: {
- memoryLimit: 1000,
- },
- },
-}
-
/** @type {import('next').NextConfig} */
const nextConfig = {
- ...process.env.BUILD === 'docker' && fastDockerBuild,
swcMinify: true,
experimental: {
swcPlugins: [['next-superjson-plugin', {}]],
@@ -41,9 +21,7 @@ module.exports = nextConfig
const { withSentryConfig } = require('@sentry/nextjs')
-module.exports = process.env.BUILD === 'docker'
- ? module.exports
- : withSentryConfig(
+module.exports = withSentryConfig(
module.exports,
{
// For all available options, see:
diff --git a/apps/dashboard/pages/index.tsx b/apps/dashboard/pages/index.tsx
index 1c7af5f5b..065b8f46e 100644
--- a/apps/dashboard/pages/index.tsx
+++ b/apps/dashboard/pages/index.tsx
@@ -2,20 +2,15 @@ import type { GetServerSideProps } from 'next'
import { createServerSupabaseClient } from '@supabase/auth-helpers-nextjs'
import { nanoid } from 'nanoid'
-import { prisma, projects, log_uploads } from 'db/prisma'
+import { prisma } from 'db/prisma'
import { serverCreds } from 'db/credentials'
-import DashboardHome from 'components/DashboardHome'
-import { LiteDeployment } from 'utils/agentLogs'
export interface Props {
- projects: (projects & { log_uploads: log_uploads[], deployments: LiteDeployment[] })[]
defaultProjectID: string
- view: 'deployments' | 'logs'
}
export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
const defaultNewTeamID = process.env.DEFAULT_NEW_TEAM_ID as string | undefined
- const showUploadedLogs = process.env.NEXT_PUBLIC_SHOW_UPLOADED_LOGS === '1'
const supabase = createServerSupabaseClient(ctx, serverCreds)
const {
@@ -226,30 +221,10 @@ export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
permanent: false,
},
}
-
- return {
- props: {
- view: showUploadedLogs ? 'logs' : 'deployments',
- defaultProjectID: defaultProject.id,
- projects: [
- defaultProject,
- ...teams.flatMap(t => t.projects).filter(p => p.id !== defaultProject.id),
- ].map(p => ({
- ...p,
- deployments: showUploadedLogs ? [] : p.deployments,
- }))
- },
- }
}
-function Home({ projects, defaultProjectID, view }: Props) {
- return (
- <DashboardHome
- view={view}
- defaultProjectID={defaultProjectID}
- projects={projects}
- />
- )
+function Home({ }: Props) {
+ return <></>
}
export default Home
diff --git a/apps/dashboard/pages/settings/index.tsx b/apps/dashboard/pages/settings/index.tsx
index 1125d667d..57b07adc3 100644
--- a/apps/dashboard/pages/settings/index.tsx
+++ b/apps/dashboard/pages/settings/index.tsx
@@ -67,7 +67,7 @@ export const getServerSideProps: GetServerSideProps<Props> = async (ctx) => {
for (let i = 0; i < 5; i++) {
apiKeyValue = generateApiKey()
try {
- apiKey = await prisma.team_api_keys.create({
+ await prisma.team_api_keys.create({
data: {
team_id: defaultTeam.teams.id,
api_key: apiKeyValue,
diff --git a/apps/dashboard/utils/agentLogs.ts b/apps/dashboard/utils/agentLogs.ts
deleted file mode 100644
index 6cef34ff3..000000000
--- a/apps/dashboard/utils/agentLogs.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-import { deployments, log_files, log_uploads } from 'db/prisma'
-
-export interface LiteDeploymentLog extends Omit<log_files, 'content'> {
- content: any
- deployments: LiteDeployment
-}
-
-export interface LiteDeployment extends deployments {
- log_files: (Pick<log_files, 'id' | 'created_at' | 'log_upload_id' | 'relativePath' | 'filename'>)[]
- projects: {
- name: string
- slug: string | null
- }
-}
-
-// This is very specific ot AutoGPT logs.
-export interface AgentChallengeTag {
- path: string
- text: string
- severity: string
-}
-
-export interface LiteLogFile extends Omit<log_files, 'content' | 'created_at' | 'last_modified' | 'project_id' | 'deployment_id'> {
- content: AgentPromptLogs | AgentNextActionLog | string
-}
-
-export interface LiteLogUpload extends Omit<log_uploads, 'log_files' | 'tags'> {
- log_files: LiteLogFile[]
- tags: AgentChallengeTag[]
-}
-
-export interface AgentPromptLogs {
- logs: (SystemPromptLog | UserPromptLog | AssistantPromptLog)[]
- functions?: AgentFunction[]
-}
-
-export interface AgentFunction {
- name: string
- description?: string
- parameters: { [key: string]: any }
-}
-
-// This is very specific to AutoGPT logs.
-// We'll generalize later.
-export interface AgentNextActionLog {
- thoughts: {
- text: string
- reasoning: string
- plan: string
- criticism: string
- speaker: string
- }
- command: {
- name: string
- args: { [key: string]: string }
- }
-}
-
-export interface SystemPromptLog {
- role: 'system'
- content: string
-}
-
-export interface UserPromptLog {
- role: 'user'
- content: string
-}
-
-export interface AssistantPromptLog {
- role: 'assistant'
- content: string
- function_call?: {
- name: string
- arguments: string
- }
-}
diff --git a/apps/dashboard/utils/formatLogFileContent.ts b/apps/dashboard/utils/formatLogFileContent.ts
deleted file mode 100644
index 09ff4526e..000000000
--- a/apps/dashboard/utils/formatLogFileContent.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import path from 'path-browserify'
-
-import { log_files } from 'db/prisma'
-
-import { AgentNextActionLog, AgentPromptLogs } from './agentLogs'
-
-function getLastTwoDirsAndFile(fullPath: string): string {
- const fileName = path.basename(fullPath)
- const dirName = path.dirname(fullPath)
-
- const parts = dirName.split(path.sep)
- const lastTwoDirs = parts.slice(-2).join(path.sep)
-
- return path.join(lastTwoDirs, fileName)
-}
-
-export function formatLogFileContent(logFile: Pick<log_files, 'content' | 'filename' | 'relativePath'>) {
- const relativePath = getLastTwoDirsAndFile(logFile.relativePath)
-
- // This parsing is very Ssecific to the AutoGPT format.
- const filename = logFile.filename
- if (filename.includes('user_input.txt')
- || filename.includes('summary.txt')
- ) {
- return {
- ...logFile,
- relativePath,
- content: logFile.content as string,
- }
- } else if (filename.includes('next_action')) {
- const parsedFileContent = JSON.parse(logFile.content)
- return {
- ...logFile,
- relativePath,
- content: parsedFileContent as AgentNextActionLog,
- }
- } else if (
- filename.includes('full_message_history')
- || filename.includes('current_context')
- || filename.includes('prompt_summary')
- ) {
- const parsedFileContent = JSON.parse(logFile.content)
- return {
- ...logFile,
- relativePath,
- content: {
- logs: parsedFileContent as AgentPromptLogs,
- },
- }
- } else {
- console.error(`Unexpected log file: ${filename}`)
- }
-
- const parsedFileContent = JSON.parse(logFile.content)
- return {
- ...logFile,
- relativePath,
- content: {
- ...parsedFileContent,
- logs: parsedFileContent?.context || [],
- context: undefined,
- },
- }
-}
diff --git a/apps/dashboard/utils/repoSetup.ts b/apps/dashboard/utils/repoSetup.ts
deleted file mode 100644
index 0abc4769e..000000000
--- a/apps/dashboard/utils/repoSetup.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import type { useRepositories } from 'hooks/useRepositories'
-
-export interface RepoSetup {
- fullName: string
- repositoryID: number
- installationID: number
- defaultBranch: string
- branches?: string[]
- url: string
- owner: string
- repo: string
-}
-
-export type Repos = ReturnType<typeof useRepositories>['repos']
diff --git a/apps/dashboard/utils/smolTemplates.ts b/apps/dashboard/utils/smolTemplates.ts
deleted file mode 100644
index 8da385ef6..000000000
--- a/apps/dashboard/utils/smolTemplates.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-export const smolDeveloperTemplateID = 'SmolDeveloper'
-
-export interface Template {
- title: string
- content: string
-}
-
-const templates: { [key: string]: Template } = {
- createReactApp: {
- title: 'React App',
- content: '# A starter react app\nA starter react app based on the latest standards with Typescript.\n\n ### Requirements\n- Authentication: Implement user authentication using libraries like Firebase Authentication',
- },
- createNextApp: {
- title: 'Next.js App',
- content: '# Next.js App\nBuild a modern web application using the Next.js framework.\n\n### Tech stack\n- Next.js framework for server-side rendering and routing\n- TypeScript for type checking and improved developer experience\n\n### Features\n- Server-side rendering for improved performance',
- },
- createDjangoApp: {
- title: 'Django App',
- content: '# Django App\nBuild a simple web backend application using the Django framework.\n\n### Tech stack\n- Django framework for building the application\n- PostgreSQL for the database',
- },
- createLaravelApp: {
- title: 'Laravel App',
- content: '# Laravel App\nBuild a minimal working Laravel web application.\n\n### Tech stack\n- Laravel framework for building the application\n- MySQL for the database',
- },
- personalWebsite: {
- title: 'Personal Website',
- content: '# Personal Website\n Build a simple personal website.\n ### Tech stack\n- Simple HTML and CSS\n- Use Tailwind CSS for styling\n ### Design \n - Make it dark, clean and simple',
- },
- createChromeExtension: {
- title: 'Chrome extension',
- content: '# Website Comment Chrome Extension\n Build a Chrome extension with V3 manifest that allows the user to add comments to websites, providing a platform for users to save their thoughts, opinions, and feedback directly on the web pages.\n\n### Tech Stack\n- HTML: Markup language for creating the extension\'s user interface\n- CSS: Styling language for customizing the appearance of the comment interface\n- JavaScript: Programming language for implementing extension functionality and user interaction\n- Chrome Storage API: Used to store and retrieve comments for specific web pages'
- },
- createWebScraper: {
- title: 'Web Scraper',
- content: '# Web Scraper\nBuild a web scraping tool to extract data from Reddit.\n\n### Tech stack\n- Python with Scrapy for web scraping\n\n### Features\n- Extract specific data from reddit \n- Handle pagination and dynamic content\n- Store scraped data in a structured format in JSON',
- }
-}
-
-export default templates