tag
+ and converting them to Markdown format.
+
+ Args:
+ soup: Parsed HTML content using BeautifulSoup.
+ """
+ if self._preserve_images:
+ for img_tag in _find_all_tags(soup, name="img"):
+ img_src = img_tag.get("src", "")
+ markdown_img = f""
+ wrapper = soup.new_tag("media-wrapper")
+ wrapper.string = markdown_img
+ img_tag.replace_with(wrapper)
+
+ if self._preserve_videos:
+ for video_tag in _find_all_tags(soup, name="video"):
+ video_src = video_tag.get("src", "")
+ markdown_video = f""
+ wrapper = soup.new_tag("media-wrapper")
+ wrapper.string = markdown_video
+ video_tag.replace_with(wrapper)
+
+ if self._preserve_audio:
+ for audio_tag in _find_all_tags(soup, name="audio"):
+ audio_src = audio_tag.get("src", "")
+ markdown_audio = f""
+ wrapper = soup.new_tag("media-wrapper")
+ wrapper.string = markdown_audio
+ audio_tag.replace_with(wrapper)
+
+ @staticmethod
+ def _process_links(soup: BeautifulSoup) -> None:
+ """Processes the links in the HTML content.
+
+ Args:
+ soup: Parsed HTML content using BeautifulSoup.
+ """
+ for a_tag in _find_all_tags(soup, name="a"):
+ a_href = a_tag.get("href", "")
+ a_text = a_tag.get_text(strip=True)
+ markdown_link = f"[{a_text}]({a_href})"
+ wrapper = soup.new_tag("link-wrapper")
+ wrapper.string = markdown_link
+ a_tag.replace_with(NavigableString(markdown_link))
+
+ def _filter_tags(self, soup: BeautifulSoup) -> None:
+ """Filters the HTML content based on the allowlist and denylist tags.
+
+ Args:
+ soup: Parsed HTML content using BeautifulSoup.
+ """
+ if self._allowlist_tags:
+ for tag in _find_all_tags(soup, name=True):
+ if tag.name not in self._allowlist_tags:
+ tag.decompose()
+
+ if self._denylist_tags:
+ for tag in _find_all_tags(soup, name=self._denylist_tags):
+ tag.decompose()
+
+ def _normalize_and_clean_text(self, text: str) -> str:
+ """Normalizes the text by removing extra spaces and newlines.
+
+ Args:
+ text: The text to be normalized.
+
+ Returns:
+ The normalized text.
+ """
+ if self._normalize_text:
+ text = text.lower()
+ text = re.sub(r"[^\w\s]", "", text)
+ text = re.sub(r"\s+", " ", text).strip()
+
+ if self._stopword_removal:
+ text = " ".join(
+ [word for word in text.split() if word not in self._stopwords]
+ )
+
+ return text
+
+ def _process_html(self, soup: BeautifulSoup) -> list[Document]:
+ """Processes the HTML content using BeautifulSoup and splits it using headers.
+
+ Args:
+ soup: Parsed HTML content using BeautifulSoup.
+
+ Returns:
+ A list of `Document` objects containing the split content.
+ """
+ documents: list[Document] = []
+ current_headers: dict[str, str] = {}
+ current_content: list[str] = []
+ preserved_elements: dict[str, str] = {}
+ placeholder_count: int = 0
+
+ def _get_element_text(element: PageElement) -> str:
+ """Recursively extracts and processes the text of an element.
+
+ Applies custom handlers where applicable, and ensures correct spacing.
+
+ Args:
+ element: The HTML element to process.
+
+ Returns:
+ The processed text of the element.
+ """
+ element = cast("Tag | NavigableString", element)
+ if element.name in self._custom_handlers:
+ return self._custom_handlers[element.name](element)
+
+ text = ""
+
+ if element.name is not None:
+ for child in element.children:
+ child_text = _get_element_text(child).strip()
+ if text and child_text:
+ text += " "
+ text += child_text
+ elif element.string:
+ text += element.string
+
+ return self._normalize_and_clean_text(text)
+
+ elements = _find_all_tags(soup, recursive=False)
+
+ def _process_element(
+ element: ResultSet[Tag],
+ documents: list[Document],
+ current_headers: dict[str, str],
+ current_content: list[str],
+ preserved_elements: dict[str, str],
+ placeholder_count: int,
+ ) -> tuple[list[Document], dict[str, str], list[str], dict[str, str], int]:
+ for elem in element:
+ if elem.name in [h[0] for h in self._headers_to_split_on]:
+ if current_content:
+ documents.extend(
+ self._create_documents(
+ current_headers,
+ " ".join(current_content),
+ preserved_elements,
+ )
+ )
+ current_content.clear()
+ preserved_elements.clear()
+ header_name = elem.get_text(strip=True)
+ current_headers = {
+ dict(self._headers_to_split_on)[elem.name]: header_name
+ }
+ elif elem.name in self._elements_to_preserve:
+ placeholder = f"PRESERVED_{placeholder_count}"
+ preserved_elements[placeholder] = _get_element_text(elem)
+ current_content.append(placeholder)
+ placeholder_count += 1
+ else:
+ # Recursively process children to find nested headers or
+ # preserved elements.
+ children = _find_all_tags(elem, recursive=False)
+ if children:
+ # Element has children - recursively process them.
+ (
+ documents,
+ current_headers,
+ current_content,
+ preserved_elements,
+ placeholder_count,
+ ) = _process_element(
+ children,
+ documents,
+ current_headers,
+ current_content,
+ preserved_elements,
+ placeholder_count,
+ )
+ # After processing children, extract only text
+ # strings from this element (not its children). Used
+ # recursive=False to avoid double-counting.
+ content = " ".join(_find_all_strings(elem, recursive=False))
+ if content:
+ content = self._normalize_and_clean_text(content)
+ current_content.append(content)
+ else:
+ # Leaf element with no children, so we extract its
+ # text and add to current content. Handles
+ # text-only elements like , ,
+ content = _get_element_text(elem)
+ if content:
+ current_content.append(content)
+
+ return (
+ documents,
+ current_headers,
+ current_content,
+ preserved_elements,
+ placeholder_count,
+ )
+
+ # Process the elements
+ (
+ documents,
+ current_headers,
+ current_content,
+ preserved_elements,
+ placeholder_count,
+ ) = _process_element(
+ elements,
+ documents,
+ current_headers,
+ current_content,
+ preserved_elements,
+ placeholder_count,
+ )
+
+ # Handle any remaining content
+ if current_content:
+ documents.extend(
+ self._create_documents(
+ current_headers,
+ " ".join(current_content),
+ preserved_elements,
+ )
+ )
+
+ return documents
+
+ def _create_documents(
+ self, headers: dict[str, str], content: str, preserved_elements: dict[str, str]
+ ) -> list[Document]:
+ """Creates Document objects from the provided headers, content, and elements.
+
+ Args:
+ headers: The headers to attach as metadata to the `Document`.
+ content: The content of the `Document`.
+ preserved_elements: Preserved elements to be reinserted into the content.
+
+ Returns:
+ A list of `Document` objects.
+ """
+ content = re.sub(r"\s+", " ", content).strip()
+
+ metadata = {**headers, **self._external_metadata}
+
+ if len(content) <= self._max_chunk_size:
+ page_content = self._reinsert_preserved_elements(
+ content, preserved_elements
+ )
+ return [Document(page_content=page_content, metadata=metadata)]
+ return self._further_split_chunk(content, metadata, preserved_elements)
+
+ def _further_split_chunk(
+ self, content: str, metadata: dict[Any, Any], preserved_elements: dict[str, str]
+ ) -> list[Document]:
+ """Further splits the content into smaller chunks.
+
+ Args:
+ content: The content to be split.
+ metadata: Metadata to attach to each chunk.
+ preserved_elements: Preserved elements to be reinserted into each chunk.
+
+ Returns:
+ A list of `Document` objects containing the split content.
+ """
+ splits = self._recursive_splitter.split_text(content)
+ result = []
+
+ for split in splits:
+ split_with_preserved = self._reinsert_preserved_elements(
+ split, preserved_elements
+ )
+ if split_with_preserved.strip():
+ result.append(
+ Document(
+ page_content=split_with_preserved.strip(),
+ metadata=metadata,
+ )
+ )
+
+ return result
+
+ @staticmethod
+ def _reinsert_preserved_elements(
+ content: str, preserved_elements: dict[str, str]
+ ) -> str:
+ """Reinserts preserved elements into the content into their original positions.
+
+ Args:
+ content: The content where placeholders need to be replaced.
+ preserved_elements: Preserved elements to be reinserted.
+
+ Returns:
+ The content with placeholders replaced by preserved elements.
+ """
+ for placeholder, preserved_content in reversed(preserved_elements.items()):
+ content = content.replace(placeholder, preserved_content.strip())
+ return content
+
+
+# %%
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/json.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/json.py
new file mode 100644
index 0000000000000000000000000000000000000000..2847a8fe53cbc8dc38ba4a06b1ac7acfea9e15a3
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/json.py
@@ -0,0 +1,190 @@
+"""JSON text splitter."""
+
+from __future__ import annotations
+
+import copy
+import json
+from typing import Any
+
+from langchain_core.documents import Document
+
+
+class RecursiveJsonSplitter:
+ """Splits JSON data into smaller, structured chunks while preserving hierarchy.
+
+ This class provides methods to split JSON data into smaller dictionaries or
+ JSON-formatted strings based on configurable maximum and minimum chunk sizes.
+ It supports nested JSON structures, optionally converts lists into dictionaries
+ for better chunking, and allows the creation of document objects for further use.
+ """
+
+ max_chunk_size: int = 2000
+ """The maximum size for each chunk."""
+
+ min_chunk_size: int = 1800
+ """The minimum size for each chunk, derived from `max_chunk_size` if not
+ explicitly provided.
+ """
+
+ def __init__(
+ self, max_chunk_size: int = 2000, min_chunk_size: int | None = None
+ ) -> None:
+ """Initialize the chunk size configuration for text processing.
+
+ This constructor sets up the maximum and minimum chunk sizes, ensuring that
+ the `min_chunk_size` defaults to a value slightly smaller than the
+ `max_chunk_size` if not explicitly provided.
+
+ Args:
+ max_chunk_size: The maximum size for a chunk.
+ min_chunk_size: The minimum size for a chunk.
+
+ If `None`, defaults to the maximum chunk size minus 200, with a lower
+ bound of 50.
+ """
+ super().__init__()
+ self.max_chunk_size = max_chunk_size
+ self.min_chunk_size = (
+ min_chunk_size
+ if min_chunk_size is not None
+ else max(max_chunk_size - 200, 50)
+ )
+
+ @staticmethod
+ def _json_size(data: dict[str, Any]) -> int:
+ """Calculate the size of the serialized JSON object."""
+ return len(json.dumps(data))
+
+ @staticmethod
+ def _set_nested_dict(
+ d: dict[str, Any],
+ path: list[str],
+ value: Any, # noqa: ANN401
+ ) -> None:
+ """Set a value in a nested dictionary based on the given path."""
+ for key in path[:-1]:
+ d = d.setdefault(key, {})
+ d[path[-1]] = value
+
+ def _list_to_dict_preprocessing(
+ self,
+ data: Any, # noqa: ANN401
+ ) -> Any: # noqa: ANN401
+ if isinstance(data, dict):
+ # Process each key-value pair in the dictionary
+ return {k: self._list_to_dict_preprocessing(v) for k, v in data.items()}
+ if isinstance(data, list):
+ # Convert the list to a dictionary with index-based keys
+ return {
+ str(i): self._list_to_dict_preprocessing(item)
+ for i, item in enumerate(data)
+ }
+ # Base case: the item is neither a dict nor a list, so return it unchanged
+ return data
+
+ def _json_split(
+ self,
+ data: Any, # noqa: ANN401
+ current_path: list[str] | None = None,
+ chunks: list[dict[str, Any]] | None = None,
+ ) -> list[dict[str, Any]]:
+ """Split json into maximum size dictionaries while preserving structure."""
+ current_path = current_path or []
+ chunks = chunks if chunks is not None else [{}]
+ if isinstance(data, dict) and data:
+ for key, value in data.items():
+ new_path = [*current_path, key]
+ chunk_size = self._json_size(chunks[-1])
+ size = self._json_size({key: value})
+ remaining = self.max_chunk_size - chunk_size
+
+ if size < remaining:
+ # Add item to current chunk
+ self._set_nested_dict(chunks[-1], new_path, value)
+ else:
+ if chunk_size >= self.min_chunk_size:
+ # Chunk is big enough, start a new chunk
+ chunks.append({})
+
+ # Iterate
+ self._json_split(value, new_path, chunks)
+ # Handle leaf values and empty dicts
+ elif current_path:
+ self._set_nested_dict(chunks[-1], current_path, data)
+ return chunks
+
+ def split_json(
+ self,
+ json_data: dict[str, Any],
+ convert_lists: bool = False, # noqa: FBT001,FBT002
+ ) -> list[dict[str, Any]]:
+ """Splits JSON into a list of JSON chunks.
+
+ Args:
+ json_data: The JSON data to be split.
+ convert_lists: Whether to convert lists in the JSON to dictionaries
+ before splitting.
+
+ Returns:
+ A list of JSON chunks.
+ """
+ if convert_lists:
+ chunks = self._json_split(self._list_to_dict_preprocessing(json_data))
+ else:
+ chunks = self._json_split(json_data)
+
+ # Remove the last chunk if it's empty
+ if not chunks[-1]:
+ chunks.pop()
+ return chunks
+
+ def split_text(
+ self,
+ json_data: dict[str, Any],
+ convert_lists: bool = False, # noqa: FBT001,FBT002
+ ensure_ascii: bool = True, # noqa: FBT001,FBT002
+ ) -> list[str]:
+ """Splits JSON into a list of JSON formatted strings.
+
+ Args:
+ json_data: The JSON data to be split.
+ convert_lists: Whether to convert lists in the JSON to dictionaries
+ before splitting.
+ ensure_ascii: Whether to ensure ASCII encoding in the JSON strings.
+
+ Returns:
+ A list of JSON formatted strings.
+ """
+ chunks = self.split_json(json_data=json_data, convert_lists=convert_lists)
+
+ # Convert to string
+ return [json.dumps(chunk, ensure_ascii=ensure_ascii) for chunk in chunks]
+
+ def create_documents(
+ self,
+ texts: list[dict[str, Any]],
+ convert_lists: bool = False, # noqa: FBT001,FBT002
+ ensure_ascii: bool = True, # noqa: FBT001,FBT002
+ metadatas: list[dict[Any, Any]] | None = None,
+ ) -> list[Document]:
+ """Create a list of `Document` objects from a list of json objects (`dict`).
+
+ Args:
+ texts: A list of JSON data to be split and converted into documents.
+ convert_lists: Whether to convert lists to dictionaries before splitting.
+ ensure_ascii: Whether to ensure ASCII encoding in the JSON strings.
+ metadatas: Optional list of metadata to associate with each document.
+
+ Returns:
+ A list of `Document` objects.
+ """
+ metadatas_ = metadatas or [{}] * len(texts)
+ documents = []
+ for i, text in enumerate(texts):
+ for chunk in self.split_text(
+ json_data=text, convert_lists=convert_lists, ensure_ascii=ensure_ascii
+ ):
+ metadata = copy.deepcopy(metadatas_[i])
+ new_doc = Document(page_content=chunk, metadata=metadata)
+ documents.append(new_doc)
+ return documents
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/jsx.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/jsx.py
new file mode 100644
index 0000000000000000000000000000000000000000..0e8f4256da9d630f74e826c84cb87a4fcd7fda42
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/jsx.py
@@ -0,0 +1,106 @@
+"""JavaScript framework text splitter."""
+
+import re
+from typing import Any
+
+from langchain_text_splitters import RecursiveCharacterTextSplitter
+
+
+class JSFrameworkTextSplitter(RecursiveCharacterTextSplitter):
+ """Text splitter that handles React (JSX), Vue, and Svelte code.
+
+ This splitter extends `RecursiveCharacterTextSplitter` to handle React (JSX), Vue,
+ and Svelte code by:
+
+ 1. Detecting and extracting custom component tags from the text
+ 2. Using those tags as additional separators along with standard JS syntax
+
+ The splitter combines:
+
+ * Custom component tags as separators (e.g. `
None:
+ """Initialize the JS Framework text splitter.
+
+ Args:
+ separators: Optional list of custom separator strings to use
+ chunk_size: Maximum size of chunks to return
+ chunk_overlap: Overlap in characters between chunks
+ **kwargs: Additional arguments to pass to parent class
+ """
+ super().__init__(chunk_size=chunk_size, chunk_overlap=chunk_overlap, **kwargs)
+ self._separators = separators or []
+
+ def split_text(self, text: str) -> list[str]:
+ """Split text into chunks.
+
+ This method splits the text into chunks by:
+
+ * Extracting unique opening component tags using regex
+ * Creating separators list with extracted tags and JS separators
+ * Splitting the text using the separators by calling the parent class method
+
+ Args:
+ text: String containing code to split
+
+ Returns:
+ List of text chunks split on component and JS boundaries
+ """
+ # Extract unique opening component tags using regex
+ # Regex to match opening tags, excluding self-closing tags
+ opening_tags = re.findall(r"<\s*([a-zA-Z0-9]+)[^>]*>", text)
+
+ component_tags = []
+ for tag in opening_tags:
+ if tag not in component_tags:
+ component_tags.append(tag)
+ component_separators = [f"<{tag}" for tag in component_tags]
+
+ js_separators = [
+ "\nexport ",
+ " export ",
+ "\nfunction ",
+ "\nasync function ",
+ " async function ",
+ "\nconst ",
+ "\nlet ",
+ "\nvar ",
+ "\nclass ",
+ " class ",
+ "\nif ",
+ " if ",
+ "\nfor ",
+ " for ",
+ "\nwhile ",
+ " while ",
+ "\nswitch ",
+ " switch ",
+ "\ncase ",
+ " case ",
+ "\ndefault ",
+ " default ",
+ ]
+ # Build the effective separator list for this call only.
+ # Do NOT assign back to self._separators: doing so would permanently
+ # append js_separators + component_separators on every invocation,
+ # causing the list to grow unboundedly when split_text() is called
+ # multiple times on the same instance.
+ separators = (
+ self._separators
+ + js_separators
+ + component_separators
+ + ["<>", "\n\n", "&&\n", "||\n"]
+ )
+ return self._split_text(text, separators)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/konlpy.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/konlpy.py
new file mode 100644
index 0000000000000000000000000000000000000000..e9404431c924b578e0d2382cea2871fa8615df80
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/konlpy.py
@@ -0,0 +1,51 @@
+"""Konlpy text splitter."""
+
+from __future__ import annotations
+
+from typing import Any
+
+from typing_extensions import override
+
+from langchain_text_splitters.base import TextSplitter
+
+try:
+ import konlpy
+
+ _HAS_KONLPY = True
+except ImportError:
+ _HAS_KONLPY = False
+
+
+class KonlpyTextSplitter(TextSplitter):
+ """Splitting text using Konlpy package.
+
+ It is good for splitting Korean text.
+ """
+
+ def __init__(
+ self,
+ separator: str = "\n\n",
+ **kwargs: Any,
+ ) -> None:
+ """Initialize the Konlpy text splitter.
+
+ Args:
+ separator: The separator to use when combining splits.
+
+ Raises:
+ ImportError: If Konlpy is not installed.
+ """
+ super().__init__(**kwargs)
+ self._separator = separator
+ if not _HAS_KONLPY:
+ msg = """
+ Konlpy is not installed, please install it with
+ `pip install konlpy`
+ """
+ raise ImportError(msg)
+ self.kkma = konlpy.tag.Kkma()
+
+ @override
+ def split_text(self, text: str) -> list[str]:
+ splits = self.kkma.sentences(text)
+ return self._merge_splits(splits, self._separator)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/latex.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/latex.py
new file mode 100644
index 0000000000000000000000000000000000000000..fc9c2ff498f069bacde5752f08b855460ce56c18
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/latex.py
@@ -0,0 +1,17 @@
+"""Latex text splitter."""
+
+from __future__ import annotations
+
+from typing import Any
+
+from langchain_text_splitters.base import Language
+from langchain_text_splitters.character import RecursiveCharacterTextSplitter
+
+
+class LatexTextSplitter(RecursiveCharacterTextSplitter):
+ """Attempts to split the text along Latex-formatted layout elements."""
+
+ def __init__(self, **kwargs: Any) -> None:
+ """Initialize a LatexTextSplitter."""
+ separators = self.get_separators_for_language(Language.LATEX)
+ super().__init__(separators=separators, **kwargs)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/markdown.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/markdown.py
new file mode 100644
index 0000000000000000000000000000000000000000..7eee94e9c5355f971f4c2f888b55c55727cf37bf
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/markdown.py
@@ -0,0 +1,482 @@
+"""Markdown text splitters."""
+
+from __future__ import annotations
+
+import re
+from typing import Any, TypedDict
+
+from langchain_core.documents import Document
+
+from langchain_text_splitters.base import Language
+from langchain_text_splitters.character import RecursiveCharacterTextSplitter
+
+
+class MarkdownTextSplitter(RecursiveCharacterTextSplitter):
+ """Attempts to split the text along Markdown-formatted headings."""
+
+ def __init__(self, **kwargs: Any) -> None:
+ """Initialize a `MarkdownTextSplitter`."""
+ separators = self.get_separators_for_language(Language.MARKDOWN)
+ super().__init__(separators=separators, **kwargs)
+
+
+class MarkdownHeaderTextSplitter:
+ """Splitting markdown files based on specified headers."""
+
+ def __init__(
+ self,
+ headers_to_split_on: list[tuple[str, str]],
+ return_each_line: bool = False, # noqa: FBT001,FBT002
+ strip_headers: bool = True, # noqa: FBT001,FBT002
+ custom_header_patterns: dict[str, int] | None = None,
+ ) -> None:
+ """Create a new `MarkdownHeaderTextSplitter`.
+
+ Args:
+ headers_to_split_on: Headers we want to track
+ return_each_line: Return each line w/ associated headers
+ strip_headers: Strip split headers from the content of the chunk
+ custom_header_patterns: Optional dict mapping header patterns to their
+ levels.
+
+ For example: `{"**": 1, "***": 2}` to treat `**Header**` as level 1 and
+ `***Header***` as level 2 headers.
+ """
+ # Output line-by-line or aggregated into chunks w/ common headers
+ self.return_each_line = return_each_line
+ # Given the headers we want to split on,
+ # (e.g., "#, ##, etc") order by length
+ self.headers_to_split_on = sorted(
+ headers_to_split_on, key=lambda split: len(split[0]), reverse=True
+ )
+ # Strip headers split headers from the content of the chunk
+ self.strip_headers = strip_headers
+ # Custom header patterns with their levels
+ self.custom_header_patterns = custom_header_patterns or {}
+
+ def _is_custom_header(self, line: str, sep: str) -> bool:
+ """Check if line matches a custom header pattern.
+
+ Args:
+ line: The line to check
+ sep: The separator pattern to match
+
+ Returns:
+ `True` if the line matches the custom pattern format
+ """
+ if sep not in self.custom_header_patterns:
+ return False
+
+ # Escape special regex characters in the separator
+ escaped_sep = re.escape(sep)
+ # Create regex pattern to match exactly one separator at start and end
+ # with content in between
+ pattern = (
+ f"^{escaped_sep}(?!{escaped_sep})(.+?)(? list[Document]:
+ """Combine lines with common metadata into chunks.
+
+ Args:
+ lines: Line of text / associated header metadata
+
+ Returns:
+ List of `Document` objects with common metadata aggregated.
+ """
+ aggregated_chunks: list[LineType] = []
+
+ for line in lines:
+ if (
+ aggregated_chunks
+ and aggregated_chunks[-1]["metadata"] == line["metadata"]
+ ):
+ # If the last line in the aggregated list
+ # has the same metadata as the current line,
+ # append the current content to the last lines's content
+ aggregated_chunks[-1]["content"] += " \n" + line["content"]
+ elif (
+ aggregated_chunks
+ and aggregated_chunks[-1]["metadata"] != line["metadata"]
+ # may be issues if other metadata is present
+ and len(aggregated_chunks[-1]["metadata"]) < len(line["metadata"])
+ and aggregated_chunks[-1]["content"].split("\n")[-1][0] == "#"
+ and not self.strip_headers
+ ):
+ # If the last line in the aggregated list
+ # has different metadata as the current line,
+ # and has shallower header level than the current line,
+ # and the last line is a header,
+ # and we are not stripping headers,
+ # append the current content to the last line's content
+ aggregated_chunks[-1]["content"] += " \n" + line["content"]
+ # and update the last line's metadata
+ aggregated_chunks[-1]["metadata"] = line["metadata"]
+ else:
+ # Otherwise, append the current line to the aggregated list
+ aggregated_chunks.append(line)
+
+ return [
+ Document(page_content=chunk["content"], metadata=chunk["metadata"])
+ for chunk in aggregated_chunks
+ ]
+
+ def split_text(self, text: str) -> list[Document]:
+ """Split markdown file.
+
+ Args:
+ text: Markdown file
+
+ Returns:
+ List of `Document` objects.
+ """
+ # Split the input text by newline character ("\n").
+ lines = text.split("\n")
+
+ # Final output
+ lines_with_metadata: list[LineType] = []
+
+ # Content and metadata of the chunk currently being processed
+ current_content: list[str] = []
+
+ current_metadata: dict[str, str] = {}
+
+ # Keep track of the nested header structure
+ header_stack: list[HeaderType] = []
+
+ initial_metadata: dict[str, str] = {}
+
+ in_code_block = False
+
+ opening_fence = ""
+
+ for line in lines:
+ stripped_line = line.strip()
+ # Remove all non-printable characters from the string, keeping only visible
+ # text.
+ stripped_line = "".join(filter(str.isprintable, stripped_line))
+ if not in_code_block:
+ # Exclude inline code spans
+ if stripped_line.startswith("```") and stripped_line.count("```") == 1:
+ in_code_block = True
+ opening_fence = "```"
+ elif stripped_line.startswith("~~~"):
+ in_code_block = True
+ opening_fence = "~~~"
+ elif stripped_line.startswith(opening_fence):
+ in_code_block = False
+ opening_fence = ""
+
+ if in_code_block:
+ current_content.append(stripped_line)
+ continue
+
+ # Check each line against each of the header types (e.g., #, ##)
+ for sep, name in self.headers_to_split_on:
+ is_standard_header = stripped_line.startswith(sep) and (
+ # Header with no text OR header is followed by space
+ # Both are valid conditions that sep is being used a header
+ len(stripped_line) == len(sep) or stripped_line[len(sep)] == " "
+ )
+ is_custom_header = self._is_custom_header(stripped_line, sep)
+
+ # Check if line matches either standard or custom header pattern
+ if is_standard_header or is_custom_header:
+ # Ensure we are tracking the header as metadata
+ if name is not None:
+ # Get the current header level
+ if sep in self.custom_header_patterns:
+ current_header_level = self.custom_header_patterns[sep]
+ else:
+ current_header_level = sep.count("#")
+
+ # Pop out headers of lower or same level from the stack
+ while (
+ header_stack
+ and header_stack[-1]["level"] >= current_header_level
+ ):
+ # We have encountered a new header
+ # at the same or higher level
+ popped_header = header_stack.pop()
+ # Clear the metadata for the
+ # popped header in initial_metadata
+ if popped_header["name"] in initial_metadata:
+ initial_metadata.pop(popped_header["name"])
+
+ # Push the current header to the stack
+ # Extract header text based on header type
+ if is_custom_header:
+ # For custom headers like **Header**, extract text
+ # between patterns
+ header_text = stripped_line[len(sep) : -len(sep)].strip()
+ else:
+ # For standard headers like # Header, extract text
+ # after the separator
+ header_text = stripped_line[len(sep) :].strip()
+
+ header: HeaderType = {
+ "level": current_header_level,
+ "name": name,
+ "data": header_text,
+ }
+ header_stack.append(header)
+ # Update initial_metadata with the current header
+ initial_metadata[name] = header["data"]
+
+ # Add the previous line to the lines_with_metadata
+ # only if current_content is not empty
+ if current_content:
+ lines_with_metadata.append(
+ {
+ "content": "\n".join(current_content),
+ "metadata": current_metadata.copy(),
+ }
+ )
+ current_content.clear()
+
+ if not self.strip_headers:
+ current_content.append(stripped_line)
+
+ break
+ else:
+ if stripped_line:
+ current_content.append(stripped_line)
+ elif current_content:
+ lines_with_metadata.append(
+ {
+ "content": "\n".join(current_content),
+ "metadata": current_metadata.copy(),
+ }
+ )
+ current_content.clear()
+
+ current_metadata = initial_metadata.copy()
+
+ if current_content:
+ lines_with_metadata.append(
+ {
+ "content": "\n".join(current_content),
+ "metadata": current_metadata,
+ }
+ )
+
+ # lines_with_metadata has each line with associated header metadata
+ # aggregate these into chunks based on common metadata
+ if not self.return_each_line:
+ return self.aggregate_lines_to_chunks(lines_with_metadata)
+ return [
+ Document(page_content=chunk["content"], metadata=chunk["metadata"])
+ for chunk in lines_with_metadata
+ ]
+
+
+class LineType(TypedDict):
+ """Line type as `TypedDict`."""
+
+ metadata: dict[str, str]
+ content: str
+
+
+class HeaderType(TypedDict):
+ """Header type as `TypedDict`."""
+
+ level: int
+ name: str
+ data: str
+
+
+class ExperimentalMarkdownSyntaxTextSplitter:
+ """An experimental text splitter for handling Markdown syntax.
+
+ This splitter aims to retain the exact whitespace of the original text while
+ extracting structured metadata, such as headers. It is a re-implementation of the
+ `MarkdownHeaderTextSplitter` with notable changes to the approach and additional
+ features.
+
+ Key Features:
+
+ * Retains the original whitespace and formatting of the Markdown text.
+ * Extracts headers, code blocks, and horizontal rules as metadata.
+ * Splits out code blocks and includes the language in the "Code" metadata key.
+ * Splits text on horizontal rules (`---`) as well.
+ * Defaults to sensible splitting behavior, which can be overridden using the
+ `headers_to_split_on` parameter.
+
+ Example:
+ ```python
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ]
+ splitter = ExperimentalMarkdownSyntaxTextSplitter(
+ headers_to_split_on=headers_to_split_on
+ )
+ chunks = splitter.split(text)
+ for chunk in chunks:
+ print(chunk)
+ ```
+
+ This class is currently experimental and subject to change based on feedback and
+ further development.
+ """
+
+ def __init__(
+ self,
+ headers_to_split_on: list[tuple[str, str]] | None = None,
+ return_each_line: bool = False, # noqa: FBT001,FBT002
+ strip_headers: bool = True, # noqa: FBT001,FBT002
+ ) -> None:
+ """Initialize the text splitter with header splitting and formatting options.
+
+ This constructor sets up the required configuration for splitting text into
+ chunks based on specified headers and formatting preferences.
+
+ Args:
+ headers_to_split_on: A list of tuples, where each tuple contains a header
+ tag (e.g., "h1") and its corresponding metadata key.
+
+ If `None`, default headers are used.
+ return_each_line: Whether to return each line as an individual chunk.
+
+ Defaults to `False`, which aggregates lines into larger chunks.
+ strip_headers: Whether to exclude headers from the resulting chunks.
+ """
+ self.chunks: list[Document] = []
+ self.current_chunk = Document(page_content="")
+ self.current_header_stack: list[tuple[int, str]] = []
+ self.strip_headers = strip_headers
+ if headers_to_split_on:
+ self.splittable_headers = dict(headers_to_split_on)
+ else:
+ self.splittable_headers = {
+ "#": "Header 1",
+ "##": "Header 2",
+ "###": "Header 3",
+ "####": "Header 4",
+ "#####": "Header 5",
+ "######": "Header 6",
+ }
+
+ self.return_each_line = return_each_line
+
+ def split_text(self, text: str) -> list[Document]:
+ """Split the input text into structured chunks.
+
+ This method processes the input text line by line, identifying and handling
+ specific patterns such as headers, code blocks, and horizontal rules to split it
+ into structured chunks based on headers, code blocks, and horizontal rules.
+
+ Args:
+ text: The input text to be split into chunks.
+
+ Returns:
+ A list of `Document` objects representing the structured
+ chunks of the input text. If `return_each_line` is enabled, each line
+ is returned as a separate `Document`.
+ """
+ # Reset the state for each new file processed
+ self.chunks.clear()
+ self.current_chunk = Document(page_content="")
+ self.current_header_stack.clear()
+
+ raw_lines = text.splitlines(keepends=True)
+
+ while raw_lines:
+ raw_line = raw_lines.pop(0)
+ header_match = self._match_header(raw_line)
+ code_match = self._match_code(raw_line)
+ horz_match = self._match_horz(raw_line)
+ if header_match:
+ self._complete_chunk_doc()
+
+ if not self.strip_headers:
+ self.current_chunk.page_content += raw_line
+
+ # add the header to the stack
+ header_depth = len(header_match.group(1))
+ header_text = header_match.group(2)
+ self._resolve_header_stack(header_depth, header_text)
+ elif code_match:
+ self._complete_chunk_doc()
+ self.current_chunk.page_content = self._resolve_code_chunk(
+ raw_line, raw_lines
+ )
+ self.current_chunk.metadata["Code"] = code_match.group(1)
+ self._complete_chunk_doc()
+ elif horz_match:
+ self._complete_chunk_doc()
+ else:
+ self.current_chunk.page_content += raw_line
+
+ self._complete_chunk_doc()
+ # I don't see why `return_each_line` is a necessary feature of this splitter.
+ # It's easy enough to do outside of the class and the caller can have more
+ # control over it.
+ if self.return_each_line:
+ return [
+ Document(page_content=line, metadata=chunk.metadata)
+ for chunk in self.chunks
+ for line in chunk.page_content.splitlines()
+ if line and not line.isspace()
+ ]
+ return self.chunks
+
+ def _resolve_header_stack(self, header_depth: int, header_text: str) -> None:
+ for i, (depth, _) in enumerate(self.current_header_stack):
+ if depth >= header_depth:
+ # Truncate everything from this level onward
+ self.current_header_stack = self.current_header_stack[:i]
+ break
+ self.current_header_stack.append((header_depth, header_text))
+
+ def _resolve_code_chunk(self, current_line: str, raw_lines: list[str]) -> str:
+ chunk = current_line
+ while raw_lines:
+ raw_line = raw_lines.pop(0)
+ chunk += raw_line
+ if self._match_code(raw_line):
+ return chunk
+ return ""
+
+ def _complete_chunk_doc(self) -> None:
+ chunk_content = self.current_chunk.page_content
+ # Discard any empty documents
+ if chunk_content and not chunk_content.isspace():
+ # Apply the header stack as metadata
+ for depth, value in self.current_header_stack:
+ header_key = self.splittable_headers.get("#" * depth)
+ if header_key is not None:
+ self.current_chunk.metadata[header_key] = value
+ self.chunks.append(self.current_chunk)
+ # Reset the current chunk
+ self.current_chunk = Document(page_content="")
+
+ # Match methods
+ def _match_header(self, line: str) -> re.Match[str] | None:
+ match = re.match(r"^(#{1,6}) (.*)", line)
+ # Only matches on the configured headers
+ if match and match.group(1) in self.splittable_headers:
+ return match
+ return None
+
+ @staticmethod
+ def _match_code(line: str) -> re.Match[str] | None:
+ matches = [re.match(rule, line) for rule in [r"^```(.*)", r"^~~~(.*)"]]
+ return next((match for match in matches if match), None)
+
+ @staticmethod
+ def _match_horz(line: str) -> re.Match[str] | None:
+ matches = [
+ re.match(rule, line) for rule in [r"^\*\*\*+\n", r"^---+\n", r"^___+\n"]
+ ]
+ return next((match for match in matches if match), None)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/nltk.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/nltk.py
new file mode 100644
index 0000000000000000000000000000000000000000..87f9de051ed5d72e52d7f5f765785bf79e8d6795
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/nltk.py
@@ -0,0 +1,72 @@
+"""NLTK text splitter."""
+
+from __future__ import annotations
+
+from typing import Any
+
+from typing_extensions import override
+
+from langchain_text_splitters.base import TextSplitter
+
+try:
+ import nltk
+
+ _HAS_NLTK = True
+except ImportError:
+ _HAS_NLTK = False
+
+
+class NLTKTextSplitter(TextSplitter):
+ """Splitting text using NLTK package."""
+
+ def __init__(
+ self,
+ separator: str = "\n\n",
+ language: str = "english",
+ *,
+ use_span_tokenize: bool = False,
+ **kwargs: Any,
+ ) -> None:
+ """Initialize the NLTK splitter.
+
+ Args:
+ separator: The separator to use when combining splits.
+ language: The language to use.
+ use_span_tokenize: Whether to use `span_tokenize` instead of
+ `sent_tokenize`.
+
+ Raises:
+ ImportError: If NLTK is not installed.
+ ValueError: If `use_span_tokenize` is `True` and separator is not `''`.
+ """
+ super().__init__(**kwargs)
+ self._separator = separator
+ self._language = language
+ self._use_span_tokenize = use_span_tokenize
+ if self._use_span_tokenize and self._separator:
+ msg = "When use_span_tokenize is True, separator should be ''"
+ raise ValueError(msg)
+ if not _HAS_NLTK:
+ msg = "NLTK is not installed, please install it with `pip install nltk`."
+ raise ImportError(msg)
+ if self._use_span_tokenize:
+ self._tokenizer = nltk.tokenize._get_punkt_tokenizer(self._language) # noqa: SLF001
+ else:
+ self._tokenizer = nltk.tokenize.sent_tokenize
+
+ @override
+ def split_text(self, text: str) -> list[str]:
+ # First we naively split the large input into a bunch of smaller ones.
+ if self._use_span_tokenize:
+ spans = list(self._tokenizer.span_tokenize(text))
+ splits = []
+ for i, (start, end) in enumerate(spans):
+ if i > 0:
+ prev_end = spans[i - 1][1]
+ sentence = text[prev_end:start] + text[start:end]
+ else:
+ sentence = text[start:end]
+ splits.append(sentence)
+ else:
+ splits = self._tokenizer(text, language=self._language)
+ return self._merge_splits(splits, self._separator)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/py.typed b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/py.typed
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/python.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/python.py
new file mode 100644
index 0000000000000000000000000000000000000000..71295f39951269aefbae6991e13faa6ef805fd20
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/python.py
@@ -0,0 +1,17 @@
+"""Python code text splitter."""
+
+from __future__ import annotations
+
+from typing import Any
+
+from langchain_text_splitters.base import Language
+from langchain_text_splitters.character import RecursiveCharacterTextSplitter
+
+
+class PythonCodeTextSplitter(RecursiveCharacterTextSplitter):
+ """Attempts to split the text along Python syntax."""
+
+ def __init__(self, **kwargs: Any) -> None:
+ """Initialize a `PythonCodeTextSplitter`."""
+ separators = self.get_separators_for_language(Language.PYTHON)
+ super().__init__(separators=separators, **kwargs)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/sentence_transformers.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/sentence_transformers.py
new file mode 100644
index 0000000000000000000000000000000000000000..a80866c2ac1737899d35c2612c449a002e3dfe6d
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/sentence_transformers.py
@@ -0,0 +1,126 @@
+"""Sentence transformers text splitter."""
+
+from __future__ import annotations
+
+from typing import Any, cast
+
+from langchain_text_splitters.base import TextSplitter, Tokenizer, split_text_on_tokens
+
+try:
+ # Type ignores needed as long as sentence-transformers doesn't support Python 3.14.
+ from sentence_transformers import ( # type: ignore[import-not-found, unused-ignore]
+ SentenceTransformer,
+ )
+
+ _HAS_SENTENCE_TRANSFORMERS = True
+except ImportError:
+ _HAS_SENTENCE_TRANSFORMERS = False
+
+
+class SentenceTransformersTokenTextSplitter(TextSplitter):
+ """Splitting text to tokens using sentence model tokenizer."""
+
+ def __init__(
+ self,
+ chunk_overlap: int = 50,
+ model_name: str = "sentence-transformers/all-mpnet-base-v2",
+ tokens_per_chunk: int | None = None,
+ model_kwargs: dict[str, Any] | None = None,
+ **kwargs: Any,
+ ) -> None:
+ """Create a new `TextSplitter`.
+
+ Args:
+ chunk_overlap: The number of tokens to overlap between chunks.
+ model_name: The name of the sentence transformer model to use.
+ tokens_per_chunk: The number of tokens per chunk.
+
+ If `None`, uses the maximum tokens allowed by the model.
+ model_kwargs: Additional parameters for model initialization.
+ Parameters of sentence_transformers.SentenceTransformer can be used.
+
+ Raises:
+ ImportError: If the `sentence_transformers` package is not installed.
+ """
+ super().__init__(**kwargs, chunk_overlap=chunk_overlap)
+
+ if not _HAS_SENTENCE_TRANSFORMERS:
+ msg = (
+ "Could not import sentence_transformers python package. "
+ "This is needed in order to use SentenceTransformersTokenTextSplitter. "
+ "Please install it with `pip install sentence-transformers`."
+ )
+ raise ImportError(msg)
+
+ self.model_name = model_name
+ self._model = SentenceTransformer(self.model_name, **(model_kwargs or {}))
+ self.tokenizer = self._model.tokenizer
+ self._initialize_chunk_configuration(tokens_per_chunk=tokens_per_chunk)
+
+ def _initialize_chunk_configuration(self, *, tokens_per_chunk: int | None) -> None:
+ self.maximum_tokens_per_chunk = self._model.max_seq_length
+
+ if tokens_per_chunk is None:
+ self.tokens_per_chunk = self.maximum_tokens_per_chunk
+ else:
+ self.tokens_per_chunk = tokens_per_chunk
+
+ if self.tokens_per_chunk > self.maximum_tokens_per_chunk:
+ msg = (
+ f"The token limit of the models '{self.model_name}'"
+ f" is: {self.maximum_tokens_per_chunk}."
+ f" Argument tokens_per_chunk={self.tokens_per_chunk}"
+ f" > maximum token limit."
+ )
+ raise ValueError(msg)
+
+ def split_text(self, text: str) -> list[str]:
+ """Splits the input text into smaller components by splitting text on tokens.
+
+ This method encodes the input text using a private `_encode` method, then
+ strips the start and stop token IDs from the encoded result. It returns the
+ processed segments as a list of strings.
+
+ Args:
+ text: The input text to be split.
+
+ Returns:
+ A list of string components derived from the input text after encoding and
+ processing.
+ """
+
+ def encode_strip_start_and_stop_token_ids(text: str) -> list[int]:
+ return self._encode(text)[1:-1]
+
+ tokenizer = Tokenizer(
+ chunk_overlap=self._chunk_overlap,
+ tokens_per_chunk=self.tokens_per_chunk,
+ decode=self.tokenizer.decode,
+ encode=encode_strip_start_and_stop_token_ids,
+ )
+
+ return split_text_on_tokens(text=text, tokenizer=tokenizer)
+
+ def count_tokens(self, *, text: str) -> int:
+ """Counts the number of tokens in the given text.
+
+ This method encodes the input text using a private `_encode` method and
+ calculates the total number of tokens in the encoded result.
+
+ Args:
+ text: The input text for which the token count is calculated.
+
+ Returns:
+ The number of tokens in the encoded text.
+ """
+ return len(self._encode(text))
+
+ _max_length_equal_32_bit_integer: int = 2**32
+
+ def _encode(self, text: str) -> list[int]:
+ token_ids_with_start_and_end_token_ids = self.tokenizer.encode(
+ text,
+ max_length=self._max_length_equal_32_bit_integer,
+ truncation="do_not_truncate",
+ )
+ return cast("list[int]", token_ids_with_start_and_end_token_ids)
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/spacy.py b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/spacy.py
new file mode 100644
index 0000000000000000000000000000000000000000..44a0e898ce0d30644b818ca0119b55483b50ea1a
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/spacy.py
@@ -0,0 +1,73 @@
+"""Spacy text splitter."""
+
+from __future__ import annotations
+
+from typing import TYPE_CHECKING, Any
+
+from typing_extensions import override
+
+from langchain_text_splitters.base import TextSplitter
+
+try:
+ # Type ignores needed as long as spacy doesn't support Python 3.14.
+ import spacy # type: ignore[import-not-found, unused-ignore]
+ from spacy.lang.en import English # type: ignore[import-not-found, unused-ignore]
+
+ if TYPE_CHECKING:
+ from spacy.language import ( # type: ignore[import-not-found, unused-ignore]
+ Language,
+ )
+
+ _HAS_SPACY = True
+except ImportError:
+ _HAS_SPACY = False
+
+
+class SpacyTextSplitter(TextSplitter):
+ """Splitting text using Spacy package.
+
+ Per default, Spacy's `en_core_web_sm` model is used and
+ its default max_length is 1000000 (it is the length of maximum character
+ this model takes which can be increased for large files). For a faster, but
+ potentially less accurate splitting, you can use `pipeline='sentencizer'`.
+ """
+
+ def __init__(
+ self,
+ separator: str = "\n\n",
+ pipeline: str = "en_core_web_sm",
+ max_length: int = 1_000_000,
+ *,
+ strip_whitespace: bool = True,
+ **kwargs: Any,
+ ) -> None:
+ """Initialize the spacy text splitter."""
+ super().__init__(**kwargs)
+ self._tokenizer = _make_spacy_pipeline_for_splitting(
+ pipeline, max_length=max_length
+ )
+ self._separator = separator
+ self._strip_whitespace = strip_whitespace
+
+ @override
+ def split_text(self, text: str) -> list[str]:
+ splits = (
+ s.text if self._strip_whitespace else s.text_with_ws
+ for s in self._tokenizer(text).sents
+ )
+ return self._merge_splits(splits, self._separator)
+
+
+def _make_spacy_pipeline_for_splitting(
+ pipeline: str, *, max_length: int = 1_000_000
+) -> Language:
+ if not _HAS_SPACY:
+ msg = "Spacy is not installed, please install it with `pip install spacy`."
+ raise ImportError(msg)
+ if pipeline == "sentencizer":
+ sentencizer: Language = English()
+ sentencizer.add_pipe("sentencizer")
+ else:
+ sentencizer = spacy.load(pipeline, exclude=["ner", "tagger"])
+ sentencizer.max_length = max_length
+ return sentencizer
diff --git a/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/xsl/converting_to_header.xslt b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/xsl/converting_to_header.xslt
new file mode 100644
index 0000000000000000000000000000000000000000..620e13f54b1bd4904472bb9fee2e919d30f4dab2
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/langchain_text_splitters/xsl/converting_to_header.xslt
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/langchain/libs/text-splitters/pyproject.toml b/western_ai/usa/langchain/libs/text-splitters/pyproject.toml
new file mode 100644
index 0000000000000000000000000000000000000000..006e98d9ec82904d13188f56b7a023b72836dffe
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/pyproject.toml
@@ -0,0 +1,144 @@
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[project]
+name = "langchain-text-splitters"
+description = "LangChain text splitting utilities"
+license = { text = "MIT" }
+readme = "README.md"
+classifiers = [
+ "Development Status :: 5 - Production/Stable",
+ "Intended Audience :: Developers",
+ "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ "Programming Language :: Python :: 3.14",
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
+ "Topic :: Software Development :: Libraries :: Python Modules",
+ "Topic :: Text Processing",
+]
+
+version = "1.1.2"
+requires-python = ">=3.10.0,<4.0.0"
+dependencies = [
+ "langchain-core>=1.4.7,<2.0.0",
+]
+
+[project.urls]
+Homepage = "https://docs.langchain.com/"
+Documentation = "https://docs.langchain.com/"
+Repository = "https://github.com/langchain-ai/langchain"
+Issues = "https://github.com/langchain-ai/langchain/issues"
+Changelog = "https://github.com/langchain-ai/langchain/releases?q=%22langchain-text-splitters%22"
+Twitter = "https://x.com/langchain_oss"
+Slack = "https://www.langchain.com/join-community"
+Reddit = "https://www.reddit.com/r/LangChain/"
+
+[dependency-groups]
+lint = [
+ "ruff>=0.15.0,<0.16.0",
+]
+typing = [
+ "mypy>=2.1.0,<2.2.0",
+ "lxml-stubs>=0.5.1,<1.0.0",
+ "types-requests>=2.31.0.20240218,<3.0.0.0",
+ "tiktoken>=0.8.0,<1.0.0",
+ "beautifulsoup4>=4.13.5,<5.0.0",
+]
+dev = [
+ "jupyter<2.0.0,>=1.0.0",
+]
+test = [
+ "pytest>=9.0.3,<10.0.0",
+ "freezegun>=1.2.2,<2.0.0",
+ "pytest-mock>=3.10.0,<4.0.0",
+ "pytest-watcher>=0.3.4,<1.0.0",
+ "pytest-asyncio>=1.3.0,<2.0.0",
+ "pytest-socket>=0.7.0,<1.0.0",
+ "pytest-xdist<4.0.0,>=3.6.1",
+]
+test_integration = [
+ "spacy>=3.8.13,!=3.8.14,<4.0.0",
+ "nltk>=3.9.1,<4.0.0",
+ "transformers>=4.51.3,<6.0.0",
+ "sentence-transformers>=5.3.0,<6.0.0",
+ "tiktoken>=0.8.0,<1.0.0",
+ "en-core-web-sm",
+]
+
+[tool.uv]
+constraint-dependencies = ["pygments>=2.20.0"] # CVE-2026-4539
+
+[tool.uv.sources]
+langchain-core = { path = "../core", editable = true }
+en-core-web-sm = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl" }
+
+[tool.mypy]
+plugins = ["pydantic.mypy"]
+strict = true
+enable_error_code = "deprecated"
+warn_unreachable = true
+
+[[tool.mypy.overrides]]
+module = ["konlpy", "nltk", "transformers", "transformers.*",]
+ignore_missing_imports = true
+
+[tool.ruff.format]
+docstring-code-format = true
+
+[tool.ruff.lint]
+select = [ "ALL",]
+ignore = [
+ "C90", # McCabe complexity
+ "COM812", # Messes with the formatter
+ "CPY", # No copyright
+ "FIX002", # Line contains TODO
+ "PERF203", # Rarely useful
+ "PLR09", # Too many something (arg, statements, etc)
+ "TD002", # Missing author in TODO
+ "TD003", # Missing issue link in TODO
+]
+unfixable = [
+ "B028", # People should intentionally tune the stacklevel
+]
+
+flake8-annotations.allow-star-arg-any = true
+flake8-annotations.mypy-init-return = true
+flake8-type-checking.runtime-evaluated-base-classes = ["pydantic.BaseModel","langchain_core.load.serializable.Serializable","langchain_core.runnables.base.RunnableSerializable"]
+pep8-naming.classmethod-decorators = [ "classmethod", "langchain_core.utils.pydantic.pre_init", "pydantic.field_validator", "pydantic.v1.root_validator",]
+
+[tool.ruff.lint.pydocstyle]
+convention = "google"
+ignore-var-parameters = true # ignore missing documentation for *args and **kwargs parameters
+
+[tool.ruff.lint.flake8-tidy-imports]
+ban-relative-imports = "all"
+
+[tool.ruff.lint.per-file-ignores]
+"scripts/**" = [
+ "D1", # Docstrings not mandatory in scripts
+ "INP001", # Not a package
+ "S311" # Standard pseudo-random generators are not suitable for cryptographic purposes
+]
+"tests/**" = [
+ "D1", # Docstrings not mandatory in tests
+ "PLR2004", # Magic value comparisons
+ "S101", # Tests need assertions
+ "S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
+ "SLF001" # Private member access in tests
+]
+
+[tool.coverage.run]
+omit = ["tests/*"]
+
+[tool.pytest.ini_options]
+addopts = "--strict-markers --strict-config --durations=5"
+markers = [
+ "requires: mark tests as requiring a specific library",
+ "compile: mark placeholder test used to compile integration tests without running them",
+]
+asyncio_mode = "auto"
diff --git a/western_ai/usa/langchain/libs/text-splitters/scripts/check_imports.py b/western_ai/usa/langchain/libs/text-splitters/scripts/check_imports.py
new file mode 100644
index 0000000000000000000000000000000000000000..6242951b62382f9f1e59392ac547aa7a1bf57fb6
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/scripts/check_imports.py
@@ -0,0 +1,19 @@
+import sys
+import traceback
+import uuid
+from importlib.machinery import SourceFileLoader
+
+if __name__ == "__main__":
+ files = sys.argv[1:]
+ has_failure = False
+ for file in files:
+ try:
+ module_name = f"test_module_{uuid.uuid4().hex[:20]}"
+ SourceFileLoader(module_name, file).load_module()
+ except Exception: # noqa: BLE001
+ has_failure = True
+ print(file) # noqa: T201
+ traceback.print_exc()
+ print() # noqa: T201
+
+ sys.exit(1 if has_failure else 0)
diff --git a/western_ai/usa/langchain/libs/text-splitters/scripts/lint_imports.sh b/western_ai/usa/langchain/libs/text-splitters/scripts/lint_imports.sh
new file mode 100644
index 0000000000000000000000000000000000000000..bab33bce31d64b123aabb62839e3a8e59a460b8b
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/scripts/lint_imports.sh
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+set -eu
+
+# Initialize a variable to keep track of errors
+errors=0
+
+# make sure not importing from langchain or langchain_experimental
+# allow langchain.agents and langchain.tools (v1 middleware)
+git --no-pager grep "^from langchain\." . | grep -v ":from langchain\.agents" | grep -v ":from langchain\.tools" && errors=$((errors+1))
+git --no-pager grep "^from langchain_experimental\." . && errors=$((errors+1))
+
+# Decide on an exit status based on the errors
+if [ "$errors" -gt 0 ]; then
+ exit 1
+else
+ exit 0
+fi
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/__init__.py b/western_ai/usa/langchain/libs/text-splitters/tests/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/__init__.py b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_compile.py b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_compile.py
new file mode 100644
index 0000000000000000000000000000000000000000..f315e45f521c0caedfe848a02d4403fe384ca9d7
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_compile.py
@@ -0,0 +1,6 @@
+import pytest
+
+
+@pytest.mark.compile
+def test_placeholder() -> None:
+ """Used for compiling integration tests without running any real tests."""
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_nlp_text_splitters.py b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_nlp_text_splitters.py
new file mode 100644
index 0000000000000000000000000000000000000000..82e55b0d9d45bef3f5fd1898fd8657e1f78d6f33
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_nlp_text_splitters.py
@@ -0,0 +1,123 @@
+"""Test text splitting functionality using NLTK and Spacy based sentence splitters."""
+
+import re
+
+import nltk
+import pytest
+from langchain_core.documents import Document
+
+from langchain_text_splitters.nltk import NLTKTextSplitter
+from langchain_text_splitters.spacy import SpacyTextSplitter
+
+
+def setup_module() -> None:
+ nltk.download("punkt_tab")
+
+
+@pytest.fixture
+def spacy() -> None:
+ spacy = pytest.importorskip("spacy")
+
+ # Check if en_core_web_sm model is available
+ try:
+ spacy.load("en_core_web_sm")
+ except OSError:
+ pytest.skip(
+ "en_core_web_sm model not installed. Install with: "
+ "uv add --group test_integration "
+ "https://github.com/explosion/spacy-models/releases/download/"
+ "en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl"
+ )
+
+
+def test_nltk_text_splitting_args() -> None:
+ """Test invalid arguments."""
+ with pytest.raises(
+ ValueError,
+ match=re.escape(
+ "Got a larger chunk overlap (4) than chunk size (2), should be smaller."
+ ),
+ ):
+ NLTKTextSplitter(chunk_size=2, chunk_overlap=4)
+
+
+@pytest.mark.usefixtures("spacy")
+def test_spacy_text_splitting_args() -> None:
+ """Test invalid arguments."""
+ with pytest.raises(
+ ValueError,
+ match=re.escape(
+ "Got a larger chunk overlap (4) than chunk size (2), should be smaller."
+ ),
+ ):
+ SpacyTextSplitter(chunk_size=2, chunk_overlap=4)
+
+
+def test_nltk_text_splitter() -> None:
+ """Test splitting by sentence using NLTK."""
+ text = "This is sentence one. And this is sentence two."
+ separator = "|||"
+ splitter = NLTKTextSplitter(separator=separator)
+ output = splitter.split_text(text)
+ expected_output = [f"This is sentence one.{separator}And this is sentence two."]
+ assert output == expected_output
+
+
+@pytest.mark.usefixtures("spacy")
+@pytest.mark.parametrize("pipeline", ["sentencizer", "en_core_web_sm"])
+def test_spacy_text_splitter(pipeline: str) -> None:
+ """Test splitting by sentence using Spacy."""
+ text = "This is sentence one. And this is sentence two."
+ separator = "|||"
+ splitter = SpacyTextSplitter(separator=separator, pipeline=pipeline)
+ output = splitter.split_text(text)
+ expected_output = [f"This is sentence one.{separator}And this is sentence two."]
+ assert output == expected_output
+
+
+@pytest.mark.usefixtures("spacy")
+@pytest.mark.parametrize("pipeline", ["sentencizer", "en_core_web_sm"])
+def test_spacy_text_splitter_strip_whitespace(pipeline: str) -> None:
+ """Test splitting by sentence using Spacy."""
+ text = "This is sentence one. And this is sentence two."
+ separator = "|||"
+ splitter = SpacyTextSplitter(
+ separator=separator, pipeline=pipeline, strip_whitespace=False
+ )
+ output = splitter.split_text(text)
+ expected_output = [f"This is sentence one. {separator}And this is sentence two."]
+ assert output == expected_output
+
+
+def test_nltk_text_splitter_args() -> None:
+ """Test invalid arguments for NLTKTextSplitter."""
+ with pytest.raises(
+ ValueError, match="When use_span_tokenize is True, separator should be ''"
+ ):
+ NLTKTextSplitter(
+ chunk_size=80,
+ chunk_overlap=0,
+ separator="\n\n",
+ use_span_tokenize=True,
+ )
+
+
+def test_nltk_text_splitter_with_add_start_index() -> None:
+ splitter = NLTKTextSplitter(
+ chunk_size=80,
+ chunk_overlap=0,
+ separator="",
+ use_span_tokenize=True,
+ add_start_index=True,
+ )
+ txt = (
+ "Innovation drives our success. "
+ "Collaboration fosters creative solutions. "
+ "Efficiency enhances data management."
+ )
+ docs = [Document(txt)]
+ chunks = splitter.split_documents(docs)
+ assert len(chunks) == 2
+ for chunk in chunks:
+ s_i = chunk.metadata["start_index"]
+ assert chunk.page_content == txt[s_i : s_i + len(chunk.page_content)]
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_text_splitter.py b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_text_splitter.py
new file mode 100644
index 0000000000000000000000000000000000000000..a2e6e1dcabf000a89d46149a9b10a8cda82057cd
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/integration_tests/test_text_splitter.py
@@ -0,0 +1,133 @@
+"""Test text splitters that require an integration."""
+
+import pytest
+from transformers import AutoTokenizer
+
+from langchain_text_splitters import (
+ TokenTextSplitter,
+)
+from langchain_text_splitters.character import CharacterTextSplitter
+from langchain_text_splitters.sentence_transformers import (
+ SentenceTransformersTokenTextSplitter,
+)
+
+
+def test_huggingface_type_check() -> None:
+ """Test that type checks are done properly on input."""
+ with pytest.raises(
+ ValueError,
+ match="Tokenizer received was not an instance of PreTrainedTokenizerBase",
+ ):
+ CharacterTextSplitter.from_huggingface_tokenizer("foo") # type: ignore[arg-type]
+
+
+def test_huggingface_tokenizer() -> None:
+ """Test text splitter that uses a HuggingFace tokenizer."""
+ tokenizer = AutoTokenizer.from_pretrained("gpt2")
+ text_splitter = CharacterTextSplitter.from_huggingface_tokenizer(
+ tokenizer, separator=" ", chunk_size=1, chunk_overlap=0
+ )
+ output = text_splitter.split_text("foo bar")
+ assert output == ["foo", "bar"]
+
+
+def test_token_text_splitter() -> None:
+ """Test no overlap."""
+ splitter = TokenTextSplitter(chunk_size=5, chunk_overlap=0)
+ output = splitter.split_text("abcdef" * 5) # 10 token string
+ expected_output = ["abcdefabcdefabc", "defabcdefabcdef"]
+ assert output == expected_output
+
+
+def test_token_text_splitter_overlap() -> None:
+ """Test with overlap."""
+ splitter = TokenTextSplitter(chunk_size=5, chunk_overlap=1)
+ output = splitter.split_text("abcdef" * 5) # 10 token string
+ expected_output = ["abcdefabcdefabc", "abcdefabcdefabc", "abcdef"]
+ assert output == expected_output
+
+
+def test_token_text_splitter_from_tiktoken() -> None:
+ splitter = TokenTextSplitter.from_tiktoken_encoder(model_name="gpt-4.1-mini")
+ expected_tokenizer = "cl100k_base"
+ actual_tokenizer = splitter._tokenizer.name
+ assert expected_tokenizer == actual_tokenizer
+
+
+@pytest.mark.requires("sentence_transformers")
+def test_sentence_transformers_count_tokens() -> None:
+ splitter = SentenceTransformersTokenTextSplitter(
+ model_name="sentence-transformers/paraphrase-albert-small-v2"
+ )
+ text = "Lorem ipsum"
+
+ token_count = splitter.count_tokens(text=text)
+
+ expected_start_stop_token_count = 2
+ expected_text_token_count = 5
+ expected_token_count = expected_start_stop_token_count + expected_text_token_count
+
+ assert expected_token_count == token_count
+
+
+@pytest.mark.requires("sentence_transformers")
+def test_sentence_transformers_split_text() -> None:
+ splitter = SentenceTransformersTokenTextSplitter(
+ model_name="sentence-transformers/paraphrase-albert-small-v2"
+ )
+ text = "lorem ipsum"
+ text_chunks = splitter.split_text(text=text)
+ expected_text_chunks = [text]
+ assert expected_text_chunks == text_chunks
+
+
+@pytest.mark.requires("sentence_transformers")
+def test_sentence_transformers_multiple_tokens() -> None:
+ splitter = SentenceTransformersTokenTextSplitter(chunk_overlap=0)
+ text = "Lorem "
+
+ text_token_count_including_start_and_stop_tokens = splitter.count_tokens(text=text)
+ count_start_and_end_tokens = 2
+ token_multiplier = (
+ count_start_and_end_tokens
+ + (splitter.maximum_tokens_per_chunk - count_start_and_end_tokens)
+ // (
+ text_token_count_including_start_and_stop_tokens
+ - count_start_and_end_tokens
+ )
+ + 1
+ )
+
+ # `text_to_split` does not fit in a single chunk
+ text_to_embed = text * token_multiplier
+
+ text_chunks = splitter.split_text(text=text_to_embed)
+
+ expected_number_of_chunks = 2
+
+ assert expected_number_of_chunks == len(text_chunks)
+ actual = splitter.count_tokens(text=text_chunks[1]) - count_start_and_end_tokens
+ expected = (
+ token_multiplier * (text_token_count_including_start_and_stop_tokens - 2)
+ - splitter.maximum_tokens_per_chunk
+ )
+ assert expected == actual
+
+
+@pytest.mark.requires("sentence_transformers")
+def test_sentence_transformers_with_additional_model_kwargs() -> None:
+ """Test passing model_kwargs to SentenceTransformer."""
+ # ensure model is downloaded (online)
+ splitter_online = SentenceTransformersTokenTextSplitter(
+ model_name="sentence-transformers/paraphrase-albert-small-v2"
+ )
+ text = "lorem ipsum"
+ splitter_online.count_tokens(text=text)
+
+ # test offline model loading using model_kwargs
+ splitter_offline = SentenceTransformersTokenTextSplitter(
+ model_name="sentence-transformers/paraphrase-albert-small-v2",
+ model_kwargs={"local_files_only": True},
+ )
+ splitter_offline.count_tokens(text=text)
+ assert splitter_offline.tokenizer is not None
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/test_data/test_splitter.xslt b/western_ai/usa/langchain/libs/text-splitters/tests/test_data/test_splitter.xslt
new file mode 100644
index 0000000000000000000000000000000000000000..cbb5828bf12421e6999be5f9139f64e437d58aed
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/test_data/test_splitter.xslt
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/__init__.py b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/conftest.py b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/conftest.py
new file mode 100644
index 0000000000000000000000000000000000000000..5a7210f6206e89ac45667f978befc7bf15dab865
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/conftest.py
@@ -0,0 +1,86 @@
+"""Configuration for unit tests."""
+
+from collections.abc import Sequence
+from importlib import util
+
+import pytest
+
+
+def pytest_addoption(parser: pytest.Parser) -> None:
+ """Add custom command line options to pytest."""
+ parser.addoption(
+ "--only-extended",
+ action="store_true",
+ help="Only run extended tests. Does not allow skipping any extended tests.",
+ )
+ parser.addoption(
+ "--only-core",
+ action="store_true",
+ help="Only run core tests. Never runs any extended tests.",
+ )
+
+
+def pytest_collection_modifyitems(
+ config: pytest.Config, items: Sequence[pytest.Function]
+) -> None:
+ """Add implementations for handling custom markers.
+
+ At the moment, this adds support for a custom `requires` marker.
+
+ The `requires` marker is used to denote tests that require one or more packages
+ to be installed to run. If the package is not installed, the test is skipped.
+
+ The `requires` marker syntax is:
+
+ ```python
+ @pytest.mark.requires("package1", "package2")
+ def test_something(): ...
+ ```
+ """
+ # Mapping from the name of a package to whether it is installed or not.
+ # Used to avoid repeated calls to `util.find_spec`
+ required_pkgs_info: dict[str, bool] = {}
+
+ only_extended = config.getoption("--only-extended") or False
+ only_core = config.getoption("--only-core") or False
+
+ if only_extended and only_core:
+ msg = "Cannot specify both `--only-extended` and `--only-core`."
+ raise ValueError(msg)
+
+ for item in items:
+ requires_marker = item.get_closest_marker("requires")
+ if requires_marker is not None:
+ if only_core:
+ item.add_marker(pytest.mark.skip(reason="Skipping not a core test."))
+ continue
+
+ # Iterate through the list of required packages
+ required_pkgs = requires_marker.args
+ for pkg in required_pkgs:
+ # If we haven't yet checked whether the pkg is installed
+ # let's check it and store the result.
+ if pkg not in required_pkgs_info:
+ try:
+ installed = util.find_spec(pkg) is not None
+ except (ImportError, ValueError):
+ installed = False
+ required_pkgs_info[pkg] = installed
+
+ if not required_pkgs_info[pkg]:
+ if only_extended:
+ pytest.fail(
+ f"Package `{pkg}` is not installed but is required for "
+ f"extended tests. Please install the given package and "
+ f"try again.",
+ )
+
+ else:
+ # If the package is not installed, we immediately break
+ # and mark the test as skipped.
+ item.add_marker(
+ pytest.mark.skip(reason=f"Requires pkg: `{pkg}`")
+ )
+ break
+ elif only_extended:
+ item.add_marker(pytest.mark.skip(reason="Skipping not an extended test."))
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_html_security.py b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_html_security.py
new file mode 100644
index 0000000000000000000000000000000000000000..794c9d91b20ce2ba72895c397e35e6eb226f801a
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_html_security.py
@@ -0,0 +1,130 @@
+"""Security tests for HTML splitters to prevent XXE attacks."""
+
+import pytest
+
+from langchain_text_splitters.html import HTMLSectionSplitter
+
+
+@pytest.mark.requires("lxml", "bs4")
+class TestHTMLSectionSplitterSecurity:
+ """Security tests for HTMLSectionSplitter to ensure XXE prevention."""
+
+ def test_xxe_entity_attack_blocked(self) -> None:
+ """Test that external entity attacks are blocked."""
+ # Create HTML content to process
+ html_content = """Test content
"""
+
+ # Since xslt_path parameter is removed, this attack vector is eliminated
+ # The splitter should use only the default XSLT
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # Process the HTML - should not contain any external entity content
+ result = splitter.split_text(html_content)
+
+ # Verify that no external entity content is present
+ all_content = " ".join([doc.page_content for doc in result])
+ assert "root:" not in all_content # /etc/passwd content
+ assert "XXE Attack Result" not in all_content
+
+ def test_xxe_document_function_blocked(self) -> None:
+ """Test that XSLT document() function attacks are blocked."""
+ # Even if someone modifies the default XSLT internally,
+ # the secure parser configuration should block document() attacks
+
+ html_content = (
+ """Test Header Test content
"""
+ )
+
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # Process the HTML safely
+ result = splitter.split_text(html_content)
+
+ # Should process normally without any security issues
+ assert len(result) > 0
+ assert any("Test content" in doc.page_content for doc in result)
+
+ def test_secure_parser_configuration(self) -> None:
+ """Test that parsers are configured with security settings."""
+ # This test verifies our security hardening is in place
+ html_content = """Test """
+
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # The convert_possible_tags_to_header method should use secure parsers
+ result = splitter.convert_possible_tags_to_header(html_content)
+
+ # Result should be valid transformed HTML
+ assert result is not None
+ assert isinstance(result, str)
+
+ def test_no_network_access(self) -> None:
+ """Test that network access is blocked in parsers."""
+ # Create HTML that might trigger network access
+ html_with_external_ref = """
+
+]>
+
+
+ Test
+ &external;
+
+"""
+
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # Process the HTML - should not make network requests
+ result = splitter.split_text(html_with_external_ref)
+
+ # Verify no external content is included
+ all_content = " ".join([doc.page_content for doc in result])
+ assert "attacker.com" not in all_content
+
+ def test_dtd_processing_disabled(self) -> None:
+ """Test that DTD processing is disabled."""
+ # HTML with DTD that attempts to define entities
+ html_with_dtd = """
+
+
+
+
+]>
+
+
+ Header
+ &test;
+
+"""
+
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # Process the HTML - entities should not be resolved
+ result = splitter.split_text(html_with_dtd)
+
+ # The entity should not be expanded
+ all_content = " ".join([doc.page_content for doc in result])
+ assert "This is a test entity" not in all_content
+
+ def test_safe_default_xslt_usage(self) -> None:
+ """Test that the default XSLT file is used safely."""
+ # Test with HTML that has font-size styling (what the default XSLT handles)
+ html_with_font_size = """
+
+ Large Header
+ Content under large text
+ Small Header
+ Content under small text
+
+"""
+
+ splitter = HTMLSectionSplitter(headers_to_split_on=[("h1", "Header 1")])
+
+ # Process the HTML using the default XSLT
+ result = splitter.split_text(html_with_font_size)
+
+ # Should successfully process the content
+ assert len(result) > 0
+ # Large font text should be converted to header
+ assert any("Large Header" in str(doc.metadata.values()) for doc in result)
diff --git a/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_text_splitters.py b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_text_splitters.py
new file mode 100644
index 0000000000000000000000000000000000000000..cae9f16d103e1a49f30bbe44a18b17ba6a086b9a
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/tests/unit_tests/test_text_splitters.py
@@ -0,0 +1,4245 @@
+"""Test text splitting functionality."""
+
+from __future__ import annotations
+
+import json
+import random
+import re
+import string
+import textwrap
+from typing import TYPE_CHECKING, Any
+
+import pytest
+from langchain_core._api import suppress_langchain_beta_warning
+from langchain_core.documents import Document
+
+from langchain_text_splitters import (
+ Language,
+ RecursiveCharacterTextSplitter,
+ TextSplitter,
+ Tokenizer,
+)
+from langchain_text_splitters.base import split_text_on_tokens
+from langchain_text_splitters.character import CharacterTextSplitter
+from langchain_text_splitters.html import (
+ HTMLHeaderTextSplitter,
+ HTMLSectionSplitter,
+ HTMLSemanticPreservingSplitter,
+)
+from langchain_text_splitters.json import RecursiveJsonSplitter
+from langchain_text_splitters.jsx import JSFrameworkTextSplitter
+from langchain_text_splitters.markdown import (
+ ExperimentalMarkdownSyntaxTextSplitter,
+ MarkdownHeaderTextSplitter,
+)
+from langchain_text_splitters.python import PythonCodeTextSplitter
+
+if TYPE_CHECKING:
+ from collections.abc import Callable
+
+ from bs4 import Tag
+
+FAKE_PYTHON_TEXT = """
+class Foo:
+
+ def bar():
+
+
+def foo():
+
+def testing_func():
+
+def bar():
+"""
+
+
+def test_character_text_splitter() -> None:
+ """Test splitting by character count."""
+ text = "foo bar baz 123"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=7, chunk_overlap=3)
+ output = splitter.split_text(text)
+ expected_output = ["foo bar", "bar baz", "baz 123"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_empty_doc() -> None:
+ """Test splitting by character count doesn't create empty documents."""
+ text = "foo bar"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=2, chunk_overlap=0)
+ output = splitter.split_text(text)
+ expected_output = ["foo", "bar"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_separtor_empty_doc() -> None:
+ """Test edge cases are separators."""
+ text = "f b"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=2, chunk_overlap=0)
+ output = splitter.split_text(text)
+ expected_output = ["f", "b"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_long() -> None:
+ """Test splitting by character count on long words."""
+ text = "foo bar baz a a"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=3, chunk_overlap=1)
+ output = splitter.split_text(text)
+ expected_output = ["foo", "bar", "baz", "a a"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_short_words_first() -> None:
+ """Test splitting by character count when shorter words are first."""
+ text = "a a foo bar baz"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=3, chunk_overlap=1)
+ output = splitter.split_text(text)
+ expected_output = ["a a", "foo", "bar", "baz"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_longer_words() -> None:
+ """Test splitting by characters when splits not found easily."""
+ text = "foo bar baz 123"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=1, chunk_overlap=1)
+ output = splitter.split_text(text)
+ expected_output = ["foo", "bar", "baz", "123"]
+ assert output == expected_output
+
+
+# edge cases
+def test_character_text_splitter_no_separator_in_text() -> None:
+ """Text splitting where there is no separator but a single word."""
+ text = "singleword"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=10, chunk_overlap=0)
+ output = splitter.split_text(text)
+ expected_output = ["singleword"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_handle_chunksize_equal_to_chunkoverlap() -> None:
+ """Text splitting safe guards when chunk size is equal chunk overlap."""
+ text = "hello"
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=5, chunk_overlap=5)
+ output = splitter.split_text(text)
+ expected_output = ["hello"]
+ assert output == expected_output
+
+
+def test_character_text_splitter_empty_input() -> None:
+ """Test splitting safely where there is no input to process."""
+ text = ""
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=5, chunk_overlap=0)
+ output = splitter.split_text(text)
+ expected_output: list[str] = []
+ assert output == expected_output
+
+
+def test_character_text_splitter_whitespace_only() -> None:
+ """Test splitting safely where there is white space."""
+ text = " "
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=5, chunk_overlap=0)
+ output = splitter.split_text(text)
+ expected_output: list[str] = []
+ assert output == expected_output
+
+
+@pytest.mark.parametrize(
+ ("separator", "is_separator_regex"), [(re.escape("."), True), (".", False)]
+)
+def test_character_text_splitter_keep_separator_regex(
+ *, separator: str, is_separator_regex: bool
+) -> None:
+ """Test CharacterTextSplitter keep separator regex.
+
+ Test splitting by characters while keeping the separator
+ that is a regex special character.
+ """
+ text = "foo.bar.baz.123"
+ splitter = CharacterTextSplitter(
+ separator=separator,
+ chunk_size=1,
+ chunk_overlap=0,
+ keep_separator=True,
+ is_separator_regex=is_separator_regex,
+ )
+ output = splitter.split_text(text)
+ expected_output = ["foo", ".bar", ".baz", ".123"]
+ assert output == expected_output
+
+
+@pytest.mark.parametrize(
+ ("separator", "is_separator_regex"), [(re.escape("."), True), (".", False)]
+)
+def test_character_text_splitter_keep_separator_regex_start(
+ *, separator: str, is_separator_regex: bool
+) -> None:
+ """Test CharacterTextSplitter keep separator regex and put at start.
+
+ Test splitting by characters while keeping the separator
+ that is a regex special character and placing it at the start of each chunk.
+ """
+ text = "foo.bar.baz.123"
+ splitter = CharacterTextSplitter(
+ separator=separator,
+ chunk_size=1,
+ chunk_overlap=0,
+ keep_separator="start",
+ is_separator_regex=is_separator_regex,
+ )
+ output = splitter.split_text(text)
+ expected_output = ["foo", ".bar", ".baz", ".123"]
+ assert output == expected_output
+
+
+@pytest.mark.parametrize(
+ ("separator", "is_separator_regex"), [(re.escape("."), True), (".", False)]
+)
+def test_character_text_splitter_keep_separator_regex_end(
+ *, separator: str, is_separator_regex: bool
+) -> None:
+ """Test CharacterTextSplitter keep separator regex and put at end.
+
+ Test splitting by characters while keeping the separator
+ that is a regex special character and placing it at the end of each chunk.
+ """
+ text = "foo.bar.baz.123"
+ splitter = CharacterTextSplitter(
+ separator=separator,
+ chunk_size=1,
+ chunk_overlap=0,
+ keep_separator="end",
+ is_separator_regex=is_separator_regex,
+ )
+ output = splitter.split_text(text)
+ expected_output = ["foo.", "bar.", "baz.", "123"]
+ assert output == expected_output
+
+
+@pytest.mark.parametrize(
+ ("separator", "is_separator_regex"), [(re.escape("."), True), (".", False)]
+)
+def test_character_text_splitter_discard_separator_regex(
+ *, separator: str, is_separator_regex: bool
+) -> None:
+ """Test CharacterTextSplitter discard separator regex.
+
+ Test splitting by characters discarding the separator
+ that is a regex special character.
+ """
+ text = "foo.bar.baz.123"
+ splitter = CharacterTextSplitter(
+ separator=separator,
+ chunk_size=1,
+ chunk_overlap=0,
+ keep_separator=False,
+ is_separator_regex=is_separator_regex,
+ )
+ output = splitter.split_text(text)
+ expected_output = ["foo", "bar", "baz", "123"]
+ assert output == expected_output
+
+
+def test_recursive_character_text_splitter_keep_separators() -> None:
+ split_tags = [",", "."]
+ query = "Apple,banana,orange and tomato."
+ # start
+ splitter = RecursiveCharacterTextSplitter(
+ chunk_size=10,
+ chunk_overlap=0,
+ separators=split_tags,
+ keep_separator="start",
+ )
+ result = splitter.split_text(query)
+ assert result == ["Apple", ",banana", ",orange and tomato", "."]
+
+ # end
+ splitter = RecursiveCharacterTextSplitter(
+ chunk_size=10,
+ chunk_overlap=0,
+ separators=split_tags,
+ keep_separator="end",
+ )
+ result = splitter.split_text(query)
+ assert result == ["Apple,", "banana,", "orange and tomato."]
+
+
+def test_character_text_splitting_args() -> None:
+ """Test invalid arguments."""
+ with pytest.raises(
+ ValueError,
+ match=re.escape(
+ "Got a larger chunk overlap (4) than chunk size (2), should be smaller."
+ ),
+ ):
+ CharacterTextSplitter(chunk_size=2, chunk_overlap=4)
+ for invalid_size in (0, -1):
+ with pytest.raises(ValueError, match="chunk_size must be > 0, got"):
+ CharacterTextSplitter(chunk_size=invalid_size)
+ with pytest.raises(ValueError, match="chunk_overlap must be >= 0, got -1"):
+ CharacterTextSplitter(chunk_size=2, chunk_overlap=-1)
+
+
+def test_merge_splits() -> None:
+ """Test merging splits with a given separator."""
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=9, chunk_overlap=2)
+ splits = ["foo", "bar", "baz"]
+ expected_output = ["foo bar", "baz"]
+ output = splitter._merge_splits(splits, separator=" ")
+ assert output == expected_output
+
+
+def test_create_documents() -> None:
+ """Test create documents method."""
+ texts = ["foo bar", "baz"]
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=3, chunk_overlap=0)
+ docs = splitter.create_documents(texts)
+ expected_docs = [
+ Document(page_content="foo"),
+ Document(page_content="bar"),
+ Document(page_content="baz"),
+ ]
+ assert docs == expected_docs
+
+
+def test_create_documents_with_metadata() -> None:
+ """Test create documents with metadata method."""
+ texts = ["foo bar", "baz"]
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=3, chunk_overlap=0)
+ docs = splitter.create_documents(texts, [{"source": "1"}, {"source": "2"}])
+ expected_docs = [
+ Document(page_content="foo", metadata={"source": "1"}),
+ Document(page_content="bar", metadata={"source": "1"}),
+ Document(page_content="baz", metadata={"source": "2"}),
+ ]
+ assert docs == expected_docs
+
+
+@pytest.mark.parametrize(
+ ("splitter", "text", "expected_docs"),
+ [
+ (
+ CharacterTextSplitter(
+ separator=" ", chunk_size=7, chunk_overlap=3, add_start_index=True
+ ),
+ "foo bar baz 123",
+ [
+ Document(page_content="foo bar", metadata={"start_index": 0}),
+ Document(page_content="bar baz", metadata={"start_index": 4}),
+ Document(page_content="baz 123", metadata={"start_index": 8}),
+ ],
+ ),
+ (
+ RecursiveCharacterTextSplitter(
+ chunk_size=6,
+ chunk_overlap=0,
+ separators=["\n\n", "\n", " ", ""],
+ add_start_index=True,
+ ),
+ "w1 w1 w1 w1 w1 w1 w1 w1 w1",
+ [
+ Document(page_content="w1 w1", metadata={"start_index": 0}),
+ Document(page_content="w1 w1", metadata={"start_index": 6}),
+ Document(page_content="w1 w1", metadata={"start_index": 12}),
+ Document(page_content="w1 w1", metadata={"start_index": 18}),
+ Document(page_content="w1", metadata={"start_index": 24}),
+ ],
+ ),
+ ],
+)
+def test_create_documents_with_start_index(
+ splitter: TextSplitter, text: str, expected_docs: list[Document]
+) -> None:
+ """Test create documents method."""
+ docs = splitter.create_documents([text])
+ assert docs == expected_docs
+ for doc in docs:
+ s_i = doc.metadata["start_index"]
+ assert text[s_i : s_i + len(doc.page_content)] == doc.page_content
+
+
+def test_metadata_not_shallow() -> None:
+ """Test that metadatas are not shallow."""
+ texts = ["foo bar"]
+ splitter = CharacterTextSplitter(separator=" ", chunk_size=3, chunk_overlap=0)
+ docs = splitter.create_documents(texts, [{"source": "1"}])
+ expected_docs = [
+ Document(page_content="foo", metadata={"source": "1"}),
+ Document(page_content="bar", metadata={"source": "1"}),
+ ]
+ assert docs == expected_docs
+ docs[0].metadata["foo"] = 1
+ assert docs[0].metadata == {"source": "1", "foo": 1}
+ assert docs[1].metadata == {"source": "1"}
+
+
+def test_iterative_text_splitter_keep_separator() -> None:
+ chunk_size = 5
+ output = __test_iterative_text_splitter(chunk_size=chunk_size, keep_separator=True)
+
+ assert output == [
+ "....5",
+ "X..3",
+ "Y...4",
+ "X....5",
+ "Y...",
+ ]
+
+
+def test_iterative_text_splitter_discard_separator() -> None:
+ chunk_size = 5
+ output = __test_iterative_text_splitter(chunk_size=chunk_size, keep_separator=False)
+
+ assert output == [
+ "....5",
+ "..3",
+ "...4",
+ "....5",
+ "...",
+ ]
+
+
+def __test_iterative_text_splitter(
+ *, chunk_size: int, keep_separator: bool
+) -> list[str]:
+ chunk_size += 1 if keep_separator else 0
+
+ splitter = RecursiveCharacterTextSplitter(
+ chunk_size=chunk_size,
+ chunk_overlap=0,
+ separators=["X", "Y"],
+ keep_separator=keep_separator,
+ )
+ text = "....5X..3Y...4X....5Y..."
+ output = splitter.split_text(text)
+ for chunk in output:
+ assert len(chunk) <= chunk_size, f"Chunk is larger than {chunk_size}"
+ return output
+
+
+def test_iterative_text_splitter() -> None:
+ """Test iterative text splitter."""
+ text = """Hi.\n\nI'm Harrison.\n\nHow? Are? You?\nOkay then f f f f.
+This is a weird text to write, but gotta test the splittingggg some how.
+
+Bye!\n\n-H."""
+ splitter = RecursiveCharacterTextSplitter(chunk_size=10, chunk_overlap=1)
+ output = splitter.split_text(text)
+ expected_output = [
+ "Hi.",
+ "I'm",
+ "Harrison.",
+ "How? Are?",
+ "You?",
+ "Okay then",
+ "f f f f.",
+ "This is a",
+ "weird",
+ "text to",
+ "write,",
+ "but gotta",
+ "test the",
+ "splitting",
+ "gggg",
+ "some how.",
+ "Bye!",
+ "-H.",
+ ]
+ assert output == expected_output
+
+
+def test_split_documents() -> None:
+ """Test split_documents."""
+ splitter = CharacterTextSplitter(separator="", chunk_size=1, chunk_overlap=0)
+ docs = [
+ Document(page_content="foo", metadata={"source": "1"}),
+ Document(page_content="bar", metadata={"source": "2"}),
+ Document(page_content="baz", metadata={"source": "1"}),
+ ]
+ expected_output = [
+ Document(page_content="f", metadata={"source": "1"}),
+ Document(page_content="o", metadata={"source": "1"}),
+ Document(page_content="o", metadata={"source": "1"}),
+ Document(page_content="b", metadata={"source": "2"}),
+ Document(page_content="a", metadata={"source": "2"}),
+ Document(page_content="r", metadata={"source": "2"}),
+ Document(page_content="b", metadata={"source": "1"}),
+ Document(page_content="a", metadata={"source": "1"}),
+ Document(page_content="z", metadata={"source": "1"}),
+ ]
+ assert splitter.split_documents(docs) == expected_output
+
+
+def test_python_text_splitter() -> None:
+ splitter = PythonCodeTextSplitter(chunk_size=30, chunk_overlap=0)
+ splits = splitter.split_text(FAKE_PYTHON_TEXT)
+ split_0 = """class Foo:\n\n def bar():"""
+ split_1 = """def foo():"""
+ split_2 = """def testing_func():"""
+ split_3 = """def bar():"""
+ expected_splits = [split_0, split_1, split_2, split_3]
+ assert splits == expected_splits
+
+
+FAKE_JSX_TEXT = """
+import React from 'react';
+import OtherComponent from './OtherComponent';
+
+function MyComponent() {
+ const [count, setCount] = React.useState(0);
+
+ const handleClick = () => {
+ setCount(count + 1);
+ };
+
+ return (
+
+
Counter: {count}
+
+ Increment
+
+
+
+ );
+}
+
+export default MyComponent;
+"""
+
+
+def test_jsx_text_splitter() -> None:
+ splitter = JSFrameworkTextSplitter(chunk_size=30, chunk_overlap=0)
+ splits = splitter.split_text(FAKE_JSX_TEXT)
+
+ expected_splits = [
+ (
+ "\nimport React from 'react';\n"
+ "import OtherComponent from './OtherComponent';\n"
+ ),
+ "\nfunction MyComponent() {\n const [count, setCount] = React.useState(0);",
+ "\n\n const handleClick = () => {\n setCount(count + 1);\n };",
+ "return (",
+ "",
+ "
Counter: {count} \n ",
+ "\n Increment\n \n ",
+ " \n \n );\n}\n",
+ "export default MyComponent;",
+ ]
+ assert [s.strip() for s in splits] == [s.strip() for s in expected_splits]
+
+
+FAKE_VUE_TEXT = """
+
+
+
{{ title }}
+
+ Count is: {{ count }}
+
+
+
+
+
+
+
+"""
+
+
+def test_vue_text_splitter() -> None:
+ splitter = JSFrameworkTextSplitter(chunk_size=30, chunk_overlap=0)
+ splits = splitter.split_text(FAKE_VUE_TEXT)
+
+ expected_splits = [
+ "",
+ "",
+ "
{{ title }} ",
+ (
+ '\n Count is: {{ count }}\n'
+ " \n \n "
+ ),
+ ""
+ ),
+ "",
+ ]
+ assert [s.strip() for s in splits] == [s.strip() for s in expected_splits]
+
+
+FAKE_SVELTE_TEXT = """
+
+
+
+ Counter App
+
+ Count is: {count}
+
+
+
+
+"""
+
+
+def test_svelte_text_splitter() -> None:
+ splitter = JSFrameworkTextSplitter(chunk_size=30, chunk_overlap=0)
+ splits = splitter.split_text(FAKE_SVELTE_TEXT)
+
+ expected_splits = [
+ "",
+ "",
+ "Counter App ",
+ "\n Count is: {count}\n \n ",
+ "",
+ ]
+ assert [s.strip() for s in splits] == [s.strip() for s in expected_splits]
+
+
+def test_jsx_splitter_separator_not_mutated_across_calls() -> None:
+ """Regression test: repeated split_text() calls must not mutate separators.
+
+ Calling split_text() multiple times on the same JSFrameworkTextSplitter
+ instance must not grow the internal separator list between calls.
+
+ Before the fix, self._separators was overwritten with the full expanded list
+ on every invocation, so a second call would start with the already-expanded
+ list and append even more separators.
+ """
+ splitter = JSFrameworkTextSplitter(chunk_size=30, chunk_overlap=0)
+
+ # Record separator count after constructing (should be 0 - no custom separators)
+ initial_sep_count = len(splitter._separators)
+
+ # Call split_text twice; the results should be identical for identical input
+ splits_first = splitter.split_text(FAKE_JSX_TEXT)
+ splits_second = splitter.split_text(FAKE_JSX_TEXT)
+
+ assert splits_first == splits_second, (
+ "split_text() must return identical results on repeated calls with the "
+ "same input"
+ )
+ assert len(splitter._separators) == initial_sep_count, (
+ "split_text() must not mutate self._separators between calls"
+ )
+
+
+CHUNK_SIZE = 16
+
+
+def test_python_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.PYTHON, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+def hello_world():
+ print("Hello, World!")
+
+# Call the function
+hello_world()
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "def",
+ "hello_world():",
+ 'print("Hello,',
+ 'World!")',
+ "# Call the",
+ "function",
+ "hello_world()",
+ ]
+
+
+def test_golang_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.GO, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+package main
+
+import "fmt"
+
+func helloWorld() {
+ fmt.Println("Hello, World!")
+}
+
+func main() {
+ helloWorld()
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "package main",
+ 'import "fmt"',
+ "func",
+ "helloWorld() {",
+ 'fmt.Println("He',
+ "llo,",
+ 'World!")',
+ "}",
+ "func main() {",
+ "helloWorld()",
+ "}",
+ ]
+
+
+def test_rst_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.RST, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+Sample Document
+===============
+
+Section
+-------
+
+This is the content of the section.
+
+Lists
+-----
+
+- Item 1
+- Item 2
+- Item 3
+
+Comment
+*******
+Not a comment
+
+.. This is a comment
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "Sample Document",
+ "===============",
+ "Section",
+ "-------",
+ "This is the",
+ "content of the",
+ "section.",
+ "Lists",
+ "-----",
+ "- Item 1",
+ "- Item 2",
+ "- Item 3",
+ "Comment",
+ "*******",
+ "Not a comment",
+ ".. This is a",
+ "comment",
+ ]
+ # Special test for special characters
+ code = "harry\n***\nbabylon is"
+ chunks = splitter.split_text(code)
+ assert chunks == ["harry", "***\nbabylon is"]
+
+
+def test_proto_file_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.PROTO, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+syntax = "proto3";
+
+package example;
+
+message Person {
+ string name = 1;
+ int32 age = 2;
+ repeated string hobbies = 3;
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "syntax =",
+ '"proto3";',
+ "package",
+ "example;",
+ "message Person",
+ "{",
+ "string name",
+ "= 1;",
+ "int32 age =",
+ "2;",
+ "repeated",
+ "string hobbies",
+ "= 3;",
+ "}",
+ ]
+
+
+def test_javascript_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.JS, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+function helloWorld() {
+ console.log("Hello, World!");
+}
+
+// Call the function
+helloWorld();
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "function",
+ "helloWorld() {",
+ 'console.log("He',
+ "llo,",
+ 'World!");',
+ "}",
+ "// Call the",
+ "function",
+ "helloWorld();",
+ ]
+
+
+def test_cobol_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.COBOL, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+IDENTIFICATION DIVISION.
+PROGRAM-ID. HelloWorld.
+DATA DIVISION.
+WORKING-STORAGE SECTION.
+01 GREETING PIC X(12) VALUE 'Hello, World!'.
+PROCEDURE DIVISION.
+DISPLAY GREETING.
+STOP RUN.
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "IDENTIFICATION",
+ "DIVISION.",
+ "PROGRAM-ID.",
+ "HelloWorld.",
+ "DATA DIVISION.",
+ "WORKING-STORAGE",
+ "SECTION.",
+ "01 GREETING",
+ "PIC X(12)",
+ "VALUE 'Hello,",
+ "World!'.",
+ "PROCEDURE",
+ "DIVISION.",
+ "DISPLAY",
+ "GREETING.",
+ "STOP RUN.",
+ ]
+
+
+def test_typescript_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.TS, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+function helloWorld(): void {
+ console.log("Hello, World!");
+}
+
+// Call the function
+helloWorld();
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "function",
+ "helloWorld():",
+ "void {",
+ 'console.log("He',
+ "llo,",
+ 'World!");',
+ "}",
+ "// Call the",
+ "function",
+ "helloWorld();",
+ ]
+
+
+def test_java_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.JAVA, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+public class HelloWorld {
+ public static void main(String[] args) {
+ System.out.println("Hello, World!");
+ }
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "public class",
+ "HelloWorld {",
+ "public",
+ "static void",
+ "main(String[]",
+ "args) {",
+ "System.out.prin",
+ 'tln("Hello,',
+ 'World!");',
+ "}\n}",
+ ]
+
+
+def test_kotlin_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.KOTLIN, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+class HelloWorld {
+ companion object {
+ @JvmStatic
+ fun main(args: Array) {
+ println("Hello, World!")
+ }
+ }
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "class",
+ "HelloWorld {",
+ "companion",
+ "object {",
+ "@JvmStatic",
+ "fun",
+ "main(args:",
+ "Array)",
+ "{",
+ 'println("Hello,',
+ 'World!")',
+ "}\n }",
+ "}",
+ ]
+
+
+def test_csharp_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.CSHARP, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+using System;
+class Program
+{
+ static void Main()
+ {
+ int age = 30; // Change the age value as needed
+
+ // Categorize the age without any console output
+ if (age < 18)
+ {
+ // Age is under 18
+ }
+ else if (age >= 18 && age < 65)
+ {
+ // Age is an adult
+ }
+ else
+ {
+ // Age is a senior citizen
+ }
+ }
+}
+ """
+
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "using System;",
+ "class Program\n{",
+ "static void",
+ "Main()",
+ "{",
+ "int age",
+ "= 30; // Change",
+ "the age value",
+ "as needed",
+ "//",
+ "Categorize the",
+ "age without any",
+ "console output",
+ "if (age",
+ "< 18)",
+ "{",
+ "//",
+ "Age is under 18",
+ "}",
+ "else if",
+ "(age >= 18 &&",
+ "age < 65)",
+ "{",
+ "//",
+ "Age is an adult",
+ "}",
+ "else",
+ "{",
+ "//",
+ "Age is a senior",
+ "citizen",
+ "}\n }",
+ "}",
+ ]
+
+
+def test_csharp_separators_no_java_keywords() -> None:
+ """C# separators should not contain Java-only keywords."""
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.CSHARP, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ # "implements" is a Java keyword; C# uses ":" for interface implementation
+ assert "\nimplements " not in splitter._separators
+
+
+def test_elixir_separators_no_while() -> None:
+ """Elixir has no while loop; the separator should not be present."""
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.ELIXIR, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ assert "\nwhile " not in splitter._separators
+
+
+def test_cpp_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.CPP, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+#include
+
+int main() {
+ std::cout << "Hello, World!" << std::endl;
+ return 0;
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "#include",
+ "",
+ "int main() {",
+ "std::cout",
+ '<< "Hello,',
+ 'World!" <<',
+ "std::endl;",
+ "return 0;\n}",
+ ]
+
+
+def test_scala_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.SCALA, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+object HelloWorld {
+ def main(args: Array[String]): Unit = {
+ println("Hello, World!")
+ }
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "object",
+ "HelloWorld {",
+ "def",
+ "main(args:",
+ "Array[String]):",
+ "Unit = {",
+ 'println("Hello,',
+ 'World!")',
+ "}\n}",
+ ]
+
+
+def test_ruby_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.RUBY, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+def hello_world
+ puts "Hello, World!"
+end
+
+hello_world
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "def hello_world",
+ 'puts "Hello,',
+ 'World!"',
+ "end",
+ "hello_world",
+ ]
+
+
+def test_php_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.PHP, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "",
+ ]
+
+
+def test_swift_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.SWIFT, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+func helloWorld() {
+ print("Hello, World!")
+}
+
+helloWorld()
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "func",
+ "helloWorld() {",
+ 'print("Hello,',
+ 'World!")',
+ "}",
+ "helloWorld()",
+ ]
+
+
+def test_rust_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.RUST, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+fn main() {
+ println!("Hello, World!");
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == ["fn main() {", 'println!("Hello', ",", 'World!");', "}"]
+
+
+def test_r_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.R, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+library(dplyr)
+
+my_func <- function(x) {
+ return(x + 1)
+}
+
+if (TRUE) {
+ print("Hello")
+}
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "library(dplyr)",
+ "my_func <-",
+ "function(x) {",
+ "return(x +",
+ "1)",
+ "}",
+ "if (TRUE) {",
+ 'print("Hello")',
+ "}",
+ ]
+
+
+def test_markdown_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.MARKDOWN, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+# Sample Document
+
+## Section
+
+This is the content of the section.
+
+## Lists
+
+- Item 1
+- Item 2
+- Item 3
+
+### Horizontal lines
+
+***********
+____________
+-------------------
+
+#### Code blocks
+```
+This is a code block
+
+# sample code
+a = 1
+b = 2
+```
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "# Sample",
+ "Document",
+ "## Section",
+ "This is the",
+ "content of the",
+ "section.",
+ "## Lists",
+ "- Item 1",
+ "- Item 2",
+ "- Item 3",
+ "### Horizontal",
+ "lines",
+ "***********",
+ "____________",
+ "---------------",
+ "----",
+ "#### Code",
+ "blocks",
+ "```",
+ "This is a code",
+ "block",
+ "# sample code",
+ "a = 1\nb = 2",
+ "```",
+ ]
+ # Special test for special characters
+ code = "harry\n***\nbabylon is"
+ chunks = splitter.split_text(code)
+ assert chunks == ["harry", "***\nbabylon is"]
+
+
+def test_latex_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.LATEX, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+Hi Harrison!
+\\chapter{1}
+"""
+ chunks = splitter.split_text(code)
+ assert chunks == ["Hi Harrison!", "\\chapter{1}"]
+
+
+def test_html_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.HTML, chunk_size=60, chunk_overlap=0
+ )
+ code = """
+Sample Document
+ Section
+ Reference content.
+
+ Lists
+
+ Item 1
+ Item 2
+ Item 3
+
+
+ A block
+
+
Some text
+
Some more text
+
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "Sample Document \n Section ",
+ 'Reference content.
',
+ "Lists \n ",
+ "Item 1 \n Item 2 ",
+ "Item 3 \n ",
+ "A block ",
+ '',
+ "
Some text
",
+ "
Some more text
\n
",
+ ]
+
+
+def test_md_header_text_splitter_1() -> None:
+ """Test markdown splitter by header: Case 1."""
+ markdown_document = (
+ "# Foo\n\n"
+ " ## Bar\n\n"
+ "Hi this is Jim\n\n"
+ "Hi this is Joe\n\n"
+ " ## Baz\n\n"
+ " Hi this is Molly"
+ )
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ]
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+ expected_output = [
+ Document(
+ page_content="Hi this is Jim \nHi this is Joe",
+ metadata={"Header 1": "Foo", "Header 2": "Bar"},
+ ),
+ Document(
+ page_content="Hi this is Molly",
+ metadata={"Header 1": "Foo", "Header 2": "Baz"},
+ ),
+ ]
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_2() -> None:
+ """Test markdown splitter by header: Case 2."""
+ markdown_document = (
+ "# Foo\n\n"
+ " ## Bar\n\n"
+ "Hi this is Jim\n\n"
+ "Hi this is Joe\n\n"
+ " ### Boo \n\n"
+ " Hi this is Lance \n\n"
+ " ## Baz\n\n"
+ " Hi this is Molly"
+ )
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ("###", "Header 3"),
+ ]
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+ expected_output = [
+ Document(
+ page_content="Hi this is Jim \nHi this is Joe",
+ metadata={"Header 1": "Foo", "Header 2": "Bar"},
+ ),
+ Document(
+ page_content="Hi this is Lance",
+ metadata={"Header 1": "Foo", "Header 2": "Bar", "Header 3": "Boo"},
+ ),
+ Document(
+ page_content="Hi this is Molly",
+ metadata={"Header 1": "Foo", "Header 2": "Baz"},
+ ),
+ ]
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_3() -> None:
+ """Test markdown splitter by header: Case 3."""
+ markdown_document = (
+ "# Foo\n\n"
+ " ## Bar\n\n"
+ "Hi this is Jim\n\n"
+ "Hi this is Joe\n\n"
+ " ### Boo \n\n"
+ " Hi this is Lance \n\n"
+ " #### Bim \n\n"
+ " Hi this is John \n\n"
+ " ## Baz\n\n"
+ " Hi this is Molly"
+ )
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ("###", "Header 3"),
+ ("####", "Header 4"),
+ ]
+
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="Hi this is Jim \nHi this is Joe",
+ metadata={"Header 1": "Foo", "Header 2": "Bar"},
+ ),
+ Document(
+ page_content="Hi this is Lance",
+ metadata={"Header 1": "Foo", "Header 2": "Bar", "Header 3": "Boo"},
+ ),
+ Document(
+ page_content="Hi this is John",
+ metadata={
+ "Header 1": "Foo",
+ "Header 2": "Bar",
+ "Header 3": "Boo",
+ "Header 4": "Bim",
+ },
+ ),
+ Document(
+ page_content="Hi this is Molly",
+ metadata={"Header 1": "Foo", "Header 2": "Baz"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_preserve_headers_1() -> None:
+ """Test markdown splitter by header: Preserve Headers."""
+ markdown_document = (
+ "# Foo\n\n"
+ " ## Bat\n\n"
+ "Hi this is Jim\n\n"
+ "Hi Joe\n\n"
+ "## Baz\n\n"
+ "# Bar\n\n"
+ "This is Alice\n\n"
+ "This is Bob"
+ )
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ]
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ strip_headers=False,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+ expected_output = [
+ Document(
+ page_content="# Foo \n## Bat \nHi this is Jim \nHi Joe \n## Baz",
+ metadata={"Header 1": "Foo"},
+ ),
+ Document(
+ page_content="# Bar \nThis is Alice \nThis is Bob",
+ metadata={"Header 1": "Bar"},
+ ),
+ ]
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_preserve_headers_2() -> None:
+ """Test markdown splitter by header: Preserve Headers."""
+ markdown_document = (
+ "# Foo\n\n"
+ " ## Bar\n\n"
+ "Hi this is Jim\n\n"
+ "Hi this is Joe\n\n"
+ "### Boo \n\n"
+ "Hi this is Lance\n\n"
+ "## Baz\n\n"
+ "Hi this is Molly\n"
+ " ## Buz\n"
+ "# Bop"
+ )
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ("###", "Header 3"),
+ ]
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ strip_headers=False,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+ expected_output = [
+ Document(
+ page_content="# Foo \n## Bar \nHi this is Jim \nHi this is Joe",
+ metadata={"Header 1": "Foo", "Header 2": "Bar"},
+ ),
+ Document(
+ page_content="### Boo \nHi this is Lance",
+ metadata={"Header 1": "Foo", "Header 2": "Bar", "Header 3": "Boo"},
+ ),
+ Document(
+ page_content="## Baz \nHi this is Molly",
+ metadata={"Header 1": "Foo", "Header 2": "Baz"},
+ ),
+ Document(
+ page_content="## Buz",
+ metadata={"Header 1": "Foo", "Header 2": "Buz"},
+ ),
+ Document(page_content="# Bop", metadata={"Header 1": "Bop"}),
+ ]
+ assert output == expected_output
+
+
+@pytest.mark.parametrize("fence", [("```"), ("~~~")])
+def test_md_header_text_splitter_fenced_code_block(fence: str) -> None:
+ """Test markdown splitter by header: Fenced code block."""
+ markdown_document = (
+ f"# This is a Header\n\n{fence}\nfoo()\n# Not a header\nbar()\n{fence}"
+ )
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ]
+
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content=f"{fence}\nfoo()\n# Not a header\nbar()\n{fence}",
+ metadata={"Header 1": "This is a Header"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+@pytest.mark.parametrize(("fence", "other_fence"), [("```", "~~~"), ("~~~", "```")])
+def test_md_header_text_splitter_fenced_code_block_interleaved(
+ fence: str, other_fence: str
+) -> None:
+ """Test markdown splitter by header: Interleaved fenced code block."""
+ markdown_document = (
+ "# This is a Header\n\n"
+ f"{fence}\n"
+ "foo\n"
+ "# Not a header\n"
+ f"{other_fence}\n"
+ "# Not a header\n"
+ f"{fence}"
+ )
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ]
+
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content=(
+ f"{fence}\nfoo\n# Not a header\n{other_fence}\n# Not a header\n{fence}"
+ ),
+ metadata={"Header 1": "This is a Header"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+@pytest.mark.parametrize("characters", ["\ufeff"])
+def test_md_header_text_splitter_with_invisible_characters(characters: str) -> None:
+ """Test markdown splitter by header: Fenced code block."""
+ markdown_document = f"{characters}# Foo\n\nfoo()\n{characters}## Bar\n\nbar()"
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ]
+
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="foo()",
+ metadata={"Header 1": "Foo"},
+ ),
+ Document(
+ page_content="bar()",
+ metadata={"Header 1": "Foo", "Header 2": "Bar"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_with_custom_headers() -> None:
+ """Test markdown splitter with custom header patterns like **Header**."""
+ markdown_document = """**Chapter 1**
+
+This is the content for chapter 1.
+
+***Section 1.1***
+
+This is the content for section 1.1.
+
+**Chapter 2**
+
+This is the content for chapter 2.
+
+***Section 2.1***
+
+This is the content for section 2.1.
+"""
+
+ headers_to_split_on = [
+ ("**", "Bold Header"),
+ ("***", "Bold Italic Header"),
+ ]
+
+ custom_header_patterns = {
+ "**": 1, # Level 1 headers
+ "***": 2, # Level 2 headers
+ }
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ custom_header_patterns=custom_header_patterns,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="This is the content for chapter 1.",
+ metadata={"Bold Header": "Chapter 1"},
+ ),
+ Document(
+ page_content="This is the content for section 1.1.",
+ metadata={"Bold Header": "Chapter 1", "Bold Italic Header": "Section 1.1"},
+ ),
+ Document(
+ page_content="This is the content for chapter 2.",
+ metadata={"Bold Header": "Chapter 2"},
+ ),
+ Document(
+ page_content="This is the content for section 2.1.",
+ metadata={"Bold Header": "Chapter 2", "Bold Italic Header": "Section 2.1"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_md_header_text_splitter_mixed_headers() -> None:
+ """Test markdown splitter with both standard and custom headers."""
+ markdown_document = """# Standard Header 1
+
+Content under standard header.
+
+**Custom Header 1**
+
+Content under custom header.
+
+## Standard Header 2
+
+Content under standard header 2.
+
+***Custom Header 2***
+
+Content under custom header 2.
+"""
+
+ headers_to_split_on = [
+ ("#", "Header 1"),
+ ("##", "Header 2"),
+ ("**", "Bold Header"),
+ ("***", "Bold Italic Header"),
+ ]
+
+ custom_header_patterns = {
+ "**": 1, # Same level as #
+ "***": 2, # Same level as ##
+ }
+
+ markdown_splitter = MarkdownHeaderTextSplitter(
+ headers_to_split_on=headers_to_split_on,
+ custom_header_patterns=custom_header_patterns,
+ )
+ output = markdown_splitter.split_text(markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="Content under standard header.",
+ metadata={"Header 1": "Standard Header 1"},
+ ),
+ Document(
+ page_content="Content under custom header.",
+ metadata={"Bold Header": "Custom Header 1"},
+ ),
+ Document(
+ page_content="Content under standard header 2.",
+ metadata={
+ "Bold Header": "Custom Header 1",
+ "Header 2": "Standard Header 2",
+ },
+ ),
+ Document(
+ page_content="Content under custom header 2.",
+ metadata={
+ "Bold Header": "Custom Header 1",
+ "Bold Italic Header": "Custom Header 2",
+ },
+ ),
+ ]
+
+ assert output == expected_output
+
+
+EXPERIMENTAL_MARKDOWN_DOCUMENT = (
+ "# My Header 1\n"
+ "Content for header 1\n"
+ "## Header 2\n"
+ "Content for header 2\n"
+ "### Header 3\n"
+ "Content for header 3\n"
+ "## Header 2 Again\n"
+ "This should be tagged with Header 1 and Header 2 Again\n"
+ "```python\n"
+ "def func_definition():\n"
+ " print('Keep the whitespace consistent')\n"
+ "```\n"
+ "# Header 1 again\n"
+ "We should also split on the horizontal line\n"
+ "----\n"
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+)
+
+
+def test_experimental_markdown_syntax_text_splitter() -> None:
+ """Test experimental markdown syntax splitter."""
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter()
+ output = markdown_splitter.split_text(EXPERIMENTAL_MARKDOWN_DOCUMENT)
+
+ expected_output = [
+ Document(
+ page_content="Content for header 1\n",
+ metadata={"Header 1": "My Header 1"},
+ ),
+ Document(
+ page_content="Content for header 2\n",
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2"},
+ ),
+ Document(
+ page_content="Content for header 3\n",
+ metadata={
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2",
+ "Header 3": "Header 3",
+ },
+ ),
+ Document(
+ page_content="This should be tagged with Header 1 and Header 2 Again\n",
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2 Again"},
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_header_configuration() -> None:
+ """Test experimental markdown syntax splitter."""
+ headers_to_split_on = [("#", "Encabezamiento 1")]
+
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(
+ headers_to_split_on=headers_to_split_on
+ )
+ output = markdown_splitter.split_text(EXPERIMENTAL_MARKDOWN_DOCUMENT)
+
+ expected_output = [
+ Document(
+ page_content=(
+ "Content for header 1\n"
+ "## Header 2\n"
+ "Content for header 2\n"
+ "### Header 3\n"
+ "Content for header 3\n"
+ "## Header 2 Again\n"
+ "This should be tagged with Header 1 and Header 2 Again\n"
+ ),
+ metadata={"Encabezamiento 1": "My Header 1"},
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={"Code": "python", "Encabezamiento 1": "My Header 1"},
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Encabezamiento 1": "Header 1 again"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Encabezamiento 1": "Header 1 again"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_with_headers() -> None:
+ """Test experimental markdown syntax splitter."""
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(strip_headers=False)
+ output = markdown_splitter.split_text(EXPERIMENTAL_MARKDOWN_DOCUMENT)
+
+ expected_output = [
+ Document(
+ page_content="# My Header 1\nContent for header 1\n",
+ metadata={"Header 1": "My Header 1"},
+ ),
+ Document(
+ page_content="## Header 2\nContent for header 2\n",
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2"},
+ ),
+ Document(
+ page_content="### Header 3\nContent for header 3\n",
+ metadata={
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2",
+ "Header 3": "Header 3",
+ },
+ ),
+ Document(
+ page_content=(
+ "## Header 2 Again\n"
+ "This should be tagged with Header 1 and Header 2 Again\n"
+ ),
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2 Again"},
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content=(
+ "# Header 1 again\nWe should also split on the horizontal line\n"
+ ),
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_split_lines() -> None:
+ """Test experimental markdown syntax splitter."""
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(return_each_line=True)
+ output = markdown_splitter.split_text(EXPERIMENTAL_MARKDOWN_DOCUMENT)
+
+ expected_output = [
+ Document(
+ page_content="Content for header 1", metadata={"Header 1": "My Header 1"}
+ ),
+ Document(
+ page_content="Content for header 2",
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2"},
+ ),
+ Document(
+ page_content="Content for header 3",
+ metadata={
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2",
+ "Header 3": "Header 3",
+ },
+ ),
+ Document(
+ page_content="This should be tagged with Header 1 and Header 2 Again",
+ metadata={"Header 1": "My Header 1", "Header 2": "Header 2 Again"},
+ ),
+ Document(
+ page_content="```python",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content="def func_definition():",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content=" print('Keep the whitespace consistent')",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content="```",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1",
+ "Header 2": "Header 2 Again",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line",
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ Document(
+ page_content="This will be a new doc but with the same header metadata",
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ Document(
+ page_content="And it includes a new paragraph",
+ metadata={"Header 1": "Header 1 again"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+EXPERIMENTAL_MARKDOWN_DOCUMENTS = [
+ (
+ "# My Header 1 From Document 1\n"
+ "Content for header 1 from Document 1\n"
+ "## Header 2 From Document 1\n"
+ "Content for header 2 from Document 1\n"
+ "```python\n"
+ "def func_definition():\n"
+ " print('Keep the whitespace consistent')\n"
+ "```\n"
+ "# Header 1 again From Document 1\n"
+ "We should also split on the horizontal line\n"
+ "----\n"
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ (
+ "# My Header 1 From Document 2\n"
+ "Content for header 1 from Document 2\n"
+ "## Header 2 From Document 2\n"
+ "Content for header 2 from Document 2\n"
+ "```python\n"
+ "def func_definition():\n"
+ " print('Keep the whitespace consistent')\n"
+ "```\n"
+ "# Header 1 again From Document 2\n"
+ "We should also split on the horizontal line\n"
+ "----\n"
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+]
+
+
+def test_experimental_markdown_syntax_text_splitter_on_multi_files() -> None:
+ """Test ExperimentalMarkdownSyntaxTextSplitter on multiple files.
+
+ Test experimental markdown syntax splitter split on default called consecutively
+ on two files.
+ """
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter()
+ output = []
+ for experimental_markdown_document in EXPERIMENTAL_MARKDOWN_DOCUMENTS:
+ output += markdown_splitter.split_text(experimental_markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="Content for header 1 from Document 1\n",
+ metadata={"Header 1": "My Header 1 From Document 1"},
+ ),
+ Document(
+ page_content="Content for header 2 from Document 1\n",
+ metadata={
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="Content for header 1 from Document 2\n",
+ metadata={"Header 1": "My Header 1 From Document 2"},
+ ),
+ Document(
+ page_content="Content for header 2 from Document 2\n",
+ metadata={
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_split_lines_on_multi_files() -> (
+ None
+):
+ """Test ExperimentalMarkdownSyntaxTextSplitter split lines on multiple files.
+
+ Test experimental markdown syntax splitter split on each line called consecutively
+ on two files.
+ """
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(return_each_line=True)
+ output = []
+ for experimental_markdown_document in EXPERIMENTAL_MARKDOWN_DOCUMENTS:
+ output += markdown_splitter.split_text(experimental_markdown_document)
+ expected_output = [
+ Document(
+ page_content="Content for header 1 from Document 1",
+ metadata={"Header 1": "My Header 1 From Document 1"},
+ ),
+ Document(
+ page_content="Content for header 2 from Document 1",
+ metadata={
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="```python",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="def func_definition():",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content=" print('Keep the whitespace consistent')",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="```",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line",
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="This will be a new doc but with the same header metadata",
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="And it includes a new paragraph",
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="Content for header 1 from Document 2",
+ metadata={"Header 1": "My Header 1 From Document 2"},
+ ),
+ Document(
+ page_content="Content for header 2 from Document 2",
+ metadata={
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="```python",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="def func_definition():",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content=" print('Keep the whitespace consistent')",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="```",
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line",
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ Document(
+ page_content="This will be a new doc but with the same header metadata",
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ Document(
+ page_content="And it includes a new paragraph",
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_with_header_on_multi_files() -> (
+ None
+):
+ """Test ExperimentalMarkdownSyntaxTextSplitter with header on multiple files.
+
+ Test experimental markdown splitter by header called consecutively on two files.
+ """
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(strip_headers=False)
+ output = []
+ for experimental_markdown_document in EXPERIMENTAL_MARKDOWN_DOCUMENTS:
+ output += markdown_splitter.split_text(experimental_markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="# My Header 1 From Document 1\n"
+ "Content for header 1 from Document 1\n",
+ metadata={"Header 1": "My Header 1 From Document 1"},
+ ),
+ Document(
+ page_content="## Header 2 From Document 1\n"
+ "Content for header 2 from Document 1\n",
+ metadata={
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 1",
+ "Header 2": "Header 2 From Document 1",
+ },
+ ),
+ Document(
+ page_content="# Header 1 again From Document 1\n"
+ "We should also split on the horizontal line\n",
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="# My Header 1 From Document 2\n"
+ "Content for header 1 from Document 2\n",
+ metadata={"Header 1": "My Header 1 From Document 2"},
+ ),
+ Document(
+ page_content="## Header 2 From Document 2\n"
+ "Content for header 2 from Document 2\n",
+ metadata={
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Header 1": "My Header 1 From Document 2",
+ "Header 2": "Header 2 From Document 2",
+ },
+ ),
+ Document(
+ page_content="# Header 1 again From Document 2\n"
+ "We should also split on the horizontal line\n",
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Header 1": "Header 1 again From Document 2"},
+ ),
+ ]
+ assert output == expected_output
+
+
+def test_experimental_markdown_syntax_text_splitter_header_config_on_multi_files() -> (
+ None
+):
+ """Test ExperimentalMarkdownSyntaxTextSplitter header config on multiple files.
+
+ Test experimental markdown splitter by header configuration called consecutively
+ on two files.
+ """
+ headers_to_split_on = [("#", "Encabezamiento 1")]
+ markdown_splitter = ExperimentalMarkdownSyntaxTextSplitter(
+ headers_to_split_on=headers_to_split_on
+ )
+ output = []
+ for experimental_markdown_document in EXPERIMENTAL_MARKDOWN_DOCUMENTS:
+ output += markdown_splitter.split_text(experimental_markdown_document)
+
+ expected_output = [
+ Document(
+ page_content="Content for header 1 from Document 1\n"
+ "## Header 2 From Document 1\n"
+ "Content for header 2 from Document 1\n",
+ metadata={"Encabezamiento 1": "My Header 1 From Document 1"},
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Encabezamiento 1": "My Header 1 From Document 1",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Encabezamiento 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Encabezamiento 1": "Header 1 again From Document 1"},
+ ),
+ Document(
+ page_content="Content for header 1 from Document 2\n"
+ "## Header 2 From Document 2\n"
+ "Content for header 2 from Document 2\n",
+ metadata={"Encabezamiento 1": "My Header 1 From Document 2"},
+ ),
+ Document(
+ page_content=(
+ "```python\ndef func_definition():\n "
+ "print('Keep the whitespace consistent')\n```\n"
+ ),
+ metadata={
+ "Code": "python",
+ "Encabezamiento 1": "My Header 1 From Document 2",
+ },
+ ),
+ Document(
+ page_content="We should also split on the horizontal line\n",
+ metadata={"Encabezamiento 1": "Header 1 again From Document 2"},
+ ),
+ Document(
+ page_content=(
+ "This will be a new doc but with the same header metadata\n\n"
+ "And it includes a new paragraph"
+ ),
+ metadata={"Encabezamiento 1": "Header 1 again From Document 2"},
+ ),
+ ]
+
+ assert output == expected_output
+
+
+def test_solidity_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.SOL, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """pragma solidity ^0.8.20;
+ contract HelloWorld {
+ function add(uint a, uint b) pure public returns(uint) {
+ return a + b;
+ }
+ }
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "pragma solidity",
+ "^0.8.20;",
+ "contract",
+ "HelloWorld {",
+ "function",
+ "add(uint a,",
+ "uint b) pure",
+ "public",
+ "returns(uint) {",
+ "return a",
+ "+ b;",
+ "}\n }",
+ ]
+
+
+def test_lua_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.LUA, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+local variable = 10
+
+function add(a, b)
+ return a + b
+end
+
+if variable > 5 then
+ for i=1, variable do
+ while i < variable do
+ repeat
+ print(i)
+ i = i + 1
+ until i >= variable
+ end
+ end
+end
+ """
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "local variable",
+ "= 10",
+ "function add(a,",
+ "b)",
+ "return a +",
+ "b",
+ "end",
+ "if variable > 5",
+ "then",
+ "for i=1,",
+ "variable do",
+ "while i",
+ "< variable do",
+ "repeat",
+ "print(i)",
+ "i = i + 1",
+ "until i >=",
+ "variable",
+ "end",
+ "end\nend",
+ ]
+
+
+def test_haskell_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.HASKELL, chunk_size=CHUNK_SIZE, chunk_overlap=0
+ )
+ code = """
+ main :: IO ()
+ main = do
+ putStrLn "Hello, World!"
+
+ -- Some sample functions
+ add :: Int -> Int -> Int
+ add x y = x + y
+ """
+ # Adjusted expected chunks to account for indentation and newlines
+ expected_chunks = [
+ "main ::",
+ "IO ()",
+ "main = do",
+ "putStrLn",
+ '"Hello, World!"',
+ "--",
+ "Some sample",
+ "functions",
+ "add :: Int ->",
+ "Int -> Int",
+ "add x y = x",
+ "+ y",
+ ]
+ chunks = splitter.split_text(code)
+ assert chunks == expected_chunks
+
+
+@pytest.fixture
+def html_header_splitter_splitter_factory() -> Callable[
+ [list[tuple[str, str]]], HTMLHeaderTextSplitter
+]:
+ """Fixture to create an `HTMLHeaderTextSplitter` instance with given headers.
+
+ This factory allows dynamic creation of splitters with different headers.
+
+ Returns:
+ Factory function that takes a list of headers to split on and returns an
+ `HTMLHeaderTextSplitter` instance.
+ """
+
+ def _create_splitter(
+ headers_to_split_on: list[tuple[str, str]],
+ ) -> HTMLHeaderTextSplitter:
+ return HTMLHeaderTextSplitter(headers_to_split_on=headers_to_split_on)
+
+ return _create_splitter
+
+
+@pytest.mark.parametrize(
+ ("headers_to_split_on", "html_input", "expected_documents", "test_case"),
+ [
+ (
+ # Test Case 1: Split on h1 and h2
+ [("h1", "Header 1"), ("h2", "Header 2")],
+ """
+
+
+ Introduction
+ This is the introduction.
+ Background
+ Background information.
+ Conclusion
+ Final thoughts.
+
+
+ """,
+ [
+ Document(
+ page_content="Introduction", metadata={"Header 1": "Introduction"}
+ ),
+ Document(
+ page_content="This is the introduction.",
+ metadata={"Header 1": "Introduction"},
+ ),
+ Document(
+ page_content="Background",
+ metadata={"Header 1": "Introduction", "Header 2": "Background"},
+ ),
+ Document(
+ page_content="Background information.",
+ metadata={"Header 1": "Introduction", "Header 2": "Background"},
+ ),
+ Document(
+ page_content="Conclusion", metadata={"Header 1": "Conclusion"}
+ ),
+ Document(
+ page_content="Final thoughts.", metadata={"Header 1": "Conclusion"}
+ ),
+ ],
+ "Simple headers and paragraphs",
+ ),
+ (
+ # Test Case 2: Nested headers with h1, h2, and h3
+ [("h1", "Header 1"), ("h2", "Header 2"), ("h3", "Header 3")],
+ """
+
+
+
+
Main Title
+
+
Subsection
+
Details of subsection.
+
+
Sub-subsection
+
More details.
+
+
+
+ Another Main Title
+ Content under another main title.
+
+
+ """,
+ [
+ Document(
+ page_content="Main Title", metadata={"Header 1": "Main Title"}
+ ),
+ Document(
+ page_content="Subsection",
+ metadata={"Header 1": "Main Title", "Header 2": "Subsection"},
+ ),
+ Document(
+ page_content="Details of subsection.",
+ metadata={"Header 1": "Main Title", "Header 2": "Subsection"},
+ ),
+ Document(
+ page_content="Sub-subsection",
+ metadata={
+ "Header 1": "Main Title",
+ "Header 2": "Subsection",
+ "Header 3": "Sub-subsection",
+ },
+ ),
+ Document(
+ page_content="More details.",
+ metadata={
+ "Header 1": "Main Title",
+ "Header 2": "Subsection",
+ "Header 3": "Sub-subsection",
+ },
+ ),
+ Document(
+ page_content="Another Main Title",
+ metadata={"Header 1": "Another Main Title"},
+ ),
+ Document(
+ page_content="Content under another main title.",
+ metadata={"Header 1": "Another Main Title"},
+ ),
+ ],
+ "Nested headers with h1, h2, and h3",
+ ),
+ (
+ # Test Case 3: No headers
+ [("h1", "Header 1")],
+ """
+
+
+ Paragraph one.
+ Paragraph two.
+
+
+
+ """,
+ [
+ Document(
+ page_content="Paragraph one. \nParagraph two. \nParagraph three.",
+ metadata={},
+ )
+ ],
+ "No headers present",
+ ),
+ (
+ # Test Case 4: Multiple headers of the same level
+ [("h1", "Header 1")],
+ """
+
+
+ Chapter 1
+ Content of chapter 1.
+ Chapter 2
+ Content of chapter 2.
+ Chapter 3
+ Content of chapter 3.
+
+
+ """,
+ [
+ Document(page_content="Chapter 1", metadata={"Header 1": "Chapter 1"}),
+ Document(
+ page_content="Content of chapter 1.",
+ metadata={"Header 1": "Chapter 1"},
+ ),
+ Document(page_content="Chapter 2", metadata={"Header 1": "Chapter 2"}),
+ Document(
+ page_content="Content of chapter 2.",
+ metadata={"Header 1": "Chapter 2"},
+ ),
+ Document(page_content="Chapter 3", metadata={"Header 1": "Chapter 3"}),
+ Document(
+ page_content="Content of chapter 3.",
+ metadata={"Header 1": "Chapter 3"},
+ ),
+ ],
+ "Multiple headers of the same level",
+ ),
+ (
+ # Test Case 5: Headers with no content
+ [("h1", "Header 1"), ("h2", "Header 2")],
+ """
+
+
+ Header 1
+ Header 2
+ Header 3
+
+
+ """,
+ [
+ Document(page_content="Header 1", metadata={"Header 1": "Header 1"}),
+ Document(
+ page_content="Header 2",
+ metadata={"Header 1": "Header 1", "Header 2": "Header 2"},
+ ),
+ Document(page_content="Header 3", metadata={"Header 1": "Header 3"}),
+ ],
+ "Headers with no associated content",
+ ),
+ ],
+)
+@pytest.mark.requires("bs4")
+def test_html_header_text_splitter(
+ html_header_splitter_splitter_factory: Callable[
+ [list[tuple[str, str]]], HTMLHeaderTextSplitter
+ ],
+ headers_to_split_on: list[tuple[str, str]],
+ html_input: str,
+ expected_documents: list[Document],
+ test_case: str,
+) -> None:
+ """Test the HTML header text splitter.
+
+ Args:
+ html_header_splitter_splitter_factory : Factory function to create the HTML
+ header splitter.
+ headers_to_split_on: List of headers to split on.
+ html_input: The HTML input string to be split.
+ expected_documents: List of expected Document objects.
+ test_case: Description of the test case.
+
+ Raises:
+ AssertionError: If the number of documents or their content/metadata
+ does not match the expected values.
+ """
+ splitter = html_header_splitter_splitter_factory(headers_to_split_on)
+ docs = splitter.split_text(html_input)
+
+ assert len(docs) == len(expected_documents), (
+ f"Test Case '{test_case}' Failed: Number of documents mismatch. "
+ f"Expected {len(expected_documents)}, got {len(docs)}."
+ )
+ for idx, (doc, expected) in enumerate(
+ zip(docs, expected_documents, strict=False), start=1
+ ):
+ assert doc.page_content == expected.page_content, (
+ f"Test Case '{test_case}' Failed at Document {idx}: "
+ f"Content mismatch.\nExpected: {expected.page_content}"
+ "\nGot: {doc.page_content}"
+ )
+ assert doc.metadata == expected.metadata, (
+ f"Test Case '{test_case}' Failed at Document {idx}: "
+ f"Metadata mismatch.\nExpected: {expected.metadata}\nGot: {doc.metadata}"
+ )
+
+
+@pytest.mark.parametrize(
+ ("headers_to_split_on", "html_content", "expected_output", "test_case"),
+ [
+ (
+ # Test Case A: Split on h1 and h2 with h3 in content
+ [("h1", "Header 1"), ("h2", "Header 2"), ("h3", "Header 3")],
+ """
+
+
+
+
+
Foo
+
Some intro text about Foo.
+
+
Bar main section
+
Some intro text about Bar.
+
Bar subsection 1
+
Some text about the first subtopic of Bar.
+
Bar subsection 2
+
Some text about the second subtopic of Bar.
+
+
+
Baz
+
Some text about Baz
+
+
+
Some concluding text about Foo
+
+
+
+ """,
+ [
+ Document(metadata={"Header 1": "Foo"}, page_content="Foo"),
+ Document(
+ metadata={"Header 1": "Foo"},
+ page_content="Some intro text about Foo.",
+ ),
+ Document(
+ metadata={"Header 1": "Foo", "Header 2": "Bar main section"},
+ page_content="Bar main section",
+ ),
+ Document(
+ metadata={"Header 1": "Foo", "Header 2": "Bar main section"},
+ page_content="Some intro text about Bar.",
+ ),
+ Document(
+ metadata={
+ "Header 1": "Foo",
+ "Header 2": "Bar main section",
+ "Header 3": "Bar subsection 1",
+ },
+ page_content="Bar subsection 1",
+ ),
+ Document(
+ metadata={
+ "Header 1": "Foo",
+ "Header 2": "Bar main section",
+ "Header 3": "Bar subsection 1",
+ },
+ page_content="Some text about the first subtopic of Bar.",
+ ),
+ Document(
+ metadata={
+ "Header 1": "Foo",
+ "Header 2": "Bar main section",
+ "Header 3": "Bar subsection 2",
+ },
+ page_content="Bar subsection 2",
+ ),
+ Document(
+ metadata={
+ "Header 1": "Foo",
+ "Header 2": "Bar main section",
+ "Header 3": "Bar subsection 2",
+ },
+ page_content="Some text about the second subtopic of Bar.",
+ ),
+ Document(
+ metadata={"Header 1": "Foo", "Header 2": "Baz"}, page_content="Baz"
+ ),
+ Document(
+ metadata={"Header 1": "Foo"},
+ page_content=(
+ "Some text about Baz \nSome concluding text about Foo"
+ ),
+ ),
+ ],
+ "Test Case A: Split on h1, h2, and h3 with nested headers",
+ ),
+ (
+ # Test Case B: Split on h1 only without any headers
+ [("h1", "Header 1")],
+ """
+
+
+ Paragraph one.
+ Paragraph two.
+ Paragraph three.
+
+
+ """,
+ [
+ Document(
+ metadata={},
+ page_content="Paragraph one. \nParagraph two. \nParagraph three.",
+ )
+ ],
+ "Test Case B: Split on h1 only without any headers",
+ ),
+ ],
+)
+@pytest.mark.requires("bs4")
+def test_additional_html_header_text_splitter(
+ html_header_splitter_splitter_factory: Callable[
+ [list[tuple[str, str]]], HTMLHeaderTextSplitter
+ ],
+ headers_to_split_on: list[tuple[str, str]],
+ html_content: str,
+ expected_output: list[Document],
+ test_case: str,
+) -> None:
+ """Test the HTML header text splitter.
+
+ Args:
+ html_header_splitter_splitter_factory: Factory function to create the HTML
+ header splitter.
+ headers_to_split_on: List of headers to split on.
+ html_content: HTML content to be split.
+ expected_output: Expected list of `Document` objects.
+ test_case: Description of the test case.
+
+ Raises:
+ AssertionError: If the number of documents or their content/metadata
+ does not match the expected output.
+ """
+ splitter = html_header_splitter_splitter_factory(headers_to_split_on)
+ docs = splitter.split_text(html_content)
+
+ assert len(docs) == len(expected_output), (
+ f"{test_case} Failed: Number of documents mismatch. "
+ f"Expected {len(expected_output)}, got {len(docs)}."
+ )
+ for idx, (doc, expected) in enumerate(
+ zip(docs, expected_output, strict=False), start=1
+ ):
+ assert doc.page_content == expected.page_content, (
+ f"{test_case} Failed at Document {idx}: "
+ f"Content mismatch.\nExpected: {expected.page_content}\n"
+ "Got: {doc.page_content}"
+ )
+ assert doc.metadata == expected.metadata, (
+ f"{test_case} Failed at Document {idx}: "
+ f"Metadata mismatch.\nExpected: {expected.metadata}\nGot: {doc.metadata}"
+ )
+
+
+@pytest.mark.parametrize(
+ ("headers_to_split_on", "html_content", "expected_output", "test_case"),
+ [
+ (
+ # Test Case C: Split on h1, h2, and h3 with no headers present
+ [("h1", "Header 1"), ("h2", "Header 2"), ("h3", "Header 3")],
+ """
+
+
+ Just some random text without headers.
+
+ More text here.
+
+
+
+ """,
+ [
+ Document(
+ page_content="Just some random text without headers."
+ " \nMore text here.",
+ metadata={},
+ )
+ ],
+ "Test Case C: Split on h1, h2, and h3 without any headers",
+ )
+ ],
+)
+@pytest.mark.requires("bs4")
+def test_html_no_headers_with_multiple_splitters(
+ html_header_splitter_splitter_factory: Callable[
+ [list[tuple[str, str]]], HTMLHeaderTextSplitter
+ ],
+ headers_to_split_on: list[tuple[str, str]],
+ html_content: str,
+ expected_output: list[Document],
+ test_case: str,
+) -> None:
+ """Test HTML content splitting without headers using multiple splitters.
+
+ Args:
+ html_header_splitter_splitter_factory: Factory to create the HTML header
+ splitter.
+ headers_to_split_on: List of headers to split on.
+ html_content: HTML content to be split.
+ expected_output: Expected list of `Document` objects after splitting.
+ test_case: Description of the test case.
+
+ Raises:
+ AssertionError: If the number of documents or their content/metadata
+ does not match the expected output.
+ """
+ splitter = html_header_splitter_splitter_factory(headers_to_split_on)
+ docs = splitter.split_text(html_content)
+
+ assert len(docs) == len(expected_output), (
+ f"{test_case} Failed: Number of documents mismatch. "
+ f"Expected {len(expected_output)}, got {len(docs)}."
+ )
+ for idx, (doc, expected) in enumerate(
+ zip(docs, expected_output, strict=False), start=1
+ ):
+ assert doc.page_content == expected.page_content, (
+ f"{test_case} Failed at Document {idx}: "
+ f"Content mismatch.\nExpected: {expected.page_content}\n"
+ "Got: {doc.page_content}"
+ )
+ assert doc.metadata == expected.metadata, (
+ f"{test_case} Failed at Document {idx}: "
+ f"Metadata mismatch.\nExpected: {expected.metadata}\nGot: {doc.metadata}"
+ )
+
+
+def test_split_text_on_tokens() -> None:
+ """Test splitting by tokens per chunk."""
+ text = "foo bar baz 123"
+
+ tokenizer = Tokenizer(
+ chunk_overlap=3,
+ tokens_per_chunk=7,
+ decode=(lambda it: "".join(chr(i) for i in it)),
+ encode=(lambda it: [ord(c) for c in it]),
+ )
+ output = split_text_on_tokens(text=text, tokenizer=tokenizer)
+ expected_output = ["foo bar", "bar baz", "baz 123"]
+ assert output == expected_output
+
+
+def test_decode_returns_no_chunks() -> None:
+ """Test that when decode returns only empty strings, output is empty, not ['']."""
+ text = "foo bar baz 123"
+
+ tokenizer = Tokenizer(
+ chunk_overlap=3,
+ tokens_per_chunk=7,
+ decode=(lambda _: ""),
+ encode=(lambda it: [ord(c) for c in it]),
+ )
+ output = split_text_on_tokens(text=text, tokenizer=tokenizer)
+ expected_output: list[Any] = []
+ assert output == expected_output
+
+
+@pytest.mark.requires("bs4")
+@pytest.mark.requires("lxml")
+def test_section_aware_happy_path_splitting_based_on_header_1_2() -> None:
+ # arrange
+ html_string = """
+
+
+
+
Foo
+
Some intro text about Foo.
+
+
Bar main section
+
Some intro text about Bar.
+
Bar subsection 1
+
Some text about the first subtopic of Bar.
+
Bar subsection 2
+
Some text about the second subtopic of Bar.
+
+
+
Baz
+
Some text about Baz
+
+
+
Some concluding text about Foo
+
+
+ """
+
+ sec_splitter = HTMLSectionSplitter(
+ headers_to_split_on=[("h1", "Header 1"), ("h2", "Header 2")]
+ )
+
+ docs = sec_splitter.split_text(html_string)
+
+ assert len(docs) == 3
+ assert docs[0].metadata["Header 1"] == "Foo"
+ assert docs[0].page_content == "Foo \n Some intro text about Foo."
+
+ assert docs[1].page_content == (
+ "Bar main section \n Some intro text about Bar. \n "
+ "Bar subsection 1 \n Some text about the first subtopic of Bar. \n "
+ "Bar subsection 2 \n Some text about the second subtopic of Bar."
+ )
+ assert docs[1].metadata["Header 2"] == "Bar main section"
+
+ assert (
+ docs[2].page_content
+ == "Baz \n Some text about Baz \n \n \n Some concluding text about Foo"
+ )
+ # Baz \n Some text about Baz \n \n \n Some concluding text about Foo
+ # Baz \n Some text about Baz \n \n Some concluding text about Foo
+ assert docs[2].metadata["Header 2"] == "Baz"
+
+
+@pytest.mark.requires("bs4")
+@pytest.mark.requires("lxml")
+def test_happy_path_splitting_based_on_header_with_font_size() -> None:
+ # arrange
+ html_string = """
+
+
+
+
Foo
+
Some intro text about Foo.
+
+
Bar main section
+
Some intro text about Bar.
+
Bar subsection 1
+
Some text about the first subtopic of Bar.
+
Bar subsection 2
+
Some text about the second subtopic of Bar.
+
+
+
Baz
+
Some text about Baz
+
+
+
Some concluding text about Foo
+
+
+ """
+
+ sec_splitter = HTMLSectionSplitter(
+ headers_to_split_on=[("h1", "Header 1"), ("h2", "Header 2")]
+ )
+
+ docs = sec_splitter.split_text(html_string)
+
+ assert len(docs) == 3
+ assert docs[0].page_content == "Foo \n Some intro text about Foo."
+ assert docs[0].metadata["Header 1"] == "Foo"
+
+ assert docs[1].page_content == (
+ "Bar main section \n Some intro text about Bar. \n "
+ "Bar subsection 1 \n Some text about the first subtopic of Bar. \n "
+ "Bar subsection 2 \n Some text about the second subtopic of Bar."
+ )
+ assert docs[1].metadata["Header 2"] == "Bar main section"
+
+ assert docs[2].page_content == (
+ "Baz \n Some text about Baz \n \n \n Some concluding text about Foo"
+ )
+ assert docs[2].metadata["Header 2"] == "Baz"
+
+
+@pytest.mark.requires("bs4")
+@pytest.mark.requires("lxml")
+def test_happy_path_splitting_based_on_header_with_whitespace_chars() -> None:
+ # arrange
+ html_string = """
+
+
+
+
\nFoo
+
Some intro text about Foo.
+
+
Bar main section
+
Some intro text about Bar.
+
Bar subsection 1
+
Some text about the first subtopic of Bar.
+
Bar subsection 2
+
Some text about the second subtopic of Bar.
+
+
+
Baz
+
Some text about Baz
+
+
+
Some concluding text about Foo
+
+
+ """
+
+ sec_splitter = HTMLSectionSplitter(
+ headers_to_split_on=[("h1", "Header 1"), ("h2", "Header 2")]
+ )
+
+ docs = sec_splitter.split_text(html_string)
+
+ assert len(docs) == 3
+ assert docs[0].page_content == "Foo \n Some intro text about Foo."
+ assert docs[0].metadata["Header 1"] == "Foo"
+
+ assert docs[1].page_content == (
+ "Bar main section \n Some intro text about Bar. \n "
+ "Bar subsection 1 \n Some text about the first subtopic of Bar. \n "
+ "Bar subsection 2 \n Some text about the second subtopic of Bar."
+ )
+ assert docs[1].metadata["Header 2"] == "Bar main section"
+
+ assert docs[2].page_content == (
+ "Baz \n Some text about Baz \n \n \n Some concluding text about Foo"
+ )
+ assert docs[2].metadata["Header 2"] == "Baz"
+
+
+@pytest.mark.requires("bs4")
+@pytest.mark.requires("lxml")
+def test_happy_path_splitting_with_duplicate_header_tag() -> None:
+ # arrange
+ html_string = """
+
+
+
+
Foo
+
Some intro text about Foo.
+
+
Bar main section
+
Some intro text about Bar.
+
Bar subsection 1
+
Some text about the first subtopic of Bar.
+
Bar subsection 2
+
Some text about the second subtopic of Bar.
+
+
+
Foo
+
Some text about Baz
+
+
Foo
+
+
Some concluding text about Foo
+
+
+ """
+
+ sec_splitter = HTMLSectionSplitter(
+ headers_to_split_on=[("h1", "Header 1"), ("h2", "Header 2")]
+ )
+
+ docs = sec_splitter.split_text(html_string)
+
+ assert len(docs) == 4
+ assert docs[0].page_content == "Foo \n Some intro text about Foo."
+ assert docs[0].metadata["Header 1"] == "Foo"
+
+ assert docs[1].page_content == (
+ "Bar main section \n Some intro text about Bar. \n "
+ "Bar subsection 1 \n Some text about the first subtopic of Bar. \n "
+ "Bar subsection 2 \n Some text about the second subtopic of Bar."
+ )
+ assert docs[1].metadata["Header 2"] == "Bar main section"
+
+ assert docs[2].page_content == "Foo \n Some text about Baz"
+ assert docs[2].metadata["Header 2"] == "Foo"
+
+ assert docs[3].page_content == "Foo \n \n Some concluding text about Foo"
+ assert docs[3].metadata["Header 1"] == "Foo"
+
+
+def test_split_json() -> None:
+ """Test json text splitter."""
+ max_chunk = 800
+ splitter = RecursiveJsonSplitter(max_chunk_size=max_chunk)
+
+ def random_val() -> str:
+ return "".join(random.choices(string.ascii_letters, k=random.randint(4, 12)))
+
+ test_data: Any = {
+ "val0": random_val(),
+ "val1": {f"val1{i}": random_val() for i in range(100)},
+ }
+ test_data["val1"]["val16"] = {f"val16{i}": random_val() for i in range(100)}
+
+ # uses create_docs and split_text
+ docs = splitter.create_documents(texts=[test_data])
+
+ output = [len(doc.page_content) < max_chunk * 1.05 for doc in docs]
+ expected_output = [True for doc in docs]
+ assert output == expected_output
+
+
+def test_split_json_with_lists() -> None:
+ """Test json text splitter with list conversion."""
+ max_chunk = 800
+ splitter = RecursiveJsonSplitter(max_chunk_size=max_chunk)
+
+ def random_val() -> str:
+ return "".join(random.choices(string.ascii_letters, k=random.randint(4, 12)))
+
+ test_data: Any = {
+ "val0": random_val(),
+ "val1": {f"val1{i}": random_val() for i in range(100)},
+ }
+ test_data["val1"]["val16"] = {f"val16{i}": random_val() for i in range(100)}
+
+ test_data_list: Any = {"testPreprocessing": [test_data]}
+
+ # test text splitter
+ texts = splitter.split_text(json_data=test_data)
+ texts_list = splitter.split_text(json_data=test_data_list, convert_lists=True)
+
+ assert len(texts_list) >= len(texts)
+
+
+def test_split_json_many_calls() -> None:
+ x = {"a": 1, "b": 2}
+ y = {"c": 3, "d": 4}
+
+ splitter = RecursiveJsonSplitter()
+ chunk0 = splitter.split_json(x)
+ assert chunk0 == [{"a": 1, "b": 2}]
+
+ chunk1 = splitter.split_json(y)
+ assert chunk1 == [{"c": 3, "d": 4}]
+
+ # chunk0 is now altered by creating chunk1
+ assert chunk0 == [{"a": 1, "b": 2}]
+
+ chunk0_output = [{"a": 1, "b": 2}]
+ chunk1_output = [{"c": 3, "d": 4}]
+
+ assert chunk0 == chunk0_output
+ assert chunk1 == chunk1_output
+
+
+def test_split_json_with_empty_dict_values() -> None:
+ """Test that empty dicts in JSON values are preserved, not dropped."""
+ splitter = RecursiveJsonSplitter(max_chunk_size=300)
+
+ data: dict[str, Any] = {
+ "a": "hello",
+ "b": {},
+ "c": "world",
+ }
+ chunks = splitter.split_json(data)
+ # Recombine all chunks into a single dict
+ merged: dict[str, Any] = {}
+ for chunk in chunks:
+ merged.update(chunk)
+
+ assert merged == {"a": "hello", "b": {}, "c": "world"}
+
+
+def test_split_json_with_nested_empty_dicts() -> None:
+ """Test that nested empty dicts are preserved."""
+ splitter = RecursiveJsonSplitter(max_chunk_size=300)
+
+ data: dict[str, Any] = {
+ "level1": {
+ "level2a": {},
+ "level2b": "value",
+ }
+ }
+ chunks = splitter.split_json(data)
+ merged: dict[str, Any] = {}
+ for chunk in chunks:
+ merged.update(chunk)
+
+ assert merged == {"level1": {"level2a": {}, "level2b": "value"}}
+
+
+def test_split_json_empty_dict_only() -> None:
+ """Test splitting a JSON that contains only an empty dict at the top level.
+
+ An empty top-level dict should produce a single empty chunk (or no chunks).
+ """
+ splitter = RecursiveJsonSplitter(max_chunk_size=300)
+
+ data: dict[str, Any] = {}
+ chunks = splitter.split_json(data)
+ # With nothing to split, result should be empty list
+ assert chunks == []
+
+
+def test_split_json_mixed_empty_and_nonempty_dicts() -> None:
+ """Test a realistic structure mixing empty and non-empty nested dicts."""
+ splitter = RecursiveJsonSplitter(max_chunk_size=300)
+
+ data: dict[str, Any] = {
+ "config": {},
+ "metadata": {"author": "test", "tags": {}},
+ "content": "some text",
+ }
+ chunks = splitter.split_json(data)
+ merged: dict[str, Any] = {}
+ for chunk in chunks:
+ for k, v in chunk.items():
+ if k in merged and isinstance(merged[k], dict) and isinstance(v, dict):
+ merged[k].update(v)
+ else:
+ merged[k] = v
+
+ assert merged["config"] == {}
+ assert merged["metadata"] == {"author": "test", "tags": {}}
+ assert merged["content"] == "some text"
+
+
+def test_split_json_empty_dict_value_in_large_payload() -> None:
+ """Test that empty dict values survive chunking in a larger payload."""
+ max_chunk = 200
+ splitter = RecursiveJsonSplitter(max_chunk_size=max_chunk)
+
+ data: dict[str, Any] = {
+ "key0": "x" * 50,
+ "empty": {},
+ "key1": "y" * 50,
+ "nested": {f"k{i}": f"v{i}" for i in range(20)},
+ }
+ chunks = splitter.split_json(data)
+
+ # Verify all chunks are within size limits
+ for chunk in chunks:
+ assert len(json.dumps(chunk)) < max_chunk * 1.05
+
+ # Verify the empty dict is somewhere in the chunks
+ found_empty = False
+ for chunk in chunks:
+ # Walk nested structure to find "empty": {}
+ if "empty" in chunk and chunk["empty"] == {}:
+ found_empty = True
+ break
+ for v in chunk.values():
+ if isinstance(v, dict) and "empty" in v and v["empty"] == {}:
+ found_empty = True
+ break
+ assert found_empty, "Empty dict value was lost during splitting"
+
+
+def test_powershell_code_splitter_short_code() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.POWERSHELL, chunk_size=60, chunk_overlap=0
+ )
+ code = """
+# Check if a file exists
+$filePath = "C:\\temp\\file.txt"
+if (Test-Path $filePath) {
+ # File exists
+} else {
+ # File does not exist
+}
+ """
+
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ '# Check if a file exists\n$filePath = "C:\\temp\\file.txt"',
+ "if (Test-Path $filePath) {\n # File exists\n} else {",
+ "# File does not exist\n}",
+ ]
+
+
+def test_powershell_code_splitter_longer_code() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.POWERSHELL, chunk_size=60, chunk_overlap=0
+ )
+ code = """
+# Get a list of all processes and export to CSV
+$processes = Get-Process
+$processes | Export-Csv -Path "C:\\temp\\processes.csv" -NoTypeInformation
+
+# Read the CSV file and display its content
+$csvContent = Import-Csv -Path "C:\\temp\\processes.csv"
+$csvContent | ForEach-Object {
+ $_.ProcessName
+}
+
+# End of script
+ """
+
+ chunks = splitter.split_text(code)
+ assert chunks == [
+ "# Get a list of all processes and export to CSV",
+ "$processes = Get-Process",
+ '$processes | Export-Csv -Path "C:\\temp\\processes.csv"',
+ "-NoTypeInformation",
+ "# Read the CSV file and display its content",
+ '$csvContent = Import-Csv -Path "C:\\temp\\processes.csv"',
+ "$csvContent | ForEach-Object {\n $_.ProcessName\n}",
+ "# End of script",
+ ]
+
+
+FAKE_VISUALBASIC6_TEXT = """
+Option Explicit
+
+Public Function SumTwoIntegers(ByVal a As Integer, ByVal b As Integer) As Integer
+ SumTwoIntegers = a + b
+End Function
+
+Public Sub Main()
+ Dim i As Integer
+ Dim limit As Integer
+
+ i = 0
+ limit = 50
+
+ While i < limit
+ i = SumTwoIntegers(i, 1)
+
+ If i = limit \\ 2 Then
+ MsgBox "Halfway there! i = " & i
+ End If
+ Wend
+
+ MsgBox "Done! Final value of i: " & i
+End Sub
+"""
+
+
+def test_visualbasic6_code_splitter() -> None:
+ splitter = RecursiveCharacterTextSplitter.from_language(
+ Language.VISUALBASIC6,
+ chunk_size=CHUNK_SIZE,
+ chunk_overlap=0,
+ )
+ chunks = splitter.split_text(FAKE_VISUALBASIC6_TEXT)
+
+ assert chunks == [
+ "Option Explicit",
+ "Public Function",
+ "SumTwoIntegers(",
+ "ByVal",
+ "a As Integer,",
+ "ByVal b As",
+ "Integer) As",
+ "Integer",
+ "SumTwoIntegers",
+ "= a + b",
+ "End Function",
+ "Public Sub",
+ "Main()",
+ "Dim i As",
+ "Integer",
+ "Dim limit",
+ "As Integer",
+ "i = 0",
+ "limit = 50",
+ "While i <",
+ "limit",
+ "i =",
+ "SumTwoIntegers(",
+ "i,",
+ "1)",
+ "If i =",
+ "limit \\ 2 Then",
+ 'MsgBox "Halfway',
+ 'there! i = " &',
+ "i",
+ "End If",
+ "Wend",
+ "MsgBox",
+ '"Done! Final',
+ 'value of i: " &',
+ "i",
+ "End Sub",
+ ]
+
+
+def custom_iframe_extractor(iframe_tag: Tag) -> str:
+ iframe_src = iframe_tag.get("src", "")
+ return f"[iframe:{iframe_src}]({iframe_src})"
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_custom_extractor() -> None:
+ """Test HTML splitting with a custom extractor."""
+ html_content = """
+ Section 1
+ This is an iframe:
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ custom_handlers={"iframe": custom_iframe_extractor},
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is an iframe: "
+ "[iframe:http://example.com](http://example.com)",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_href_links() -> None:
+ """Test HTML splitting with href links."""
+ html_content = """
+ Section 1
+ This is a link to example.com
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ preserve_links=True,
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is a link to [example.com](http://example.com)",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_nested_elements() -> None:
+ """Test HTML splitting with nested elements."""
+ html_content = """
+ Main Section
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")], max_chunk_size=1000
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="Some text here. Nested content.",
+ metadata={"Header 1": "Main Section"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_preserved_elements() -> None:
+ """Test HTML splitter with preserved elements.
+
+ Test HTML splitting with preserved elements like , with low chunk
+ size.
+ """
+ html_content = """
+ Section 1
+
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ elements_to_preserve=["table", "ul"],
+ max_chunk_size=50, # Deliberately low to test preservation
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="Row 1 Row 2 Item 1 Item 2",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected # Shouldn't split the table or ul
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_nested_preserved_elements() -> None:
+ """Test HTML splitter with preserved elements nested in containers.
+
+ Test that preserved elements are correctly preserved even when they are
+ nested inside other container elements like or .
+ This is a regression test for issue #31569
+ """
+ html_content = """
+
+ Section 1
+
+ Some context about the data:
+
+ Col1 Col2
+ Data1 Data2
+
+ Conclusion about data.
+
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ elements_to_preserve=["table"],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ # The table should be preserved in the output
+ assert len(documents) == 1
+ content = documents[0].page_content
+ # Check that the table structure is maintained (not flattened)
+ assert "Col1" in content
+ assert "Col2" in content
+ assert "Data1" in content
+ assert "Data2" in content
+ # Check metadata
+ assert documents[0].metadata == {"Header 1": "Section 1"}
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_nested_div_preserved() -> None:
+ """Test HTML splitter preserving nested div elements.
+
+ Nested div elements should be preserved when specified in elements_to_preserve
+ """
+ html_content = """
+
+
Header
+
outer text
+
inner div content
+
more outer text
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ elements_to_preserve=["div"],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ assert len(documents) == 1
+ content = documents[0].page_content
+ # The inner div content should be preserved
+ assert "inner div content" in content
+ assert "outer text" in content
+ assert "more outer text" in content
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_preserve_nested_in_paragraph() -> None:
+ """Test preserving deeply nested elements (code inside paragraph).
+
+ tests the case where a preserved element () is nested
+ inside a non-container element ()
+ """
+ html_content = "
before KEEP_THIS after
"
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[],
+ elements_to_preserve=["code"],
+ )
+ documents = splitter.split_text(html_content)
+
+ assert len(documents) == 1
+ content = documents[0].page_content
+ # All text should be preserved
+ assert "before" in content
+ assert "KEEP_THIS" in content
+ assert "after" in content
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_no_further_splits() -> None:
+ """Test HTML splitting that requires no further splits beyond sections."""
+ html_content = """
+ Section 1
+ Some content here.
+ Section 2
+ More content here.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")], max_chunk_size=1000
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(page_content="Some content here.", metadata={"Header 1": "Section 1"}),
+ Document(page_content="More content here.", metadata={"Header 1": "Section 2"}),
+ ]
+
+ assert documents == expected # No further splits, just sections
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_small_chunk_size() -> None:
+ """Test HTML splitting with a very small chunk size to validate chunking."""
+ html_content = """
+ Section 1
+ This is some long text that should be split into multiple chunks due to the
+ small chunk size.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")], max_chunk_size=20, chunk_overlap=5
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(page_content="This is some long", metadata={"Header 1": "Section 1"}),
+ Document(page_content="long text that", metadata={"Header 1": "Section 1"}),
+ Document(page_content="that should be", metadata={"Header 1": "Section 1"}),
+ Document(page_content="be split into", metadata={"Header 1": "Section 1"}),
+ Document(page_content="into multiple", metadata={"Header 1": "Section 1"}),
+ Document(page_content="chunks due to the", metadata={"Header 1": "Section 1"}),
+ Document(page_content="the small chunk", metadata={"Header 1": "Section 1"}),
+ Document(page_content="size.", metadata={"Header 1": "Section 1"}),
+ ]
+
+ assert documents == expected # Should split into multiple chunks
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_denylist_tags() -> None:
+ """Test HTML splitting with denylist tag filtering."""
+ html_content = """
+ Section 1
+ This paragraph should be kept.
+ This span should be removed.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ denylist_tags=["span"],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This paragraph should be kept.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_external_metadata() -> None:
+ """Test HTML splitting with external metadata integration."""
+ html_content = """
+ Section 1
+ This is some content.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ external_metadata={"source": "example.com"},
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some content.",
+ metadata={"Header 1": "Section 1", "source": "example.com"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_text_normalization() -> None:
+ """Test HTML splitting with text normalization."""
+ html_content = """
+ Section 1
+ This is some TEXT that should be normalized!
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ normalize_text=True,
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="this is some text that should be normalized",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_allowlist_tags() -> None:
+ """Test HTML splitting with allowlist tag filtering."""
+ html_content = """
+ Section 1
+ This paragraph should be kept.
+ This span should be kept.
+ This div should be removed.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ allowlist_tags=["p", "span"],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This paragraph should be kept. This span should be kept.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_mixed_preserve_and_filter() -> None:
+ """Test HTML splitting with both preserved elements and denylist tags."""
+ html_content = """
+ Section 1
+
+
+ Keep this table
+ Cell contents kept, span removed
+ This span should be removed.
+
+
+
+ This paragraph should be kept.
+ This span should be removed.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ elements_to_preserve=["table"],
+ denylist_tags=["span"],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="Keep this table Cell contents kept, span removed"
+ " This paragraph should be kept.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_no_headers() -> None:
+ """Test HTML splitting when there are no headers to split on."""
+ html_content = """
+ This is content without any headers.
+ It should still produce a valid document.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[],
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is content without any headers. It should still produce"
+ " a valid document.",
+ metadata={},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_with_media_preservation() -> None:
+ """Test HTML splitter with media preservation.
+
+ Test HTML splitting with media elements preserved and converted to Markdown-like
+ links.
+ """
+ html_content = """
+ Section 1
+ This is an image:
+
+ This is a video:
+
+ This is audio:
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ preserve_images=True,
+ preserve_videos=True,
+ preserve_audio=True,
+ max_chunk_size=1000,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is an image: ![image:http://example.com/image.png]"
+ "(http://example.com/image.png) "
+ "This is a video: ![video:http://example.com/video.mp4]"
+ "(http://example.com/video.mp4) "
+ "This is audio: ![audio:http://example.com/audio.mp3]"
+ "(http://example.com/audio.mp3)",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_keep_separator_true() -> None:
+ """Test HTML splitting with keep_separator=True."""
+ html_content = """
+ Section 1
+ This is some text. This is some other text.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ max_chunk_size=10,
+ separators=[". "],
+ keep_separator=True,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some text",
+ metadata={"Header 1": "Section 1"},
+ ),
+ Document(
+ page_content=". This is some other text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_keep_separator_false() -> None:
+ """Test HTML splitting with keep_separator=False."""
+ html_content = """
+ Section 1
+ This is some text. This is some other text.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ max_chunk_size=10,
+ separators=[". "],
+ keep_separator=False,
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some text",
+ metadata={"Header 1": "Section 1"},
+ ),
+ Document(
+ page_content="This is some other text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_keep_separator_start() -> None:
+ """Test HTML splitting with keep_separator="start"."""
+ html_content = """
+ Section 1
+ This is some text. This is some other text.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ max_chunk_size=10,
+ separators=[". "],
+ keep_separator="start",
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some text",
+ metadata={"Header 1": "Section 1"},
+ ),
+ Document(
+ page_content=". This is some other text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_keep_separator_end() -> None:
+ """Test HTML splitting with keep_separator="end"."""
+ html_content = """
+ Section 1
+ This is some text. This is some other text.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ max_chunk_size=10,
+ separators=[". "],
+ keep_separator="end",
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ Document(
+ page_content="This is some other text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_keep_separator_default() -> None:
+ """Test HTML splitting with keep_separator not set."""
+ html_content = """
+ Section 1
+ This is some text. This is some other text.
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ max_chunk_size=10,
+ separators=[". "],
+ )
+ documents = splitter.split_text(html_content)
+
+ expected = [
+ Document(
+ page_content="This is some text",
+ metadata={"Header 1": "Section 1"},
+ ),
+ Document(
+ page_content=". This is some other text.",
+ metadata={"Header 1": "Section 1"},
+ ),
+ ]
+
+ assert documents == expected
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_preserved_elements_reverse_order() -> None:
+ """Test HTML splitter with preserved elements and conflicting placeholders.
+
+ This test validates that preserved elements are reinserted in reverse order
+ to prevent conflicts when one placeholder might be a substring of another.
+ """
+ html_content = """
+ Section 1
+
+ Some text between tables
+
+
+ List item 1
+ List item 10
+
+ """
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[("h1", "Header 1")],
+ elements_to_preserve=["table", "ul"],
+ max_chunk_size=100,
+ )
+ documents = splitter.split_text(html_content)
+
+ # Verify that all preserved elements are correctly reinserted
+ # This would fail if placeholders were processed in forward order
+ # when one placeholder is a substring of another
+ assert len(documents) >= 1
+ # Check that table content is preserved
+ content = " ".join(doc.page_content for doc in documents)
+ assert "Table 1 content" in content
+ assert "Table 10 content" in content
+ assert "List item 1" in content
+ assert "List item 10" in content
+
+
+@pytest.mark.requires("bs4")
+def test_html_splitter_replacement_order() -> None:
+ body = textwrap.dedent(
+ """
+ Hello1
+ Hello2
+ Hello3
+ Hello4
+ Hello5
+ Hello6
+ Hello7
+ Hello8
+ Hello9
+ Hello10
+ Hello11
+ Hello12
+ Hello13
+ Hello14
+ """
+ )
+
+ with suppress_langchain_beta_warning():
+ splitter = HTMLSemanticPreservingSplitter(
+ headers_to_split_on=[],
+ elements_to_preserve=["p"],
+ )
+ documents = splitter.split_text(body)
+ assert len(documents) == 1
+ content = documents[0].page_content
+ assert content == " ".join([f"Hello{i}" for i in range(1, 15)])
+
+
+def test_character_text_splitter_discard_regex_separator_on_merge() -> None:
+ """Test that regex lookahead separator is not re-inserted when merging."""
+ text = "SCE191 First chunk. SCE103 Second chunk."
+ splitter = CharacterTextSplitter(
+ separator=r"(?=SCE\d{3})",
+ is_separator_regex=True,
+ chunk_size=200,
+ chunk_overlap=0,
+ keep_separator=False,
+ )
+ output = splitter.split_text(text)
+ assert output == ["SCE191 First chunk. SCE103 Second chunk."]
+
+
+@pytest.mark.parametrize(
+ ("separator", "is_regex", "text", "chunk_size", "expected"),
+ [
+ # 1) regex lookaround & split happens
+ # "abcmiddef" split by "(?<=mid)" → ["abcmid","def"], chunk_size=5 keeps both
+ (r"(?<=mid)", True, "abcmiddef", 5, ["abcmid", "def"]),
+ # 2) regex lookaround & no split
+ # chunk_size=100 merges back into ["abcmiddef"]
+ (r"(?<=mid)", True, "abcmiddef", 100, ["abcmiddef"]),
+ # 3) literal separator & split happens
+ # split on "mid" → ["abc","def"], chunk_size=3 keeps both
+ ("mid", False, "abcmiddef", 3, ["abc", "def"]),
+ # 4) literal separator & no split
+ # chunk_size=100 merges back into ["abcmiddef"]
+ ("mid", False, "abcmiddef", 100, ["abcmiddef"]),
+ ],
+)
+def test_character_text_splitter_chunk_size_effect(
+ separator: str,
+ *,
+ is_regex: bool,
+ text: str,
+ chunk_size: int,
+ expected: list[str],
+) -> None:
+ splitter = CharacterTextSplitter(
+ separator=separator,
+ is_separator_regex=is_regex,
+ chunk_size=chunk_size,
+ chunk_overlap=0,
+ keep_separator=False,
+ )
+ assert splitter.split_text(text) == expected
diff --git a/western_ai/usa/langchain/libs/text-splitters/uv.lock b/western_ai/usa/langchain/libs/text-splitters/uv.lock
new file mode 100644
index 0000000000000000000000000000000000000000..b36dafc8dcabba167808c2249a93ba512729404c
--- /dev/null
+++ b/western_ai/usa/langchain/libs/text-splitters/uv.lock
@@ -0,0 +1,4806 @@
+version = 1
+revision = 3
+requires-python = ">=3.10.0, <4.0.0"
+resolution-markers = [
+ "python_full_version >= '3.15'",
+ "python_full_version == '3.14.*'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
+ "python_full_version == '3.11.*'",
+ "python_full_version < '3.11'",
+]
+
+[manifest]
+constraints = [{ name = "pygments", specifier = ">=2.20.0" }]
+
+[[package]]
+name = "annotated-doc"
+version = "0.0.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288, upload-time = "2025-11-10T22:07:42.062Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303, upload-time = "2025-11-10T22:07:40.673Z" },
+]
+
+[[package]]
+name = "annotated-types"
+version = "0.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081, upload-time = "2024-05-20T21:33:25.928Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643, upload-time = "2024-05-20T21:33:24.1Z" },
+]
+
+[[package]]
+name = "anyio"
+version = "4.11.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "exceptiongroup", marker = "python_full_version < '3.11'" },
+ { name = "idna" },
+ { name = "sniffio" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c6/78/7d432127c41b50bccba979505f272c16cbcadcc33645d5fa3a738110ae75/anyio-4.11.0.tar.gz", hash = "sha256:82a8d0b81e318cc5ce71a5f1f8b5c4e63619620b63141ef8c995fa0db95a57c4", size = 219094, upload-time = "2025-09-23T09:19:12.58Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/15/b3/9b1a8074496371342ec1e796a96f99c82c945a339cd81a8e73de28b4cf9e/anyio-4.11.0-py3-none-any.whl", hash = "sha256:0287e96f4d26d4149305414d4e3bc32f0dcd0862365a4bddea19d7a1ec38c4fc", size = 109097, upload-time = "2025-09-23T09:19:10.601Z" },
+]
+
+[[package]]
+name = "appnope"
+version = "0.1.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/35/5d/752690df9ef5b76e169e68d6a129fa6d08a7100ca7f754c89495db3c6019/appnope-0.1.4.tar.gz", hash = "sha256:1de3860566df9caf38f01f86f65e0e13e379af54f9e4bee1e66b48f2efffd1ee", size = 4170, upload-time = "2024-02-06T09:43:11.258Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/81/29/5ecc3a15d5a33e31b26c11426c45c501e439cb865d0bff96315d86443b78/appnope-0.1.4-py2.py3-none-any.whl", hash = "sha256:502575ee11cd7a28c0205f379b525beefebab9d161b7c964670864014ed7213c", size = 4321, upload-time = "2024-02-06T09:43:09.663Z" },
+]
+
+[[package]]
+name = "argon2-cffi"
+version = "25.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "argon2-cffi-bindings" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/0e/89/ce5af8a7d472a67cc819d5d998aa8c82c5d860608c4db9f46f1162d7dab9/argon2_cffi-25.1.0.tar.gz", hash = "sha256:694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1", size = 45706, upload-time = "2025-06-03T06:55:32.073Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4f/d3/a8b22fa575b297cd6e3e3b0155c7e25db170edf1c74783d6a31a2490b8d9/argon2_cffi-25.1.0-py3-none-any.whl", hash = "sha256:fdc8b074db390fccb6eb4a3604ae7231f219aa669a2652e0f20e16ba513d5741", size = 14657, upload-time = "2025-06-03T06:55:30.804Z" },
+]
+
+[[package]]
+name = "argon2-cffi-bindings"
+version = "25.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cffi" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5c/2d/db8af0df73c1cf454f71b2bbe5e356b8c1f8041c979f505b3d3186e520a9/argon2_cffi_bindings-25.1.0.tar.gz", hash = "sha256:b957f3e6ea4d55d820e40ff76f450952807013d361a65d7f28acc0acbf29229d", size = 1783441, upload-time = "2025-07-30T10:02:05.147Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/60/97/3c0a35f46e52108d4707c44b95cfe2afcafc50800b5450c197454569b776/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:3d3f05610594151994ca9ccb3c771115bdb4daef161976a266f0dd8aa9996b8f", size = 54393, upload-time = "2025-07-30T10:01:40.97Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/f4/98bbd6ee89febd4f212696f13c03ca302b8552e7dbf9c8efa11ea4a388c3/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8b8efee945193e667a396cbc7b4fb7d357297d6234d30a489905d96caabde56b", size = 29328, upload-time = "2025-07-30T10:01:41.916Z" },
+ { url = "https://files.pythonhosted.org/packages/43/24/90a01c0ef12ac91a6be05969f29944643bc1e5e461155ae6559befa8f00b/argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:3c6702abc36bf3ccba3f802b799505def420a1b7039862014a65db3205967f5a", size = 31269, upload-time = "2025-07-30T10:01:42.716Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/d3/942aa10782b2697eee7af5e12eeff5ebb325ccfb86dd8abda54174e377e4/argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a1c70058c6ab1e352304ac7e3b52554daadacd8d453c1752e547c76e9c99ac44", size = 86558, upload-time = "2025-07-30T10:01:43.943Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/82/b484f702fec5536e71836fc2dbc8c5267b3f6e78d2d539b4eaa6f0db8bf8/argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e2fd3bfbff3c5d74fef31a722f729bf93500910db650c925c2d6ef879a7e51cb", size = 92364, upload-time = "2025-07-30T10:01:44.887Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/c1/a606ff83b3f1735f3759ad0f2cd9e038a0ad11a3de3b6c673aa41c24bb7b/argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c4f9665de60b1b0e99bcd6be4f17d90339698ce954cfd8d9cf4f91c995165a92", size = 85637, upload-time = "2025-07-30T10:01:46.225Z" },
+ { url = "https://files.pythonhosted.org/packages/44/b4/678503f12aceb0262f84fa201f6027ed77d71c5019ae03b399b97caa2f19/argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ba92837e4a9aa6a508c8d2d7883ed5a8f6c308c89a4790e1e447a220deb79a85", size = 91934, upload-time = "2025-07-30T10:01:47.203Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/c7/f36bd08ef9bd9f0a9cff9428406651f5937ce27b6c5b07b92d41f91ae541/argon2_cffi_bindings-25.1.0-cp314-cp314t-win32.whl", hash = "sha256:84a461d4d84ae1295871329b346a97f68eade8c53b6ed9a7ca2d7467f3c8ff6f", size = 28158, upload-time = "2025-07-30T10:01:48.341Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/80/0106a7448abb24a2c467bf7d527fe5413b7fdfa4ad6d6a96a43a62ef3988/argon2_cffi_bindings-25.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b55aec3565b65f56455eebc9b9f34130440404f27fe21c3b375bf1ea4d8fbae6", size = 32597, upload-time = "2025-07-30T10:01:49.112Z" },
+ { url = "https://files.pythonhosted.org/packages/05/b8/d663c9caea07e9180b2cb662772865230715cbd573ba3b5e81793d580316/argon2_cffi_bindings-25.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:87c33a52407e4c41f3b70a9c2d3f6056d88b10dad7695be708c5021673f55623", size = 28231, upload-time = "2025-07-30T10:01:49.92Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/57/96b8b9f93166147826da5f90376e784a10582dd39a393c99bb62cfcf52f0/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:aecba1723ae35330a008418a91ea6cfcedf6d31e5fbaa056a166462ff066d500", size = 54121, upload-time = "2025-07-30T10:01:50.815Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/08/a9bebdb2e0e602dde230bdde8021b29f71f7841bd54801bcfd514acb5dcf/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:2630b6240b495dfab90aebe159ff784d08ea999aa4b0d17efa734055a07d2f44", size = 29177, upload-time = "2025-07-30T10:01:51.681Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/02/d297943bcacf05e4f2a94ab6f462831dc20158614e5d067c35d4e63b9acb/argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:7aef0c91e2c0fbca6fc68e7555aa60ef7008a739cbe045541e438373bc54d2b0", size = 31090, upload-time = "2025-07-30T10:01:53.184Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/93/44365f3d75053e53893ec6d733e4a5e3147502663554b4d864587c7828a7/argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e021e87faa76ae0d413b619fe2b65ab9a037f24c60a1e6cc43457ae20de6dc6", size = 81246, upload-time = "2025-07-30T10:01:54.145Z" },
+ { url = "https://files.pythonhosted.org/packages/09/52/94108adfdd6e2ddf58be64f959a0b9c7d4ef2fa71086c38356d22dc501ea/argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d3e924cfc503018a714f94a49a149fdc0b644eaead5d1f089330399134fa028a", size = 87126, upload-time = "2025-07-30T10:01:55.074Z" },
+ { url = "https://files.pythonhosted.org/packages/72/70/7a2993a12b0ffa2a9271259b79cc616e2389ed1a4d93842fac5a1f923ffd/argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c87b72589133f0346a1cb8d5ecca4b933e3c9b64656c9d175270a000e73b288d", size = 80343, upload-time = "2025-07-30T10:01:56.007Z" },
+ { url = "https://files.pythonhosted.org/packages/78/9a/4e5157d893ffc712b74dbd868c7f62365618266982b64accab26bab01edc/argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:1db89609c06afa1a214a69a462ea741cf735b29a57530478c06eb81dd403de99", size = 86777, upload-time = "2025-07-30T10:01:56.943Z" },
+ { url = "https://files.pythonhosted.org/packages/74/cd/15777dfde1c29d96de7f18edf4cc94c385646852e7c7b0320aa91ccca583/argon2_cffi_bindings-25.1.0-cp39-abi3-win32.whl", hash = "sha256:473bcb5f82924b1becbb637b63303ec8d10e84c8d241119419897a26116515d2", size = 27180, upload-time = "2025-07-30T10:01:57.759Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/c6/a759ece8f1829d1f162261226fbfd2c6832b3ff7657384045286d2afa384/argon2_cffi_bindings-25.1.0-cp39-abi3-win_amd64.whl", hash = "sha256:a98cd7d17e9f7ce244c0803cad3c23a7d379c301ba618a5fa76a67d116618b98", size = 31715, upload-time = "2025-07-30T10:01:58.56Z" },
+ { url = "https://files.pythonhosted.org/packages/42/b9/f8d6fa329ab25128b7e98fd83a3cb34d9db5b059a9847eddb840a0af45dd/argon2_cffi_bindings-25.1.0-cp39-abi3-win_arm64.whl", hash = "sha256:b0fdbcf513833809c882823f98dc2f931cf659d9a1429616ac3adebb49f5db94", size = 27149, upload-time = "2025-07-30T10:01:59.329Z" },
+ { url = "https://files.pythonhosted.org/packages/11/2d/ba4e4ca8d149f8dcc0d952ac0967089e1d759c7e5fcf0865a317eb680fbb/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:6dca33a9859abf613e22733131fc9194091c1fa7cb3e131c143056b4856aa47e", size = 24549, upload-time = "2025-07-30T10:02:00.101Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/82/9b2386cc75ac0bd3210e12a44bfc7fd1632065ed8b80d573036eecb10442/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:21378b40e1b8d1655dd5310c84a40fc19a9aa5e6366e835ceb8576bf0fea716d", size = 25539, upload-time = "2025-07-30T10:02:00.929Z" },
+ { url = "https://files.pythonhosted.org/packages/31/db/740de99a37aa727623730c90d92c22c9e12585b3c98c54b7960f7810289f/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5d588dec224e2a83edbdc785a5e6f3c6cd736f46bfd4b441bbb5aa1f5085e584", size = 28467, upload-time = "2025-07-30T10:02:02.08Z" },
+ { url = "https://files.pythonhosted.org/packages/71/7a/47c4509ea18d755f44e2b92b7178914f0c113946d11e16e626df8eaa2b0b/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5acb4e41090d53f17ca1110c3427f0a130f944b896fc8c83973219c97f57b690", size = 27355, upload-time = "2025-07-30T10:02:02.867Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/82/82745642d3c46e7cea25e1885b014b033f4693346ce46b7f47483cf5d448/argon2_cffi_bindings-25.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:da0c79c23a63723aa5d782250fbf51b768abca630285262fb5144ba5ae01e520", size = 29187, upload-time = "2025-07-30T10:02:03.674Z" },
+]
+
+[[package]]
+name = "arrow"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "python-dateutil" },
+ { name = "types-python-dateutil" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2e/00/0f6e8fcdb23ea632c866620cc872729ff43ed91d284c866b515c6342b173/arrow-1.3.0.tar.gz", hash = "sha256:d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85", size = 131960, upload-time = "2023-09-30T22:11:18.25Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f8/ed/e97229a566617f2ae958a6b13e7cc0f585470eac730a73e9e82c32a3cdd2/arrow-1.3.0-py3-none-any.whl", hash = "sha256:c728b120ebc00eb84e01882a6f5e7927a53960aa990ce7dd2b10f39005a67f80", size = 66419, upload-time = "2023-09-30T22:11:16.072Z" },
+]
+
+[[package]]
+name = "ast-serialize"
+version = "0.5.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/81/9d/09e27731bd5864a9ce04e3244074e674bb8936bf62b45e0357248717adac/ast_serialize-0.5.0.tar.gz", hash = "sha256:5880091bfe6f4f986f22866375c2e884843e7a0b6343ae41aeea659613d879b6", size = 61157, upload-time = "2026-05-17T17:48:29.429Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c0/9a/13dde51ba9e15f8b97957ab7cb0120d0e381524d651c6bd630b9c359227f/ast_serialize-0.5.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:8f5c14f169eb0972c0c21bada5358b23d6047c76583b005234f865b11f1fa00a", size = 1183520, upload-time = "2026-05-17T17:47:30.831Z" },
+ { url = "https://files.pythonhosted.org/packages/37/de/5a7f0a9fe68944f536632a5af84676739c7d2582be42deb082634bf3a754/ast_serialize-0.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7d1a2de9de5be04652f0ed60738356ef94f66db37924a9499fffe98dc491aa0b", size = 1175779, upload-time = "2026-05-17T17:47:32.551Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/81/0bb853e76e4f6e9a1855d569003c59e19ffac45f7079d91505d1bb212f92/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:be5173fb66f9b49026d9d5a2ff0fc7c7009077107c0eb285b2d60fdf1fe10bd1", size = 1233750, upload-time = "2026-05-17T17:47:34.731Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/d3/4cf705beeccc08754d0bbda99aefff26110e209b9a07ac8a6b60eec48531/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f8015cd071ac1339924ee2b8098c93e00e155f30a16f40ec9816fcf84f4753f6", size = 1235942, upload-time = "2026-05-17T17:47:36.287Z" },
+ { url = "https://files.pythonhosted.org/packages/26/c8/ee097e437ea27dd2b8b227865c875492b585650a5802a22d82b304c8201b/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5499e8797edff2a9186aa313ed382c6b422e798e9332d9953badcee6e69a88f2", size = 1442517, upload-time = "2026-05-17T17:47:38.17Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/bd/68063442838f1ba68ec72b5436430bc75b3bb17a1a3c3063f09b0c05ae2b/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6848f2a093fb5548751a9a09bff8fcd229e2bbeb0e3331f391b6ae6d26cd9903", size = 1254081, upload-time = "2026-05-17T17:47:39.826Z" },
+ { url = "https://files.pythonhosted.org/packages/50/e2/1e520793bc6a4e4524a6ab022391e827825eaa0c3811828bfdc6852eca26/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:832d4c998e0b091fd60a6d6bceee535483c4d490de9ba85003af835225719261", size = 1259910, upload-time = "2026-05-17T17:47:41.369Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/e1/49b60f467979979cfe6913b43948ff25bca971ad0591d181812f163a988e/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:16db7c62ec0b8efe1d7afd283a388d8f74f2605d56032e5a37747d2de8dba027", size = 1250678, upload-time = "2026-05-17T17:47:43.702Z" },
+ { url = "https://files.pythonhosted.org/packages/74/ba/66ab9555de6275677566f6574e5ef6c29cb185ea866f643bc06f8280a8ee/ast_serialize-0.5.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:baf5eb061eb5bccade4128ad42da33787d72f6013809cd1b590376ece8b3c937", size = 1301603, upload-time = "2026-05-17T17:47:46.256Z" },
+ { url = "https://files.pythonhosted.org/packages/66/42/6aca9b9abc710014b2be9059689e5dd1679339e78f567ffb4d255a9e2050/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:104e4a35bd7c124173c41760ef9aaea17ddb3f86c65cb643671d59afbe3ee94c", size = 1410332, upload-time = "2026-05-17T17:47:47.899Z" },
+ { url = "https://files.pythonhosted.org/packages/47/68/2f76594432a22581ecf878b5e75a9b8601c24b2241cf0bbeb1e21fcf370c/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:36be371028fc1675acb38a331bde160dbab7ff907fdf00b67eb6911aa106951b", size = 1509979, upload-time = "2026-05-17T17:47:50.942Z" },
+ { url = "https://files.pythonhosted.org/packages/40/ac/a93c9b58292653f6c595752f677a08e608f903b710594909e9231a389b3b/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:061ee58bdb52341c8201a6df41182a977736bae3b7ded87ca7176ca25a8a47ab", size = 1505002, upload-time = "2026-05-17T17:47:54.093Z" },
+ { url = "https://files.pythonhosted.org/packages/14/2e/b278f68c497ee2f1d1576cbbef8db5281cd4a5f2db040537592ac9c8862e/ast_serialize-0.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b15219e9cdc9f53f6f4cb51c009203507228226148c05c5e8fe451c28b435eb3", size = 1456231, upload-time = "2026-05-17T17:47:56.311Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/43/419be1c566a4c504cd8fd60ce2f84e790f295495c0f327cfaeadf3d51012/ast_serialize-0.5.0-cp314-cp314t-win32.whl", hash = "sha256:842d1c004bb466c7df036f95fabef789570541922b10976b12f5592a69cf0b38", size = 1058668, upload-time = "2026-05-17T17:47:58.305Z" },
+ { url = "https://files.pythonhosted.org/packages/03/6f/c9d4d549295ed05111aeb8853232d1afd9d0a179fddb01eeffbb3a4a6842/ast_serialize-0.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b0c06d760909b095cc466356dfccd05a1c7233a6ca191c020dca2c6a6f16c24c", size = 1101075, upload-time = "2026-05-17T17:48:00.35Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/8e/d00c5ab30c58222e07d62956fca86c59d91b9ad32997e633c38b526623a3/ast_serialize-0.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:787baedb0262cc49e8ce37cc15c00ae818e46a165a3b36f5e21ed174998104cb", size = 1075347, upload-time = "2026-05-17T17:48:01.753Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/9e/dc2530acb3a60dc6e46d65abf27d1d9f86721694757906a148d90a6860de/ast_serialize-0.5.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:0668aa9459cfa8c9c49ddd2163ebcf43088ba045ef7492af6fe22e0098303101", size = 1191380, upload-time = "2026-05-17T17:48:03.738Z" },
+ { url = "https://files.pythonhosted.org/packages/26/0a/bd3d18a582f273d6c843d16bb9e22e9e16365ff7991e92f18f798e9f1224/ast_serialize-0.5.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:bf683d6363edf2b39eed6b6d4fe22d34b6203867a67e27134d9e2a2680c4bc4a", size = 1183879, upload-time = "2026-05-17T17:48:05.463Z" },
+ { url = "https://files.pythonhosted.org/packages/40/ae/1f919100f8620887af58fcc381c61a1f218cdf89c6e155f87b213e61010a/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9cc22cf0c9be65e71cf88fda130af60d61eb4a79370ad4cfe7900d48a4aa2211", size = 1244529, upload-time = "2026-05-17T17:48:07.008Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/ca/6376559dcce707cdbc1d0d9a13c8d3baaaa501e949ce0ebdc4230cd881aa/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f66173891548c9f2726bf27957b41cabce12fa679dc6da505ddbde4d4b3b31cf", size = 1240560, upload-time = "2026-05-17T17:48:08.46Z" },
+ { url = "https://files.pythonhosted.org/packages/35/b2/a620e206b5aeb7efbf2710336df57d457cffbb3991076bbcc1147ef9abd4/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e42d729ef2be96a14efbad355093284739e3670ece3e534f82cc8832790911d9", size = 1451172, upload-time = "2026-05-17T17:48:09.922Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/e0/4ad5c04c24a40481b2935ce9a0ccdb6023dc8b667167d06ae530cc3512f2/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b725026bafa801dbd7310eb13a75f0a2e370e7e51b2cb225f9d21fcfadf919ee", size = 1265072, upload-time = "2026-05-17T17:48:11.469Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/71/4d1d479aa56d0101c40e17720c3d6ac2af7269ea0487a80b18e7bfd1a5b7/ast_serialize-0.5.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b54f60c1d78767a53b67eaa663f0dfac3afe606aa07f1301572f588b73d64809", size = 1270488, upload-time = "2026-05-17T17:48:13.575Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/4f/0de1bbe06f6edef9fde4ed12ca8e7b3ec7e6e2bd4e672c5af487f7957665/ast_serialize-0.5.0-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:27d51654fc240a1e87e742d353d98eb45b75f62f129086b3596ab53df2ac2a43", size = 1260702, upload-time = "2026-05-17T17:48:15.141Z" },
+ { url = "https://files.pythonhosted.org/packages/75/61/e00872439cfdddcc3c1b6cdaa6e5d904ba8e26a18807c67c4e14409d0ca8/ast_serialize-0.5.0-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2782c36237c46dd1674542f2109740ea5ea485a169bf1431939ada0434e17934", size = 1311182, upload-time = "2026-05-17T17:48:16.779Z" },
+ { url = "https://files.pythonhosted.org/packages/76/8e/699a5b955f7926956c95e9e1d74132acad73c2fe7a426f94da89123c20aa/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1943db345233cc7194a470f13afa9c59772c0b123dea0c9414c4d4ca54369759", size = 1421410, upload-time = "2026-05-17T17:48:18.527Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/ae/d5b7626874478997adc7a29ab28accf21e596fb590c944290401dfd0b29e/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:df1c00022cbbcb064bfaa505aa9c9295362443ce5dacb459d1331d3da353f887", size = 1516587, upload-time = "2026-05-17T17:48:20.133Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/ce/b59e02a82d9c4244d64cde502e0b00e83e38816abe19155ceb5437402c7f/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:cae65289fc456fde04af979a2be09302ef5d8ab92ef23e596d6746dc267ada27", size = 1515171, upload-time = "2026-05-17T17:48:21.921Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/38/d8d90042747d05aa08d4efcf1c99035a5f670a6bf4c214d31644392afbca/ast_serialize-0.5.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:239a4c354e8d676e9d94631d1d4a64edc6b266f86ff3a5a80aedd344f342c01d", size = 1464668, upload-time = "2026-05-17T17:48:23.544Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/51/5b840c4df7334104cecffa28f23904fe81ca89ca223d2450e288de39fd3c/ast_serialize-0.5.0-cp39-abi3-win32.whl", hash = "sha256:143a4ef63285a075871908fda3672dc21864b83a8ec3ee12304aa3e4c5387b9a", size = 1068311, upload-time = "2026-05-17T17:48:25.027Z" },
+ { url = "https://files.pythonhosted.org/packages/41/11/ca5672c7d491825bc4cd6702dea106a6b60d928707712ec257c7833ae476/ast_serialize-0.5.0-cp39-abi3-win_amd64.whl", hash = "sha256:cf25572c526add400f26a4750dc6ce0c3bb93fc1f75e7ae0cad4ce4f2cd5c590", size = 1108931, upload-time = "2026-05-17T17:48:26.591Z" },
+ { url = "https://files.pythonhosted.org/packages/45/19/cc8bd127d28a43da249aa955cfd164cf8fd534e79e42cea96c4854d72fd0/ast_serialize-0.5.0-cp39-abi3-win_arm64.whl", hash = "sha256:92a31c9c20d25a076edaeec76b128a3535d74a24f340b9a8a7e96c9b86dc9642", size = 1081181, upload-time = "2026-05-17T17:48:28.122Z" },
+]
+
+[[package]]
+name = "asttokens"
+version = "3.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/4a/e7/82da0a03e7ba5141f05cce0d302e6eed121ae055e0456ca228bf693984bc/asttokens-3.0.0.tar.gz", hash = "sha256:0dcd8baa8d62b0c1d118b399b2ddba3c4aff271d0d7a9e0d4c1681c79035bbc7", size = 61978, upload-time = "2024-11-30T04:30:14.439Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/25/8a/c46dcc25341b5bce5472c718902eb3d38600a903b14fa6aeecef3f21a46f/asttokens-3.0.0-py3-none-any.whl", hash = "sha256:e3078351a059199dd5138cb1c706e6430c05eff2ff136af5eb4790f9d28932e2", size = 26918, upload-time = "2024-11-30T04:30:10.946Z" },
+]
+
+[[package]]
+name = "async-lru"
+version = "2.0.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b2/4d/71ec4d3939dc755264f680f6c2b4906423a304c3d18e96853f0a595dfe97/async_lru-2.0.5.tar.gz", hash = "sha256:481d52ccdd27275f42c43a928b4a50c3bfb2d67af4e78b170e3e0bb39c66e5bb", size = 10380, upload-time = "2025-03-16T17:25:36.919Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/49/d10027df9fce941cb8184e78a02857af36360d33e1721df81c5ed2179a1a/async_lru-2.0.5-py3-none-any.whl", hash = "sha256:ab95404d8d2605310d345932697371a5f40def0487c03d6d0ad9138de52c9943", size = 6069, upload-time = "2025-03-16T17:25:35.422Z" },
+]
+
+[[package]]
+name = "attrs"
+version = "25.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5a/b0/1367933a8532ee6ff8d63537de4f1177af4bff9f3e829baf7331f595bb24/attrs-25.3.0.tar.gz", hash = "sha256:75d7cefc7fb576747b2c81b4442d4d4a1ce0900973527c011d1030fd3bf4af1b", size = 812032, upload-time = "2025-03-13T11:10:22.779Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/77/06/bb80f5f86020c4551da315d78b3ab75e8228f89f0162f2c3a819e407941a/attrs-25.3.0-py3-none-any.whl", hash = "sha256:427318ce031701fea540783410126f03899a97ffc6f61596ad581ac2e40e3bc3", size = 63815, upload-time = "2025-03-13T11:10:21.14Z" },
+]
+
+[[package]]
+name = "babel"
+version = "2.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/6b/d52e42361e1aa00709585ecc30b3f9684b3ab62530771402248b1b1d6240/babel-2.17.0.tar.gz", hash = "sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d", size = 9951852, upload-time = "2025-02-01T15:17:41.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/b8/3fe70c75fe32afc4bb507f75563d39bc5642255d1d94f1f23604725780bf/babel-2.17.0-py3-none-any.whl", hash = "sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2", size = 10182537, upload-time = "2025-02-01T15:17:37.39Z" },
+]
+
+[[package]]
+name = "backports-asyncio-runner"
+version = "1.2.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/8e/ff/70dca7d7cb1cbc0edb2c6cc0c38b65cba36cccc491eca64cabd5fe7f8670/backports_asyncio_runner-1.2.0.tar.gz", hash = "sha256:a5aa7b2b7d8f8bfcaa2b57313f70792df84e32a2a746f585213373f900b42162", size = 69893, upload-time = "2025-07-02T02:27:15.685Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/59/76ab57e3fe74484f48a53f8e337171b4a2349e506eabe136d7e01d059086/backports_asyncio_runner-1.2.0-py3-none-any.whl", hash = "sha256:0da0a936a8aeb554eccb426dc55af3ba63bcdc69fa1a600b5bb305413a4477b5", size = 12313, upload-time = "2025-07-02T02:27:14.263Z" },
+]
+
+[[package]]
+name = "beautifulsoup4"
+version = "4.15.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "soupsieve" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/43/65/318323f98dbee45d42dff61d8f047181bc6f2268a9068cfad035a46be5af/beautifulsoup4-4.15.0.tar.gz", hash = "sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7", size = 632571, upload-time = "2026-06-07T16:44:20.453Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/88/c6/92fcd42f1ba33e1184263f25bfabf3d27c383410470f169e4b8163bf9c17/beautifulsoup4-4.15.0-py3-none-any.whl", hash = "sha256:d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9", size = 109924, upload-time = "2026-06-07T16:44:21.566Z" },
+]
+
+[[package]]
+name = "bleach"
+version = "6.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "webencodings" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/48/3c/e12ac860709702bd5ebeb9b56a4fe334f1001246ee1b8f2b7ee28912df7d/bleach-6.4.0.tar.gz", hash = "sha256:4202482733d85cedd04e59fcb2f89f4e4c7c385a78d3c3c23c30446843a37452", size = 204857, upload-time = "2026-06-05T13:01:13.734Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/9d/40b6267367182187139a4000b82a3b287d84d745bccd808e75d916920e9d/bleach-6.4.0-py3-none-any.whl", hash = "sha256:4b6b6a54fff2e69a3dde9d21cc6301220bee3c3cb792187d11403fd795031081", size = 165109, upload-time = "2026-06-05T13:01:12.504Z" },
+]
+
+[package.optional-dependencies]
+css = [
+ { name = "tinycss2" },
+]
+
+[[package]]
+name = "blis"
+version = "1.3.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d0/d0/d8cc8c9a4488a787e7fa430f6055e5bd1ddb22c340a751d9e901b82e2efe/blis-1.3.3.tar.gz", hash = "sha256:034d4560ff3cc43e8aa37e188451b0440e3261d989bb8a42ceee865607715ecd", size = 2644873, upload-time = "2025-11-17T12:28:30.511Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d0/db/d80daf6c060618c72acecf026410b806f620cdea62b2e72f3235d7389d05/blis-1.3.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:650f1d2b28e3c875927c63deebda463a6f9d237dff30e445bfe2127718c1a344", size = 6925724, upload-time = "2025-11-17T12:27:14.23Z" },
+ { url = "https://files.pythonhosted.org/packages/06/cd/7ac854c92e33cfccc0eded48e979a9fc26a447952d07a9c7c7da7c1d6eec/blis-1.3.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9b0d42420ddd543eec51ccb99d38364a0c0833b6895eced37127822de6ecacff", size = 1233606, upload-time = "2025-11-17T12:27:16.107Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/ae/ad3165fdbc4ef6afef585686a778c72cd67fb5aa16ab2fd2f4494186705e/blis-1.3.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f0628a030d44aa71cac5973e40c9e95ec767abaaf2fd366a094b9398885f82f2", size = 2769094, upload-time = "2025-11-17T12:27:17.883Z" },
+ { url = "https://files.pythonhosted.org/packages/25/d4/7b0820f139b4ea67606d01b59ba6afbee4552ce7b2fd179f2fb7908e294f/blis-1.3.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d0114cf2d8f19e0ed210f9ae92594cd0a12efa1bbbce444028b0fc365bbbb8af", size = 11300520, upload-time = "2025-11-17T12:27:20.058Z" },
+ { url = "https://files.pythonhosted.org/packages/85/f3/865a4322bdbeb944744c1908e67fdabecd476613a17204956cff12d568c9/blis-1.3.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7e88181e9dd8430029ebaf22d41bf79e756e8c95363e9471717102c66beb4a6d", size = 2962083, upload-time = "2025-11-17T12:27:22.098Z" },
+ { url = "https://files.pythonhosted.org/packages/65/a2/c2842fa1e2e6bd56eb93e41b34859a9af8b5b63669ee0442bea585d8f607/blis-1.3.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:62fb8c731347b0f98f5f81d19d339049e61489798738467d156c66cc329b0754", size = 14177001, upload-time = "2025-11-17T12:27:24.345Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/9b/3b1532f23db8bdddf3a976e9acf51e8debd94c63be5dafb8ccbab3e62935/blis-1.3.3-cp310-cp310-win_amd64.whl", hash = "sha256:631836d4f335e62c30aa50a1aa0170773265c73654d296361f95180006e88c04", size = 6184429, upload-time = "2025-11-17T12:27:27.054Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/0a/a4c8736bc497d386b0ffc76d321f478c03f1a4725e52092f93b38beb3786/blis-1.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e10c8d3e892b1dbdff365b9d00e08291876fc336915bf1a5e9f188ed087e1a91", size = 6925522, upload-time = "2025-11-17T12:27:29.199Z" },
+ { url = "https://files.pythonhosted.org/packages/83/5a/3437009282f23684ecd3963a8b034f9307cdd2bf4484972e5a6b096bf9ac/blis-1.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:66e6249564f1db22e8af1e0513ff64134041fa7e03c8dd73df74db3f4d8415a7", size = 1232787, upload-time = "2025-11-17T12:27:30.996Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/0e/82221910d16259ce3017c1442c468a3f206a4143a96fbba9f5b5b81d62e8/blis-1.3.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7260da065958b4e5475f62f44895ef9d673b0f47dcf61b672b22b7dae1a18505", size = 2844596, upload-time = "2025-11-17T12:27:32.601Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/93/ab547f1a5c23e20bca16fbcf04021c32aac3f969be737ea4980509a7ca90/blis-1.3.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e9327a6ca67de8ae76fe071e8584cc7f3b2e8bfadece4961d40f2826e1cda2df", size = 11377746, upload-time = "2025-11-17T12:27:35.342Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/a6/7733820aa62da32526287a63cd85c103b2b323b186c8ee43b7772ff7017c/blis-1.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c4ae70629cf302035d268858a10ca4eb6242a01b2dc8d64422f8e6dcb8a8ee74", size = 3041954, upload-time = "2025-11-17T12:27:37.479Z" },
+ { url = "https://files.pythonhosted.org/packages/87/53/e39d67fd3296b649772780ca6aab081412838ecb54e0b0c6432d01626a50/blis-1.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:45866a9027d43b93e8b59980a23c5d7358b6536fc04606286e39fdcfce1101c2", size = 14251222, upload-time = "2025-11-17T12:27:39.705Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/44/b749f8777b020b420bceaaf60f66432fc30cc904ca5b69640ec9cbef11ed/blis-1.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:27f82b8633030f8d095d2b412dffa7eb6dbc8ee43813139909a20012e54422ea", size = 6171233, upload-time = "2025-11-17T12:27:41.921Z" },
+ { url = "https://files.pythonhosted.org/packages/16/d1/429cf0cf693d4c7dc2efed969bd474e315aab636e4a95f66c4ed7264912d/blis-1.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2a1c74e100665f8e918ebdbae2794576adf1f691680b5cdb8b29578432f623ef", size = 6929663, upload-time = "2025-11-17T12:27:44.482Z" },
+ { url = "https://files.pythonhosted.org/packages/11/69/363c8df8d98b3cc97be19aad6aabb2c9c53f372490d79316bdee92d476e7/blis-1.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3f6c595185176ce021316263e1a1d636a3425b6c48366c1fd712d08d0b71849a", size = 1230939, upload-time = "2025-11-17T12:27:46.19Z" },
+ { url = "https://files.pythonhosted.org/packages/96/2a/fbf65d906d823d839076c5150a6f8eb5ecbc5f9135e0b6510609bda1e6b7/blis-1.3.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d734b19fba0be7944f272dfa7b443b37c61f9476d9ab054a9ac53555ceadd2e0", size = 2818835, upload-time = "2025-11-17T12:27:48.167Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/ad/58deaa3ad856dd3cc96493e40ffd2ed043d18d4d304f85a65cde1ccbf644/blis-1.3.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:1ef6d6e2b599a3a2788eb6d9b443533961265aa4ec49d574ed4bb846e548dcdb", size = 11366550, upload-time = "2025-11-17T12:27:49.958Z" },
+ { url = "https://files.pythonhosted.org/packages/78/82/816a7adfe1f7acc8151f01ec86ef64467a3c833932d8f19f8e06613b8a4e/blis-1.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8c888438ae99c500422d50698e3028b65caa8ebb44e24204d87fda2df64058f7", size = 3023686, upload-time = "2025-11-17T12:27:52.062Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/e2/0e93b865f648b5519360846669a35f28ee8f4e1d93d054f6850d8afbabde/blis-1.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8177879fd3590b5eecdd377f9deafb5dc8af6d684f065bd01553302fb3fcf9a7", size = 14250939, upload-time = "2025-11-17T12:27:53.847Z" },
+ { url = "https://files.pythonhosted.org/packages/20/07/fb43edc2ff0a6a367e4a94fc39eb3b85aa1e55e24cc857af2db145ce9f0d/blis-1.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:f20f7ad69aaffd1ce14fe77de557b6df9b61e0c9e582f75a843715d836b5c8af", size = 6192759, upload-time = "2025-11-17T12:27:56.176Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/f7/d26e62d9be3d70473a63e0a5d30bae49c2fe138bebac224adddcdef8a7ce/blis-1.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1e647341f958421a86b028a2efe16ce19c67dba2a05f79e8f7e80b1ff45328aa", size = 6928322, upload-time = "2025-11-17T12:27:57.965Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/78/750d12da388f714958eb2f2fd177652323bbe7ec528365c37129edd6eb84/blis-1.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d563160f874abb78a57e346f07312c5323f7ad67b6370052b6b17087ef234a8e", size = 1229635, upload-time = "2025-11-17T12:28:00.118Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/36/eac4199c5b200a5f3e93cad197da8d26d909f218eb444c4f552647c95240/blis-1.3.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:30b8a5b90cb6cb81d1ada9ae05aa55fb8e70d9a0ae9db40d2401bb9c1c8f14c4", size = 2815650, upload-time = "2025-11-17T12:28:02.544Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/51/472e7b36a6bedb5242a9757e7486f702c3619eff76e256735d0c8b1679c6/blis-1.3.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e9f5c53b277f6ac5b3ca30bc12ebab7ea16c8f8c36b14428abb56924213dc127", size = 11359008, upload-time = "2025-11-17T12:28:04.589Z" },
+ { url = "https://files.pythonhosted.org/packages/84/da/d0dfb6d6e6321ae44df0321384c32c322bd07b15740d7422727a1a49fc5d/blis-1.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6297e7616c158b305c9a8a4e47ca5fc9b0785194dd96c903b1a1591a7ca21ddf", size = 3011959, upload-time = "2025-11-17T12:28:06.862Z" },
+ { url = "https://files.pythonhosted.org/packages/20/c5/2b0b5e556fa0364ed671051ea078a6d6d7b979b1cfef78d64ad3ca5f0c7f/blis-1.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3f966ca74f89f8a33e568b9a1d71992fc9a0d29a423e047f0a212643e21b5458", size = 14232456, upload-time = "2025-11-17T12:28:08.779Z" },
+ { url = "https://files.pythonhosted.org/packages/31/07/4cdc81a47bf862c0b06d91f1bc6782064e8b69ac9b5d4ff51d97e4ff03da/blis-1.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:7a0fc4b237a3a453bdc3c7ab48d91439fcd2d013b665c46948d9eaf9c3e45a97", size = 6192624, upload-time = "2025-11-17T12:28:14.197Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/8a/80f7c68fbc24a76fc9c18522c46d6d69329c320abb18e26a707a5d874083/blis-1.3.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:c3e33cfbf22a418373766816343fcfcd0556012aa3ffdf562c29cddec448a415", size = 6934081, upload-time = "2025-11-17T12:28:16.436Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/52/d1aa3a51a7fc299b0c89dcaa971922714f50b1202769eebbdaadd1b5cff7/blis-1.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:6f165930e8d3a85c606d2003211497e28d528c7416fbfeafb6b15600963f7c9b", size = 1231486, upload-time = "2025-11-17T12:28:18.008Z" },
+ { url = "https://files.pythonhosted.org/packages/99/4f/badc7bd7f74861b26c10123bba7b9d16f99cd9535ad0128780360713820f/blis-1.3.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:878d4d96d8f2c7a2459024f013f2e4e5f46d708b23437dae970d998e7bff14a0", size = 2814944, upload-time = "2025-11-17T12:28:19.654Z" },
+ { url = "https://files.pythonhosted.org/packages/72/a6/f62a3bd814ca19ec7e29ac889fd354adea1217df3183e10217de51e2eb8b/blis-1.3.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f36c0ca84a05ee5d3dbaa38056c4423c1fc29948b17a7923dd2fed8967375d74", size = 11345825, upload-time = "2025-11-17T12:28:21.354Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/6c/671af79ee42bc4c968cae35c091ac89e8721c795bfa4639100670dc59139/blis-1.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e5a662c48cd4aad5dae1a950345df23957524f071315837a4c6feb7d3b288990", size = 3008771, upload-time = "2025-11-17T12:28:23.637Z" },
+ { url = "https://files.pythonhosted.org/packages/be/92/7cd7f8490da7c98ee01557f2105885cc597217b0e7fd2eeb9e22cdd4ef23/blis-1.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:9de26fbd72bac900c273b76d46f0b45b77a28eace2e01f6ac6c2239531a413bb", size = 14219213, upload-time = "2025-11-17T12:28:26.143Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/de/acae8e9f9a1f4bb393d41c8265898b0f29772e38eac14e9f69d191e2c006/blis-1.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:9e5fdf4211b1972400f8ff6dafe87cb689c5d84f046b4a76b207c0bd2270faaf", size = 6324695, upload-time = "2025-11-17T12:28:28.401Z" },
+]
+
+[[package]]
+name = "catalogue"
+version = "2.0.10"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/38/b4/244d58127e1cdf04cf2dc7d9566f0d24ef01d5ce21811bab088ecc62b5ea/catalogue-2.0.10.tar.gz", hash = "sha256:4f56daa940913d3f09d589c191c74e5a6d51762b3a9e37dd53b7437afd6cda15", size = 19561, upload-time = "2023-09-25T06:29:24.962Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9e/96/d32b941a501ab566a16358d68b6eb4e4acc373fab3c3c4d7d9e649f7b4bb/catalogue-2.0.10-py3-none-any.whl", hash = "sha256:58c2de0020aa90f4a2da7dfad161bf7b3b054c86a5f09fcedc0b2b740c109a9f", size = 17325, upload-time = "2023-09-25T06:29:23.337Z" },
+]
+
+[[package]]
+name = "certifi"
+version = "2025.8.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/dc/67/960ebe6bf230a96cda2e0abcf73af550ec4f090005363542f0765df162e0/certifi-2025.8.3.tar.gz", hash = "sha256:e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407", size = 162386, upload-time = "2025-08-03T03:07:47.08Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/48/1549795ba7742c948d2ad169c1c8cdbae65bc450d6cd753d124b17c8cd32/certifi-2025.8.3-py3-none-any.whl", hash = "sha256:f6c12493cfb1b06ba2ff328595af9350c65d6644968e5d3a2ffd78699af217a5", size = 161216, upload-time = "2025-08-03T03:07:45.777Z" },
+]
+
+[[package]]
+name = "cffi"
+version = "2.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pycparser", marker = "implementation_name != 'PyPy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/93/d7/516d984057745a6cd96575eea814fe1edd6646ee6efd552fb7b0921dec83/cffi-2.0.0-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:0cf2d91ecc3fcc0625c2c530fe004f82c110405f101548512cce44322fa8ac44", size = 184283, upload-time = "2025-09-08T23:22:08.01Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/84/ad6a0b408daa859246f57c03efd28e5dd1b33c21737c2db84cae8c237aa5/cffi-2.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f73b96c41e3b2adedc34a7356e64c8eb96e03a3782b535e043a986276ce12a49", size = 180504, upload-time = "2025-09-08T23:22:10.637Z" },
+ { url = "https://files.pythonhosted.org/packages/50/bd/b1a6362b80628111e6653c961f987faa55262b4002fcec42308cad1db680/cffi-2.0.0-cp310-cp310-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:53f77cbe57044e88bbd5ed26ac1d0514d2acf0591dd6bb02a3ae37f76811b80c", size = 208811, upload-time = "2025-09-08T23:22:12.267Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/27/6933a8b2562d7bd1fb595074cf99cc81fc3789f6a6c05cdabb46284a3188/cffi-2.0.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:3e837e369566884707ddaf85fc1744b47575005c0a229de3327f8f9a20f4efeb", size = 216402, upload-time = "2025-09-08T23:22:13.455Z" },
+ { url = "https://files.pythonhosted.org/packages/05/eb/b86f2a2645b62adcfff53b0dd97e8dfafb5c8aa864bd0d9a2c2049a0d551/cffi-2.0.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:5eda85d6d1879e692d546a078b44251cdd08dd1cfb98dfb77b670c97cee49ea0", size = 203217, upload-time = "2025-09-08T23:22:14.596Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/e0/6cbe77a53acf5acc7c08cc186c9928864bd7c005f9efd0d126884858a5fe/cffi-2.0.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9332088d75dc3241c702d852d4671613136d90fa6881da7d770a483fd05248b4", size = 203079, upload-time = "2025-09-08T23:22:15.769Z" },
+ { url = "https://files.pythonhosted.org/packages/98/29/9b366e70e243eb3d14a5cb488dfd3a0b6b2f1fb001a203f653b93ccfac88/cffi-2.0.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc7de24befaeae77ba923797c7c87834c73648a05a4bde34b3b7e5588973a453", size = 216475, upload-time = "2025-09-08T23:22:17.427Z" },
+ { url = "https://files.pythonhosted.org/packages/21/7a/13b24e70d2f90a322f2900c5d8e1f14fa7e2a6b3332b7309ba7b2ba51a5a/cffi-2.0.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:cf364028c016c03078a23b503f02058f1814320a56ad535686f90565636a9495", size = 218829, upload-time = "2025-09-08T23:22:19.069Z" },
+ { url = "https://files.pythonhosted.org/packages/60/99/c9dc110974c59cc981b1f5b66e1d8af8af764e00f0293266824d9c4254bc/cffi-2.0.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e11e82b744887154b182fd3e7e8512418446501191994dbf9c9fc1f32cc8efd5", size = 211211, upload-time = "2025-09-08T23:22:20.588Z" },
+ { url = "https://files.pythonhosted.org/packages/49/72/ff2d12dbf21aca1b32a40ed792ee6b40f6dc3a9cf1644bd7ef6e95e0ac5e/cffi-2.0.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8ea985900c5c95ce9db1745f7933eeef5d314f0565b27625d9a10ec9881e1bfb", size = 218036, upload-time = "2025-09-08T23:22:22.143Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/cc/027d7fb82e58c48ea717149b03bcadcbdc293553edb283af792bd4bcbb3f/cffi-2.0.0-cp310-cp310-win32.whl", hash = "sha256:1f72fb8906754ac8a2cc3f9f5aaa298070652a0ffae577e0ea9bd480dc3c931a", size = 172184, upload-time = "2025-09-08T23:22:23.328Z" },
+ { url = "https://files.pythonhosted.org/packages/33/fa/072dd15ae27fbb4e06b437eb6e944e75b068deb09e2a2826039e49ee2045/cffi-2.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:b18a3ed7d5b3bd8d9ef7a8cb226502c6bf8308df1525e1cc676c3680e7176739", size = 182790, upload-time = "2025-09-08T23:22:24.752Z" },
+ { url = "https://files.pythonhosted.org/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344, upload-time = "2025-09-08T23:22:26.456Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560, upload-time = "2025-09-08T23:22:28.197Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/b7/1200d354378ef52ec227395d95c2576330fd22a869f7a70e88e1447eb234/cffi-2.0.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92", size = 209613, upload-time = "2025-09-08T23:22:29.475Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/56/6033f5e86e8cc9bb629f0077ba71679508bdf54a9a5e112a3c0b91870332/cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93", size = 216476, upload-time = "2025-09-08T23:22:31.063Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/7f/55fecd70f7ece178db2f26128ec41430d8720f2d12ca97bf8f0a628207d5/cffi-2.0.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5", size = 203374, upload-time = "2025-09-08T23:22:32.507Z" },
+ { url = "https://files.pythonhosted.org/packages/84/ef/a7b77c8bdc0f77adc3b46888f1ad54be8f3b7821697a7b89126e829e676a/cffi-2.0.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664", size = 202597, upload-time = "2025-09-08T23:22:34.132Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574, upload-time = "2025-09-08T23:22:35.443Z" },
+ { url = "https://files.pythonhosted.org/packages/44/64/58f6255b62b101093d5df22dcb752596066c7e89dd725e0afaed242a61be/cffi-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9", size = 218971, upload-time = "2025-09-08T23:22:36.805Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/49/fa72cebe2fd8a55fbe14956f9970fe8eb1ac59e5df042f603ef7c8ba0adc/cffi-2.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414", size = 211972, upload-time = "2025-09-08T23:22:38.436Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078, upload-time = "2025-09-08T23:22:39.776Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/c0/015b25184413d7ab0a410775fdb4a50fca20f5589b5dab1dbbfa3baad8ce/cffi-2.0.0-cp311-cp311-win32.whl", hash = "sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5", size = 172076, upload-time = "2025-09-08T23:22:40.95Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820, upload-time = "2025-09-08T23:22:42.463Z" },
+ { url = "https://files.pythonhosted.org/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635, upload-time = "2025-09-08T23:22:43.623Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271, upload-time = "2025-09-08T23:22:44.795Z" },
+ { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048, upload-time = "2025-09-08T23:22:45.938Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529, upload-time = "2025-09-08T23:22:47.349Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097, upload-time = "2025-09-08T23:22:48.677Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983, upload-time = "2025-09-08T23:22:50.06Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519, upload-time = "2025-09-08T23:22:51.364Z" },
+ { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572, upload-time = "2025-09-08T23:22:52.902Z" },
+ { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963, upload-time = "2025-09-08T23:22:54.518Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361, upload-time = "2025-09-08T23:22:55.867Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932, upload-time = "2025-09-08T23:22:57.188Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557, upload-time = "2025-09-08T23:22:58.351Z" },
+ { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762, upload-time = "2025-09-08T23:22:59.668Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/8d/a0a47a0c9e413a658623d014e91e74a50cdd2c423f7ccfd44086ef767f90/cffi-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb", size = 185230, upload-time = "2025-09-08T23:23:00.879Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/d2/a6c0296814556c68ee32009d9c2ad4f85f2707cdecfd7727951ec228005d/cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca", size = 181043, upload-time = "2025-09-08T23:23:02.231Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/1e/d22cc63332bd59b06481ceaac49d6c507598642e2230f201649058a7e704/cffi-2.0.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:07b271772c100085dd28b74fa0cd81c8fb1a3ba18b21e03d7c27f3436a10606b", size = 212446, upload-time = "2025-09-08T23:23:03.472Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/f5/a2c23eb03b61a0b8747f211eb716446c826ad66818ddc7810cc2cc19b3f2/cffi-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d48a880098c96020b02d5a1f7d9251308510ce8858940e6fa99ece33f610838b", size = 220101, upload-time = "2025-09-08T23:23:04.792Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/7f/e6647792fc5850d634695bc0e6ab4111ae88e89981d35ac269956605feba/cffi-2.0.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f93fd8e5c8c0a4aa1f424d6173f14a892044054871c771f8566e4008eaa359d2", size = 207948, upload-time = "2025-09-08T23:23:06.127Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/1e/a5a1bd6f1fb30f22573f76533de12a00bf274abcdc55c8edab639078abb6/cffi-2.0.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:dd4f05f54a52fb558f1ba9f528228066954fee3ebe629fc1660d874d040ae5a3", size = 206422, upload-time = "2025-09-08T23:23:07.753Z" },
+ { url = "https://files.pythonhosted.org/packages/98/df/0a1755e750013a2081e863e7cd37e0cdd02664372c754e5560099eb7aa44/cffi-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26", size = 219499, upload-time = "2025-09-08T23:23:09.648Z" },
+ { url = "https://files.pythonhosted.org/packages/50/e1/a969e687fcf9ea58e6e2a928ad5e2dd88cc12f6f0ab477e9971f2309b57c/cffi-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d9b29c1f0ae438d5ee9acb31cadee00a58c46cc9c0b2f9038c6b0b3470877a8c", size = 222928, upload-time = "2025-09-08T23:23:10.928Z" },
+ { url = "https://files.pythonhosted.org/packages/36/54/0362578dd2c9e557a28ac77698ed67323ed5b9775ca9d3fe73fe191bb5d8/cffi-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b", size = 221302, upload-time = "2025-09-08T23:23:12.42Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/6d/bf9bda840d5f1dfdbf0feca87fbdb64a918a69bca42cfa0ba7b137c48cb8/cffi-2.0.0-cp313-cp313-win32.whl", hash = "sha256:74a03b9698e198d47562765773b4a8309919089150a0bb17d829ad7b44b60d27", size = 172909, upload-time = "2025-09-08T23:23:14.32Z" },
+ { url = "https://files.pythonhosted.org/packages/37/18/6519e1ee6f5a1e579e04b9ddb6f1676c17368a7aba48299c3759bbc3c8b3/cffi-2.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75", size = 183402, upload-time = "2025-09-08T23:23:15.535Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/0e/02ceeec9a7d6ee63bb596121c2c8e9b3a9e150936f4fbef6ca1943e6137c/cffi-2.0.0-cp313-cp313-win_arm64.whl", hash = "sha256:256f80b80ca3853f90c21b23ee78cd008713787b1b1e93eae9f3d6a7134abd91", size = 177780, upload-time = "2025-09-08T23:23:16.761Z" },
+ { url = "https://files.pythonhosted.org/packages/92/c4/3ce07396253a83250ee98564f8d7e9789fab8e58858f35d07a9a2c78de9f/cffi-2.0.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5", size = 185320, upload-time = "2025-09-08T23:23:18.087Z" },
+ { url = "https://files.pythonhosted.org/packages/59/dd/27e9fa567a23931c838c6b02d0764611c62290062a6d4e8ff7863daf9730/cffi-2.0.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13", size = 181487, upload-time = "2025-09-08T23:23:19.622Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/43/0e822876f87ea8a4ef95442c3d766a06a51fc5298823f884ef87aaad168c/cffi-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:24b6f81f1983e6df8db3adc38562c83f7d4a0c36162885ec7f7b77c7dcbec97b", size = 220049, upload-time = "2025-09-08T23:23:20.853Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/89/76799151d9c2d2d1ead63c2429da9ea9d7aac304603de0c6e8764e6e8e70/cffi-2.0.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:12873ca6cb9b0f0d3a0da705d6086fe911591737a59f28b7936bdfed27c0d47c", size = 207793, upload-time = "2025-09-08T23:23:22.08Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/dd/3465b14bb9e24ee24cb88c9e3730f6de63111fffe513492bf8c808a3547e/cffi-2.0.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:d9b97165e8aed9272a6bb17c01e3cc5871a594a446ebedc996e2397a1c1ea8ef", size = 206300, upload-time = "2025-09-08T23:23:23.314Z" },
+ { url = "https://files.pythonhosted.org/packages/47/d9/d83e293854571c877a92da46fdec39158f8d7e68da75bf73581225d28e90/cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775", size = 219244, upload-time = "2025-09-08T23:23:24.541Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/0f/1f177e3683aead2bb00f7679a16451d302c436b5cbf2505f0ea8146ef59e/cffi-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:737fe7d37e1a1bffe70bd5754ea763a62a066dc5913ca57e957824b72a85e205", size = 222828, upload-time = "2025-09-08T23:23:26.143Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/0f/cafacebd4b040e3119dcb32fed8bdef8dfe94da653155f9d0b9dc660166e/cffi-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1", size = 220926, upload-time = "2025-09-08T23:23:27.873Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/aa/df335faa45b395396fcbc03de2dfcab242cd61a9900e914fe682a59170b1/cffi-2.0.0-cp314-cp314-win32.whl", hash = "sha256:087067fa8953339c723661eda6b54bc98c5625757ea62e95eb4898ad5e776e9f", size = 175328, upload-time = "2025-09-08T23:23:44.61Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/92/882c2d30831744296ce713f0feb4c1cd30f346ef747b530b5318715cc367/cffi-2.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25", size = 185650, upload-time = "2025-09-08T23:23:45.848Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/2c/98ece204b9d35a7366b5b2c6539c350313ca13932143e79dc133ba757104/cffi-2.0.0-cp314-cp314-win_arm64.whl", hash = "sha256:dbd5c7a25a7cb98f5ca55d258b103a2054f859a46ae11aaf23134f9cc0d356ad", size = 180687, upload-time = "2025-09-08T23:23:47.105Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/61/c768e4d548bfa607abcda77423448df8c471f25dbe64fb2ef6d555eae006/cffi-2.0.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9", size = 188773, upload-time = "2025-09-08T23:23:29.347Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/ea/5f76bce7cf6fcd0ab1a1058b5af899bfbef198bea4d5686da88471ea0336/cffi-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d", size = 185013, upload-time = "2025-09-08T23:23:30.63Z" },
+ { url = "https://files.pythonhosted.org/packages/be/b4/c56878d0d1755cf9caa54ba71e5d049479c52f9e4afc230f06822162ab2f/cffi-2.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7cc09976e8b56f8cebd752f7113ad07752461f48a58cbba644139015ac24954c", size = 221593, upload-time = "2025-09-08T23:23:31.91Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/0d/eb704606dfe8033e7128df5e90fee946bbcb64a04fcdaa97321309004000/cffi-2.0.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:92b68146a71df78564e4ef48af17551a5ddd142e5190cdf2c5624d0c3ff5b2e8", size = 209354, upload-time = "2025-09-08T23:23:33.214Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/19/3c435d727b368ca475fb8742ab97c9cb13a0de600ce86f62eab7fa3eea60/cffi-2.0.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b1e74d11748e7e98e2f426ab176d4ed720a64412b6a15054378afdb71e0f37dc", size = 208480, upload-time = "2025-09-08T23:23:34.495Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/44/681604464ed9541673e486521497406fadcc15b5217c3e326b061696899a/cffi-2.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592", size = 221584, upload-time = "2025-09-08T23:23:36.096Z" },
+ { url = "https://files.pythonhosted.org/packages/25/8e/342a504ff018a2825d395d44d63a767dd8ebc927ebda557fecdaca3ac33a/cffi-2.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7553fb2090d71822f02c629afe6042c299edf91ba1bf94951165613553984512", size = 224443, upload-time = "2025-09-08T23:23:37.328Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/5e/b666bacbbc60fbf415ba9988324a132c9a7a0448a9a8f125074671c0f2c3/cffi-2.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4", size = 223437, upload-time = "2025-09-08T23:23:38.945Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/1d/ec1a60bd1a10daa292d3cd6bb0b359a81607154fb8165f3ec95fe003b85c/cffi-2.0.0-cp314-cp314t-win32.whl", hash = "sha256:1fc9ea04857caf665289b7a75923f2c6ed559b8298a1b8c49e59f7dd95c8481e", size = 180487, upload-time = "2025-09-08T23:23:40.423Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/41/4c1168c74fac325c0c8156f04b6749c8b6a8f405bbf91413ba088359f60d/cffi-2.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6", size = 191726, upload-time = "2025-09-08T23:23:41.742Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/3a/dbeec9d1ee0844c679f6bb5d6ad4e9f198b1224f4e7a32825f47f6192b0c/cffi-2.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9", size = 184195, upload-time = "2025-09-08T23:23:43.004Z" },
+]
+
+[[package]]
+name = "charset-normalizer"
+version = "3.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/83/2d/5fd176ceb9b2fc619e63405525573493ca23441330fcdaee6bef9460e924/charset_normalizer-3.4.3.tar.gz", hash = "sha256:6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14", size = 122371, upload-time = "2025-08-09T07:57:28.46Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d6/98/f3b8013223728a99b908c9344da3aa04ee6e3fa235f19409033eda92fb78/charset_normalizer-3.4.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:fb7f67a1bfa6e40b438170ebdc8158b78dc465a5a67b6dde178a46987b244a72", size = 207695, upload-time = "2025-08-09T07:55:36.452Z" },
+ { url = "https://files.pythonhosted.org/packages/21/40/5188be1e3118c82dcb7c2a5ba101b783822cfb413a0268ed3be0468532de/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cc9370a2da1ac13f0153780040f465839e6cccb4a1e44810124b4e22483c93fe", size = 147153, upload-time = "2025-08-09T07:55:38.467Z" },
+ { url = "https://files.pythonhosted.org/packages/37/60/5d0d74bc1e1380f0b72c327948d9c2aca14b46a9efd87604e724260f384c/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:07a0eae9e2787b586e129fdcbe1af6997f8d0e5abaa0bc98c0e20e124d67e601", size = 160428, upload-time = "2025-08-09T07:55:40.072Z" },
+ { url = "https://files.pythonhosted.org/packages/85/9a/d891f63722d9158688de58d050c59dc3da560ea7f04f4c53e769de5140f5/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:74d77e25adda8581ffc1c720f1c81ca082921329452eba58b16233ab1842141c", size = 157627, upload-time = "2025-08-09T07:55:41.706Z" },
+ { url = "https://files.pythonhosted.org/packages/65/1a/7425c952944a6521a9cfa7e675343f83fd82085b8af2b1373a2409c683dc/charset_normalizer-3.4.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d0e909868420b7049dafd3a31d45125b31143eec59235311fc4c57ea26a4acd2", size = 152388, upload-time = "2025-08-09T07:55:43.262Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/c9/a2c9c2a355a8594ce2446085e2ec97fd44d323c684ff32042e2a6b718e1d/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:c6f162aabe9a91a309510d74eeb6507fab5fff92337a15acbe77753d88d9dcf0", size = 150077, upload-time = "2025-08-09T07:55:44.903Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/38/20a1f44e4851aa1c9105d6e7110c9d020e093dfa5836d712a5f074a12bf7/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:4ca4c094de7771a98d7fbd67d9e5dbf1eb73efa4f744a730437d8a3a5cf994f0", size = 161631, upload-time = "2025-08-09T07:55:46.346Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/fa/384d2c0f57edad03d7bec3ebefb462090d8905b4ff5a2d2525f3bb711fac/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:02425242e96bcf29a49711b0ca9f37e451da7c70562bc10e8ed992a5a7a25cc0", size = 159210, upload-time = "2025-08-09T07:55:47.539Z" },
+ { url = "https://files.pythonhosted.org/packages/33/9e/eca49d35867ca2db336b6ca27617deed4653b97ebf45dfc21311ce473c37/charset_normalizer-3.4.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:78deba4d8f9590fe4dae384aeff04082510a709957e968753ff3c48399f6f92a", size = 153739, upload-time = "2025-08-09T07:55:48.744Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/91/26c3036e62dfe8de8061182d33be5025e2424002125c9500faff74a6735e/charset_normalizer-3.4.3-cp310-cp310-win32.whl", hash = "sha256:d79c198e27580c8e958906f803e63cddb77653731be08851c7df0b1a14a8fc0f", size = 99825, upload-time = "2025-08-09T07:55:50.305Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/c6/f05db471f81af1fa01839d44ae2a8bfeec8d2a8b4590f16c4e7393afd323/charset_normalizer-3.4.3-cp310-cp310-win_amd64.whl", hash = "sha256:c6e490913a46fa054e03699c70019ab869e990270597018cef1d8562132c2669", size = 107452, upload-time = "2025-08-09T07:55:51.461Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/b5/991245018615474a60965a7c9cd2b4efbaabd16d582a5547c47ee1c7730b/charset_normalizer-3.4.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b256ee2e749283ef3ddcff51a675ff43798d92d746d1a6e4631bf8c707d22d0b", size = 204483, upload-time = "2025-08-09T07:55:53.12Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/2a/ae245c41c06299ec18262825c1569c5d3298fc920e4ddf56ab011b417efd/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:13faeacfe61784e2559e690fc53fa4c5ae97c6fcedb8eb6fb8d0a15b475d2c64", size = 145520, upload-time = "2025-08-09T07:55:54.712Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/a4/b3b6c76e7a635748c4421d2b92c7b8f90a432f98bda5082049af37ffc8e3/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:00237675befef519d9af72169d8604a067d92755e84fe76492fef5441db05b91", size = 158876, upload-time = "2025-08-09T07:55:56.024Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/e6/63bb0e10f90a8243c5def74b5b105b3bbbfb3e7bb753915fe333fb0c11ea/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:585f3b2a80fbd26b048a0be90c5aae8f06605d3c92615911c3a2b03a8a3b796f", size = 156083, upload-time = "2025-08-09T07:55:57.582Z" },
+ { url = "https://files.pythonhosted.org/packages/87/df/b7737ff046c974b183ea9aa111b74185ac8c3a326c6262d413bd5a1b8c69/charset_normalizer-3.4.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0e78314bdc32fa80696f72fa16dc61168fda4d6a0c014e0380f9d02f0e5d8a07", size = 150295, upload-time = "2025-08-09T07:55:59.147Z" },
+ { url = "https://files.pythonhosted.org/packages/61/f1/190d9977e0084d3f1dc169acd060d479bbbc71b90bf3e7bf7b9927dec3eb/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:96b2b3d1a83ad55310de8c7b4a2d04d9277d5591f40761274856635acc5fcb30", size = 148379, upload-time = "2025-08-09T07:56:00.364Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/92/27dbe365d34c68cfe0ca76f1edd70e8705d82b378cb54ebbaeabc2e3029d/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:939578d9d8fd4299220161fdd76e86c6a251987476f5243e8864a7844476ba14", size = 160018, upload-time = "2025-08-09T07:56:01.678Z" },
+ { url = "https://files.pythonhosted.org/packages/99/04/baae2a1ea1893a01635d475b9261c889a18fd48393634b6270827869fa34/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:fd10de089bcdcd1be95a2f73dbe6254798ec1bda9f450d5828c96f93e2536b9c", size = 157430, upload-time = "2025-08-09T07:56:02.87Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/36/77da9c6a328c54d17b960c89eccacfab8271fdaaa228305330915b88afa9/charset_normalizer-3.4.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1e8ac75d72fa3775e0b7cb7e4629cec13b7514d928d15ef8ea06bca03ef01cae", size = 151600, upload-time = "2025-08-09T07:56:04.089Z" },
+ { url = "https://files.pythonhosted.org/packages/64/d4/9eb4ff2c167edbbf08cdd28e19078bf195762e9bd63371689cab5ecd3d0d/charset_normalizer-3.4.3-cp311-cp311-win32.whl", hash = "sha256:6cf8fd4c04756b6b60146d98cd8a77d0cdae0e1ca20329da2ac85eed779b6849", size = 99616, upload-time = "2025-08-09T07:56:05.658Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/9c/996a4a028222e7761a96634d1820de8a744ff4327a00ada9c8942033089b/charset_normalizer-3.4.3-cp311-cp311-win_amd64.whl", hash = "sha256:31a9a6f775f9bcd865d88ee350f0ffb0e25936a7f930ca98995c05abf1faf21c", size = 107108, upload-time = "2025-08-09T07:56:07.176Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/5e/14c94999e418d9b87682734589404a25854d5f5d0408df68bc15b6ff54bb/charset_normalizer-3.4.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e28e334d3ff134e88989d90ba04b47d84382a828c061d0d1027b1b12a62b39b1", size = 205655, upload-time = "2025-08-09T07:56:08.475Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/a8/c6ec5d389672521f644505a257f50544c074cf5fc292d5390331cd6fc9c3/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0cacf8f7297b0c4fcb74227692ca46b4a5852f8f4f24b3c766dd94a1075c4884", size = 146223, upload-time = "2025-08-09T07:56:09.708Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/eb/a2ffb08547f4e1e5415fb69eb7db25932c52a52bed371429648db4d84fb1/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c6fd51128a41297f5409deab284fecbe5305ebd7e5a1f959bee1c054622b7018", size = 159366, upload-time = "2025-08-09T07:56:11.326Z" },
+ { url = "https://files.pythonhosted.org/packages/82/10/0fd19f20c624b278dddaf83b8464dcddc2456cb4b02bb902a6da126b87a1/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3cfb2aad70f2c6debfbcb717f23b7eb55febc0bb23dcffc0f076009da10c6392", size = 157104, upload-time = "2025-08-09T07:56:13.014Z" },
+ { url = "https://files.pythonhosted.org/packages/16/ab/0233c3231af734f5dfcf0844aa9582d5a1466c985bbed6cedab85af9bfe3/charset_normalizer-3.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1606f4a55c0fd363d754049cdf400175ee96c992b1f8018b993941f221221c5f", size = 151830, upload-time = "2025-08-09T07:56:14.428Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/02/e29e22b4e02839a0e4a06557b1999d0a47db3567e82989b5bb21f3fbbd9f/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:027b776c26d38b7f15b26a5da1044f376455fb3766df8fc38563b4efbc515154", size = 148854, upload-time = "2025-08-09T07:56:16.051Z" },
+ { url = "https://files.pythonhosted.org/packages/05/6b/e2539a0a4be302b481e8cafb5af8792da8093b486885a1ae4d15d452bcec/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:42e5088973e56e31e4fa58eb6bd709e42fc03799c11c42929592889a2e54c491", size = 160670, upload-time = "2025-08-09T07:56:17.314Z" },
+ { url = "https://files.pythonhosted.org/packages/31/e7/883ee5676a2ef217a40ce0bffcc3d0dfbf9e64cbcfbdf822c52981c3304b/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cc34f233c9e71701040d772aa7490318673aa7164a0efe3172b2981218c26d93", size = 158501, upload-time = "2025-08-09T07:56:18.641Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/35/6525b21aa0db614cf8b5792d232021dca3df7f90a1944db934efa5d20bb1/charset_normalizer-3.4.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:320e8e66157cc4e247d9ddca8e21f427efc7a04bbd0ac8a9faf56583fa543f9f", size = 153173, upload-time = "2025-08-09T07:56:20.289Z" },
+ { url = "https://files.pythonhosted.org/packages/50/ee/f4704bad8201de513fdc8aac1cabc87e38c5818c93857140e06e772b5892/charset_normalizer-3.4.3-cp312-cp312-win32.whl", hash = "sha256:fb6fecfd65564f208cbf0fba07f107fb661bcd1a7c389edbced3f7a493f70e37", size = 99822, upload-time = "2025-08-09T07:56:21.551Z" },
+ { url = "https://files.pythonhosted.org/packages/39/f5/3b3836ca6064d0992c58c7561c6b6eee1b3892e9665d650c803bd5614522/charset_normalizer-3.4.3-cp312-cp312-win_amd64.whl", hash = "sha256:86df271bf921c2ee3818f0522e9a5b8092ca2ad8b065ece5d7d9d0e9f4849bcc", size = 107543, upload-time = "2025-08-09T07:56:23.115Z" },
+ { url = "https://files.pythonhosted.org/packages/65/ca/2135ac97709b400c7654b4b764daf5c5567c2da45a30cdd20f9eefe2d658/charset_normalizer-3.4.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:14c2a87c65b351109f6abfc424cab3927b3bdece6f706e4d12faaf3d52ee5efe", size = 205326, upload-time = "2025-08-09T07:56:24.721Z" },
+ { url = "https://files.pythonhosted.org/packages/71/11/98a04c3c97dd34e49c7d247083af03645ca3730809a5509443f3c37f7c99/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41d1fc408ff5fdfb910200ec0e74abc40387bccb3252f3f27c0676731df2b2c8", size = 146008, upload-time = "2025-08-09T07:56:26.004Z" },
+ { url = "https://files.pythonhosted.org/packages/60/f5/4659a4cb3c4ec146bec80c32d8bb16033752574c20b1252ee842a95d1a1e/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1bb60174149316da1c35fa5233681f7c0f9f514509b8e399ab70fea5f17e45c9", size = 159196, upload-time = "2025-08-09T07:56:27.25Z" },
+ { url = "https://files.pythonhosted.org/packages/86/9e/f552f7a00611f168b9a5865a1414179b2c6de8235a4fa40189f6f79a1753/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:30d006f98569de3459c2fc1f2acde170b7b2bd265dc1943e87e1a4efe1b67c31", size = 156819, upload-time = "2025-08-09T07:56:28.515Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/95/42aa2156235cbc8fa61208aded06ef46111c4d3f0de233107b3f38631803/charset_normalizer-3.4.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:416175faf02e4b0810f1f38bcb54682878a4af94059a1cd63b8747244420801f", size = 151350, upload-time = "2025-08-09T07:56:29.716Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/a9/3865b02c56f300a6f94fc631ef54f0a8a29da74fb45a773dfd3dcd380af7/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:6aab0f181c486f973bc7262a97f5aca3ee7e1437011ef0c2ec04b5a11d16c927", size = 148644, upload-time = "2025-08-09T07:56:30.984Z" },
+ { url = "https://files.pythonhosted.org/packages/77/d9/cbcf1a2a5c7d7856f11e7ac2d782aec12bdfea60d104e60e0aa1c97849dc/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:fdabf8315679312cfa71302f9bd509ded4f2f263fb5b765cf1433b39106c3cc9", size = 160468, upload-time = "2025-08-09T07:56:32.252Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/42/6f45efee8697b89fda4d50580f292b8f7f9306cb2971d4b53f8914e4d890/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:bd28b817ea8c70215401f657edef3a8aa83c29d447fb0b622c35403780ba11d5", size = 158187, upload-time = "2025-08-09T07:56:33.481Z" },
+ { url = "https://files.pythonhosted.org/packages/70/99/f1c3bdcfaa9c45b3ce96f70b14f070411366fa19549c1d4832c935d8e2c3/charset_normalizer-3.4.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:18343b2d246dc6761a249ba1fb13f9ee9a2bcd95decc767319506056ea4ad4dc", size = 152699, upload-time = "2025-08-09T07:56:34.739Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/ad/b0081f2f99a4b194bcbb1934ef3b12aa4d9702ced80a37026b7607c72e58/charset_normalizer-3.4.3-cp313-cp313-win32.whl", hash = "sha256:6fb70de56f1859a3f71261cbe41005f56a7842cc348d3aeb26237560bfa5e0ce", size = 99580, upload-time = "2025-08-09T07:56:35.981Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/8f/ae790790c7b64f925e5c953b924aaa42a243fb778fed9e41f147b2a5715a/charset_normalizer-3.4.3-cp313-cp313-win_amd64.whl", hash = "sha256:cf1ebb7d78e1ad8ec2a8c4732c7be2e736f6e5123a4146c5b89c9d1f585f8cef", size = 107366, upload-time = "2025-08-09T07:56:37.339Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/91/b5a06ad970ddc7a0e513112d40113e834638f4ca1120eb727a249fb2715e/charset_normalizer-3.4.3-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3cd35b7e8aedeb9e34c41385fda4f73ba609e561faedfae0a9e75e44ac558a15", size = 204342, upload-time = "2025-08-09T07:56:38.687Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/ec/1edc30a377f0a02689342f214455c3f6c2fbedd896a1d2f856c002fc3062/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b89bc04de1d83006373429975f8ef9e7932534b8cc9ca582e4db7d20d91816db", size = 145995, upload-time = "2025-08-09T07:56:40.048Z" },
+ { url = "https://files.pythonhosted.org/packages/17/e5/5e67ab85e6d22b04641acb5399c8684f4d37caf7558a53859f0283a650e9/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2001a39612b241dae17b4687898843f254f8748b796a2e16f1051a17078d991d", size = 158640, upload-time = "2025-08-09T07:56:41.311Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/e5/38421987f6c697ee3722981289d554957c4be652f963d71c5e46a262e135/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8dcfc373f888e4fb39a7bc57e93e3b845e7f462dacc008d9749568b1c4ece096", size = 156636, upload-time = "2025-08-09T07:56:43.195Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/e4/5a075de8daa3ec0745a9a3b54467e0c2967daaaf2cec04c845f73493e9a1/charset_normalizer-3.4.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18b97b8404387b96cdbd30ad660f6407799126d26a39ca65729162fd810a99aa", size = 150939, upload-time = "2025-08-09T07:56:44.819Z" },
+ { url = "https://files.pythonhosted.org/packages/02/f7/3611b32318b30974131db62b4043f335861d4d9b49adc6d57c1149cc49d4/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ccf600859c183d70eb47e05a44cd80a4ce77394d1ac0f79dbd2dd90a69a3a049", size = 148580, upload-time = "2025-08-09T07:56:46.684Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/61/19b36f4bd67f2793ab6a99b979b4e4f3d8fc754cbdffb805335df4337126/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:53cd68b185d98dde4ad8990e56a58dea83a4162161b1ea9272e5c9182ce415e0", size = 159870, upload-time = "2025-08-09T07:56:47.941Z" },
+ { url = "https://files.pythonhosted.org/packages/06/57/84722eefdd338c04cf3030ada66889298eaedf3e7a30a624201e0cbe424a/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:30a96e1e1f865f78b030d65241c1ee850cdf422d869e9028e2fc1d5e4db73b92", size = 157797, upload-time = "2025-08-09T07:56:49.756Z" },
+ { url = "https://files.pythonhosted.org/packages/72/2a/aff5dd112b2f14bcc3462c312dce5445806bfc8ab3a7328555da95330e4b/charset_normalizer-3.4.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d716a916938e03231e86e43782ca7878fb602a125a91e7acb8b5112e2e96ac16", size = 152224, upload-time = "2025-08-09T07:56:51.369Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/8c/9839225320046ed279c6e839d51f028342eb77c91c89b8ef2549f951f3ec/charset_normalizer-3.4.3-cp314-cp314-win32.whl", hash = "sha256:c6dbd0ccdda3a2ba7c2ecd9d77b37f3b5831687d8dc1b6ca5f56a4880cc7b7ce", size = 100086, upload-time = "2025-08-09T07:56:52.722Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/7a/36fbcf646e41f710ce0a563c1c9a343c6edf9be80786edeb15b6f62e17db/charset_normalizer-3.4.3-cp314-cp314-win_amd64.whl", hash = "sha256:73dc19b562516fc9bcf6e5d6e596df0b4eb98d87e4f79f3ae71840e6ed21361c", size = 107400, upload-time = "2025-08-09T07:56:55.172Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/1f/f041989e93b001bc4e44bb1669ccdcf54d3f00e628229a85b08d330615c5/charset_normalizer-3.4.3-py3-none-any.whl", hash = "sha256:ce571ab16d890d23b5c278547ba694193a45011ff86a9162a71307ed9f86759a", size = 53175, upload-time = "2025-08-09T07:57:26.864Z" },
+]
+
+[[package]]
+name = "click"
+version = "8.3.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/46/61/de6cd827efad202d7057d93e0fed9294b96952e188f7384832791c7b2254/click-8.3.0.tar.gz", hash = "sha256:e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4", size = 276943, upload-time = "2025-09-18T17:32:23.696Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/db/d3/9dcc0f5797f070ec8edf30fbadfb200e71d9db6b84d211e3b2085a7589a0/click-8.3.0-py3-none-any.whl", hash = "sha256:9b9f285302c6e3064f4330c05f05b81945b2a39544279343e6e7c5f27a9baddc", size = 107295, upload-time = "2025-09-18T17:32:22.42Z" },
+]
+
+[[package]]
+name = "cloudpathlib"
+version = "0.22.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/05/bc/d7345595a4467144b9e0b32e5eda9e4633ea6e4982262b0696935adb2229/cloudpathlib-0.22.0.tar.gz", hash = "sha256:6c0cb0ceab4f66a3a05a84055f9318fb8316cae5e096819f3f8e4be64feab6e9", size = 52304, upload-time = "2025-08-30T05:20:04.6Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f1/72/e8e53d8232e801e040f4b557ff3a453cecbb630d53ae107bd5e66a206bb9/cloudpathlib-0.22.0-py3-none-any.whl", hash = "sha256:2fdfaf5c4f85810ae8374d336d04dee371914d0e41a984695ae67308d7a5a009", size = 61520, upload-time = "2025-08-30T05:20:03.232Z" },
+]
+
+[[package]]
+name = "colorama"
+version = "0.4.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
+]
+
+[[package]]
+name = "comm"
+version = "0.2.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/4c/13/7d740c5849255756bc17888787313b61fd38a0a8304fc4f073dfc46122aa/comm-0.2.3.tar.gz", hash = "sha256:2dc8048c10962d55d7ad693be1e7045d891b7ce8d999c97963a5e3e99c055971", size = 6319, upload-time = "2025-07-25T14:02:04.452Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/60/97/891a0971e1e4a8c5d2b20bbe0e524dc04548d2307fee33cdeba148fd4fc7/comm-0.2.3-py3-none-any.whl", hash = "sha256:c615d91d75f7f04f095b30d1c1711babd43bdc6419c1be9886a85f2f4e489417", size = 7294, upload-time = "2025-07-25T14:02:02.896Z" },
+]
+
+[[package]]
+name = "confection"
+version = "1.3.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ca/65/efd0fe8a936fc8ca2978cb7b82581fb20d901c6039e746a808f746b7647b/confection-1.3.3.tar.gz", hash = "sha256:f0f6810d567ff73993fe74d218ca5e1ffb6a44fb03f391257fc5d033546cbfaa", size = 54895, upload-time = "2026-03-24T18:45:24.331Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8d/e4/d66708bdf0d92fb4d49b22cdff4b10cec38aca5dcd7e81d909bb55c65cd7/confection-1.3.3-py3-none-any.whl", hash = "sha256:b9fef9ee84b237ef4611ec3eb5797b70e13063e6310ad9f15536373f5e313c82", size = 35902, upload-time = "2026-03-24T18:45:22.664Z" },
+]
+
+[[package]]
+name = "cuda-bindings"
+version = "13.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cuda-pathfinder" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a9/21/8464d133752951c154feafb3b65c297e7d80f301183d220bec4c830f1441/cuda_bindings-13.3.1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:120fcc53d57903df529c3486962c56528cba5b7d6c57c99537320ed9922c8b86", size = 6073403, upload-time = "2026-05-29T23:11:36.22Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/1f/5ef51f5fbaa5d4d3201bb3d7555af028ec1aa4416275ccbf73c9e34e3d2d/cuda_bindings-13.3.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9851b0caa8bfd3bc6fa054eaf57bea7c8e9c3a62db2d2621224677f49f3c53d0", size = 6675244, upload-time = "2026-05-29T23:11:38.664Z" },
+ { url = "https://files.pythonhosted.org/packages/51/6b/457ca12dad3ee9bfcc9a545cfd6b64b359ba49de40f776f6e028e678f262/cuda_bindings-13.3.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c5879712accf6e14bb01aa5e67440eb84998b8d104b509cc7a6dc0b8f656a474", size = 6053539, upload-time = "2026-05-29T23:11:43.19Z" },
+ { url = "https://files.pythonhosted.org/packages/95/7a/c5e3c34a409b148f5c0f5a4ea374158f95d488862c1dffedf9aa5c639df9/cuda_bindings-13.3.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:04436a9364059c84b8f9636f359eccda1cf814341f5b670c71d80d2f79dbc708", size = 6674166, upload-time = "2026-05-29T23:11:45.478Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/67/5e7dba1ba576dd73da5dee894ca076ca5e959450dfff66d6d510a255d1f7/cuda_bindings-13.3.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7855c4868aabc0cfae28abbe83d56734bdfbd08f08fc234ac1912a12858bf49", size = 6025351, upload-time = "2026-05-29T23:11:49.685Z" },
+ { url = "https://files.pythonhosted.org/packages/39/2a/6d2e9047d1fb243dbaa364b01e0297534b9ed7fd27dba1c9f361519cf69b/cuda_bindings-13.3.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e32d08f71ebcdf00f0f41eab2eb37e8da94c8ed411cc9f7f7a019ce6b34abe3a", size = 6657965, upload-time = "2026-05-29T23:11:52.227Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/6e/2394f8163360f8391f8f1b7e72d300a82724edb81a7b7084c799fbd4c91f/cuda_bindings-13.3.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9efb21c1ee64981e184b9e0ba5eb3179e5ba3d4b51665a6cb52b8ef3d01a7cbf", size = 5920504, upload-time = "2026-05-29T23:11:56.883Z" },
+ { url = "https://files.pythonhosted.org/packages/34/c2/ef9b6a63f7dc432712a462c816662e662e00d38caa9b861c8c2588195d03/cuda_bindings-13.3.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2732904099e0a4d4db774a5fc6d91ee95fae065b4d2ecabb4968c5fe2406c9d7", size = 6476660, upload-time = "2026-05-29T23:11:59.188Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/81/bff68ce829999c1e4209c761bbf903b1c06ec570416ddb25020864ad5907/cuda_bindings-13.3.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1ab2f74ed65bfef4163ba07a8db16f1085e0729291db12a2423aff84ee8278b8", size = 6013639, upload-time = "2026-05-29T23:12:03.509Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/e0/c8a1f0c8f9ffdea4f5fe6dbab89b326cef4d85caf489dad39e209da89416/cuda_bindings-13.3.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:efd4c814d311ec08c981f6dded1dbe7d4b371067ee4f6c14cccec4bde9590f80", size = 6534419, upload-time = "2026-05-29T23:12:05.633Z" },
+ { url = "https://files.pythonhosted.org/packages/52/b8/83b1f563925b290f2d11a01a77a84013ba56052fe3653a5bef3ccfbb43d6/cuda_bindings-13.3.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c3c772dfff49681541d59630c90f858e173ac926b9c593a2b7123f2a1043cc76", size = 5809771, upload-time = "2026-05-29T23:12:10.422Z" },
+ { url = "https://files.pythonhosted.org/packages/12/20/e79b4bfe98f075195afb6343d41c498f9dbd2d161d7021d4d28bceb83581/cuda_bindings-13.3.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:36febb7c1079d68a981dbbd8d5a67235b399802b82075c9388624719607e52b9", size = 6358584, upload-time = "2026-05-29T23:12:12.767Z" },
+]
+
+[[package]]
+name = "cuda-pathfinder"
+version = "1.5.5"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/11/c8/26f2e4aae92f11522a96043892ba39a90eac610d5242523aa863212bc1c7/cuda_pathfinder-1.5.5-py3-none-any.whl", hash = "sha256:0228c023f95d1480f143ef5c8922d27a2ab052087a942e81dc289c9eb8f91689", size = 51671, upload-time = "2026-05-27T01:21:25.413Z" },
+]
+
+[[package]]
+name = "cuda-toolkit"
+version = "13.0.2"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/57/b2/453099f5f3b698d7d0eab38916aac44c7f76229f451709e2eb9db6615dcd/cuda_toolkit-13.0.2-py2.py3-none-any.whl", hash = "sha256:b198824cf2f54003f50d64ada3a0f184b42ca0846c1c94192fa269ecd97a66eb", size = 2364, upload-time = "2025-12-19T23:24:07.328Z" },
+]
+
+[package.optional-dependencies]
+cudart = [
+ { name = "nvidia-cuda-runtime", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+cufft = [
+ { name = "nvidia-cufft", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+cufile = [
+ { name = "nvidia-cufile", marker = "sys_platform == 'linux'" },
+]
+cupti = [
+ { name = "nvidia-cuda-cupti", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+curand = [
+ { name = "nvidia-curand", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+cusolver = [
+ { name = "nvidia-cusolver", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+cusparse = [
+ { name = "nvidia-cusparse", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+nvjitlink = [
+ { name = "nvidia-nvjitlink", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+nvrtc = [
+ { name = "nvidia-cuda-nvrtc", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+nvtx = [
+ { name = "nvidia-nvtx", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
+]
+
+[[package]]
+name = "cymem"
+version = "2.0.13"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/2f0fbb32535c3731b7c2974c569fb9325e0a38ed5565a08e1139a3b71e82/cymem-2.0.13.tar.gz", hash = "sha256:1c91a92ae8c7104275ac26bd4d29b08ccd3e7faff5893d3858cb6fadf1bc1588", size = 12320, upload-time = "2025-11-14T14:58:36.902Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5d/14/462018dd384ee1848ac9c1951534a813a325abbfc161a74e2cbcb38d2469/cymem-2.0.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8efc4f308169237aade0e82877a65a563833dec32eb7ab2326120253e0e9e918", size = 43747, upload-time = "2025-11-14T14:57:11.287Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/9b/c123ba65dddcd8a2bc0b3c9046766c15abe0e257c315b3040eed22cce1e2/cymem-2.0.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e03bb575a96c59bc210d7d59862747f0012696b0dac3427ce8af33c7afb3d4a2", size = 43328, upload-time = "2025-11-14T14:57:12.578Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/be/7b7a4cf9cd2d37e674612a86fc90b3d59bff12177f83430e62b25afaf7fc/cymem-2.0.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1775d3fd34cf099929b79c3e48469283642463f977af6801231f3c0e5d9c9369", size = 231539, upload-time = "2025-11-14T14:57:14.441Z" },
+ { url = "https://files.pythonhosted.org/packages/79/6d/d165c38cd4caaaf60942e2cec9998b667008f2384047ccfe0b4b5f7a1ffe/cymem-2.0.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:84e2976e38cd663f758e40b5497fa5cd183d7c5fb0d04ce81a4b42a1ba124ff0", size = 229674, upload-time = "2025-11-14T14:57:15.685Z" },
+ { url = "https://files.pythonhosted.org/packages/95/c1/af83c03a93f890ca81149561b18a4a67a9aa36a1109f15e291dd2703ab12/cymem-2.0.13-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ed9de1b9b042f76fe5c312e4359eab58bf52ac7dfdf6887368a760410d809440", size = 229805, upload-time = "2025-11-14T14:57:17.289Z" },
+ { url = "https://files.pythonhosted.org/packages/03/2d/12900758b80345d9aed5892a9d61e8a5f6abbbe5837e4def373a53cd0da2/cymem-2.0.13-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:1366c7437a209230f4b797fae10227a8206d4021d37c9f9c0d31fd97ea4feb35", size = 234018, upload-time = "2025-11-14T14:57:18.512Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/8b/5fcf5430fc81098aef58cc20340e51f37b49b9d8c15766e0d5d63e7288a3/cymem-2.0.13-cp310-cp310-win_amd64.whl", hash = "sha256:7700b116524b087e0169f10f267539223b48240ef2734c3a727a9e6b4db9a671", size = 40102, upload-time = "2025-11-14T14:57:19.972Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/d3/cb6c83758fe399443b858faafb7096b72535621a7af7dd9a54ff0989fa14/cymem-2.0.13-cp310-cp310-win_arm64.whl", hash = "sha256:c8dbfddfe5c604974e17c6f373cedd4d25cd67f84812ede7dea12128fa0c2015", size = 36282, upload-time = "2025-11-14T14:57:21.398Z" },
+ { url = "https://files.pythonhosted.org/packages/10/64/1db41f7576a6b69f70367e3c15e968fd775ba7419e12059c9966ceb826f8/cymem-2.0.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:673183466b0ff2e060d97ec5116711d44200b8f7be524323e080d215ee2d44a5", size = 43587, upload-time = "2025-11-14T14:57:22.39Z" },
+ { url = "https://files.pythonhosted.org/packages/81/13/57f936fc08551323aab3f92ff6b7f4d4b89d5b4e495c870a67cb8d279757/cymem-2.0.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bee2791b3f6fc034ce41268851462bf662ff87e8947e35fb6dd0115b4644a61f", size = 43139, upload-time = "2025-11-14T14:57:23.363Z" },
+ { url = "https://files.pythonhosted.org/packages/32/a6/9345754be51e0479aa387b7b6cffc289d0fd3201aaeb8dade4623abd1e02/cymem-2.0.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f3aee3adf16272bca81c5826eed55ba3c938add6d8c9e273f01c6b829ecfde22", size = 245063, upload-time = "2025-11-14T14:57:24.839Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/01/6bc654101526fa86e82bf6b05d99b2cd47c30a333cfe8622c26c0592beb2/cymem-2.0.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:30c4e75a3a1d809e89106b0b21803eb78e839881aa1f5b9bd27b454bc73afde3", size = 244496, upload-time = "2025-11-14T14:57:26.42Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/fb/853b7b021e701a1f41687f3704d5f469aeb2a4f898c3fbb8076806885955/cymem-2.0.13-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ec99efa03cf8ec11c8906aa4d4cc0c47df393bc9095c9dd64b89b9b43e220b04", size = 243287, upload-time = "2025-11-14T14:57:27.542Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/2b/0e4664cafc581de2896d75000651fd2ce7094d33263f466185c28ffc96e4/cymem-2.0.13-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:c90a6ecba994a15b17a3f45d7ec74d34081df2f73bd1b090e2adc0317e4e01b6", size = 248287, upload-time = "2025-11-14T14:57:29.055Z" },
+ { url = "https://files.pythonhosted.org/packages/21/0f/f94c6950edbfc2aafb81194fc40b6cacc8e994e9359d3cb4328c5705b9b5/cymem-2.0.13-cp311-cp311-win_amd64.whl", hash = "sha256:ce821e6ba59148ed17c4567113b8683a6a0be9c9ac86f14e969919121efb61a5", size = 40116, upload-time = "2025-11-14T14:57:30.592Z" },
+ { url = "https://files.pythonhosted.org/packages/00/df/2455eff6ac0381ff165db6883b311f7016e222e3dd62185517f8e8187ed0/cymem-2.0.13-cp311-cp311-win_arm64.whl", hash = "sha256:0dca715e708e545fd1d97693542378a00394b20a37779c1ae2c8bdbb43acef79", size = 36349, upload-time = "2025-11-14T14:57:31.573Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/52/478a2911ab5028cb710b4900d64aceba6f4f882fcb13fd8d40a456a1b6dc/cymem-2.0.13-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:e8afbc5162a0fe14b6463e1c4e45248a1b2fe2cbcecc8a5b9e511117080da0eb", size = 43745, upload-time = "2025-11-14T14:57:32.52Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/71/f0f8adee945524774b16af326bd314a14a478ed369a728a22834e6785a18/cymem-2.0.13-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c9251d889348fe79a75e9b3e4d1b5fa651fca8a64500820685d73a3acc21b6a8", size = 42927, upload-time = "2025-11-14T14:57:33.827Z" },
+ { url = "https://files.pythonhosted.org/packages/62/6d/159780fe162ff715d62b809246e5fc20901cef87ca28b67d255a8d741861/cymem-2.0.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:742fc19764467a49ed22e56a4d2134c262d73a6c635409584ae3bf9afa092c33", size = 258346, upload-time = "2025-11-14T14:57:34.917Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/12/678d16f7aa1996f947bf17b8cfb917ea9c9674ef5e2bd3690c04123d5680/cymem-2.0.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f190a92fe46197ee64d32560eb121c2809bb843341733227f51538ce77b3410d", size = 260843, upload-time = "2025-11-14T14:57:36.503Z" },
+ { url = "https://files.pythonhosted.org/packages/31/5d/0dd8c167c08cd85e70d274b7235cfe1e31b3cebc99221178eaf4bbb95c6f/cymem-2.0.13-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d670329ee8dbbbf241b7c08069fe3f1d3a1a3e2d69c7d05ea008a7010d826298", size = 254607, upload-time = "2025-11-14T14:57:38.036Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/c9/d6514a412a1160aa65db539836b3d47f9b59f6675f294ec34ae32f867c82/cymem-2.0.13-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a84ba3178d9128b9ffb52ce81ebab456e9fe959125b51109f5b73ebdfc6b60d6", size = 262421, upload-time = "2025-11-14T14:57:39.265Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/fe/3ee37d02ca4040f2fb22d34eb415198f955862b5dd47eee01df4c8f5454c/cymem-2.0.13-cp312-cp312-win_amd64.whl", hash = "sha256:2ff1c41fd59b789579fdace78aa587c5fc091991fa59458c382b116fc36e30dc", size = 40176, upload-time = "2025-11-14T14:57:40.706Z" },
+ { url = "https://files.pythonhosted.org/packages/94/fb/1b681635bfd5f2274d0caa8f934b58435db6c091b97f5593738065ddb786/cymem-2.0.13-cp312-cp312-win_arm64.whl", hash = "sha256:6bbd701338df7bf408648191dff52472a9b334f71bcd31a21a41d83821050f67", size = 35959, upload-time = "2025-11-14T14:57:41.682Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/0f/95a4d1e3bebfdfa7829252369357cf9a764f67569328cd9221f21e2c952e/cymem-2.0.13-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:891fd9030293a8b652dc7fb9fdc79a910a6c76fc679cd775e6741b819ffea476", size = 43478, upload-time = "2025-11-14T14:57:42.682Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/a0/8fc929cc29ae466b7b4efc23ece99cbd3ea34992ccff319089c624d667fd/cymem-2.0.13-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:89c4889bd16513ce1644ccfe1e7c473ba7ca150f0621e66feac3a571bde09e7e", size = 42695, upload-time = "2025-11-14T14:57:43.741Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/b3/deeb01354ebaf384438083ffe0310209ef903db3e7ba5a8f584b06d28387/cymem-2.0.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:45dcaba0f48bef9cc3d8b0b92058640244a95a9f12542210b51318da97c2cf28", size = 250573, upload-time = "2025-11-14T14:57:44.81Z" },
+ { url = "https://files.pythonhosted.org/packages/36/36/bc980b9a14409f3356309c45a8d88d58797d02002a9d794dd6c84e809d3a/cymem-2.0.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e96848faaafccc0abd631f1c5fb194eac0caee4f5a8777fdbb3e349d3a21741c", size = 254572, upload-time = "2025-11-14T14:57:46.023Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/dd/a12522952624685bd0f8968e26d2ed6d059c967413ce6eb52292f538f1b0/cymem-2.0.13-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e02d3e2c3bfeb21185d5a4a70790d9df40629a87d8d7617dc22b4e864f665fa3", size = 248060, upload-time = "2025-11-14T14:57:47.605Z" },
+ { url = "https://files.pythonhosted.org/packages/08/11/5dc933ddfeb2dfea747a0b935cb965b9a7580b324d96fc5f5a1b5ff8df29/cymem-2.0.13-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fece5229fd5ecdcd7a0738affb8c59890e13073ae5626544e13825f26c019d3c", size = 254601, upload-time = "2025-11-14T14:57:48.861Z" },
+ { url = "https://files.pythonhosted.org/packages/70/66/d23b06166864fa94e13a98e5922986ce774832936473578febce64448d75/cymem-2.0.13-cp313-cp313-win_amd64.whl", hash = "sha256:38aefeb269597c1a0c2ddf1567dd8605489b661fa0369c6406c1acd433b4c7ba", size = 40103, upload-time = "2025-11-14T14:57:50.396Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/9e/c7b21271ab88a21760f3afdec84d2bc09ffa9e6c8d774ad9d4f1afab0416/cymem-2.0.13-cp313-cp313-win_arm64.whl", hash = "sha256:717270dcfd8c8096b479c42708b151002ff98e434a7b6f1f916387a6c791e2ad", size = 36016, upload-time = "2025-11-14T14:57:51.611Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/28/d3b03427edc04ae04910edf1c24b993881c3ba93a9729a42bcbb816a1808/cymem-2.0.13-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:7e1a863a7f144ffb345397813701509cfc74fc9ed360a4d92799805b4b865dd1", size = 46429, upload-time = "2025-11-14T14:57:52.582Z" },
+ { url = "https://files.pythonhosted.org/packages/35/a9/7ed53e481f47ebfb922b0b42e980cec83e98ccb2137dc597ea156642440c/cymem-2.0.13-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:c16cb80efc017b054f78998c6b4b013cef509c7b3d802707ce1f85a1d68361bf", size = 46205, upload-time = "2025-11-14T14:57:53.64Z" },
+ { url = "https://files.pythonhosted.org/packages/61/39/a3d6ad073cf7f0fbbb8bbf09698c3c8fac11be3f791d710239a4e8dd3438/cymem-2.0.13-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0d78a27c88b26c89bd1ece247d1d5939dba05a1dae6305aad8fd8056b17ddb51", size = 296083, upload-time = "2025-11-14T14:57:55.922Z" },
+ { url = "https://files.pythonhosted.org/packages/36/0c/20697c8bc19f624a595833e566f37d7bcb9167b0ce69de896eba7cfc9c2d/cymem-2.0.13-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6d36710760f817194dacb09d9fc45cb6a5062ed75e85f0ef7ad7aeeb13d80cc3", size = 286159, upload-time = "2025-11-14T14:57:57.106Z" },
+ { url = "https://files.pythonhosted.org/packages/82/d4/9326e3422d1c2d2b4a8fb859bdcce80138f6ab721ddafa4cba328a505c71/cymem-2.0.13-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c8f30971cadd5dcf73bcfbbc5849b1f1e1f40db8cd846c4aa7d3b5e035c7b583", size = 288186, upload-time = "2025-11-14T14:57:58.334Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/bc/68da7dd749b72884dc22e898562f335002d70306069d496376e5ff3b6153/cymem-2.0.13-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:9d441d0e45798ec1fd330373bf7ffa6b795f229275f64016b6a193e6e2a51522", size = 290353, upload-time = "2025-11-14T14:58:00.562Z" },
+ { url = "https://files.pythonhosted.org/packages/50/23/dbf2ad6ecd19b99b3aab6203b1a06608bbd04a09c522d836b854f2f30f73/cymem-2.0.13-cp313-cp313t-win_amd64.whl", hash = "sha256:d1c950eebb9f0f15e3ef3591313482a5a611d16fc12d545e2018cd607f40f472", size = 44764, upload-time = "2025-11-14T14:58:01.793Z" },
+ { url = "https://files.pythonhosted.org/packages/54/3f/35701c13e1fc7b0895198c8b20068c569a841e0daf8e0b14d1dc0816b28f/cymem-2.0.13-cp313-cp313t-win_arm64.whl", hash = "sha256:042e8611ef862c34a97b13241f5d0da86d58aca3cecc45c533496678e75c5a1f", size = 38964, upload-time = "2025-11-14T14:58:02.87Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/2e/f0e1596010a9a57fa9ebd124a678c07c5b2092283781ae51e79edcf5cb98/cymem-2.0.13-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:d2a4bf67db76c7b6afc33de44fb1c318207c3224a30da02c70901936b5aafdf1", size = 43812, upload-time = "2025-11-14T14:58:04.227Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/45/8ccc21df08fcbfa6aa3efeb7efc11a1c81c90e7476e255768bb9c29ba02a/cymem-2.0.13-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:92a2ce50afa5625fb5ce7c9302cee61e23a57ccac52cd0410b4858e572f8614b", size = 42951, upload-time = "2025-11-14T14:58:05.424Z" },
+ { url = "https://files.pythonhosted.org/packages/01/8c/fe16531631f051d3d1226fa42e2d76fd2c8d5cfa893ec93baee90c7a9d90/cymem-2.0.13-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bc116a70cc3a5dc3d1684db5268eff9399a0be8603980005e5b889564f1ea42f", size = 249878, upload-time = "2025-11-14T14:58:06.95Z" },
+ { url = "https://files.pythonhosted.org/packages/47/4b/39d67b80ffb260457c05fcc545de37d82e9e2dbafc93dd6b64f17e09b933/cymem-2.0.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:68489bf0035c4c280614067ab6a82815b01dc9fcd486742a5306fe9f68deb7ef", size = 252571, upload-time = "2025-11-14T14:58:08.232Z" },
+ { url = "https://files.pythonhosted.org/packages/53/0e/76f6531f74dfdfe7107899cce93ab063bb7ee086ccd3910522b31f623c08/cymem-2.0.13-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:03cb7bdb55718d5eb6ef0340b1d2430ba1386db30d33e9134d01ba9d6d34d705", size = 248555, upload-time = "2025-11-14T14:58:09.429Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/7c/eee56757db81f0aefc2615267677ae145aff74228f529838425057003c0d/cymem-2.0.13-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1710390e7fb2510a8091a1991024d8ae838fd06b02cdfdcd35f006192e3c6b0e", size = 254177, upload-time = "2025-11-14T14:58:10.594Z" },
+ { url = "https://files.pythonhosted.org/packages/77/e0/a4b58ec9e53c836dce07ef39837a64a599f4a21a134fc7ca57a3a8f9a4b5/cymem-2.0.13-cp314-cp314-win_amd64.whl", hash = "sha256:ac699c8ec72a3a9de8109bd78821ab22f60b14cf2abccd970b5ff310e14158ed", size = 40853, upload-time = "2025-11-14T14:58:12.116Z" },
+ { url = "https://files.pythonhosted.org/packages/61/81/9931d1f83e5aeba175440af0b28f0c2e6f71274a5a7b688bc3e907669388/cymem-2.0.13-cp314-cp314-win_arm64.whl", hash = "sha256:90c2d0c04bcda12cd5cebe9be93ce3af6742ad8da96e1b1907e3f8e00291def1", size = 36970, upload-time = "2025-11-14T14:58:13.114Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/ef/af447c2184dec6dec973be14614df8ccb4d16d1c74e0784ab4f02538433c/cymem-2.0.13-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ff036bbc1464993552fd1251b0a83fe102af334b301e3896d7aa05a4999ad042", size = 46804, upload-time = "2025-11-14T14:58:14.113Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/95/e10f33a8d4fc17f9b933d451038218437f9326c2abb15a3e7f58ce2a06ec/cymem-2.0.13-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:fb8291691ba7ff4e6e000224cc97a744a8d9588418535c9454fd8436911df612", size = 46254, upload-time = "2025-11-14T14:58:15.156Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/7a/5efeb2d2ea6ebad2745301ad33a4fa9a8f9a33b66623ee4d9185683007a6/cymem-2.0.13-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d8d06ea59006b1251ad5794bcc00121e148434826090ead0073c7b7fedebe431", size = 296061, upload-time = "2025-11-14T14:58:16.254Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/28/2a3f65842cc8443c2c0650cf23d525be06c8761ab212e0a095a88627be1b/cymem-2.0.13-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c0046a619ecc845ccb4528b37b63426a0cbcb4f14d7940add3391f59f13701e6", size = 285784, upload-time = "2025-11-14T14:58:17.412Z" },
+ { url = "https://files.pythonhosted.org/packages/98/73/dd5f9729398f0108c2e71d942253d0d484d299d08b02e474d7cfc43ed0b0/cymem-2.0.13-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:18ad5b116a82fa3674bc8838bd3792891b428971e2123ae8c0fd3ca472157c5e", size = 288062, upload-time = "2025-11-14T14:58:20.225Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/01/ffe51729a8f961a437920560659073e47f575d4627445216c1177ecd4a41/cymem-2.0.13-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:666ce6146bc61b9318aa70d91ce33f126b6344a25cf0b925621baed0c161e9cc", size = 290465, upload-time = "2025-11-14T14:58:21.815Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/ac/c9e7d68607f71ef978c81e334ab2898b426944c71950212b1467186f69f9/cymem-2.0.13-cp314-cp314t-win_amd64.whl", hash = "sha256:84c1168c563d9d1e04546cb65e3e54fde2bf814f7c7faf11fc06436598e386d1", size = 46665, upload-time = "2025-11-14T14:58:23.512Z" },
+ { url = "https://files.pythonhosted.org/packages/66/66/150e406a2db5535533aa3c946de58f0371f2e412e23f050c704588023e6e/cymem-2.0.13-cp314-cp314t-win_arm64.whl", hash = "sha256:e9027764dc5f1999fb4b4cabee1d0322c59e330c0a6485b436a68275f614277f", size = 39715, upload-time = "2025-11-14T14:58:24.773Z" },
+]
+
+[[package]]
+name = "debugpy"
+version = "1.8.17"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/15/ad/71e708ff4ca377c4230530d6a7aa7992592648c122a2cd2b321cf8b35a76/debugpy-1.8.17.tar.gz", hash = "sha256:fd723b47a8c08892b1a16b2c6239a8b96637c62a59b94bb5dab4bac592a58a8e", size = 1644129, upload-time = "2025-09-17T16:33:20.633Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/38/36/b57c6e818d909f6e59c0182252921cf435e0951126a97e11de37e72ab5e1/debugpy-1.8.17-cp310-cp310-macosx_15_0_x86_64.whl", hash = "sha256:c41d2ce8bbaddcc0009cc73f65318eedfa3dbc88a8298081deb05389f1ab5542", size = 2098021, upload-time = "2025-09-17T16:33:22.556Z" },
+ { url = "https://files.pythonhosted.org/packages/be/01/0363c7efdd1e9febd090bb13cee4fb1057215b157b2979a4ca5ccb678217/debugpy-1.8.17-cp310-cp310-manylinux_2_34_x86_64.whl", hash = "sha256:1440fd514e1b815edd5861ca394786f90eb24960eb26d6f7200994333b1d79e3", size = 3087399, upload-time = "2025-09-17T16:33:24.292Z" },
+ { url = "https://files.pythonhosted.org/packages/79/bc/4a984729674aa9a84856650438b9665f9a1d5a748804ac6f37932ce0d4aa/debugpy-1.8.17-cp310-cp310-win32.whl", hash = "sha256:3a32c0af575749083d7492dc79f6ab69f21b2d2ad4cd977a958a07d5865316e4", size = 5230292, upload-time = "2025-09-17T16:33:26.137Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/19/2b9b3092d0cf81a5aa10c86271999453030af354d1a5a7d6e34c574515d7/debugpy-1.8.17-cp310-cp310-win_amd64.whl", hash = "sha256:a3aad0537cf4d9c1996434be68c6c9a6d233ac6f76c2a482c7803295b4e4f99a", size = 5261885, upload-time = "2025-09-17T16:33:27.592Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/53/3af72b5c159278c4a0cf4cffa518675a0e73bdb7d1cac0239b815502d2ce/debugpy-1.8.17-cp311-cp311-macosx_15_0_universal2.whl", hash = "sha256:d3fce3f0e3de262a3b67e69916d001f3e767661c6e1ee42553009d445d1cd840", size = 2207154, upload-time = "2025-09-17T16:33:29.457Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/6d/204f407df45600e2245b4a39860ed4ba32552330a0b3f5f160ae4cc30072/debugpy-1.8.17-cp311-cp311-manylinux_2_34_x86_64.whl", hash = "sha256:c6bdf134457ae0cac6fb68205776be635d31174eeac9541e1d0c062165c6461f", size = 3170322, upload-time = "2025-09-17T16:33:30.837Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/13/1b8f87d39cf83c6b713de2620c31205299e6065622e7dd37aff4808dd410/debugpy-1.8.17-cp311-cp311-win32.whl", hash = "sha256:e79a195f9e059edfe5d8bf6f3749b2599452d3e9380484cd261f6b7cd2c7c4da", size = 5155078, upload-time = "2025-09-17T16:33:33.331Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/c5/c012c60a2922cc91caa9675d0ddfbb14ba59e1e36228355f41cab6483469/debugpy-1.8.17-cp311-cp311-win_amd64.whl", hash = "sha256:b532282ad4eca958b1b2d7dbcb2b7218e02cb934165859b918e3b6ba7772d3f4", size = 5179011, upload-time = "2025-09-17T16:33:35.711Z" },
+ { url = "https://files.pythonhosted.org/packages/08/2b/9d8e65beb2751876c82e1aceb32f328c43ec872711fa80257c7674f45650/debugpy-1.8.17-cp312-cp312-macosx_15_0_universal2.whl", hash = "sha256:f14467edef672195c6f6b8e27ce5005313cb5d03c9239059bc7182b60c176e2d", size = 2549522, upload-time = "2025-09-17T16:33:38.466Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/78/eb0d77f02971c05fca0eb7465b18058ba84bd957062f5eec82f941ac792a/debugpy-1.8.17-cp312-cp312-manylinux_2_34_x86_64.whl", hash = "sha256:24693179ef9dfa20dca8605905a42b392be56d410c333af82f1c5dff807a64cc", size = 4309417, upload-time = "2025-09-17T16:33:41.299Z" },
+ { url = "https://files.pythonhosted.org/packages/37/42/c40f1d8cc1fed1e75ea54298a382395b8b937d923fcf41ab0797a554f555/debugpy-1.8.17-cp312-cp312-win32.whl", hash = "sha256:6a4e9dacf2cbb60d2514ff7b04b4534b0139facbf2abdffe0639ddb6088e59cf", size = 5277130, upload-time = "2025-09-17T16:33:43.554Z" },
+ { url = "https://files.pythonhosted.org/packages/72/22/84263b205baad32b81b36eac076de0cdbe09fe2d0637f5b32243dc7c925b/debugpy-1.8.17-cp312-cp312-win_amd64.whl", hash = "sha256:e8f8f61c518952fb15f74a302e068b48d9c4691768ade433e4adeea961993464", size = 5319053, upload-time = "2025-09-17T16:33:53.033Z" },
+ { url = "https://files.pythonhosted.org/packages/50/76/597e5cb97d026274ba297af8d89138dfd9e695767ba0e0895edb20963f40/debugpy-1.8.17-cp313-cp313-macosx_15_0_universal2.whl", hash = "sha256:857c1dd5d70042502aef1c6d1c2801211f3ea7e56f75e9c335f434afb403e464", size = 2538386, upload-time = "2025-09-17T16:33:54.594Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/60/ce5c34fcdfec493701f9d1532dba95b21b2f6394147234dce21160bd923f/debugpy-1.8.17-cp313-cp313-manylinux_2_34_x86_64.whl", hash = "sha256:3bea3b0b12f3946e098cce9b43c3c46e317b567f79570c3f43f0b96d00788088", size = 4292100, upload-time = "2025-09-17T16:33:56.353Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/95/7873cf2146577ef71d2a20bf553f12df865922a6f87b9e8ee1df04f01785/debugpy-1.8.17-cp313-cp313-win32.whl", hash = "sha256:e34ee844c2f17b18556b5bbe59e1e2ff4e86a00282d2a46edab73fd7f18f4a83", size = 5277002, upload-time = "2025-09-17T16:33:58.231Z" },
+ { url = "https://files.pythonhosted.org/packages/46/11/18c79a1cee5ff539a94ec4aa290c1c069a5580fd5cfd2fb2e282f8e905da/debugpy-1.8.17-cp313-cp313-win_amd64.whl", hash = "sha256:6c5cd6f009ad4fca8e33e5238210dc1e5f42db07d4b6ab21ac7ffa904a196420", size = 5319047, upload-time = "2025-09-17T16:34:00.586Z" },
+ { url = "https://files.pythonhosted.org/packages/de/45/115d55b2a9da6de812696064ceb505c31e952c5d89c4ed1d9bb983deec34/debugpy-1.8.17-cp314-cp314-macosx_15_0_universal2.whl", hash = "sha256:045290c010bcd2d82bc97aa2daf6837443cd52f6328592698809b4549babcee1", size = 2536899, upload-time = "2025-09-17T16:34:02.657Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/73/2aa00c7f1f06e997ef57dc9b23d61a92120bec1437a012afb6d176585197/debugpy-1.8.17-cp314-cp314-manylinux_2_34_x86_64.whl", hash = "sha256:b69b6bd9dba6a03632534cdf67c760625760a215ae289f7489a452af1031fe1f", size = 4268254, upload-time = "2025-09-17T16:34:04.486Z" },
+ { url = "https://files.pythonhosted.org/packages/86/b5/ed3e65c63c68a6634e3ba04bd10255c8e46ec16ebed7d1c79e4816d8a760/debugpy-1.8.17-cp314-cp314-win32.whl", hash = "sha256:5c59b74aa5630f3a5194467100c3b3d1c77898f9ab27e3f7dc5d40fc2f122670", size = 5277203, upload-time = "2025-09-17T16:34:06.65Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/26/394276b71c7538445f29e792f589ab7379ae70fd26ff5577dfde71158e96/debugpy-1.8.17-cp314-cp314-win_amd64.whl", hash = "sha256:893cba7bb0f55161de4365584b025f7064e1f88913551bcd23be3260b231429c", size = 5318493, upload-time = "2025-09-17T16:34:08.483Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/d0/89247ec250369fc76db477720a26b2fce7ba079ff1380e4ab4529d2fe233/debugpy-1.8.17-py2.py3-none-any.whl", hash = "sha256:60c7dca6571efe660ccb7a9508d73ca14b8796c4ed484c2002abba714226cfef", size = 5283210, upload-time = "2025-09-17T16:34:25.835Z" },
+]
+
+[[package]]
+name = "decorator"
+version = "5.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711, upload-time = "2025-02-24T04:41:34.073Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190, upload-time = "2025-02-24T04:41:32.565Z" },
+]
+
+[[package]]
+name = "defusedxml"
+version = "0.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72/defusedxml-0.7.1.tar.gz", hash = "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69", size = 75520, upload-time = "2021-03-08T10:59:26.269Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl", hash = "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61", size = 25604, upload-time = "2021-03-08T10:59:24.45Z" },
+]
+
+[[package]]
+name = "distro"
+version = "1.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722, upload-time = "2023-12-24T09:54:32.31Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" },
+]
+
+[[package]]
+name = "en-core-web-sm"
+version = "3.8.0"
+source = { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl" }
+wheels = [
+ { url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl", hash = "sha256:1932429db727d4bff3deed6b34cfc05df17794f4a52eeb26cf8928f7c1a0fb85" },
+]
+
+[[package]]
+name = "exceptiongroup"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/0b/9f/a65090624ecf468cdca03533906e7c69ed7588582240cfe7cc9e770b50eb/exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88", size = 29749, upload-time = "2025-05-10T17:42:51.123Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10", size = 16674, upload-time = "2025-05-10T17:42:49.33Z" },
+]
+
+[[package]]
+name = "execnet"
+version = "2.1.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/bb/ff/b4c0dc78fbe20c3e59c0c7334de0c27eb4001a2b2017999af398bf730817/execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3", size = 166524, upload-time = "2024-04-08T09:04:19.245Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/09/2aea36ff60d16dd8879bdb2f5b3ee0ba8d08cbbdcdfe870e695ce3784385/execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc", size = 40612, upload-time = "2024-04-08T09:04:17.414Z" },
+]
+
+[[package]]
+name = "executing"
+version = "2.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cc/28/c14e053b6762b1044f34a13aab6859bbf40456d37d23aa286ac24cfd9a5d/executing-2.2.1.tar.gz", hash = "sha256:3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4", size = 1129488, upload-time = "2025-09-01T09:48:10.866Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/ea/53f2148663b321f21b5a606bd5f191517cf40b7072c0497d3c92c4a13b1e/executing-2.2.1-py2.py3-none-any.whl", hash = "sha256:760643d3452b4d777d295bb167ccc74c64a81df23fb5e08eff250c425a4b2017", size = 28317, upload-time = "2025-09-01T09:48:08.5Z" },
+]
+
+[[package]]
+name = "fastjsonschema"
+version = "2.21.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/20/b5/23b216d9d985a956623b6bd12d4086b60f0059b27799f23016af04a74ea1/fastjsonschema-2.21.2.tar.gz", hash = "sha256:b1eb43748041c880796cd077f1a07c3d94e93ae84bba5ed36800a33554ae05de", size = 374130, upload-time = "2025-08-14T18:49:36.666Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/cb/a8/20d0723294217e47de6d9e2e40fd4a9d2f7c4b6ef974babd482a59743694/fastjsonschema-2.21.2-py3-none-any.whl", hash = "sha256:1c797122d0a86c5cace2e54bf4e819c36223b552017172f32c5c024a6b77e463", size = 24024, upload-time = "2025-08-14T18:49:34.776Z" },
+]
+
+[[package]]
+name = "filelock"
+version = "3.20.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1d/65/ce7f1b70157833bf3cb851b556a37d4547ceafc158aa9b34b36782f23696/filelock-3.20.3.tar.gz", hash = "sha256:18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1", size = 19485, upload-time = "2026-01-09T17:55:05.421Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b5/36/7fb70f04bf00bc646cd5bb45aa9eddb15e19437a28b8fb2b4a5249fac770/filelock-3.20.3-py3-none-any.whl", hash = "sha256:4b0dda527ee31078689fc205ec4f1c1bf7d56cf88b6dc9426c4f230e46c2dce1", size = 16701, upload-time = "2026-01-09T17:55:04.334Z" },
+]
+
+[[package]]
+name = "fqdn"
+version = "1.5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/30/3e/a80a8c077fd798951169626cde3e239adeba7dab75deb3555716415bd9b0/fqdn-1.5.1.tar.gz", hash = "sha256:105ed3677e767fb5ca086a0c1f4bb66ebc3c100be518f0e0d755d9eae164d89f", size = 6015, upload-time = "2021-03-11T07:16:29.08Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/cf/58/8acf1b3e91c58313ce5cb67df61001fc9dcd21be4fadb76c1a2d540e09ed/fqdn-1.5.1-py3-none-any.whl", hash = "sha256:3a179af3761e4df6eb2e026ff9e1a3033d3587bf980a0b1b2e1e5d08d7358014", size = 9121, upload-time = "2021-03-11T07:16:28.351Z" },
+]
+
+[[package]]
+name = "freezegun"
+version = "1.5.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "python-dateutil" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/95/dd/23e2f4e357f8fd3bdff613c1fe4466d21bfb00a6177f238079b17f7b1c84/freezegun-1.5.5.tar.gz", hash = "sha256:ac7742a6cc6c25a2c35e9292dfd554b897b517d2dec26891a2e8debf205cb94a", size = 35914, upload-time = "2025-08-09T10:39:08.338Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5e/2e/b41d8a1a917d6581fc27a35d05561037b048e47df50f27f8ac9c7e27a710/freezegun-1.5.5-py3-none-any.whl", hash = "sha256:cd557f4a75cf074e84bc374249b9dd491eaeacd61376b9eb3c423282211619d2", size = 19266, upload-time = "2025-08-09T10:39:06.636Z" },
+]
+
+[[package]]
+name = "fsspec"
+version = "2025.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/de/e0/bab50af11c2d75c9c4a2a26a5254573c0bd97cea152254401510950486fa/fsspec-2025.9.0.tar.gz", hash = "sha256:19fd429483d25d28b65ec68f9f4adc16c17ea2c7c7bf54ec61360d478fb19c19", size = 304847, upload-time = "2025-09-02T19:10:49.215Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/47/71/70db47e4f6ce3e5c37a607355f80da8860a33226be640226ac52cb05ef2e/fsspec-2025.9.0-py3-none-any.whl", hash = "sha256:530dc2a2af60a414a832059574df4a6e10cce927f6f4a78209390fe38955cfb7", size = 199289, upload-time = "2025-09-02T19:10:47.708Z" },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
+]
+
+[[package]]
+name = "hf-xet"
+version = "1.5.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/74/d8/5c06fc76461418326a7decf8367480c35be11a41fd938633929c60a9ec6b/hf_xet-1.5.0.tar.gz", hash = "sha256:e0fb0a34d9f406eed88233e829a67ec016bec5af19e480eac65a233ea289a948", size = 837196, upload-time = "2026-05-06T06:18:15.583Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/68/9b/6912c99070915a4f28119e3c5b52a9abd1eec0ad5cb293b8c967a0c6f5a2/hf_xet-1.5.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:7d70fe2ce97b9db73b9c9b9c81fe3693640aec83416a966c446afea54acfae3c", size = 4023383, upload-time = "2026-05-06T06:17:53.947Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/6d/9563cfde59b5d8128a9c7ec972a087f4c782e4f7bac5a85234edfd5d5e49/hf_xet-1.5.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:73a0dae8c71de3b0633a45c73f4a4a5ed09e94b43441d82981a781d4f12baa42", size = 3792751, upload-time = "2026-05-06T06:17:51.791Z" },
+ { url = "https://files.pythonhosted.org/packages/07/a5/ed5a0cf35b49a0571af5a8f53416dad1877a718c021c9937c3a53cb45781/hf_xet-1.5.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a60290ec57e9b71767fba7c3645ddafdd0759974b540441510c629c6db6db24a", size = 4456058, upload-time = "2026-05-06T06:17:40.735Z" },
+ { url = "https://files.pythonhosted.org/packages/60/fb/3ae8bf2a7a37a4197d0195d7247fd25b3952e15cb8a599e285dfaa6f52b3/hf_xet-1.5.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:e5de0f6deada0dada870bb376a11bcd1f08abf3a968a6d118f33e72d1b1eb480", size = 4250783, upload-time = "2026-05-06T06:17:38.412Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/9b/8bae40d4d91525085137196e84eb0ed49cf65b5e96e5c3ecdadd8bd0fac2/hf_xet-1.5.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c799d49f1a5544a0ef7591c0ee75e0d6b93d6f56dc7a4979f59f7518d2872216", size = 4445594, upload-time = "2026-05-06T06:18:04.219Z" },
+ { url = "https://files.pythonhosted.org/packages/13/59/c74efbbd4e8728172b2cc72a2bc014d2947a4b7bdced932fbd3f5da1a4e5/hf_xet-1.5.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2baea1b0b989e5c152fe81425f7745ddc8901280ba3d97c98d8cdece7b706c60", size = 4663995, upload-time = "2026-05-06T06:18:06.1Z" },
+ { url = "https://files.pythonhosted.org/packages/73/32/8e1e0410af64cda9b139d1dcebdc993a8ff9c8c7c0e2696ae356d75ccc0d/hf_xet-1.5.0-cp313-cp313t-win_amd64.whl", hash = "sha256:526345b3ed45f374f6317349df489167606736c876241ba984105afe7fd4839d", size = 3966608, upload-time = "2026-05-06T06:18:19.74Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/34/a8febc8f4edbea8b3e21b02ebc8b628679b84ba7e45cde624a7736b51500/hf_xet-1.5.0-cp313-cp313t-win_arm64.whl", hash = "sha256:786d28e2eb8315d5035544b9d137b4a842d600c434bb91bf7d0d953cce906ad4", size = 3796946, upload-time = "2026-05-06T06:18:17.568Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/20/8fc8996afe5815fa1a6be8e9e5c02f24500f409d599e905800d498a4e14d/hf_xet-1.5.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:872d5601e6deea30d15865ede55d29eac6daf5a534ab417b99b6ef6b076dd96c", size = 4023495, upload-time = "2026-05-06T06:18:01.94Z" },
+ { url = "https://files.pythonhosted.org/packages/32/6a/93d84463c00cecb561a7508aa6303e35ee2894294eac14245526924415fe/hf_xet-1.5.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:9929561f5abf4581c8ea79587881dfef6b8abb2a0d8a51915936fc2a614f4e73", size = 3792731, upload-time = "2026-05-06T06:18:00.021Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/5a/8ec8e0c863b382d00b3c2e2af6ded6b06371be617144a625903a6d562f4b/hf_xet-1.5.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f7b7bbae318e583a86fb21e5a4a175d6721d628a2874f4bd022d0e660c32a682", size = 4456738, upload-time = "2026-05-06T06:17:49.574Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/ca/f7effa1a67717da2bcc6b6c28f71c6ca648c77acaec4e2c32f40cbe16d85/hf_xet-1.5.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:cf7b2dc6f31a4ea754bb50f74cde482dcf5d366d184076d8530b9872787f3761", size = 4251622, upload-time = "2026-05-06T06:17:47.096Z" },
+ { url = "https://files.pythonhosted.org/packages/65/f2/19247dba3e231cf77dec59ddfb878f00057635ff773d099c9b59d37812c3/hf_xet-1.5.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8dbcbab554c9ef158ef2c991545c3e970ddd8cc7acdcd0a78c5a41095dab4ded", size = 4445667, upload-time = "2026-05-06T06:18:11.983Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/64/6f116801a3bcfb6f59f5c251f48cadc47ea54026441c4a385079286a94fa/hf_xet-1.5.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5906bf7718d3636dc13402914736abe723492cb730f744834f5f5b67d3a12702", size = 4664619, upload-time = "2026-05-06T06:18:13.771Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/e8/069542d37946ed08669b127e1496fa99e78196d71de8d41eda5e9f1b7a58/hf_xet-1.5.0-cp314-cp314t-win_amd64.whl", hash = "sha256:5f3dc2248fc01cc0a00cd392ab497f1ca373fcbc7e3f2da1f452480b384e839e", size = 3966802, upload-time = "2026-05-06T06:18:28.162Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/91/fc6fdec27b14d04e88c386ac0a0129732b53fa23f7c4a78f4b83a039c567/hf_xet-1.5.0-cp314-cp314t-win_arm64.whl", hash = "sha256:b285cea1b5bab46b758772716ba8d6854a1a0310fed1c249d678a8b38601e5a0", size = 3797168, upload-time = "2026-05-06T06:18:26.287Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/fb/69ff198a82cae7eb1a69fb84d93b3a3e4816564d76817fe541ddc96874eb/hf_xet-1.5.0-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:dad0dc84e941b8ba3c860659fe1fdc35c049d47cce293f003287757e971a8f56", size = 4030814, upload-time = "2026-05-06T06:17:57.933Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/ff/edcc2b40162bef3ff78e14ab637e5f3b89243d6aee72f5949d3bb6a5af83/hf_xet-1.5.0-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:fd6e5a9b0fdac4ed03ed45ef79254a655b1aaab514a02202617fbf643f5fdf7a", size = 3798444, upload-time = "2026-05-06T06:17:55.79Z" },
+ { url = "https://files.pythonhosted.org/packages/49/4d/103f76b04310e5e57656696cc184690d20c466af0bca3ca88f8c8ea5d4f3/hf_xet-1.5.0-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3531b1823a0e6d77d80f9ed15ca0e00f0d115094f8ac033d5cae88f4564cc949", size = 4465986, upload-time = "2026-05-06T06:17:44.886Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/a2/546f47f464737b3edbab6f8ddb57f2599b93d2cbb66f06abb475ccb48651/hf_xet-1.5.0-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:9a0ee58cd18d5ea799f7ed11290bbccbe56bdd8b1d97ca74b9cc49a3945d7a3b", size = 4259865, upload-time = "2026-05-06T06:17:42.639Z" },
+ { url = "https://files.pythonhosted.org/packages/95/7f/1be593c1f28613be2e196473481cd81bfc5910795e30a34e8f744f6cac4f/hf_xet-1.5.0-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1e60df5a42e9bed8628b6416af2cba4cba57ae9f02de226a06b020d98e1aab18", size = 4459835, upload-time = "2026-05-06T06:18:08.026Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/b2/703569fc881f3284487e68cda7b42179978480da3c438042a6bbbb4a671c/hf_xet-1.5.0-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4b35549ce62601b84da4ff9b24d970032ace3d4430f52d91bcbb26c901d6c690", size = 4672414, upload-time = "2026-05-06T06:18:09.864Z" },
+ { url = "https://files.pythonhosted.org/packages/af/37/1b6def445c567286b50aa3b33828158e135b1be44938dde59f11382a500c/hf_xet-1.5.0-cp37-abi3-win_amd64.whl", hash = "sha256:2806c7c17b4d23f8d88f7c4814f838c3b6150773fe339c20af23e1cfaf2797e4", size = 3977238, upload-time = "2026-05-06T06:18:23.621Z" },
+ { url = "https://files.pythonhosted.org/packages/62/94/3b66b148778ee100dcfd69c2ca22b57b41b44d3063ceec934f209e9184ce/hf_xet-1.5.0-cp37-abi3-win_arm64.whl", hash = "sha256:b6c9df403040248c76d808d3e047d64db2d923bae593eb244c41e425cf6cd7be", size = 3806916, upload-time = "2026-05-06T06:18:21.7Z" },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { name = "httpcore" },
+ { name = "idna" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
+]
+
+[[package]]
+name = "huggingface-hub"
+version = "1.15.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "filelock" },
+ { name = "fsspec" },
+ { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" },
+ { name = "httpx" },
+ { name = "packaging" },
+ { name = "pyyaml" },
+ { name = "tqdm" },
+ { name = "typer" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bb/b6/e22bd20a25299c34b8c5922c1545a6320825b13906eb0f7298edfd034a0b/huggingface_hub-1.15.0.tar.gz", hash = "sha256:28abfdddda3927fd4de6a63cf26ab012498a2c24dae52baf150c5c6edf98a1d5", size = 784100, upload-time = "2026-05-15T11:42:52.149Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6e/11/0b64cc9024329b76d7547c19a67604a61d21d3ba678a69d1b220c29d5112/huggingface_hub-1.15.0-py3-none-any.whl", hash = "sha256:a4a59af04cbc41a3fe3fec429b171ef994ef8c971eda10136746f408dd4e3744", size = 663602, upload-time = "2026-05-15T11:42:50.487Z" },
+]
+
+[[package]]
+name = "idna"
+version = "3.15"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/82/77/7b3966d0b9d1d31a36ddf1746926a11dface89a83409bf1483f0237aa758/idna-3.15.tar.gz", hash = "sha256:ca962446ea538f7092a95e057da437618e886f4d349216d2b1e294abfdb65fdc", size = 199245, upload-time = "2026-05-12T22:45:57.011Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d2/23/408243171aa9aaba178d3e2559159c24c1171a641aa83b67bdd3394ead8e/idna-3.15-py3-none-any.whl", hash = "sha256:048adeaf8c2d788c40fee287673ccaa74c24ffd8dcf09ffa555a2fbb59f10ac8", size = 72340, upload-time = "2026-05-12T22:45:55.733Z" },
+]
+
+[[package]]
+name = "iniconfig"
+version = "2.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f2/97/ebf4da567aa6827c909642694d71c9fcf53e5b504f2d96afea02718862f3/iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7", size = 4793, upload-time = "2025-03-19T20:09:59.721Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/e1/e6716421ea10d38022b952c159d5161ca1193197fb744506875fbb87ea7b/iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760", size = 6050, upload-time = "2025-03-19T20:10:01.071Z" },
+]
+
+[[package]]
+name = "ipykernel"
+version = "6.30.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "appnope", marker = "sys_platform == 'darwin'" },
+ { name = "comm" },
+ { name = "debugpy" },
+ { name = "ipython", version = "8.37.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "ipython", version = "9.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "jupyter-client" },
+ { name = "jupyter-core" },
+ { name = "matplotlib-inline" },
+ { name = "nest-asyncio" },
+ { name = "packaging" },
+ { name = "psutil" },
+ { name = "pyzmq" },
+ { name = "tornado" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bb/76/11082e338e0daadc89c8ff866185de11daf67d181901038f9e139d109761/ipykernel-6.30.1.tar.gz", hash = "sha256:6abb270161896402e76b91394fcdce5d1be5d45f456671e5080572f8505be39b", size = 166260, upload-time = "2025-08-04T15:47:35.018Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/c7/b445faca8deb954fe536abebff4ece5b097b923de482b26e78448c89d1dd/ipykernel-6.30.1-py3-none-any.whl", hash = "sha256:aa6b9fb93dca949069d8b85b6c79b2518e32ac583ae9c7d37c51d119e18b3fb4", size = 117484, upload-time = "2025-08-04T15:47:32.622Z" },
+]
+
+[[package]]
+name = "ipython"
+version = "8.37.0"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version < '3.11'",
+]
+dependencies = [
+ { name = "colorama", marker = "python_full_version < '3.11' and sys_platform == 'win32'" },
+ { name = "decorator", marker = "python_full_version < '3.11'" },
+ { name = "exceptiongroup", marker = "python_full_version < '3.11'" },
+ { name = "jedi", marker = "python_full_version < '3.11'" },
+ { name = "matplotlib-inline", marker = "python_full_version < '3.11'" },
+ { name = "pexpect", marker = "python_full_version < '3.11' and sys_platform != 'emscripten' and sys_platform != 'win32'" },
+ { name = "prompt-toolkit", marker = "python_full_version < '3.11'" },
+ { name = "pygments", marker = "python_full_version < '3.11'" },
+ { name = "stack-data", marker = "python_full_version < '3.11'" },
+ { name = "traitlets", marker = "python_full_version < '3.11'" },
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/85/31/10ac88f3357fc276dc8a64e8880c82e80e7459326ae1d0a211b40abf6665/ipython-8.37.0.tar.gz", hash = "sha256:ca815841e1a41a1e6b73a0b08f3038af9b2252564d01fc405356d34033012216", size = 5606088, upload-time = "2025-05-31T16:39:09.613Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/91/d0/274fbf7b0b12643cbbc001ce13e6a5b1607ac4929d1b11c72460152c9fc3/ipython-8.37.0-py3-none-any.whl", hash = "sha256:ed87326596b878932dbcb171e3e698845434d8c61b8d8cd474bf663041a9dcf2", size = 831864, upload-time = "2025-05-31T16:39:06.38Z" },
+]
+
+[[package]]
+name = "ipython"
+version = "9.6.0"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.15'",
+ "python_full_version == '3.14.*'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
+ "python_full_version == '3.11.*'",
+]
+dependencies = [
+ { name = "colorama", marker = "python_full_version >= '3.11' and sys_platform == 'win32'" },
+ { name = "decorator", marker = "python_full_version >= '3.11'" },
+ { name = "ipython-pygments-lexers", marker = "python_full_version >= '3.11'" },
+ { name = "jedi", marker = "python_full_version >= '3.11'" },
+ { name = "matplotlib-inline", marker = "python_full_version >= '3.11'" },
+ { name = "pexpect", marker = "python_full_version >= '3.11' and sys_platform != 'emscripten' and sys_platform != 'win32'" },
+ { name = "prompt-toolkit", marker = "python_full_version >= '3.11'" },
+ { name = "pygments", marker = "python_full_version >= '3.11'" },
+ { name = "stack-data", marker = "python_full_version >= '3.11'" },
+ { name = "traitlets", marker = "python_full_version >= '3.11'" },
+ { name = "typing-extensions", marker = "python_full_version == '3.11.*'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2a/34/29b18c62e39ee2f7a6a3bba7efd952729d8aadd45ca17efc34453b717665/ipython-9.6.0.tar.gz", hash = "sha256:5603d6d5d356378be5043e69441a072b50a5b33b4503428c77b04cb8ce7bc731", size = 4396932, upload-time = "2025-09-29T10:55:53.948Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/48/c5/d5e07995077e48220269c28a221e168c91123ad5ceee44d548f54a057fc0/ipython-9.6.0-py3-none-any.whl", hash = "sha256:5f77efafc886d2f023442479b8149e7d86547ad0a979e9da9f045d252f648196", size = 616170, upload-time = "2025-09-29T10:55:47.676Z" },
+]
+
+[[package]]
+name = "ipython-pygments-lexers"
+version = "1.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pygments", marker = "python_full_version >= '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ef/4c/5dd1d8af08107f88c7f741ead7a40854b8ac24ddf9ae850afbcf698aa552/ipython_pygments_lexers-1.1.1.tar.gz", hash = "sha256:09c0138009e56b6854f9535736f4171d855c8c08a563a0dcd8022f78355c7e81", size = 8393, upload-time = "2025-01-17T11:24:34.505Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d9/33/1f075bf72b0b747cb3288d011319aaf64083cf2efef8354174e3ed4540e2/ipython_pygments_lexers-1.1.1-py3-none-any.whl", hash = "sha256:a9462224a505ade19a605f71f8fa63c2048833ce50abc86768a0d81d876dc81c", size = 8074, upload-time = "2025-01-17T11:24:33.271Z" },
+]
+
+[[package]]
+name = "ipywidgets"
+version = "8.1.7"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "comm" },
+ { name = "ipython", version = "8.37.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "ipython", version = "9.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "jupyterlab-widgets" },
+ { name = "traitlets" },
+ { name = "widgetsnbextension" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3e/48/d3dbac45c2814cb73812f98dd6b38bbcc957a4e7bb31d6ea9c03bf94ed87/ipywidgets-8.1.7.tar.gz", hash = "sha256:15f1ac050b9ccbefd45dccfbb2ef6bed0029d8278682d569d71b8dd96bee0376", size = 116721, upload-time = "2025-05-05T12:42:03.489Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/58/6a/9166369a2f092bd286d24e6307de555d63616e8ddb373ebad2b5635ca4cd/ipywidgets-8.1.7-py3-none-any.whl", hash = "sha256:764f2602d25471c213919b8a1997df04bef869251db4ca8efba1b76b1bd9f7bb", size = 139806, upload-time = "2025-05-05T12:41:56.833Z" },
+]
+
+[[package]]
+name = "isoduration"
+version = "20.11.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "arrow" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/7c/1a/3c8edc664e06e6bd06cce40c6b22da5f1429aa4224d0c590f3be21c91ead/isoduration-20.11.0.tar.gz", hash = "sha256:ac2f9015137935279eac671f94f89eb00584f940f5dc49462a0c4ee692ba1bd9", size = 11649, upload-time = "2020-11-01T11:00:00.312Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7b/55/e5326141505c5d5e34c5e0935d2908a74e4561eca44108fbfb9c13d2911a/isoduration-20.11.0-py3-none-any.whl", hash = "sha256:b2904c2a4228c3d44f409c8ae8e2370eb21a26f7ac2ec5446df141dde3452042", size = 11321, upload-time = "2020-11-01T10:59:58.02Z" },
+]
+
+[[package]]
+name = "jedi"
+version = "0.19.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "parso" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/72/3a/79a912fbd4d8dd6fbb02bf69afd3bb72cf0c729bb3063c6f4498603db17a/jedi-0.19.2.tar.gz", hash = "sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0", size = 1231287, upload-time = "2024-11-11T01:41:42.873Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c0/5a/9cac0c82afec3d09ccd97c8b6502d48f165f9124db81b4bcb90b4af974ee/jedi-0.19.2-py2.py3-none-any.whl", hash = "sha256:a8ef22bde8490f57fe5c7681a3c83cb58874daf72b4784de3cce5b6ef6edb5b9", size = 1572278, upload-time = "2024-11-11T01:41:40.175Z" },
+]
+
+[[package]]
+name = "jinja2"
+version = "3.1.6"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markupsafe" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115, upload-time = "2025-03-05T20:05:02.478Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899, upload-time = "2025-03-05T20:05:00.369Z" },
+]
+
+[[package]]
+name = "joblib"
+version = "1.5.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e8/5d/447af5ea094b9e4c4054f82e223ada074c552335b9b4b2d14bd9b35a67c4/joblib-1.5.2.tar.gz", hash = "sha256:3faa5c39054b2f03ca547da9b2f52fde67c06240c31853f306aea97f13647b55", size = 331077, upload-time = "2025-08-27T12:15:46.575Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/e8/685f47e0d754320684db4425a0967f7d3fa70126bffd76110b7009a0090f/joblib-1.5.2-py3-none-any.whl", hash = "sha256:4e1f0bdbb987e6d843c70cf43714cb276623def372df3c22fe5266b2670bc241", size = 308396, upload-time = "2025-08-27T12:15:45.188Z" },
+]
+
+[[package]]
+name = "json5"
+version = "0.12.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/12/ae/929aee9619e9eba9015207a9d2c1c54db18311da7eb4dcf6d41ad6f0eb67/json5-0.12.1.tar.gz", hash = "sha256:b2743e77b3242f8d03c143dd975a6ec7c52e2f2afe76ed934e53503dd4ad4990", size = 52191, upload-time = "2025-08-12T19:47:42.583Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/85/e2/05328bd2621be49a6fed9e3030b1e51a2d04537d3f816d211b9cc53c5262/json5-0.12.1-py3-none-any.whl", hash = "sha256:d9c9b3bc34a5f54d43c35e11ef7cb87d8bdd098c6ace87117a7b7e83e705c1d5", size = 36119, upload-time = "2025-08-12T19:47:41.131Z" },
+]
+
+[[package]]
+name = "jsonpatch"
+version = "1.33"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jsonpointer" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/42/78/18813351fe5d63acad16aec57f94ec2b70a09e53ca98145589e185423873/jsonpatch-1.33.tar.gz", hash = "sha256:9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c", size = 21699, upload-time = "2023-06-26T12:07:29.144Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/73/07/02e16ed01e04a374e644b575638ec7987ae846d25ad97bcc9945a3ee4b0e/jsonpatch-1.33-py2.py3-none-any.whl", hash = "sha256:0ae28c0cd062bbd8b8ecc26d7d164fbbea9652a1a3693f3b956c1eae5145dade", size = 12898, upload-time = "2023-06-16T21:01:28.466Z" },
+]
+
+[[package]]
+name = "jsonpointer"
+version = "3.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/6a/0a/eebeb1fa92507ea94016a2a790b93c2ae41a7e18778f85471dc54475ed25/jsonpointer-3.0.0.tar.gz", hash = "sha256:2b2d729f2091522d61c3b31f82e11870f60b68f43fbc705cb76bf4b832af59ef", size = 9114, upload-time = "2024-06-10T19:24:42.462Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/71/92/5e77f98553e9e75130c78900d000368476aed74276eb8ae8796f65f00918/jsonpointer-3.0.0-py2.py3-none-any.whl", hash = "sha256:13e088adc14fca8b6aa8177c044e12701e6ad4b28ff10e65f2267a90109c9942", size = 7595, upload-time = "2024-06-10T19:24:40.698Z" },
+]
+
+[[package]]
+name = "jsonschema"
+version = "4.25.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "jsonschema-specifications" },
+ { name = "referencing" },
+ { name = "rpds-py" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/74/69/f7185de793a29082a9f3c7728268ffb31cb5095131a9c139a74078e27336/jsonschema-4.25.1.tar.gz", hash = "sha256:e4a9655ce0da0c0b67a085847e00a3a51449e1157f4f75e9fb5aa545e122eb85", size = 357342, upload-time = "2025-08-18T17:03:50.038Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bf/9c/8c95d856233c1f82500c2450b8c68576b4cf1c871db3afac5c34ff84e6fd/jsonschema-4.25.1-py3-none-any.whl", hash = "sha256:3fba0169e345c7175110351d456342c364814cfcf3b964ba4587f22915230a63", size = 90040, upload-time = "2025-08-18T17:03:48.373Z" },
+]
+
+[package.optional-dependencies]
+format-nongpl = [
+ { name = "fqdn" },
+ { name = "idna" },
+ { name = "isoduration" },
+ { name = "jsonpointer" },
+ { name = "rfc3339-validator" },
+ { name = "rfc3986-validator" },
+ { name = "rfc3987-syntax" },
+ { name = "uri-template" },
+ { name = "webcolors" },
+]
+
+[[package]]
+name = "jsonschema-specifications"
+version = "2025.9.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "referencing" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" },
+]
+
+[[package]]
+name = "jupyter"
+version = "1.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ipykernel" },
+ { name = "ipywidgets" },
+ { name = "jupyter-console" },
+ { name = "jupyterlab" },
+ { name = "nbconvert" },
+ { name = "notebook" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/58/f3/af28ea964ab8bc1e472dba2e82627d36d470c51f5cd38c37502eeffaa25e/jupyter-1.1.1.tar.gz", hash = "sha256:d55467bceabdea49d7e3624af7e33d59c37fff53ed3a350e1ac957bed731de7a", size = 5714959, upload-time = "2024-08-30T07:15:48.299Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/38/64/285f20a31679bf547b75602702f7800e74dbabae36ef324f716c02804753/jupyter-1.1.1-py2.py3-none-any.whl", hash = "sha256:7a59533c22af65439b24bbe60373a4e95af8f16ac65a6c00820ad378e3f7cc83", size = 2657, upload-time = "2024-08-30T07:15:47.045Z" },
+]
+
+[[package]]
+name = "jupyter-client"
+version = "8.6.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jupyter-core" },
+ { name = "python-dateutil" },
+ { name = "pyzmq" },
+ { name = "tornado" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/71/22/bf9f12fdaeae18019a468b68952a60fe6dbab5d67cd2a103cac7659b41ca/jupyter_client-8.6.3.tar.gz", hash = "sha256:35b3a0947c4a6e9d589eb97d7d4cd5e90f910ee73101611f01283732bd6d9419", size = 342019, upload-time = "2024-09-17T10:44:17.613Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/11/85/b0394e0b6fcccd2c1eeefc230978a6f8cb0c5df1e4cd3e7625735a0d7d1e/jupyter_client-8.6.3-py3-none-any.whl", hash = "sha256:e8a19cc986cc45905ac3362915f410f3af85424b4c0905e94fa5f2cb08e8f23f", size = 106105, upload-time = "2024-09-17T10:44:15.218Z" },
+]
+
+[[package]]
+name = "jupyter-console"
+version = "6.6.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ipykernel" },
+ { name = "ipython", version = "8.37.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "ipython", version = "9.6.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "jupyter-client" },
+ { name = "jupyter-core" },
+ { name = "prompt-toolkit" },
+ { name = "pygments" },
+ { name = "pyzmq" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bd/2d/e2fd31e2fc41c14e2bcb6c976ab732597e907523f6b2420305f9fc7fdbdb/jupyter_console-6.6.3.tar.gz", hash = "sha256:566a4bf31c87adbfadf22cdf846e3069b59a71ed5da71d6ba4d8aaad14a53539", size = 34363, upload-time = "2023-03-06T14:13:31.02Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ca/77/71d78d58f15c22db16328a476426f7ac4a60d3a5a7ba3b9627ee2f7903d4/jupyter_console-6.6.3-py3-none-any.whl", hash = "sha256:309d33409fcc92ffdad25f0bcdf9a4a9daa61b6f341177570fdac03de5352485", size = 24510, upload-time = "2023-03-06T14:13:28.229Z" },
+]
+
+[[package]]
+name = "jupyter-core"
+version = "5.8.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "platformdirs" },
+ { name = "pywin32", marker = "platform_python_implementation != 'PyPy' and sys_platform == 'win32'" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/99/1b/72906d554acfeb588332eaaa6f61577705e9ec752ddb486f302dafa292d9/jupyter_core-5.8.1.tar.gz", hash = "sha256:0a5f9706f70e64786b75acba995988915ebd4601c8a52e534a40b51c95f59941", size = 88923, upload-time = "2025-05-27T07:38:16.655Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2f/57/6bffd4b20b88da3800c5d691e0337761576ee688eb01299eae865689d2df/jupyter_core-5.8.1-py3-none-any.whl", hash = "sha256:c28d268fc90fb53f1338ded2eb410704c5449a358406e8a948b75706e24863d0", size = 28880, upload-time = "2025-05-27T07:38:15.137Z" },
+]
+
+[[package]]
+name = "jupyter-events"
+version = "0.12.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jsonschema", extra = ["format-nongpl"] },
+ { name = "packaging" },
+ { name = "python-json-logger" },
+ { name = "pyyaml" },
+ { name = "referencing" },
+ { name = "rfc3339-validator" },
+ { name = "rfc3986-validator" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9d/c3/306d090461e4cf3cd91eceaff84bede12a8e52cd821c2d20c9a4fd728385/jupyter_events-0.12.0.tar.gz", hash = "sha256:fc3fce98865f6784c9cd0a56a20644fc6098f21c8c33834a8d9fe383c17e554b", size = 62196, upload-time = "2025-02-03T17:23:41.485Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e2/48/577993f1f99c552f18a0428731a755e06171f9902fa118c379eb7c04ea22/jupyter_events-0.12.0-py3-none-any.whl", hash = "sha256:6464b2fa5ad10451c3d35fabc75eab39556ae1e2853ad0c0cc31b656731a97fb", size = 19430, upload-time = "2025-02-03T17:23:38.643Z" },
+]
+
+[[package]]
+name = "jupyter-lsp"
+version = "2.3.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jupyter-server" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/eb/5a/9066c9f8e94ee517133cd98dba393459a16cd48bba71a82f16a65415206c/jupyter_lsp-2.3.0.tar.gz", hash = "sha256:458aa59339dc868fb784d73364f17dbce8836e906cd75fd471a325cba02e0245", size = 54823, upload-time = "2025-08-27T17:47:34.671Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1a/60/1f6cee0c46263de1173894f0fafcb3475ded276c472c14d25e0280c18d6d/jupyter_lsp-2.3.0-py3-none-any.whl", hash = "sha256:e914a3cb2addf48b1c7710914771aaf1819d46b2e5a79b0f917b5478ec93f34f", size = 76687, upload-time = "2025-08-27T17:47:33.15Z" },
+]
+
+[[package]]
+name = "jupyter-server"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "argon2-cffi" },
+ { name = "jinja2" },
+ { name = "jupyter-client" },
+ { name = "jupyter-core" },
+ { name = "jupyter-events" },
+ { name = "jupyter-server-terminals" },
+ { name = "nbconvert" },
+ { name = "nbformat" },
+ { name = "overrides", marker = "python_full_version < '3.12'" },
+ { name = "packaging" },
+ { name = "prometheus-client" },
+ { name = "pywinpty", marker = "os_name == 'nt'" },
+ { name = "pyzmq" },
+ { name = "send2trash" },
+ { name = "terminado" },
+ { name = "tornado" },
+ { name = "traitlets" },
+ { name = "websocket-client" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6b/dc/db3a582633170186f8c8b31298d7eb26ad0eb031a1f53476c258b64eed05/jupyter_server-2.20.0.tar.gz", hash = "sha256:b5778ba337d8015a3dc2b80803ecdd5ac18d3797fddf61a50ea5fb472b4ebe14", size = 756523, upload-time = "2026-06-17T12:09:09.435Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f3/71/8c002223e873a870f5c41dc69b0a7c922301123e4a31d5d01ecb700aef77/jupyter_server-2.20.0-py3-none-any.whl", hash = "sha256:c3b67c93c471e947c18b5026f04f21614218adb706df8f48227d3ee8e0a7cdcc", size = 393143, upload-time = "2026-06-17T12:09:07.234Z" },
+]
+
+[[package]]
+name = "jupyter-server-terminals"
+version = "0.5.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pywinpty", marker = "os_name == 'nt'" },
+ { name = "terminado" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/fc/d5/562469734f476159e99a55426d697cbf8e7eb5efe89fb0e0b4f83a3d3459/jupyter_server_terminals-0.5.3.tar.gz", hash = "sha256:5ae0295167220e9ace0edcfdb212afd2b01ee8d179fe6f23c899590e9b8a5269", size = 31430, upload-time = "2024-03-12T14:37:03.049Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/07/2d/2b32cdbe8d2a602f697a649798554e4f072115438e92249624e532e8aca6/jupyter_server_terminals-0.5.3-py3-none-any.whl", hash = "sha256:41ee0d7dc0ebf2809c668e0fc726dfaf258fcd3e769568996ca731b6194ae9aa", size = 13656, upload-time = "2024-03-12T14:37:00.708Z" },
+]
+
+[[package]]
+name = "jupyterlab"
+version = "4.5.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "async-lru" },
+ { name = "httpx" },
+ { name = "ipykernel" },
+ { name = "jinja2" },
+ { name = "jupyter-core" },
+ { name = "jupyter-lsp" },
+ { name = "jupyter-server" },
+ { name = "jupyterlab-server" },
+ { name = "notebook-shim" },
+ { name = "packaging" },
+ { name = "setuptools" },
+ { name = "tomli", marker = "python_full_version < '3.11'" },
+ { name = "tornado" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e8/52/a8d4895bef501ffeb6af448e8bf7079541c7772978211963aa653518c2d9/jupyterlab-4.5.9.tar.gz", hash = "sha256:dd79a073fecae7a39066ea99e4627ed6c76269ac926e95a810e1e1df6358d865", size = 23994445, upload-time = "2026-06-17T15:42:16.406Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c6/bb/2f9b425062416fba58f580c9b89c3b07277ccdf0a292501fedbca8ea00ea/jupyterlab-4.5.9-py3-none-any.whl", hash = "sha256:5ff0f908e8ac0afbed32b106fdef360f101c0a6654d1bf4a81e98a293ae1b336", size = 12449803, upload-time = "2026-06-17T15:42:12.18Z" },
+]
+
+[[package]]
+name = "jupyterlab-pygments"
+version = "0.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/90/51/9187be60d989df97f5f0aba133fa54e7300f17616e065d1ada7d7646b6d6/jupyterlab_pygments-0.3.0.tar.gz", hash = "sha256:721aca4d9029252b11cfa9d185e5b5af4d54772bb8072f9b7036f4170054d35d", size = 512900, upload-time = "2023-11-23T09:26:37.44Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b1/dd/ead9d8ea85bf202d90cc513b533f9c363121c7792674f78e0d8a854b63b4/jupyterlab_pygments-0.3.0-py3-none-any.whl", hash = "sha256:841a89020971da1d8693f1a99997aefc5dc424bb1b251fd6322462a1b8842780", size = 15884, upload-time = "2023-11-23T09:26:34.325Z" },
+]
+
+[[package]]
+name = "jupyterlab-server"
+version = "2.28.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "babel" },
+ { name = "jinja2" },
+ { name = "json5" },
+ { name = "jsonschema" },
+ { name = "jupyter-server" },
+ { name = "packaging" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d6/2c/90153f189e421e93c4bb4f9e3f59802a1f01abd2ac5cf40b152d7f735232/jupyterlab_server-2.28.0.tar.gz", hash = "sha256:35baa81898b15f93573e2deca50d11ac0ae407ebb688299d3a5213265033712c", size = 76996, upload-time = "2025-10-22T13:59:18.37Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e0/07/a000fe835f76b7e1143242ab1122e6362ef1c03f23f83a045c38859c2ae0/jupyterlab_server-2.28.0-py3-none-any.whl", hash = "sha256:e4355b148fdcf34d312bbbc80f22467d6d20460e8b8736bf235577dd18506968", size = 59830, upload-time = "2025-10-22T13:59:16.767Z" },
+]
+
+[[package]]
+name = "jupyterlab-widgets"
+version = "3.0.15"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b9/7d/160595ca88ee87ac6ba95d82177d29ec60aaa63821d3077babb22ce031a5/jupyterlab_widgets-3.0.15.tar.gz", hash = "sha256:2920888a0c2922351a9202817957a68c07d99673504d6cd37345299e971bb08b", size = 213149, upload-time = "2025-05-05T12:32:31.004Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/6a/ca128561b22b60bd5a0c4ea26649e68c8556b82bc70a0c396eebc977fe86/jupyterlab_widgets-3.0.15-py3-none-any.whl", hash = "sha256:d59023d7d7ef71400d51e6fee9a88867f6e65e10a4201605d2d7f3e8f012a31c", size = 216571, upload-time = "2025-05-05T12:32:29.534Z" },
+]
+
+[[package]]
+name = "langchain-core"
+version = "1.4.8"
+source = { editable = "../core" }
+dependencies = [
+ { name = "jsonpatch" },
+ { name = "langchain-protocol" },
+ { name = "langsmith" },
+ { name = "packaging" },
+ { name = "pydantic" },
+ { name = "pyyaml" },
+ { name = "tenacity" },
+ { name = "typing-extensions" },
+ { name = "uuid-utils" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "jsonpatch", specifier = ">=1.33.0,<2.0.0" },
+ { name = "langchain-protocol", specifier = ">=0.0.17" },
+ { name = "langsmith", specifier = ">=0.3.45,<1.0.0" },
+ { name = "packaging", specifier = ">=23.2.0" },
+ { name = "pydantic", specifier = ">=2.7.4,<3.0.0" },
+ { name = "pyyaml", specifier = ">=5.3.0,<7.0.0" },
+ { name = "tenacity", specifier = ">=8.1.0,!=8.4.0,<10.0.0" },
+ { name = "typing-extensions", specifier = ">=4.7.0,<5.0.0" },
+ { name = "uuid-utils", specifier = ">=0.12.0,<1.0" },
+]
+
+[package.metadata.requires-dev]
+dev = [
+ { name = "grandalf", specifier = ">=0.8.0,<1.0.0" },
+ { name = "jupyter", specifier = ">=1.0.0,<2.0.0" },
+ { name = "setuptools", specifier = ">=67.6.1,<83.0.0" },
+]
+lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }]
+test = [
+ { name = "blockbuster", specifier = ">=1.5.18,<1.6.0" },
+ { name = "freezegun", specifier = ">=1.2.2,<2.0.0" },
+ { name = "grandalf", specifier = ">=0.8.0,<1.0.0" },
+ { name = "langchain-tests", directory = "../standard-tests" },
+ { name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" },
+ { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" },
+ { name = "pytest", specifier = ">=9.0.3,<10.0.0" },
+ { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" },
+ { name = "pytest-benchmark" },
+ { name = "pytest-codspeed" },
+ { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },
+ { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" },
+ { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },
+ { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" },
+ { name = "responses", specifier = ">=0.25.0,<1.0.0" },
+ { name = "syrupy", specifier = ">=5.0.0,<6.0.0" },
+]
+test-integration = []
+typing = [
+ { name = "langchain-text-splitters", directory = "." },
+ { name = "mypy", specifier = ">=2.1.0,<2.2.0" },
+ { name = "types-pyyaml", specifier = ">=6.0.12.2,<7.0.0.0" },
+ { name = "types-requests", specifier = ">=2.28.11.5,<3.0.0.0" },
+]
+
+[[package]]
+name = "langchain-protocol"
+version = "0.0.18"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d2/59/b5959aea96faa9146e2e49a7a22882b3528c62efafe9a6a95beab30c2305/langchain_protocol-0.0.18.tar.gz", hash = "sha256:ec3e11782f1ed0c9db38e5a9ed01b0e7a0d3fba406faa8aef6594b73c56a63e6", size = 6150, upload-time = "2026-06-18T17:08:26.959Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/99/2e/d82db9eec13ad0f72e7aaad5c4bc730ab111934fdc83c85523206eb9b0a0/langchain_protocol-0.0.18-py3-none-any.whl", hash = "sha256:70b53a86fbf9cedc863555effe44da192ab02d556ddbf2cf95b8873adcf41b5a", size = 7221, upload-time = "2026-06-18T17:08:25.996Z" },
+]
+
+[[package]]
+name = "langchain-text-splitters"
+version = "1.1.2"
+source = { editable = "." }
+dependencies = [
+ { name = "langchain-core" },
+]
+
+[package.dev-dependencies]
+dev = [
+ { name = "jupyter" },
+]
+lint = [
+ { name = "ruff" },
+]
+test = [
+ { name = "freezegun" },
+ { name = "pytest" },
+ { name = "pytest-asyncio" },
+ { name = "pytest-mock" },
+ { name = "pytest-socket" },
+ { name = "pytest-watcher" },
+ { name = "pytest-xdist" },
+]
+test-integration = [
+ { name = "en-core-web-sm" },
+ { name = "nltk" },
+ { name = "sentence-transformers" },
+ { name = "spacy" },
+ { name = "tiktoken" },
+ { name = "transformers" },
+]
+typing = [
+ { name = "beautifulsoup4" },
+ { name = "lxml-stubs" },
+ { name = "mypy" },
+ { name = "tiktoken" },
+ { name = "types-requests" },
+]
+
+[package.metadata]
+requires-dist = [{ name = "langchain-core", editable = "../core" }]
+
+[package.metadata.requires-dev]
+dev = [{ name = "jupyter", specifier = ">=1.0.0,<2.0.0" }]
+lint = [{ name = "ruff", specifier = ">=0.15.0,<0.16.0" }]
+test = [
+ { name = "freezegun", specifier = ">=1.2.2,<2.0.0" },
+ { name = "pytest", specifier = ">=9.0.3,<10.0.0" },
+ { name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" },
+ { name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },
+ { name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" },
+ { name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },
+ { name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" },
+]
+test-integration = [
+ { name = "en-core-web-sm", url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl" },
+ { name = "nltk", specifier = ">=3.9.1,<4.0.0" },
+ { name = "sentence-transformers", specifier = ">=5.3.0,<6.0.0" },
+ { name = "spacy", specifier = ">=3.8.13,!=3.8.14,<4.0.0" },
+ { name = "tiktoken", specifier = ">=0.8.0,<1.0.0" },
+ { name = "transformers", specifier = ">=4.51.3,<6.0.0" },
+]
+typing = [
+ { name = "beautifulsoup4", specifier = ">=4.13.5,<5.0.0" },
+ { name = "lxml-stubs", specifier = ">=0.5.1,<1.0.0" },
+ { name = "mypy", specifier = ">=2.1.0,<2.2.0" },
+ { name = "tiktoken", specifier = ">=0.8.0,<1.0.0" },
+ { name = "types-requests", specifier = ">=2.31.0.20240218,<3.0.0.0" },
+]
+
+[[package]]
+name = "langsmith"
+version = "0.9.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "httpx" },
+ { name = "orjson", marker = "platform_python_implementation != 'PyPy'" },
+ { name = "packaging" },
+ { name = "pydantic" },
+ { name = "requests" },
+ { name = "requests-toolbelt" },
+ { name = "sniffio" },
+ { name = "typing-extensions" },
+ { name = "uuid-utils" },
+ { name = "websockets" },
+ { name = "xxhash" },
+ { name = "zstandard" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/fe/a7/a78b4105d1c01ee8d404d122d9acc047b8b9f628f3733cb837a321b2f6c6/langsmith-0.9.4.tar.gz", hash = "sha256:36c15e5a692e7812ee927e43d777c6166c839eb02b1d482ba9a805b438b1d91c", size = 4576594, upload-time = "2026-06-30T10:20:43.373Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c3/15/79367a3d159141fe4fc138f41db4ef21eb4759cd64cf8f635f41d55ded67/langsmith-0.9.4-py3-none-any.whl", hash = "sha256:f10f07438c7c6f9f907e8c810d8f338268fe863a74c37ded3d8a90830bb25451", size = 603804, upload-time = "2026-06-30T10:20:41.052Z" },
+]
+
+[[package]]
+name = "lark"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1d/37/a13baf0135f348af608c667633cbe5d13aa2c5c15a56ae9ad3e6cba45ae3/lark-1.3.0.tar.gz", hash = "sha256:9a3839d0ca5e1faf7cfa3460e420e859b66bcbde05b634e73c369c8244c5fa48", size = 259551, upload-time = "2025-09-22T13:45:05.072Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a8/3e/1c6b43277de64fc3c0333b0e72ab7b52ddaaea205210d60d9b9f83c3d0c7/lark-1.3.0-py3-none-any.whl", hash = "sha256:80661f261fb2584a9828a097a2432efd575af27d20be0fd35d17f0fe37253831", size = 113002, upload-time = "2025-09-22T13:45:03.747Z" },
+]
+
+[[package]]
+name = "librt"
+version = "0.11.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/40/08/9e7f6b5d2b5bed6ad055cdd5925f192bb403a51280f86b56554d9d0699a2/librt-0.11.0.tar.gz", hash = "sha256:075dc3ef4458a278e0195cbf6ac9d38808d9b906c5a6c7f7f79c3888276a3fb1", size = 200139, upload-time = "2026-05-10T18:17:25.138Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/83/10/37fd9e9ba96cb0bd742dfb20fc3d082e54bdbec759d7300df927f360ef07/librt-0.11.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6e94ebfcfa2d5e9926d6c3b9aa4617ffc42a845b4321fb84021b872358c82a0f", size = 141706, upload-time = "2026-05-10T18:15:16.129Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/72/1b1466f358e4a0b728051f69bc27e67b432c6eaa2e05b88db49d3785ae0d/librt-0.11.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ae627397a2f351560440d872d6f7c8dbb4072e57868e7b2fc5b8b430fe489d45", size = 142605, upload-time = "2026-05-10T18:15:18.148Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/85/ed26dd2f6bc9a0baf48306433e579e8d354d70b2bcb78134ed950a5d0e1e/librt-0.11.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc329359321b67d24efdf4bc69012b0597001649544db662c001db5a0184794c", size = 476555, upload-time = "2026-05-10T18:15:19.569Z" },
+ { url = "https://files.pythonhosted.org/packages/66/fe/11891191c0e0a3fd617724e891f6e67a71a7658974a892b9a9a97fdb2977/librt-0.11.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:7e82e642ab0f7608ce2fe53d76ca2280a9ee33a1b06556142c7c6fe80a86fc33", size = 468434, upload-time = "2026-05-10T18:15:20.87Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/50/5ec949d7f9ce1a07af903aa3e13abb98b717923bdead6e719b2f824ccc07/librt-0.11.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:88145c15c67731d54283d135b03244028c750cc9edc334a96a4f5950ebdb2884", size = 496918, upload-time = "2026-05-10T18:15:22.616Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/c4/177336c7524e34875a38bf668e88b193a6723a4eb4045d07f74df6e1506c/librt-0.11.0-cp310-cp310-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9d36a51b3d93320b686588e27123f4995804dbf1bce81df78c02fc3c6eea9280", size = 490334, upload-time = "2026-05-10T18:15:24.2Z" },
+ { url = "https://files.pythonhosted.org/packages/13/1f/da3112f7569eda3b49f9a2629bae1fe059812b6085df16c885f6454dff49/librt-0.11.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d00f3ac06a2a8b246327f11e186a53a100a4d5c7ed52346367e5ec751d51586c", size = 511287, upload-time = "2026-05-10T18:15:26.226Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/94/03fec301522e172d105581431223be56b27594ff46440ebfbb658a3735d5/librt-0.11.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:461bbceede621f1ffb8839755f8663e886087ee7af16294cab7fb4d782c62eeb", size = 517202, upload-time = "2026-05-10T18:15:27.965Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/6e/339f6e5a7b413ce014f1917a756dae630fe59cc99f34153205b1cb540901/librt-0.11.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:0cad8a4d6a8ff03c9b76f9414caccd78e7cfbc8a2e12fa334d8e1d9932753783", size = 497517, upload-time = "2026-05-10T18:15:29.614Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/43/acdd5ce317cb46e8253ca9bfbdb8b12e68a24d745949336a7f3d5fb79ba0/librt-0.11.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:f37aa505b3cf60701562eddb32df74b12a9e380c207fd8b06dd157a943ac7ea0", size = 538878, upload-time = "2026-05-10T18:15:30.928Z" },
+ { url = "https://files.pythonhosted.org/packages/29/b5/7a25bb12e3172839f647f196b3e988318b7bb1ca7501732a225c4dce2ec0/librt-0.11.0-cp310-cp310-win32.whl", hash = "sha256:94663a21534637f0e787ec2a2a756022df6e5b7b2335a5cdd7d8e33d68a2af89", size = 100070, upload-time = "2026-05-10T18:15:32.551Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/0d/ebbcf4d77999c02c937b05d2b90ff4cd4dcc7e9a365ba132329ac1fe7a0f/librt-0.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:dec7db73758c2b54953fd8b7fe348c45188fe26b39ee18446196edd08453a5d4", size = 117918, upload-time = "2026-05-10T18:15:33.678Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/87/2bf31fe17587b29e3f93ec31421e2b1e1c3e349b8bf6c7c313dbad1d5340/librt-0.11.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:93d95bd45b7d58343d8b90d904450a545144eec19a002511163426f8ab1fae29", size = 141092, upload-time = "2026-05-10T18:15:34.795Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/08/5c5bf772920b7ebac6e32bc91a643e0ab3870199c0b542356d3baa83970a/librt-0.11.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ee278c769a713638cdacd4c0436d72156e75df3ebc0166ab2b9dc43acc386c9", size = 142035, upload-time = "2026-05-10T18:15:36.242Z" },
+ { url = "https://files.pythonhosted.org/packages/06/20/662a03d254e5b000d838e8b345d83303ddb768c080fd488e40634c0fa66b/librt-0.11.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f230cb1cbc9faaa616f9a678f530ebcf186e414b6bcbd88b960e4ba1b92428d5", size = 475022, upload-time = "2026-05-10T18:15:37.56Z" },
+ { url = "https://files.pythonhosted.org/packages/de/f3/aa81523e45184c6ec23dc7f63263362ec55f80a09d424c012359ecbe7e35/librt-0.11.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:5d63c855d86938d9de93e265c9bd8c705b51ec494de5738340ee93767a686e4b", size = 467273, upload-time = "2026-05-10T18:15:39.182Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/6f/59c74b560ca8853834d5501d589c8a2519f4184f273a085ffd0f37a1cc47/librt-0.11.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:993f028be9e96a08d31df3479ac80d99be374d17f3b78e4796b3fd3c913d4e89", size = 497083, upload-time = "2026-05-10T18:15:40.634Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/7b/5aa4d2c9600a719401160bf7055417df0b2a47439b9d88286ce45e56b65f/librt-0.11.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:258d73a0aa66a055e65b2e4d1b8cdb23b9d132c5bb915d9547d804fcaed116cc", size = 489139, upload-time = "2026-05-10T18:15:41.934Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/31/9143803d7da6856a69153785768c4936864430eec0fd9461c3ea527d9922/librt-0.11.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0827efe7854718f04aaddf6496e96960a956e676fe1d0f04eb41511fd8ad06d5", size = 508442, upload-time = "2026-05-10T18:15:43.206Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/5a/bce08184488426bda4ccc2c4964ac048c8f68ae89bd7120082eef4233cfd/librt-0.11.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7753e57d6e12d019c0d8786f1c09c709f4c3fcc57c3887b24e36e6c06ec938b7", size = 514230, upload-time = "2026-05-10T18:15:44.761Z" },
+ { url = "https://files.pythonhosted.org/packages/89/8c/bb5e213d254b7505a0e658da199d8ab719086632ce09eef311ab27976523/librt-0.11.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:11bd19822431cc21af9f27374e7ae2e58103c7d98bda823536a6c47f6bb2bb3d", size = 494231, upload-time = "2026-05-10T18:15:46.308Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/fb/541cdad5b1ab1300398c74c4c9a497b88e5074c21b1244c8f49731d3a284/librt-0.11.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:22bdf239b219d3993761a148ffa134b19e52e9989c84f845d5d7b71d70a17412", size = 537585, upload-time = "2026-05-10T18:15:47.629Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/f2/464bb69295c320cb06bddb4f14a4ec67934ee14b2bffb12b19fb7ab287ba/librt-0.11.0-cp311-cp311-win32.whl", hash = "sha256:46c60b61e308eb535fbd6fa622b1ee1bb2815691c1ad9c98bf7b84952ec3bc8d", size = 100509, upload-time = "2026-05-10T18:15:49.157Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/e7/a17ee1788f9e4fbf548c19f4afa07c92089b9e24fef6cb2410863781ef4c/librt-0.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:902e546ff044f579ff1c953ff5fce97b636fe9e3943996b2177710c6ef076f73", size = 118628, upload-time = "2026-05-10T18:15:50.345Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/c7/6c766214f9f9903bcfcfbef97d807af8d8f5aa3502d247858ab17582d212/librt-0.11.0-cp311-cp311-win_arm64.whl", hash = "sha256:65ac3bc20f78aa0ee5ae84baa68917f89fef4af63e941084dd019a0d0e749f0c", size = 103122, upload-time = "2026-05-10T18:15:52.068Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/d0/07c77e067f0838949b43bd89232c29d72efebb9d2801a9750184eb706b71/librt-0.11.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:b87504f1690a23b9a2cca841191a04f83895d4fc2dd04df91d82b1a04ca2ad46", size = 144147, upload-time = "2026-05-10T18:15:53.227Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/24/8493538fa4f62f982686398a5b8f68008138a75086abdea19ade64bf4255/librt-0.11.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40071fc5fe0ce8daa6de616702314a01e1250711682b0523d6ab8d4525910cb3", size = 143614, upload-time = "2026-05-10T18:15:54.657Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/1e/f8bad050810d9171f34a1648ed910e56814c2ba61639f2bd53c6377ae24b/librt-0.11.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:137e79445c896a0ea7b265f52d23954e05b64222ee1af69e2cb34219067cbb67", size = 485538, upload-time = "2026-05-10T18:15:56.117Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/fe/3594ebfbaf03084ba4b120c9ba5c3183fd938a48725e9bbe6ff0a5159ad8/librt-0.11.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:cca6644054e78746d8d4ef238681f9c34ff8b584fe6b988ecebb8db3b15e622a", size = 479623, upload-time = "2026-05-10T18:15:57.544Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/da/5d1876984b3746c85dbd219dbfcb73c85f54ee263fd32e5b2a632ec14571/librt-0.11.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d5b0eea49f5562861ee8d757a32ef7d559c1d35be2aaaa1ec28941d74c9ffc8a", size = 513082, upload-time = "2026-05-10T18:15:58.805Z" },
+ { url = "https://files.pythonhosted.org/packages/19/6e/55bdf5d5ca00c3e18430690bf2c953d8d3ffd3c337418173d33dec985dc9/librt-0.11.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0d1029d7e1ae1a7e647ed6fb5df8c4ce2dffefb7a9f5fd1376a4554d96dac09f", size = 508105, upload-time = "2026-05-10T18:16:00.2Z" },
+ { url = "https://files.pythonhosted.org/packages/07/10/f1f23a7c595ee90ece4d35c851e5d104b1311a887ed1b4ac4c35bbd13da8/librt-0.11.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bc3ce6b33c5828d9e80592011a5c584cb2ce86edbc4088405f70da47dc1d1b3b", size = 522268, upload-time = "2026-05-10T18:16:01.708Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/02/5720f5697a7f54b78b3aefbe20df3a48cedcff1276618c4aa481177942ed/librt-0.11.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:936c5995f3514a42111f20099397d8177c79b4d7e70961e396c6f5a0a3566766", size = 527348, upload-time = "2026-05-10T18:16:03.496Z" },
+ { url = "https://files.pythonhosted.org/packages/50/db/b4a47c6f91db4ff76348a0b3dd0cc65e090a078b765a810a62ff9434c3d3/librt-0.11.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:9bc0ca6ad9381cbe8e4aa6e5726e4c80c78115a6e9723c599ed1d73e092bc49d", size = 516294, upload-time = "2026-05-10T18:16:05.173Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/58/9384b2f4eb1ed1d273d40948a7c5c4b2360213b402ef3be4641c06299f9c/librt-0.11.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:070aa8c26c0a74774317a72df8851facc7f0f012a5b406557ac56992d92e1ec8", size = 553608, upload-time = "2026-05-10T18:16:06.839Z" },
+ { url = "https://files.pythonhosted.org/packages/21/7b/5aa8848a7c6a9278c79375146da1812e695754ceec5f005e6043461a7315/librt-0.11.0-cp312-cp312-win32.whl", hash = "sha256:6bf14feb84b05ae945277395451998c89c54d0def4070eb5c08de544930b245a", size = 101879, upload-time = "2026-05-10T18:16:08.103Z" },
+ { url = "https://files.pythonhosted.org/packages/37/33/8a745436944947575b584231750a41417de1a38cf6a2e9251d1065651c09/librt-0.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:75672f0bc524ede266287d532d7923dbce94c7514ad07627bac3d0c6d92cc4d9", size = 119831, upload-time = "2026-05-10T18:16:09.174Z" },
+ { url = "https://files.pythonhosted.org/packages/59/67/a6739ac96e28b7855808bdb0370e250606104a859750d209e5a0716fe7ab/librt-0.11.0-cp312-cp312-win_arm64.whl", hash = "sha256:2f10cf143e4a9bb0f4f5af568a00df94a2d69ef41c2579584454bb0fe5cc642c", size = 103470, upload-time = "2026-05-10T18:16:10.369Z" },
+ { url = "https://files.pythonhosted.org/packages/82/61/e59168d4d0bf2bf90f4f0caf7a001bfc60254c3af4586013b04dc3ef517b/librt-0.11.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:78dc31f7fdfe9c9d0eb0e8f42d139db230e826415bbcabd9f0e9faaaee909894", size = 144119, upload-time = "2026-05-10T18:16:11.771Z" },
+ { url = "https://files.pythonhosted.org/packages/61/fd/caa1d60b12f7dd79ccea23054e06eeaebe266a5f52c40a6b651069200ce5/librt-0.11.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:fa475675db22290c3158e1d42326d0f5a65f04f44a0e68c3630a25b53560fb9c", size = 143565, upload-time = "2026-05-10T18:16:13.334Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/a9/dc744f5c2b4978d48db970be29f22716d3413d28b14ad99740817315cf2c/librt-0.11.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:621db29691044bdeda22e789e482e1b0f3a985d90e3426c9c6d17606416205ea", size = 485395, upload-time = "2026-05-10T18:16:14.729Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/21/7f8e97a1e4dae952a5a95948f6f8507a173bc1e669f54340bba6ca1ca31b/librt-0.11.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:a9010e2ed5b3a9e158c5fd966b3ab7e834bb3d3aacc8f66c91dd4b57a3799230", size = 479383, upload-time = "2026-05-10T18:16:16.321Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/6d/d8ee9c114bebf2c50e29ec2aa940826fccb62a645c3e4c18760987d0e16d/librt-0.11.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c39513d8b7477a2e1ed8c43fc21c524e8d5a0f8d4e8b7b074dbdbe7820a08e2", size = 513010, upload-time = "2026-05-10T18:16:17.647Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/43/0b5708af2bd30a46400e72ba6bdaa8f066f15fb9a688527e34220e8d6c06/librt-0.11.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7aef3cf1d5af86e770ab04bfd993dfc4ae8b8c17f66fb77dd4a7d50de7bbb1a3", size = 508433, upload-time = "2026-05-10T18:16:19.309Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/50/356187247d09013490481033183b3532b58acf8028bcb34b2b56a375c9b2/librt-0.11.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:557183ddc36babe46b27dd60facbd5adb4492181a5be887587d57cda6e092f21", size = 522595, upload-time = "2026-05-10T18:16:20.642Z" },
+ { url = "https://files.pythonhosted.org/packages/40/e7/c6ac4240899c7f3248079d5a9900debe0dadb3fdeaf856684c987105ba47/librt-0.11.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:83d3e1f72bd42f6c5c0b7daec530c3f829bd02db42c70b8ddf0c2d90a2459930", size = 527255, upload-time = "2026-05-10T18:16:22.352Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/b5/a81322dbeedeeaf9c1ee6f001734d28a09d8383ac9e6779bc24bbd0743c6/librt-0.11.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:4ce1f21fbe589bc1afd7872dece84fb0e1144f794a288e58a10d2c54a55c43be", size = 516847, upload-time = "2026-05-10T18:16:23.627Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/66/6e6323787d592b55204a42595ff1102da5115601b53a7e9ddebc889a6da5/librt-0.11.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:970b09f7044ea2b64c9da42fd3d335666518cfd1c6e8a182c95da73d0214b41e", size = 553920, upload-time = "2026-05-10T18:16:25.025Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/21/623f8ca230857102066d9ca8c6c1734995908c4d0d1bee7bb2ef0021cb33/librt-0.11.0-cp313-cp313-win32.whl", hash = "sha256:78fddc31cd4d3caa897ad5d31f856b1faadc9474021ad6cb182b9018793e254e", size = 101898, upload-time = "2026-05-10T18:16:26.649Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/1d/b4ebd44dd723f768469007515cb92251e0ae286c94c140f374801140fa74/librt-0.11.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ca8aa88751a775870b764e93bad5135385f563cb8dcee399abf034ea4d3cb47", size = 119812, upload-time = "2026-05-10T18:16:27.859Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/e4/b2f4ca7965ca373b491cdb4bc25cdb30c1649ca81a8782056a83850292a9/librt-0.11.0-cp313-cp313-win_arm64.whl", hash = "sha256:96f044bb325fd9cf1a723015638c219e9143f0dfbc0ca54c565df2b7fc748b44", size = 103448, upload-time = "2026-05-10T18:16:29.066Z" },
+ { url = "https://files.pythonhosted.org/packages/29/eb/dbce197da4e227779e56b5735f2decc3eb36e55a1cdbf1bd65d6639d76c1/librt-0.11.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4a017a95e5837dc15a8c5661d60e05daa96b90908b1aa6b7acdf443cd25c8ebd", size = 143345, upload-time = "2026-05-10T18:16:30.674Z" },
+ { url = "https://files.pythonhosted.org/packages/76/a3/254bebd0c11c8ba684018efb8006ff22e466abce445215cca6c778e7d9de/librt-0.11.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b1ecbd9819deccc39b7542bf4d2a740d8a620694d39989e58661d3763458f8d4", size = 143131, upload-time = "2026-05-10T18:16:32.037Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/3f/f77d6122d21ac7bf6ae8a7dfced1bd2a7ac545d3273ebdcaf8042f6d619f/librt-0.11.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7da327dacd7be8f8ec36547373550744a3cc0e536d54665cd83f8bcd961200e8", size = 477024, upload-time = "2026-05-10T18:16:33.493Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/0a/2c996dadebaa7d9bbbd43ef2d4f3e66b6da545f838a41694ef6172cebec8/librt-0.11.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:0dc56b1f8d06e60db362cc3fdae206681817f86ce4725d34511473487f12a34b", size = 474221, upload-time = "2026-05-10T18:16:34.864Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/7e/f5d92af8486b8272c23b3e686b46ff72d89c8169585eb61eef01a2ac7147/librt-0.11.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05fb8fb2ab90e21c8d12ea240d744ad514da9baf381ebfa70d91d20d21713175", size = 505174, upload-time = "2026-05-10T18:16:36.705Z" },
+ { url = "https://files.pythonhosted.org/packages/af/1a/cb0734fe86398eb33193ab753b7326255c74cac5eb09e76b9b16536e7adb/librt-0.11.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:cae74872be221df4374d10fec61f93ed1513b9546ea84f2c0bf73ab3e9bd0b03", size = 497216, upload-time = "2026-05-10T18:16:38.418Z" },
+ { url = "https://files.pythonhosted.org/packages/18/06/094820f91558b66e29943c0ec41c9914f460f48dd51fc503c3101e10842d/librt-0.11.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:32bcc918c0148eb7e3d57385125bac7e5f9e4359d05f07448b09f6f778c2f31c", size = 513921, upload-time = "2026-05-10T18:16:39.848Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/c2/00de9018871a282f530cacb457d5ec0428f6ac7e6fedde9aff7468d9fb04/librt-0.11.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:f9743fc99135d5f78d2454435615f6dec0473ca507c26ce9d92b10b562a280d3", size = 520850, upload-time = "2026-05-10T18:16:41.471Z" },
+ { url = "https://files.pythonhosted.org/packages/51/9d/64631832348fd1834fb3a61b996434edddaaf25a31d03b0a76273159d2cf/librt-0.11.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:5ba067f4aadae8fda802d91d2124c90c42195ff32d9161d3549e6d05cfe26f96", size = 504237, upload-time = "2026-05-10T18:16:43.15Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/ec/ae5525eb16edc827a044e7bb8777a455ff95d4bca9379e7e6bddd7383647/librt-0.11.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:de3bf945454d032f9e390b85c4072e0a0570bf825421c8be0e71209fa65e1abe", size = 546261, upload-time = "2026-05-10T18:16:44.408Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/09/adce371f27ca039411da9659f7430fcc2ba6cd0c7b3e4467a0f091be7fa9/librt-0.11.0-cp314-cp314-win32.whl", hash = "sha256:d2277a05f6dcb9fd13db9566aac4fabd68c3ea1ea46ee5567d4eef8efa495a2f", size = 96965, upload-time = "2026-05-10T18:16:46.039Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/ee/8ac720d98548f173c7ce2e632a7ca94673f74cacd5c8162a84af5b35958a/librt-0.11.0-cp314-cp314-win_amd64.whl", hash = "sha256:ab73e8db5e3f564d812c1f5c3a175930a5f9bc96ccb5e3b22a34d7858b401cf7", size = 115151, upload-time = "2026-05-10T18:16:47.133Z" },
+ { url = "https://files.pythonhosted.org/packages/94/20/c900cf14efeb09b6bef2b2dff20779f73464b97fd58d1c6bccc379588ae3/librt-0.11.0-cp314-cp314-win_arm64.whl", hash = "sha256:aea3caa317752e3a466fa8af45d91ee0ea8c7fdd96e42b0a8dd9b76a7931eba1", size = 98850, upload-time = "2026-05-10T18:16:48.597Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/71/944bfe4b64e12abffcd3c15e1cce07f72f3d55655083786285f4dedeb532/librt-0.11.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d1b36540d7aaf9b9101b3a6f376c8d8e9f7a9aec93ed05918f2c69d493ffef72", size = 151138, upload-time = "2026-05-10T18:16:49.839Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/10/99e64a5c86989357fda078c8143c533389585f6473b7439172dd8f3b3b2d/librt-0.11.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:efbb343ab2ce3540f4ecbe6315d677ed70f37cd9a72b1e58066c918ca83acbaa", size = 151976, upload-time = "2026-05-10T18:16:51.062Z" },
+ { url = "https://files.pythonhosted.org/packages/21/31/5072ad880946d83e5ea4147d6d018c78eefce85b77819b19bdd0ee229435/librt-0.11.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa0dd688aab3f7914d3e6e5e3554978e0383312fb8e771d84be008a35b9ee548", size = 557927, upload-time = "2026-05-10T18:16:52.632Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/8d/70b5fb7cfbab60edbe7381614ab985da58e144fbf465c86d44c95f43cdca/librt-0.11.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:f5fb36b8c6c63fdcbb1d526d94c0d1331610d43f4118cc1beb4efef4f3faacb2", size = 539698, upload-time = "2026-05-10T18:16:53.934Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/a3/ba3495a0b3edbd24a4cae0d1d3c64f39a9fc45d06e812101289b50c1a619/librt-0.11.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4a9a237d13addb93715b6fee74023d5ee3469b53fce527626c0e088aa585805f", size = 577162, upload-time = "2026-05-10T18:16:55.589Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/db/36e25fb81f99937ff1b96612a1dc9fd66f039cb9cc3aee12c01fac31aab9/librt-0.11.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5ddd17bd87b2c56ddd60e546a7984a2e64c4e8eab92fb4cf3830a48ad5469d51", size = 566494, upload-time = "2026-05-10T18:16:56.975Z" },
+ { url = "https://files.pythonhosted.org/packages/33/0d/3f622b47f0b013eeb9cf4cc07ae9bfe378d832a4eec998b2b209fe84244d/librt-0.11.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bd43992b4473d42f12ff9e68326079f0696d9d4e6000e8f39a0238d482ba6ee2", size = 596858, upload-time = "2026-05-10T18:16:58.374Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/02/71b90bc93039c46a2000651f6ad60122b114c8f54c4ad306e0e96f5b75ad/librt-0.11.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:f8e3e8056dd674e279741485e2e512d6e9a751c7455809d0114e6ebf8d781085", size = 590318, upload-time = "2026-05-10T18:16:59.676Z" },
+ { url = "https://files.pythonhosted.org/packages/04/04/418cb3f75621e2b761fb1ab0f017f4d70a1a72a6e7c74ee4f7e8d198c2f3/librt-0.11.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c1f708d8ae9c56cf38a903c44297243d2ec83fd82b396b977e0144a3e76217e3", size = 575115, upload-time = "2026-05-10T18:17:01.007Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/2c/5a2183ac58dd911f26b5d7e7d7d8f1d87fcecdddd99d6c12169a258ff62c/librt-0.11.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:0add982e0e7b9fc14cf4b33789d5f13f66581889b88c2f58099f6ce8f92617bd", size = 617918, upload-time = "2026-05-10T18:17:02.682Z" },
+ { url = "https://files.pythonhosted.org/packages/15/1f/dc6771a52592a4451be6effa200cbfc9cec61e4393d3033d81a9d307961d/librt-0.11.0-cp314-cp314t-win32.whl", hash = "sha256:2b481d846ac894c4e8403c5fd0e87c5d11d6499e404b474602508a224ff531c8", size = 103562, upload-time = "2026-05-10T18:17:03.99Z" },
+ { url = "https://files.pythonhosted.org/packages/62/4a/7d1415567027286a75ba1093ec4aca11f073e0f559c530cf3e0a757ad55c/librt-0.11.0-cp314-cp314t-win_amd64.whl", hash = "sha256:28edb433edde181112a908c78907af28f964eabc15f4dd16c9d66c834302677c", size = 124327, upload-time = "2026-05-10T18:17:05.465Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/62/b40b382fa0c66fee1478073eb8db352a4a6beda4a1adccf1df911d8c289c/librt-0.11.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dee008f20b542e3cd162ba338a7f9ec0f6d23d395f66fe8aeeec3c9d067ea253", size = 102572, upload-time = "2026-05-10T18:17:06.809Z" },
+]
+
+[[package]]
+name = "lxml-stubs"
+version = "0.5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/99/da/1a3a3e5d159b249fc2970d73437496b908de8e4716a089c69591b4ffa6fd/lxml-stubs-0.5.1.tar.gz", hash = "sha256:e0ec2aa1ce92d91278b719091ce4515c12adc1d564359dfaf81efa7d4feab79d", size = 14778, upload-time = "2024-01-10T09:37:46.521Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1f/c9/e0f8e4e6e8a69e5959b06499582dca6349db6769cc7fdfb8a02a7c75a9ae/lxml_stubs-0.5.1-py3-none-any.whl", hash = "sha256:1f689e5dbc4b9247cb09ae820c7d34daeb1fdbd1db06123814b856dae7787272", size = 13584, upload-time = "2024-01-10T09:37:44.931Z" },
+]
+
+[[package]]
+name = "markdown-it-py"
+version = "4.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mdurl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070, upload-time = "2025-08-11T12:57:52.854Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321, upload-time = "2025-08-11T12:57:51.923Z" },
+]
+
+[[package]]
+name = "markupsafe"
+version = "3.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313, upload-time = "2025-09-27T18:37:40.426Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e8/4b/3541d44f3937ba468b75da9eebcae497dcf67adb65caa16760b0a6807ebb/markupsafe-3.0.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2f981d352f04553a7171b8e44369f2af4055f888dfb147d55e42d29e29e74559", size = 11631, upload-time = "2025-09-27T18:36:05.558Z" },
+ { url = "https://files.pythonhosted.org/packages/98/1b/fbd8eed11021cabd9226c37342fa6ca4e8a98d8188a8d9b66740494960e4/markupsafe-3.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:e1c1493fb6e50ab01d20a22826e57520f1284df32f2d8601fdd90b6304601419", size = 12057, upload-time = "2025-09-27T18:36:07.165Z" },
+ { url = "https://files.pythonhosted.org/packages/40/01/e560d658dc0bb8ab762670ece35281dec7b6c1b33f5fbc09ebb57a185519/markupsafe-3.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1ba88449deb3de88bd40044603fafffb7bc2b055d626a330323a9ed736661695", size = 22050, upload-time = "2025-09-27T18:36:08.005Z" },
+ { url = "https://files.pythonhosted.org/packages/af/cd/ce6e848bbf2c32314c9b237839119c5a564a59725b53157c856e90937b7a/markupsafe-3.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f42d0984e947b8adf7dd6dde396e720934d12c506ce84eea8476409563607591", size = 20681, upload-time = "2025-09-27T18:36:08.881Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/2a/b5c12c809f1c3045c4d580b035a743d12fcde53cf685dbc44660826308da/markupsafe-3.0.3-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c0c0b3ade1c0b13b936d7970b1d37a57acde9199dc2aecc4c336773e1d86049c", size = 20705, upload-time = "2025-09-27T18:36:10.131Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/e3/9427a68c82728d0a88c50f890d0fc072a1484de2f3ac1ad0bfc1a7214fd5/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0303439a41979d9e74d18ff5e2dd8c43ed6c6001fd40e5bf2e43f7bd9bbc523f", size = 21524, upload-time = "2025-09-27T18:36:11.324Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/36/23578f29e9e582a4d0278e009b38081dbe363c5e7165113fad546918a232/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:d2ee202e79d8ed691ceebae8e0486bd9a2cd4794cec4824e1c99b6f5009502f6", size = 20282, upload-time = "2025-09-27T18:36:12.573Z" },
+ { url = "https://files.pythonhosted.org/packages/56/21/dca11354e756ebd03e036bd8ad58d6d7168c80ce1fe5e75218e4945cbab7/markupsafe-3.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:177b5253b2834fe3678cb4a5f0059808258584c559193998be2601324fdeafb1", size = 20745, upload-time = "2025-09-27T18:36:13.504Z" },
+ { url = "https://files.pythonhosted.org/packages/87/99/faba9369a7ad6e4d10b6a5fbf71fa2a188fe4a593b15f0963b73859a1bbd/markupsafe-3.0.3-cp310-cp310-win32.whl", hash = "sha256:2a15a08b17dd94c53a1da0438822d70ebcd13f8c3a95abe3a9ef9f11a94830aa", size = 14571, upload-time = "2025-09-27T18:36:14.779Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/25/55dc3ab959917602c96985cb1253efaa4ff42f71194bddeb61eb7278b8be/markupsafe-3.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:c4ffb7ebf07cfe8931028e3e4c85f0357459a3f9f9490886198848f4fa002ec8", size = 15056, upload-time = "2025-09-27T18:36:16.125Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/9e/0a02226640c255d1da0b8d12e24ac2aa6734da68bff14c05dd53b94a0fc3/markupsafe-3.0.3-cp310-cp310-win_arm64.whl", hash = "sha256:e2103a929dfa2fcaf9bb4e7c091983a49c9ac3b19c9061b6d5427dd7d14d81a1", size = 13932, upload-time = "2025-09-27T18:36:17.311Z" },
+ { url = "https://files.pythonhosted.org/packages/08/db/fefacb2136439fc8dd20e797950e749aa1f4997ed584c62cfb8ef7c2be0e/markupsafe-3.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad", size = 11631, upload-time = "2025-09-27T18:36:18.185Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/2e/5898933336b61975ce9dc04decbc0a7f2fee78c30353c5efba7f2d6ff27a/markupsafe-3.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a", size = 12058, upload-time = "2025-09-27T18:36:19.444Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/09/adf2df3699d87d1d8184038df46a9c80d78c0148492323f4693df54e17bb/markupsafe-3.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50", size = 24287, upload-time = "2025-09-27T18:36:20.768Z" },
+ { url = "https://files.pythonhosted.org/packages/30/ac/0273f6fcb5f42e314c6d8cd99effae6a5354604d461b8d392b5ec9530a54/markupsafe-3.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf", size = 22940, upload-time = "2025-09-27T18:36:22.249Z" },
+ { url = "https://files.pythonhosted.org/packages/19/ae/31c1be199ef767124c042c6c3e904da327a2f7f0cd63a0337e1eca2967a8/markupsafe-3.0.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f", size = 21887, upload-time = "2025-09-27T18:36:23.535Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/76/7edcab99d5349a4532a459e1fe64f0b0467a3365056ae550d3bcf3f79e1e/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a", size = 23692, upload-time = "2025-09-27T18:36:24.823Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/28/6e74cdd26d7514849143d69f0bf2399f929c37dc2b31e6829fd2045b2765/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115", size = 21471, upload-time = "2025-09-27T18:36:25.95Z" },
+ { url = "https://files.pythonhosted.org/packages/62/7e/a145f36a5c2945673e590850a6f8014318d5577ed7e5920a4b3448e0865d/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a", size = 22923, upload-time = "2025-09-27T18:36:27.109Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/62/d9c46a7f5c9adbeeeda52f5b8d802e1094e9717705a645efc71b0913a0a8/markupsafe-3.0.3-cp311-cp311-win32.whl", hash = "sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19", size = 14572, upload-time = "2025-09-27T18:36:28.045Z" },
+ { url = "https://files.pythonhosted.org/packages/83/8a/4414c03d3f891739326e1783338e48fb49781cc915b2e0ee052aa490d586/markupsafe-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01", size = 15077, upload-time = "2025-09-27T18:36:29.025Z" },
+ { url = "https://files.pythonhosted.org/packages/35/73/893072b42e6862f319b5207adc9ae06070f095b358655f077f69a35601f0/markupsafe-3.0.3-cp311-cp311-win_arm64.whl", hash = "sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c", size = 13876, upload-time = "2025-09-27T18:36:29.954Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615, upload-time = "2025-09-27T18:36:30.854Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020, upload-time = "2025-09-27T18:36:31.971Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332, upload-time = "2025-09-27T18:36:32.813Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947, upload-time = "2025-09-27T18:36:33.86Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962, upload-time = "2025-09-27T18:36:35.099Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760, upload-time = "2025-09-27T18:36:36.001Z" },
+ { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529, upload-time = "2025-09-27T18:36:36.906Z" },
+ { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015, upload-time = "2025-09-27T18:36:37.868Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540, upload-time = "2025-09-27T18:36:38.761Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105, upload-time = "2025-09-27T18:36:39.701Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906, upload-time = "2025-09-27T18:36:40.689Z" },
+ { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622, upload-time = "2025-09-27T18:36:41.777Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029, upload-time = "2025-09-27T18:36:43.257Z" },
+ { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374, upload-time = "2025-09-27T18:36:44.508Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980, upload-time = "2025-09-27T18:36:45.385Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990, upload-time = "2025-09-27T18:36:46.916Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784, upload-time = "2025-09-27T18:36:47.884Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588, upload-time = "2025-09-27T18:36:48.82Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041, upload-time = "2025-09-27T18:36:49.797Z" },
+ { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543, upload-time = "2025-09-27T18:36:51.584Z" },
+ { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113, upload-time = "2025-09-27T18:36:52.537Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911, upload-time = "2025-09-27T18:36:53.513Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658, upload-time = "2025-09-27T18:36:54.819Z" },
+ { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066, upload-time = "2025-09-27T18:36:55.714Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639, upload-time = "2025-09-27T18:36:56.908Z" },
+ { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569, upload-time = "2025-09-27T18:36:57.913Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284, upload-time = "2025-09-27T18:36:58.833Z" },
+ { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801, upload-time = "2025-09-27T18:36:59.739Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769, upload-time = "2025-09-27T18:37:00.719Z" },
+ { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642, upload-time = "2025-09-27T18:37:01.673Z" },
+ { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612, upload-time = "2025-09-27T18:37:02.639Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200, upload-time = "2025-09-27T18:37:03.582Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973, upload-time = "2025-09-27T18:37:04.929Z" },
+ { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619, upload-time = "2025-09-27T18:37:06.342Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029, upload-time = "2025-09-27T18:37:07.213Z" },
+ { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408, upload-time = "2025-09-27T18:37:09.572Z" },
+ { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005, upload-time = "2025-09-27T18:37:10.58Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048, upload-time = "2025-09-27T18:37:11.547Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821, upload-time = "2025-09-27T18:37:12.48Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606, upload-time = "2025-09-27T18:37:13.485Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043, upload-time = "2025-09-27T18:37:14.408Z" },
+ { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747, upload-time = "2025-09-27T18:37:15.36Z" },
+ { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341, upload-time = "2025-09-27T18:37:16.496Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073, upload-time = "2025-09-27T18:37:17.476Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661, upload-time = "2025-09-27T18:37:18.453Z" },
+ { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069, upload-time = "2025-09-27T18:37:19.332Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670, upload-time = "2025-09-27T18:37:20.245Z" },
+ { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598, upload-time = "2025-09-27T18:37:21.177Z" },
+ { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261, upload-time = "2025-09-27T18:37:22.167Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835, upload-time = "2025-09-27T18:37:23.296Z" },
+ { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733, upload-time = "2025-09-27T18:37:24.237Z" },
+ { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672, upload-time = "2025-09-27T18:37:25.271Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819, upload-time = "2025-09-27T18:37:26.285Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426, upload-time = "2025-09-27T18:37:27.316Z" },
+ { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" },
+]
+
+[[package]]
+name = "matplotlib-inline"
+version = "0.1.7"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/99/5b/a36a337438a14116b16480db471ad061c36c3694df7c2084a0da7ba538b7/matplotlib_inline-0.1.7.tar.gz", hash = "sha256:8423b23ec666be3d16e16b60bdd8ac4e86e840ebd1dd11a30b9f117f2fa0ab90", size = 8159, upload-time = "2024-04-15T13:44:44.803Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8f/8e/9ad090d3553c280a8060fbf6e24dc1c0c29704ee7d1c372f0c174aa59285/matplotlib_inline-0.1.7-py3-none-any.whl", hash = "sha256:df192d39a4ff8f21b1895d72e6a13f5fcc5099f00fa84384e0ea28c2cc0653ca", size = 9899, upload-time = "2024-04-15T13:44:43.265Z" },
+]
+
+[[package]]
+name = "mdurl"
+version = "0.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" },
+]
+
+[[package]]
+name = "mistune"
+version = "3.2.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ca/84/620cc3f7e3adf6f5067e10f4dbae71295d8f9e16d5d3f9ef97c40f2f592c/mistune-3.2.1.tar.gz", hash = "sha256:7c8e5501d38bac1582e067e46c8343f17d57ea1aaa735823f3aba1fd59c88a28", size = 98003, upload-time = "2026-05-03T14:33:22.312Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/7f/a946aa4f8752b37102b41e64dca18a1976ac705c3a0d1dfe74d820a02552/mistune-3.2.1-py3-none-any.whl", hash = "sha256:78cdb0ba5e938053ccf63651b352508d2efa9411dc8810bfb05f2dc5140c0048", size = 53749, upload-time = "2026-05-03T14:33:20.551Z" },
+]
+
+[[package]]
+name = "mpmath"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106, upload-time = "2023-03-07T16:47:11.061Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198, upload-time = "2023-03-07T16:47:09.197Z" },
+]
+
+[[package]]
+name = "murmurhash"
+version = "1.0.15"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/23/2e/88c147931ea9725d634840d538622e94122bceaf346233349b7b5c62964b/murmurhash-1.0.15.tar.gz", hash = "sha256:58e2b27b7847f9e2a6edf10b47a8c8dd70a4705f45dccb7bf76aeadacf56ba01", size = 13291, upload-time = "2025-11-14T09:51:15.272Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/09/3c/5e59e29fe971365d27f191a5cbf8a5fb492746e458604fe5d39810da4668/murmurhash-1.0.15-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f4989c16053a9a83b02c520dd00a31f0877d5fd2ab8a9b6b75ed9eba0e25c489", size = 27463, upload-time = "2025-11-14T09:49:53.158Z" },
+ { url = "https://files.pythonhosted.org/packages/38/3d/ace00a9b82beaa99a8a7a52e98171cfbf13c0066d2f820e84a5d572e3bd0/murmurhash-1.0.15-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:899068ba3d7c371e7edd093852c634cce802fefd9aaddfcc0d2fda1d7433c7f9", size = 27714, upload-time = "2025-11-14T09:49:54.855Z" },
+ { url = "https://files.pythonhosted.org/packages/10/0f/34f1c4f97424ea1bc72b1e3bdf61ac34f4c5555ec9163721f1e4cafe5b1d/murmurhash-1.0.15-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fe883982114de576c793fd1cf55945c8ee6453ad4c4785ac1a48f84e74fdc650", size = 122570, upload-time = "2025-11-14T09:49:55.977Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/75/0019717a16ce5a7b088fc50a3ecb513035e4196c5e569bf4a2e16bcc0414/murmurhash-1.0.15-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:342277d8d7f712d136507fb3ccdba26c076a34ca0f8d1b96f65f0daa556da2e9", size = 123194, upload-time = "2025-11-14T09:49:57.462Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/a4/c1c95ce60b816c2255098164e424752779269c93f5d6dceaa213346789a2/murmurhash-1.0.15-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:bc54facccb32fe1e97d6231edd4f3e2937467c35658b26aa35bbd6a87ebb7cb0", size = 122461, upload-time = "2025-11-14T09:49:58.686Z" },
+ { url = "https://files.pythonhosted.org/packages/63/28/e1f79369a6e8d1a5901346ed2fd3a5c56e647d0b849044870c071cb64e1c/murmurhash-1.0.15-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e525bbd8e26e6b9ab1b56758a59b16c2fffd73bad2f7b8bf361c16f70ff1d980", size = 121676, upload-time = "2025-11-14T09:49:59.888Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/7c/e2be1f5387e5898f6551cf81c4220975858b9dbda4d471b133750945599a/murmurhash-1.0.15-cp310-cp310-win_amd64.whl", hash = "sha256:2224f30f7729717644745a6f513ea7662517dfe7b1867cf1588177f64c61df3c", size = 25156, upload-time = "2025-11-14T09:50:01.016Z" },
+ { url = "https://files.pythonhosted.org/packages/74/07/0df6e1a753de68368662cbbb8f88558e2c877d3886ac12b30953fb8ed335/murmurhash-1.0.15-cp310-cp310-win_arm64.whl", hash = "sha256:8a181494b5f03ba831f9a13f2de3aab9ef591e508e57239043d65c5c592f5837", size = 23270, upload-time = "2025-11-14T09:50:01.99Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/ca/77d3e69924a8eb4508bb4f0ad34e46adbeedeb93616a71080e61e53dad71/murmurhash-1.0.15-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f32307fb9347680bb4fe1cbef6362fb39bd994f1b59abd8c09ca174e44199081", size = 27397, upload-time = "2025-11-14T09:50:03.077Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/53/a936f577d35b245d47b310f29e5e9f09fcac776c8c992f1ab51a9fb0cee2/murmurhash-1.0.15-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:539d8405885d1d19c005f3a2313b47e8e54b0ee89915eb8dfbb430b194328e6c", size = 27692, upload-time = "2025-11-14T09:50:04.144Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/64/5f8cfd1fd9cbeb43fcff96672f5bd9e7e1598d1c970f808ecd915490dc20/murmurhash-1.0.15-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:c4cd739a00f5a4602201b74568ddabae46ec304719d9be752fd8f534a9464b5e", size = 128396, upload-time = "2025-11-14T09:50:05.268Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/10/d9ce29d559a75db0d8a3f13ea12c7f541ec9de2afca38dc70418b890eedb/murmurhash-1.0.15-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:44d211bcc3ec203c47dac06f48ee871093fcbdffa6652a6cc5ea7180306680a8", size = 128687, upload-time = "2025-11-14T09:50:06.527Z" },
+ { url = "https://files.pythonhosted.org/packages/48/cd/dc97ab7e68cdfa1537a56e36dbc846c5a66701cc39ecee2d4399fe61996c/murmurhash-1.0.15-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f9bf47101354fb1dc4b2e313192566f04ba295c28a37e2f71c692759acc1ba3c", size = 128198, upload-time = "2025-11-14T09:50:08.062Z" },
+ { url = "https://files.pythonhosted.org/packages/53/73/32f2aaa22c1e4afae337106baf0c938abf36a6cc879cfee83a00461bbbf7/murmurhash-1.0.15-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3c69b4d3bcd6233782a78907fe10b9b7a796bdc5d28060cf097d067bec280a5d", size = 127214, upload-time = "2025-11-14T09:50:09.265Z" },
+ { url = "https://files.pythonhosted.org/packages/82/ed/812103a7f353eba2d83655b08205e13a38c93b4db0692f94756e1eb44516/murmurhash-1.0.15-cp311-cp311-win_amd64.whl", hash = "sha256:e43a69496342ce530bdd670264cb7c8f45490b296e4764c837ce577e3c7ebd53", size = 25241, upload-time = "2025-11-14T09:50:10.373Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/5f/2c511bdd28f7c24da37a00116ffd0432b65669d098f0d0260c66ac0ffdc2/murmurhash-1.0.15-cp311-cp311-win_arm64.whl", hash = "sha256:f3e99a6ee36ef5372df5f138e3d9c801420776d3641a34a49e5c2555f44edba7", size = 23216, upload-time = "2025-11-14T09:50:11.651Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/46/be8522d3456fdccf1b8b049c6d82e7a3c1114c4fc2cfe14b04cba4b3e701/murmurhash-1.0.15-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d37e3ae44746bca80b1a917c2ea625cf216913564ed43f69d2888e5df97db0cb", size = 27884, upload-time = "2025-11-14T09:50:13.133Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/cc/630449bf4f6178d7daf948ce46ad00b25d279065fc30abd8d706be3d87e0/murmurhash-1.0.15-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0861cb11039409eaf46878456b7d985ef17b6b484103a6fc367b2ecec846891d", size = 27855, upload-time = "2025-11-14T09:50:14.859Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/30/ea8f601a9bf44db99468696efd59eb9cff1157cd55cb586d67116697583f/murmurhash-1.0.15-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5a301decfaccfec70fe55cb01dde2a012c3014a874542eaa7cc73477bb749616", size = 134088, upload-time = "2025-11-14T09:50:15.958Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/de/c40ce8c0877d406691e735b8d6e9c815f36a82b499d358313db5dbe219d7/murmurhash-1.0.15-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:32c6fde7bd7e9407003370a07b5f4addacabe1556ad3dc2cac246b7a2bba3400", size = 133978, upload-time = "2025-11-14T09:50:17.572Z" },
+ { url = "https://files.pythonhosted.org/packages/47/84/bd49963ecd84ebab2fe66595e2d1ed41d5e8b5153af5dc930f0bd827007c/murmurhash-1.0.15-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5d8b43a7011540dc3c7ce66f2134df9732e2bc3bbb4a35f6458bc755e48bde26", size = 132956, upload-time = "2025-11-14T09:50:18.742Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/7c/2530769c545074417c862583f05f4245644599f1e9ff619b3dfe2969aafc/murmurhash-1.0.15-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:43bf4541892ecd95963fcd307bf1c575fc0fee1682f41c93007adee71ca2bb40", size = 134184, upload-time = "2025-11-14T09:50:19.941Z" },
+ { url = "https://files.pythonhosted.org/packages/84/a4/b249b042f5afe34d14ada2dc4afc777e883c15863296756179652e081c44/murmurhash-1.0.15-cp312-cp312-win_amd64.whl", hash = "sha256:f4ac15a2089dc42e6eb0966622d42d2521590a12c92480aafecf34c085302cca", size = 25647, upload-time = "2025-11-14T09:50:21.049Z" },
+ { url = "https://files.pythonhosted.org/packages/13/bf/028179259aebc18fd4ba5cae2601d1d47517427a537ab44336446431a215/murmurhash-1.0.15-cp312-cp312-win_arm64.whl", hash = "sha256:4a70ca4ae19e600d9be3da64d00710e79dde388a4d162f22078d64844d0ebdda", size = 23338, upload-time = "2025-11-14T09:50:22.359Z" },
+ { url = "https://files.pythonhosted.org/packages/29/2f/ba300b5f04dae0409202d6285668b8a9d3ade43a846abee3ef611cb388d5/murmurhash-1.0.15-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:fe50dc70e52786759358fd1471e309b94dddfffb9320d9dfea233c7684c894ba", size = 27861, upload-time = "2025-11-14T09:50:23.804Z" },
+ { url = "https://files.pythonhosted.org/packages/34/02/29c19d268e6f4ea1ed2a462c901eed1ed35b454e2cbc57da592fad663ac6/murmurhash-1.0.15-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1349a7c23f6092e7998ddc5bd28546cc31a595afc61e9fdb3afc423feec3d7ad", size = 27840, upload-time = "2025-11-14T09:50:25.146Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/63/58e2de2b5232cd294c64092688c422196e74f9fa8b3958bdf02d33df24b9/murmurhash-1.0.15-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b3ba6d05de2613535b5a9227d4ad8ef40a540465f64660d4a8800634ae10e04f", size = 133080, upload-time = "2025-11-14T09:50:26.566Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/9a/d13e2e9f8ba1ced06840921a50f7cece0a475453284158a3018b72679761/murmurhash-1.0.15-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fa1b70b3cc2801ab44179c65827bbd12009c68b34e9d9ce7125b6a0bd35af63c", size = 132648, upload-time = "2025-11-14T09:50:27.788Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/e1/47994f1813fa205c84977b0ff51ae6709f8539af052c7491a5f863d82bdc/murmurhash-1.0.15-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:213d710fb6f4ef3bc11abbfad0fa94a75ffb675b7dc158c123471e5de869f9af", size = 131502, upload-time = "2025-11-14T09:50:29.339Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/ea/90c1fd00b4aeb704fb5e84cd666b33ffd7f245155048071ffbb51d2bb57d/murmurhash-1.0.15-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b65a5c4e7f5d71f7ccac2d2b60bdf7092d7976270878cfec59d5a66a533db823", size = 132736, upload-time = "2025-11-14T09:50:30.545Z" },
+ { url = "https://files.pythonhosted.org/packages/00/db/da73462dbfa77f6433b128d2120ba7ba300f8c06dc4f4e022c38d240a5f5/murmurhash-1.0.15-cp313-cp313-win_amd64.whl", hash = "sha256:9aba94c5d841e1904cd110e94ceb7f49cfb60a874bbfb27e0373622998fb7c7c", size = 25682, upload-time = "2025-11-14T09:50:31.624Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/83/032729ef14971b938fbef41ee125fc8800020ee229bd35178b6ede8ee934/murmurhash-1.0.15-cp313-cp313-win_arm64.whl", hash = "sha256:263807eca40d08c7b702413e45cca75ecb5883aa337237dc5addb660f1483378", size = 23370, upload-time = "2025-11-14T09:50:33.264Z" },
+ { url = "https://files.pythonhosted.org/packages/10/83/7547d9205e9bd2f8e5dfd0b682cc9277594f98909f228eb359489baec1df/murmurhash-1.0.15-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:694fd42a74b7ce257169d14c24aa616aa6cd4ccf8abe50eca0557e08da99d055", size = 29955, upload-time = "2025-11-14T09:50:34.488Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/c7/3afd5de7a5b3ae07fe2d3a3271b327ee1489c58ba2b2f2159bd31a25edb9/murmurhash-1.0.15-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a2ea4546ba426390beff3cd10db8f0152fdc9072c4f2583ec7d8aa9f3e4ac070", size = 30108, upload-time = "2025-11-14T09:50:35.53Z" },
+ { url = "https://files.pythonhosted.org/packages/02/69/d6637ee67d78ebb2538c00411f28ea5c154886bbe1db16c49435a8a4ab16/murmurhash-1.0.15-cp313-cp313t-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:34e5a91139c40b10f98d0b297907f5d5267b4b1b2e5dd2eb74a021824f751b98", size = 164054, upload-time = "2025-11-14T09:50:36.591Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/4c/89e590165b4c7da6bf941441212a721a270195332d3aacfdfdf527d466ca/murmurhash-1.0.15-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:dc35606868a5961cf42e79314ca0bddf5a400ce377b14d83192057928d6252ec", size = 168153, upload-time = "2025-11-14T09:50:37.856Z" },
+ { url = "https://files.pythonhosted.org/packages/07/7a/95c42df0c21d2e413b9fcd17317a7587351daeb264dc29c6aec1fdbd26f8/murmurhash-1.0.15-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:43cc6ac3b91ca0f7a5ae9c063ba4d6c26972c97fd7c25280ecc666413e4c5535", size = 164345, upload-time = "2025-11-14T09:50:39.346Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/22/9d02c880a88b83bb3ce7d6a38fb727373ab78d82e5f3d8d9fc5612219f90/murmurhash-1.0.15-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:847d712136cb462f0e4bd6229ee2d9eb996d8854eb8312dff3d20c8f5181fda5", size = 161990, upload-time = "2025-11-14T09:50:40.689Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/e3/750232524e0dc262e8dcede6536dafc766faadd9a52f1d23746b02948ad8/murmurhash-1.0.15-cp313-cp313t-win_amd64.whl", hash = "sha256:2680851af6901dbe66cc4aa7ef8e263de47e6e1b425ae324caa571bdf18f8d58", size = 28812, upload-time = "2025-11-14T09:50:41.971Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/89/4ad9d215ef6ade89f27a72dc4e86b98ef1a43534cc3e6a6900a362a0bf0a/murmurhash-1.0.15-cp313-cp313t-win_arm64.whl", hash = "sha256:189a8de4d657b5da9efd66601b0636330b08262b3a55431f2379097c986995d0", size = 25398, upload-time = "2025-11-14T09:50:43.023Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/69/726df275edf07688146966e15eaaa23168100b933a2e1a29b37eb56c6db8/murmurhash-1.0.15-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7c4280136b738e85ff76b4bdc4341d0b867ee753e73fd8b6994288080c040d0b", size = 28029, upload-time = "2025-11-14T09:50:44.124Z" },
+ { url = "https://files.pythonhosted.org/packages/59/8f/24ecf9061bc2b20933df8aba47c73e904274ea8811c8300cab92f6f82372/murmurhash-1.0.15-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d4d681f474830489e2ec1d912095cfff027fbaf2baa5414c7e9d25b89f0fab68", size = 27912, upload-time = "2025-11-14T09:50:45.266Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/26/fff3caba25aa3c0622114e03c69fb66c839b22335b04d7cce91a3a126d44/murmurhash-1.0.15-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:d7e47c5746785db6a43b65fac47b9e63dd71dfbd89a8c92693425b9715e68c6e", size = 131847, upload-time = "2025-11-14T09:50:46.819Z" },
+ { url = "https://files.pythonhosted.org/packages/df/e4/0f2b9fc533467a27afb4e906c33f32d5f637477de87dd94690e0c44335a6/murmurhash-1.0.15-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e8e674f02a99828c8a671ba99cd03299381b2f0744e6f25c29cadfc6151dc724", size = 132267, upload-time = "2025-11-14T09:50:48.298Z" },
+ { url = "https://files.pythonhosted.org/packages/da/bf/9d1c107989728ec46e25773d503aa54070b32822a18cfa7f9d5f41bc17a5/murmurhash-1.0.15-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:26fd7c7855ac4850ad8737991d7b0e3e501df93ebaf0cf45aa5954303085fdba", size = 131894, upload-time = "2025-11-14T09:50:49.485Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/81/dcf27c71445c0e993b10e33169a098ca60ee702c5c58fcbde205fa6332a6/murmurhash-1.0.15-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:cb8ebafae60d5f892acff533cc599a359954d8c016a829514cb3f6e9ee10f322", size = 132054, upload-time = "2025-11-14T09:50:50.747Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/32/e874a14b2d2246bd2d16f80f49fad393a3865d4ee7d66d2cae939a67a29a/murmurhash-1.0.15-cp314-cp314-win_amd64.whl", hash = "sha256:898a629bf111f1aeba4437e533b5b836c0a9d2dd12d6880a9c75f6ca13e30e22", size = 26579, upload-time = "2025-11-14T09:50:52.278Z" },
+ { url = "https://files.pythonhosted.org/packages/af/8e/4fca051ed8ae4d23a15aaf0a82b18cb368e8cf84f1e3b474d5749ec46069/murmurhash-1.0.15-cp314-cp314-win_arm64.whl", hash = "sha256:88dc1dd53b7b37c0df1b8b6bce190c12763014492f0269ff7620dc6027f470f4", size = 24341, upload-time = "2025-11-14T09:50:53.295Z" },
+ { url = "https://files.pythonhosted.org/packages/38/9c/c72c2a4edd86aac829337ab9f83cf04cdb15e5d503e4c9a3a243f30a261c/murmurhash-1.0.15-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:6cb4e962ec4f928b30c271b2d84e6707eff6d942552765b663743cfa618b294b", size = 30146, upload-time = "2025-11-14T09:50:54.705Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/d7/72b47ebc86436cd0aa1fd4c6e8779521ec389397ac11389990278d0f7a47/murmurhash-1.0.15-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5678a3ea4fbf0cbaaca2bed9b445f556f294d5f799c67185d05ffcb221a77faf", size = 30141, upload-time = "2025-11-14T09:50:55.829Z" },
+ { url = "https://files.pythonhosted.org/packages/64/bb/6d2f09135079c34dc2d26e961c52742d558b320c61503f273eab6ba743d9/murmurhash-1.0.15-cp314-cp314t-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:ef19f38c6b858eef83caf710773db98c8f7eb2193b4c324650c74f3d8ba299e0", size = 163898, upload-time = "2025-11-14T09:50:56.946Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/e2/9c1b462e33f9cb2d632056f07c90b502fc20bd7da50a15d0557343bd2fed/murmurhash-1.0.15-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:22aa3ceaedd2e57078b491ed08852d512b84ff4ff9bb2ff3f9bf0eec7f214c9e", size = 168040, upload-time = "2025-11-14T09:50:58.234Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/73/8694db1408fcdfa73589f7df6c445437ea146986fa1e393ec60d26d6e30c/murmurhash-1.0.15-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bba0e0262c0d08682b028cb963ac477bd9839029486fa1333fc5c01fb6072749", size = 164239, upload-time = "2025-11-14T09:50:59.95Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/f9/8e360bdfc3c44e267e7e046f0e0b9922766da92da26959a6963f597e6bb5/murmurhash-1.0.15-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:4fd8189ee293a09f30f4931408f40c28ccd42d9de4f66595f8814879339378bc", size = 161811, upload-time = "2025-11-14T09:51:01.289Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/31/97649680595b1096803d877ababb9a67c07f4378f177ec885eea28b9db6d/murmurhash-1.0.15-cp314-cp314t-win_amd64.whl", hash = "sha256:66395b1388f7daa5103db92debe06842ae3be4c0749ef6db68b444518666cdcc", size = 29817, upload-time = "2025-11-14T09:51:02.493Z" },
+ { url = "https://files.pythonhosted.org/packages/76/66/4fce8755f25d77324401886c00017c556be7ca3039575b94037aff905385/murmurhash-1.0.15-cp314-cp314t-win_arm64.whl", hash = "sha256:c22e56c6a0b70598a66e456de5272f76088bc623688da84ef403148a6d41851d", size = 26219, upload-time = "2025-11-14T09:51:03.563Z" },
+]
+
+[[package]]
+name = "mypy"
+version = "2.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ast-serialize" },
+ { name = "librt", marker = "platform_python_implementation != 'PyPy'" },
+ { name = "mypy-extensions" },
+ { name = "pathspec" },
+ { name = "tomli", marker = "python_full_version < '3.11'" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/82/15/cca9d88503549ed6fedeaa1d448cdddd542ee8a490232d732e278036fbf2/mypy-2.1.0.tar.gz", hash = "sha256:81e76ad12c2d804512e9b13240d1588316531bfba07558286078bfbce9613633", size = 3898359, upload-time = "2026-05-11T18:37:36.237Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a4/71/d351dca3e9b30da2328ee9d445c88b8388072808ebfbc49eb69d30b67749/mypy-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:11a6beb180257a805961aea9ec591bbd0bd17f1e18d35b8456d57aee5bedfedc", size = 14778792, upload-time = "2026-05-11T18:36:23.605Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/45/7d51594b644c17c0bcf74ed8cd5fc33b324276d708e8506f220b70dab9d9/mypy-2.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8ef78c1d306bbf9a8a12f526c44902c9c28dffd6c52c52bf6a72641ce18d3849", size = 13645739, upload-time = "2026-05-11T18:37:22.752Z" },
+ { url = "https://files.pythonhosted.org/packages/65/01/455c31b170e9468265074840bf18863a8482a24103fdaabe4e199392aa5f/mypy-2.1.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c209a90853081ff01d01ee895cafe10f7db1474e0d95beaeef0f6c1db9119bbd", size = 14074199, upload-time = "2026-05-11T18:35:09.292Z" },
+ { url = "https://files.pythonhosted.org/packages/41/5a/93093f0b29a9e982deafde698f740a2eb2e05886e79ccf0594c7fd5413a3/mypy-2.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47cebf61abde7c088a4e27718a8b13a81655686b2e9c251f5c0915a802248166", size = 14953128, upload-time = "2026-05-11T18:31:57.678Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/2f/a196f5331d96170ad3d28f144d2aba690d4b2911381f68d51e489c7ab82a/mypy-2.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d57a90ae5e872138a425ec328edbc9b235d1934c4377881a33ec05b341acc9a8", size = 15249378, upload-time = "2026-05-11T18:33:00.101Z" },
+ { url = "https://files.pythonhosted.org/packages/54/de/94d321cc12da9f71341ac0c270efbed5c725750c7b4c334d957de9a087d9/mypy-2.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:aea7f7a8a55b459c34275fc468ada6ca7c173a5e43a68f5dbe588a563d8a06b8", size = 11060994, upload-time = "2026-05-11T18:33:18.848Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/62/0c27ca55219a7c764a7fb88c7bb2b7b2f9780ade8bbf16bc8ed8400eef6b/mypy-2.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:c989640253f0d76843e9c6c1bbf4bd48c5e85ada61bde4beb37cb3eca035685e", size = 9976743, upload-time = "2026-05-11T18:31:25.554Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/a1/639f3024794a2a15899cb90707fe02e044c4412794c39c5769fd3df2e2ef/mypy-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a683016b16fe2f572dc04c72be7ee0504ac1605a265d0200f5cea695fb788f41", size = 14691685, upload-time = "2026-05-11T18:33:27.973Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/08/9a585dea4325f20d8b80dc78623fa50d1fd2173b710f6237afd6ba6ab39b/mypy-2.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1a293c534adb55271fef24a26da04b855540a8c13cc07bc5917b9fd2c394f2ca", size = 13555165, upload-time = "2026-05-11T18:32:16.107Z" },
+ { url = "https://files.pythonhosted.org/packages/81/dc/7c42cc9c6cb01e8eb09961f1f738741d3e9c7e9d5c5b30ec69222625cd5f/mypy-2.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7406f4d048e71e576f5356d317e5b0a9e666dfd966bd99f9d14ca06e1a341538", size = 13994376, upload-time = "2026-05-11T18:32:39.256Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/fa/285946c33bce716e082c11dfeee9ee196eaf1f5042efb3581a31f9f205e4/mypy-2.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e0210d626fc8b31ccc90233754c7bc90e1f43205e85d96387f7db1285b55c398", size = 14864618, upload-time = "2026-05-11T18:34:49.765Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/83/82397f48af6c27e295d57979ded8490c9829040152cf7571b2f026aeb9a0/mypy-2.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3712c20deed54e814eaaa825603bada8ea1c390670a397c95b98405347acc563", size = 15102063, upload-time = "2026-05-11T18:34:05.855Z" },
+ { url = "https://files.pythonhosted.org/packages/40/68/b02dec39057b88eb03dc0aa854732e26e8361f34f9d0e20c7614967d1eba/mypy-2.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:fcaa0e479066e31f7cceb6a3bea39cb22b2ff51a6b2f24f193d19179ba17c389", size = 11060564, upload-time = "2026-05-11T18:35:36.494Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/a8/ea3dcbef31f99b634f2ee23bb0321cbc8c1b388b76a861eb849f13c347dc/mypy-2.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:0b1a5260c95aa443083f9ed3592662941951bca3d4ca224a5dc517c38b7cf666", size = 9966983, upload-time = "2026-05-11T18:37:14.139Z" },
+ { url = "https://files.pythonhosted.org/packages/95/b1/55861beb5c339b44f9a2ba92df9e2cb1eeb4ae1eee674cdf7772c797778b/mypy-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:244358bf1c0da7722230bce60683d52e8e9fd030554926f15b747a84efb5b3af", size = 14874381, upload-time = "2026-05-11T18:37:31.784Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/b3/b7f770114b7d0ac92d0f76e8d93c2780844a70488a90e91821927850da86/mypy-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4ec7c57657493c7a75534df2751c8ae2cda383c16ecc55d2106c54476b1b16f6", size = 13665501, upload-time = "2026-05-11T18:34:23.063Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/f3/8ae2037967e2126689a0c11d99e2b707134a565191e92c60ca2572aec60a/mypy-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8161b6ff4392410023224f0969d17db93e1e154bc3e4ba62598e720723ae211", size = 14045750, upload-time = "2026-05-11T18:31:48.151Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/32/615eb5911859e43d054941b0d0a7d06cfa2870eba86529cf385b052b111c/mypy-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf03e12003084a67395184d3eb8cbd6a489dc3655b5664b28c210a9e2403ab0b", size = 15061630, upload-time = "2026-05-11T18:37:06.898Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/03/4eafbfff8bfab1b87082741eae6e6a624028c984e6708b73bce2a8570c9d/mypy-2.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:20509760fd791c51579d573153407d226385ec1f8bcce55d730b354f3336bc22", size = 15288831, upload-time = "2026-05-11T18:31:18.07Z" },
+ { url = "https://files.pythonhosted.org/packages/99/ee/919661478e5891a3c96e549c036e467e64563ab85995b10c53c8358e16a3/mypy-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:6753d0c1fdd6b1a23b9e4f283ce80b2153b724adcb2653b20b85a8a28ac6436b", size = 11135228, upload-time = "2026-05-11T18:34:31.23Z" },
+ { url = "https://files.pythonhosted.org/packages/24/0a/6a12b9782ca0831a553192f351679f4548abc9d19a7cc93bb7feb02084c7/mypy-2.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:98ebb6589bb3b6d0c6f0c459d53ca55b8091fbc13d277c4041c885392e8195e8", size = 10040684, upload-time = "2026-05-11T18:36:48.199Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/dd/c7191469c777f07689c032a8f7326e393ea34c92d6d76eb7ce5ba57ea66d/mypy-2.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:35aac3bb114e03888f535d5eb51b8bafbb3266586b599da1940f9b1be3ec5bd5", size = 14852174, upload-time = "2026-05-11T18:31:38.929Z" },
+ { url = "https://files.pythonhosted.org/packages/55/8c/aed55408879043d72bb9135f4d0d19a02b886dd569631e113e3d2706cb8d/mypy-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8de55a8c861f2a49331f807be98d90caeceeef520bde13d43a160207f8af613e", size = 13651542, upload-time = "2026-05-11T18:36:04.636Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/8e/f371a824b1f1fa8ea6e3dbb8703d232977d572be2329554a3bc4d960302f/mypy-2.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5fdf2941a07434af755837d9880f7d7d25f1dacb1af9dcd4b9b66f2220a3024e", size = 14033929, upload-time = "2026-05-11T18:35:55.742Z" },
+ { url = "https://files.pythonhosted.org/packages/94/21/f54be870d6dd53a82c674407e0f8eed7174b05ec78d42e5abd7b42e84fd5/mypy-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e195b817c13f02352a9c124301f9f30f078405444679b6753c1b96b6eed37285", size = 15039200, upload-time = "2026-05-11T18:33:10.281Z" },
+ { url = "https://files.pythonhosted.org/packages/17/99/bf21748626a40ce59fd29a39386ab46afec88b7bd2f0fa6c3a97c995523f/mypy-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5431d42af987ebd92ba2f71d45c85ed41d8e6ca9f5fd209a69f68f707d2469e5", size = 15272690, upload-time = "2026-05-11T18:32:07.205Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/d7/9e90d2cf47100bea550ed2bc7b0d4de3a62181d84d5e37da0003e8462637/mypy-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:767fe8c66dc3e01e19e1737d4c38ebefead16125e1b8e58ad421903b376f5c65", size = 11147435, upload-time = "2026-05-11T18:33:56.477Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/46/e5c449e858798e35ffc90946282a27c62a77be743fe17480e4977374eb91/mypy-2.1.0-cp313-cp313-win_arm64.whl", hash = "sha256:ecfe70d43775ab99562ab128ce49854a362044c9f894961f68f898c23cb7429d", size = 10035052, upload-time = "2026-05-11T18:32:30.049Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/ca/b279a672e874aedd5498ae25f722dacc8aa86bbffb939b3f97cbb1cf6686/mypy-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7354c5a7f69d9345c3d6e69921d57088eea3ddeeb6b20d34c1b3855b02c36ec2", size = 14848422, upload-time = "2026-05-11T18:35:45.984Z" },
+ { url = "https://files.pythonhosted.org/packages/27/e6/3efe56c631d959b9b4454e208b0ac4b7f4f58b404c89f8bec7b49efdfc21/mypy-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:49890d4f76ac9e06ec117f9e09f3174da70a620a0c300953d8595c926e80947f", size = 13677374, upload-time = "2026-05-11T18:36:57.188Z" },
+ { url = "https://files.pythonhosted.org/packages/84/7f/8107ea87a44fd1f1b59882442f033c9c3488c127201b1d1d15f1cbd6022e/mypy-2.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:761be68e023ef5d94678772396a8af1220030f80837a3afd8d0aef3b419666f4", size = 14055743, upload-time = "2026-05-11T18:35:18.361Z" },
+ { url = "https://files.pythonhosted.org/packages/51/4d/b6d34db183133b83761b9199a82d31557cdbb70a380d8c3b3438e11882a3/mypy-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c90345fc182dc363b891350457ec69c35140858538f38b4540845afcc32b1aef", size = 15020937, upload-time = "2026-05-11T18:34:59.618Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/d7/f08360c691d758acb02f45022c34d98b92892f4ea756644e1000d4b9f3d8/mypy-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b84802e7b5a6daf1f5e15bc9fcd7ddae77be13981ffab037f1c67bb84d67d135", size = 15253371, upload-time = "2026-05-11T18:36:41.081Z" },
+ { url = "https://files.pythonhosted.org/packages/67/1b/09460a13719530a19bce27bd3bc8449e83569dd2ba7faf51c9c3c30c0b61/mypy-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:022c771234936ceac541ebaf836fe9e2abeb3f5e09aff21588fe543ff006fe21", size = 11326429, upload-time = "2026-05-11T18:34:13.526Z" },
+ { url = "https://files.pythonhosted.org/packages/40/62/75dbf0f82f7b6680340efc614af29dd0b3c17b8a4f1cd09b8bd2fd6bc814/mypy-2.1.0-cp314-cp314-win_arm64.whl", hash = "sha256:498207db725cec88829a6a5c2fc771205fd043719ef98bc49aba8fb9fc4e6d57", size = 10218799, upload-time = "2026-05-11T18:32:23.491Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/66/caca04ed7d972fb6eb6dd1ccd6df1de5c38fae8c5b3dc1c4e8e0d85ee6b9/mypy-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7d5e5cad0efeba72b93cd17490cc0d69c5ac9ca132994fe3fb0314808aeeb83e", size = 15923458, upload-time = "2026-05-11T18:35:28.64Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/52/2d90cbe49d014b13ed7ff337930c30bad35893fe38a1e4641e756bb62191/mypy-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ff715050c127d724fd260a2e666e7747fdd83511c0c47d449d98238970aef780", size = 14757697, upload-time = "2026-05-11T18:36:14.208Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/37/d98f4a14e081b238992d0ed96b6d39c7cc0148c9699eb71eaa68629665ea/mypy-2.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:82208da9e09414d520e912d3e462d454854bed0810b71540bb016dcbca7308fd", size = 15405638, upload-time = "2026-05-11T18:33:48.249Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/c2/15c46613b24a84fad2aea1248bf9619b99c2767ae9071fe224c179a0b7d4/mypy-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e79ebc1b904b84f0310dff7469655a9c36c7a68bddb37bdd42b67a332df61d08", size = 16215852, upload-time = "2026-05-11T18:32:50.296Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/90/9c16a57f482c76d25f6379762b56bbf65c711d8158cf271fb2802cfb0640/mypy-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e583edc957cfb0deb142079162ae826f58449b116c1d442f2d91c69d9fced081", size = 16452695, upload-time = "2026-05-11T18:33:38.182Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/4c/215a4eeb63cacc5f17f516691ea7285d11e249802b942476bff15922a314/mypy-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b33b6cd332695bba180d55e717a79d3038e479a2c49cc5eb3d53603409b9a5d7", size = 12866622, upload-time = "2026-05-11T18:34:39.945Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/50/1043e1db5f455ffe4c9ab22747cd8ca2bc492b1e4f4e21b130a44ee2b217/mypy-2.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:4f910fe825376a7b66ef7ca8c98e5a149e8cd64c19ae71d84047a74ee060d4e6", size = 10610798, upload-time = "2026-05-11T18:36:31.444Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/2a/13ca1f292f6db1b98ff495ef3467736b331621c5917cad984b7043e7348d/mypy-2.1.0-py3-none-any.whl", hash = "sha256:a663814603a5c563fb87a4f96fb473eeb30d1f5a4885afcf44f9db000a366289", size = 2693302, upload-time = "2026-05-11T18:31:29.246Z" },
+]
+
+[[package]]
+name = "mypy-extensions"
+version = "1.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/6e/371856a3fb9d31ca8dac321cda606860fa4548858c0cc45d9d1d4ca2628b/mypy_extensions-1.1.0.tar.gz", hash = "sha256:52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558", size = 6343, upload-time = "2025-04-22T14:54:24.164Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/79/7b/2c79738432f5c924bef5071f933bcc9efd0473bac3b4aa584a6f7c1c8df8/mypy_extensions-1.1.0-py3-none-any.whl", hash = "sha256:1be4cccdb0f2482337c4743e60421de3a356cd97508abadd57d47403e94f5505", size = 4963, upload-time = "2025-04-22T14:54:22.983Z" },
+]
+
+[[package]]
+name = "nbclient"
+version = "0.10.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jupyter-client" },
+ { name = "jupyter-core" },
+ { name = "nbformat" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/87/66/7ffd18d58eae90d5721f9f39212327695b749e23ad44b3881744eaf4d9e8/nbclient-0.10.2.tar.gz", hash = "sha256:90b7fc6b810630db87a6d0c2250b1f0ab4cf4d3c27a299b0cde78a4ed3fd9193", size = 62424, upload-time = "2024-12-19T10:32:27.164Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/34/6d/e7fa07f03a4a7b221d94b4d586edb754a9b0dc3c9e2c93353e9fa4e0d117/nbclient-0.10.2-py3-none-any.whl", hash = "sha256:4ffee11e788b4a27fabeb7955547e4318a5298f34342a4bfd01f2e1faaeadc3d", size = 25434, upload-time = "2024-12-19T10:32:24.139Z" },
+]
+
+[[package]]
+name = "nbconvert"
+version = "7.17.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "beautifulsoup4" },
+ { name = "bleach", extra = ["css"] },
+ { name = "defusedxml" },
+ { name = "jinja2" },
+ { name = "jupyter-core" },
+ { name = "jupyterlab-pygments" },
+ { name = "markupsafe" },
+ { name = "mistune" },
+ { name = "nbclient" },
+ { name = "nbformat" },
+ { name = "packaging" },
+ { name = "pandocfilters" },
+ { name = "pygments" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/01/b1/708e53fe2e429c103c6e6e159106bcf0357ac41aa4c28772bd8402339051/nbconvert-7.17.1.tar.gz", hash = "sha256:34d0d0a7e73ce3cbab6c5aae8f4f468797280b01fd8bd2ca746da8569eddd7d2", size = 865311, upload-time = "2026-04-08T00:44:14.914Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/67/f8/bb0a9d5f46819c821dc1f004aa2cc29b1d91453297dbf5ff20470f00f193/nbconvert-7.17.1-py3-none-any.whl", hash = "sha256:aa85c087b435e7bf1ffd03319f658e285f2b89eccab33bc1ba7025495ab3e7c8", size = 261927, upload-time = "2026-04-08T00:44:12.845Z" },
+]
+
+[[package]]
+name = "nbformat"
+version = "5.10.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "fastjsonschema" },
+ { name = "jsonschema" },
+ { name = "jupyter-core" },
+ { name = "traitlets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6d/fd/91545e604bc3dad7dca9ed03284086039b294c6b3d75c0d2fa45f9e9caf3/nbformat-5.10.4.tar.gz", hash = "sha256:322168b14f937a5d11362988ecac2a4952d3d8e3a2cbeb2319584631226d5b3a", size = 142749, upload-time = "2024-04-04T11:20:37.371Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a9/82/0340caa499416c78e5d8f5f05947ae4bc3cba53c9f038ab6e9ed964e22f1/nbformat-5.10.4-py3-none-any.whl", hash = "sha256:3b48d6c8fbca4b299bf3982ea7db1af21580e4fec269ad087b9e81588891200b", size = 78454, upload-time = "2024-04-04T11:20:34.895Z" },
+]
+
+[[package]]
+name = "nest-asyncio"
+version = "1.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/83/f8/51569ac65d696c8ecbee95938f89d4abf00f47d58d48f6fbabfe8f0baefe/nest_asyncio-1.6.0.tar.gz", hash = "sha256:6f172d5449aca15afd6c646851f4e31e02c598d553a667e38cafa997cfec55fe", size = 7418, upload-time = "2024-01-21T14:25:19.227Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/c4/c2971a3ba4c6103a3d10c4b0f24f461ddc027f0f09763220cf35ca1401b3/nest_asyncio-1.6.0-py3-none-any.whl", hash = "sha256:87af6efd6b5e897c81050477ef65c62e2b2f35d51703cae01aff2905b1852e1c", size = 5195, upload-time = "2024-01-21T14:25:17.223Z" },
+]
+
+[[package]]
+name = "networkx"
+version = "3.4.2"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version < '3.11'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/fd/1d/06475e1cd5264c0b870ea2cc6fdb3e37177c1e565c43f56ff17a10e3937f/networkx-3.4.2.tar.gz", hash = "sha256:307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1", size = 2151368, upload-time = "2024-10-21T12:39:38.695Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b9/54/dd730b32ea14ea797530a4479b2ed46a6fb250f682a9cfb997e968bf0261/networkx-3.4.2-py3-none-any.whl", hash = "sha256:df5d4365b724cf81b8c6a7312509d0c22386097011ad1abe274afd5e9d3bbc5f", size = 1723263, upload-time = "2024-10-21T12:39:36.247Z" },
+]
+
+[[package]]
+name = "networkx"
+version = "3.5"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.15'",
+ "python_full_version == '3.14.*'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
+ "python_full_version == '3.11.*'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6c/4f/ccdb8ad3a38e583f214547fd2f7ff1fc160c43a75af88e6aec213404b96a/networkx-3.5.tar.gz", hash = "sha256:d4c6f9cf81f52d69230866796b82afbccdec3db7ae4fbd1b65ea750feed50037", size = 2471065, upload-time = "2025-05-29T11:35:07.804Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/eb/8d/776adee7bbf76365fdd7f2552710282c79a4ead5d2a46408c9043a2b70ba/networkx-3.5-py3-none-any.whl", hash = "sha256:0030d386a9a06dee3565298b4a734b68589749a544acbb6c412dc9e2489ec6ec", size = 2034406, upload-time = "2025-05-29T11:35:04.961Z" },
+]
+
+[[package]]
+name = "nltk"
+version = "3.9.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "joblib" },
+ { name = "regex" },
+ { name = "tqdm" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/74/a1/b3b4adf15585a5bc4c357adde150c01ebeeb642173ded4d871e89468767c/nltk-3.9.4.tar.gz", hash = "sha256:ed03bc098a40481310320808b2db712d95d13ca65b27372f8a403949c8b523d0", size = 2946864, upload-time = "2026-03-24T06:13:40.641Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9d/91/04e965f8e717ba0ab4bdca5c112deeab11c9e750d94c4d4602f050295d39/nltk-3.9.4-py3-none-any.whl", hash = "sha256:f2fa301c3a12718ce4a0e9305c5675299da5ad9e26068218b69d692fda84828f", size = 1552087, upload-time = "2026-03-24T06:13:38.47Z" },
+]
+
+[[package]]
+name = "notebook"
+version = "7.5.6"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jupyter-server" },
+ { name = "jupyterlab" },
+ { name = "jupyterlab-server" },
+ { name = "notebook-shim" },
+ { name = "tornado" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2a/c2/cf59bd2e6f2c8b976b52477e3e53bf6f97bc714ed046a51821afb428eaee/notebook-7.5.6.tar.gz", hash = "sha256:621174aade80108f0020b0f00738000b215f75fa3cd90771ad7aa0f24536a4e1", size = 14170814, upload-time = "2026-04-30T11:46:26.613Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/d6/1fd0646b9bbd9efbb0b8ae21b2325fbef515769a5621c03e31d8eb8da587/notebook-7.5.6-py3-none-any.whl", hash = "sha256:4dde3f8fb55fa8fb7946d58c6e869ce9baf46d00fc070664f62604569d0faca0", size = 14581730, upload-time = "2026-04-30T11:46:22.342Z" },
+]
+
+[[package]]
+name = "notebook-shim"
+version = "0.2.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "jupyter-server" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/54/d2/92fa3243712b9a3e8bafaf60aac366da1cada3639ca767ff4b5b3654ec28/notebook_shim-0.2.4.tar.gz", hash = "sha256:b4b2cfa1b65d98307ca24361f5b30fe785b53c3fd07b7a47e89acb5e6ac638cb", size = 13167, upload-time = "2024-02-14T23:35:18.353Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f9/33/bd5b9137445ea4b680023eb0469b2bb969d61303dedb2aac6560ff3d14a1/notebook_shim-0.2.4-py3-none-any.whl", hash = "sha256:411a5be4e9dc882a074ccbcae671eda64cceb068767e9a3419096986560e1cef", size = 13307, upload-time = "2024-02-14T23:35:16.286Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.2.6"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version < '3.11'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/76/21/7d2a95e4bba9dc13d043ee156a356c0a8f0c6309dff6b21b4d71a073b8a8/numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd", size = 20276440, upload-time = "2025-05-17T22:38:04.611Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9a/3e/ed6db5be21ce87955c0cbd3009f2803f59fa08df21b5df06862e2d8e2bdd/numpy-2.2.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b412caa66f72040e6d268491a59f2c43bf03eb6c96dd8f0307829feb7fa2b6fb", size = 21165245, upload-time = "2025-05-17T21:27:58.555Z" },
+ { url = "https://files.pythonhosted.org/packages/22/c2/4b9221495b2a132cc9d2eb862e21d42a009f5a60e45fc44b00118c174bff/numpy-2.2.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e41fd67c52b86603a91c1a505ebaef50b3314de0213461c7a6e99c9a3beff90", size = 14360048, upload-time = "2025-05-17T21:28:21.406Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/77/dc2fcfc66943c6410e2bf598062f5959372735ffda175b39906d54f02349/numpy-2.2.6-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:37e990a01ae6ec7fe7fa1c26c55ecb672dd98b19c3d0e1d1f326fa13cb38d163", size = 5340542, upload-time = "2025-05-17T21:28:30.931Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/4f/1cb5fdc353a5f5cc7feb692db9b8ec2c3d6405453f982435efc52561df58/numpy-2.2.6-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:5a6429d4be8ca66d889b7cf70f536a397dc45ba6faeb5f8c5427935d9592e9cf", size = 6878301, upload-time = "2025-05-17T21:28:41.613Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/17/96a3acd228cec142fcb8723bd3cc39c2a474f7dcf0a5d16731980bcafa95/numpy-2.2.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:efd28d4e9cd7d7a8d39074a4d44c63eda73401580c5c76acda2ce969e0a38e83", size = 14297320, upload-time = "2025-05-17T21:29:02.78Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/63/3de6a34ad7ad6646ac7d2f55ebc6ad439dbbf9c4370017c50cf403fb19b5/numpy-2.2.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc7b73d02efb0e18c000e9ad8b83480dfcd5dfd11065997ed4c6747470ae8915", size = 16801050, upload-time = "2025-05-17T21:29:27.675Z" },
+ { url = "https://files.pythonhosted.org/packages/07/b6/89d837eddef52b3d0cec5c6ba0456c1bf1b9ef6a6672fc2b7873c3ec4e2e/numpy-2.2.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:74d4531beb257d2c3f4b261bfb0fc09e0f9ebb8842d82a7b4209415896adc680", size = 15807034, upload-time = "2025-05-17T21:29:51.102Z" },
+ { url = "https://files.pythonhosted.org/packages/01/c8/dc6ae86e3c61cfec1f178e5c9f7858584049b6093f843bca541f94120920/numpy-2.2.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8fc377d995680230e83241d8a96def29f204b5782f371c532579b4f20607a289", size = 18614185, upload-time = "2025-05-17T21:30:18.703Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/c5/0064b1b7e7c89137b471ccec1fd2282fceaae0ab3a9550f2568782d80357/numpy-2.2.6-cp310-cp310-win32.whl", hash = "sha256:b093dd74e50a8cba3e873868d9e93a85b78e0daf2e98c6797566ad8044e8363d", size = 6527149, upload-time = "2025-05-17T21:30:29.788Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/dd/4b822569d6b96c39d1215dbae0582fd99954dcbcf0c1a13c61783feaca3f/numpy-2.2.6-cp310-cp310-win_amd64.whl", hash = "sha256:f0fd6321b839904e15c46e0d257fdd101dd7f530fe03fd6359c1ea63738703f3", size = 12904620, upload-time = "2025-05-17T21:30:48.994Z" },
+ { url = "https://files.pythonhosted.org/packages/da/a8/4f83e2aa666a9fbf56d6118faaaf5f1974d456b1823fda0a176eff722839/numpy-2.2.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f9f1adb22318e121c5c69a09142811a201ef17ab257a1e66ca3025065b7f53ae", size = 21176963, upload-time = "2025-05-17T21:31:19.36Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/2b/64e1affc7972decb74c9e29e5649fac940514910960ba25cd9af4488b66c/numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c820a93b0255bc360f53eca31a0e676fd1101f673dda8da93454a12e23fc5f7a", size = 14406743, upload-time = "2025-05-17T21:31:41.087Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/9f/0121e375000b5e50ffdd8b25bf78d8e1a5aa4cca3f185d41265198c7b834/numpy-2.2.6-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3d70692235e759f260c3d837193090014aebdf026dfd167834bcba43e30c2a42", size = 5352616, upload-time = "2025-05-17T21:31:50.072Z" },
+ { url = "https://files.pythonhosted.org/packages/31/0d/b48c405c91693635fbe2dcd7bc84a33a602add5f63286e024d3b6741411c/numpy-2.2.6-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:481b49095335f8eed42e39e8041327c05b0f6f4780488f61286ed3c01368d491", size = 6889579, upload-time = "2025-05-17T21:32:01.712Z" },
+ { url = "https://files.pythonhosted.org/packages/52/b8/7f0554d49b565d0171eab6e99001846882000883998e7b7d9f0d98b1f934/numpy-2.2.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b64d8d4d17135e00c8e346e0a738deb17e754230d7e0810ac5012750bbd85a5a", size = 14312005, upload-time = "2025-05-17T21:32:23.332Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/dd/2238b898e51bd6d389b7389ffb20d7f4c10066d80351187ec8e303a5a475/numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba10f8411898fc418a521833e014a77d3ca01c15b0c6cdcce6a0d2897e6dbbdf", size = 16821570, upload-time = "2025-05-17T21:32:47.991Z" },
+ { url = "https://files.pythonhosted.org/packages/83/6c/44d0325722cf644f191042bf47eedad61c1e6df2432ed65cbe28509d404e/numpy-2.2.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:bd48227a919f1bafbdda0583705e547892342c26fb127219d60a5c36882609d1", size = 15818548, upload-time = "2025-05-17T21:33:11.728Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/9d/81e8216030ce66be25279098789b665d49ff19eef08bfa8cb96d4957f422/numpy-2.2.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9551a499bf125c1d4f9e250377c1ee2eddd02e01eac6644c080162c0c51778ab", size = 18620521, upload-time = "2025-05-17T21:33:39.139Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/fd/e19617b9530b031db51b0926eed5345ce8ddc669bb3bc0044b23e275ebe8/numpy-2.2.6-cp311-cp311-win32.whl", hash = "sha256:0678000bb9ac1475cd454c6b8c799206af8107e310843532b04d49649c717a47", size = 6525866, upload-time = "2025-05-17T21:33:50.273Z" },
+ { url = "https://files.pythonhosted.org/packages/31/0a/f354fb7176b81747d870f7991dc763e157a934c717b67b58456bc63da3df/numpy-2.2.6-cp311-cp311-win_amd64.whl", hash = "sha256:e8213002e427c69c45a52bbd94163084025f533a55a59d6f9c5b820774ef3303", size = 12907455, upload-time = "2025-05-17T21:34:09.135Z" },
+ { url = "https://files.pythonhosted.org/packages/82/5d/c00588b6cf18e1da539b45d3598d3557084990dcc4331960c15ee776ee41/numpy-2.2.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:41c5a21f4a04fa86436124d388f6ed60a9343a6f767fced1a8a71c3fbca038ff", size = 20875348, upload-time = "2025-05-17T21:34:39.648Z" },
+ { url = "https://files.pythonhosted.org/packages/66/ee/560deadcdde6c2f90200450d5938f63a34b37e27ebff162810f716f6a230/numpy-2.2.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:de749064336d37e340f640b05f24e9e3dd678c57318c7289d222a8a2f543e90c", size = 14119362, upload-time = "2025-05-17T21:35:01.241Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/65/4baa99f1c53b30adf0acd9a5519078871ddde8d2339dc5a7fde80d9d87da/numpy-2.2.6-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:894b3a42502226a1cac872f840030665f33326fc3dac8e57c607905773cdcde3", size = 5084103, upload-time = "2025-05-17T21:35:10.622Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/89/e5a34c071a0570cc40c9a54eb472d113eea6d002e9ae12bb3a8407fb912e/numpy-2.2.6-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:71594f7c51a18e728451bb50cc60a3ce4e6538822731b2933209a1f3614e9282", size = 6625382, upload-time = "2025-05-17T21:35:21.414Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/35/8c80729f1ff76b3921d5c9487c7ac3de9b2a103b1cd05e905b3090513510/numpy-2.2.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f2618db89be1b4e05f7a1a847a9c1c0abd63e63a1607d892dd54668dd92faf87", size = 14018462, upload-time = "2025-05-17T21:35:42.174Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/3d/1e1db36cfd41f895d266b103df00ca5b3cbe965184df824dec5c08c6b803/numpy-2.2.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fd83c01228a688733f1ded5201c678f0c53ecc1006ffbc404db9f7a899ac6249", size = 16527618, upload-time = "2025-05-17T21:36:06.711Z" },
+ { url = "https://files.pythonhosted.org/packages/61/c6/03ed30992602c85aa3cd95b9070a514f8b3c33e31124694438d88809ae36/numpy-2.2.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:37c0ca431f82cd5fa716eca9506aefcabc247fb27ba69c5062a6d3ade8cf8f49", size = 15505511, upload-time = "2025-05-17T21:36:29.965Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/25/5761d832a81df431e260719ec45de696414266613c9ee268394dd5ad8236/numpy-2.2.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fe27749d33bb772c80dcd84ae7e8df2adc920ae8297400dabec45f0dedb3f6de", size = 18313783, upload-time = "2025-05-17T21:36:56.883Z" },
+ { url = "https://files.pythonhosted.org/packages/57/0a/72d5a3527c5ebffcd47bde9162c39fae1f90138c961e5296491ce778e682/numpy-2.2.6-cp312-cp312-win32.whl", hash = "sha256:4eeaae00d789f66c7a25ac5f34b71a7035bb474e679f410e5e1a94deb24cf2d4", size = 6246506, upload-time = "2025-05-17T21:37:07.368Z" },
+ { url = "https://files.pythonhosted.org/packages/36/fa/8c9210162ca1b88529ab76b41ba02d433fd54fecaf6feb70ef9f124683f1/numpy-2.2.6-cp312-cp312-win_amd64.whl", hash = "sha256:c1f9540be57940698ed329904db803cf7a402f3fc200bfe599334c9bd84a40b2", size = 12614190, upload-time = "2025-05-17T21:37:26.213Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/5c/6657823f4f594f72b5471f1db1ab12e26e890bb2e41897522d134d2a3e81/numpy-2.2.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0811bb762109d9708cca4d0b13c4f67146e3c3b7cf8d34018c722adb2d957c84", size = 20867828, upload-time = "2025-05-17T21:37:56.699Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/9e/14520dc3dadf3c803473bd07e9b2bd1b69bc583cb2497b47000fed2fa92f/numpy-2.2.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:287cc3162b6f01463ccd86be154f284d0893d2b3ed7292439ea97eafa8170e0b", size = 14143006, upload-time = "2025-05-17T21:38:18.291Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/06/7e96c57d90bebdce9918412087fc22ca9851cceaf5567a45c1f404480e9e/numpy-2.2.6-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:f1372f041402e37e5e633e586f62aa53de2eac8d98cbfb822806ce4bbefcb74d", size = 5076765, upload-time = "2025-05-17T21:38:27.319Z" },
+ { url = "https://files.pythonhosted.org/packages/73/ed/63d920c23b4289fdac96ddbdd6132e9427790977d5457cd132f18e76eae0/numpy-2.2.6-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:55a4d33fa519660d69614a9fad433be87e5252f4b03850642f88993f7b2ca566", size = 6617736, upload-time = "2025-05-17T21:38:38.141Z" },
+ { url = "https://files.pythonhosted.org/packages/85/c5/e19c8f99d83fd377ec8c7e0cf627a8049746da54afc24ef0a0cb73d5dfb5/numpy-2.2.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f92729c95468a2f4f15e9bb94c432a9229d0d50de67304399627a943201baa2f", size = 14010719, upload-time = "2025-05-17T21:38:58.433Z" },
+ { url = "https://files.pythonhosted.org/packages/19/49/4df9123aafa7b539317bf6d342cb6d227e49f7a35b99c287a6109b13dd93/numpy-2.2.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1bc23a79bfabc5d056d106f9befb8d50c31ced2fbc70eedb8155aec74a45798f", size = 16526072, upload-time = "2025-05-17T21:39:22.638Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/6c/04b5f47f4f32f7c2b0e7260442a8cbcf8168b0e1a41ff1495da42f42a14f/numpy-2.2.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:e3143e4451880bed956e706a3220b4e5cf6172ef05fcc397f6f36a550b1dd868", size = 15503213, upload-time = "2025-05-17T21:39:45.865Z" },
+ { url = "https://files.pythonhosted.org/packages/17/0a/5cd92e352c1307640d5b6fec1b2ffb06cd0dabe7d7b8227f97933d378422/numpy-2.2.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:b4f13750ce79751586ae2eb824ba7e1e8dba64784086c98cdbbcc6a42112ce0d", size = 18316632, upload-time = "2025-05-17T21:40:13.331Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/3b/5cba2b1d88760ef86596ad0f3d484b1cbff7c115ae2429678465057c5155/numpy-2.2.6-cp313-cp313-win32.whl", hash = "sha256:5beb72339d9d4fa36522fc63802f469b13cdbe4fdab4a288f0c441b74272ebfd", size = 6244532, upload-time = "2025-05-17T21:43:46.099Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/3b/d58c12eafcb298d4e6d0d40216866ab15f59e55d148a5658bb3132311fcf/numpy-2.2.6-cp313-cp313-win_amd64.whl", hash = "sha256:b0544343a702fa80c95ad5d3d608ea3599dd54d4632df855e4c8d24eb6ecfa1c", size = 12610885, upload-time = "2025-05-17T21:44:05.145Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/9e/4bf918b818e516322db999ac25d00c75788ddfd2d2ade4fa66f1f38097e1/numpy-2.2.6-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:0bca768cd85ae743b2affdc762d617eddf3bcf8724435498a1e80132d04879e6", size = 20963467, upload-time = "2025-05-17T21:40:44Z" },
+ { url = "https://files.pythonhosted.org/packages/61/66/d2de6b291507517ff2e438e13ff7b1e2cdbdb7cb40b3ed475377aece69f9/numpy-2.2.6-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:fc0c5673685c508a142ca65209b4e79ed6740a4ed6b2267dbba90f34b0b3cfda", size = 14225144, upload-time = "2025-05-17T21:41:05.695Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/25/480387655407ead912e28ba3a820bc69af9adf13bcbe40b299d454ec011f/numpy-2.2.6-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:5bd4fc3ac8926b3819797a7c0e2631eb889b4118a9898c84f585a54d475b7e40", size = 5200217, upload-time = "2025-05-17T21:41:15.903Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/4a/6e313b5108f53dcbf3aca0c0f3e9c92f4c10ce57a0a721851f9785872895/numpy-2.2.6-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:fee4236c876c4e8369388054d02d0e9bb84821feb1a64dd59e137e6511a551f8", size = 6712014, upload-time = "2025-05-17T21:41:27.321Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/30/172c2d5c4be71fdf476e9de553443cf8e25feddbe185e0bd88b096915bcc/numpy-2.2.6-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1dda9c7e08dc141e0247a5b8f49cf05984955246a327d4c48bda16821947b2f", size = 14077935, upload-time = "2025-05-17T21:41:49.738Z" },
+ { url = "https://files.pythonhosted.org/packages/12/fb/9e743f8d4e4d3c710902cf87af3512082ae3d43b945d5d16563f26ec251d/numpy-2.2.6-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f447e6acb680fd307f40d3da4852208af94afdfab89cf850986c3ca00562f4fa", size = 16600122, upload-time = "2025-05-17T21:42:14.046Z" },
+ { url = "https://files.pythonhosted.org/packages/12/75/ee20da0e58d3a66f204f38916757e01e33a9737d0b22373b3eb5a27358f9/numpy-2.2.6-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:389d771b1623ec92636b0786bc4ae56abafad4a4c513d36a55dce14bd9ce8571", size = 15586143, upload-time = "2025-05-17T21:42:37.464Z" },
+ { url = "https://files.pythonhosted.org/packages/76/95/bef5b37f29fc5e739947e9ce5179ad402875633308504a52d188302319c8/numpy-2.2.6-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8e9ace4a37db23421249ed236fdcdd457d671e25146786dfc96835cd951aa7c1", size = 18385260, upload-time = "2025-05-17T21:43:05.189Z" },
+ { url = "https://files.pythonhosted.org/packages/09/04/f2f83279d287407cf36a7a8053a5abe7be3622a4363337338f2585e4afda/numpy-2.2.6-cp313-cp313t-win32.whl", hash = "sha256:038613e9fb8c72b0a41f025a7e4c3f0b7a1b5d768ece4796b674c8f3fe13efff", size = 6377225, upload-time = "2025-05-17T21:43:16.254Z" },
+ { url = "https://files.pythonhosted.org/packages/67/0e/35082d13c09c02c011cf21570543d202ad929d961c02a147493cb0c2bdf5/numpy-2.2.6-cp313-cp313t-win_amd64.whl", hash = "sha256:6031dd6dfecc0cf9f668681a37648373bddd6421fff6c66ec1624eed0180ee06", size = 12771374, upload-time = "2025-05-17T21:43:35.479Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/3b/d94a75f4dbf1ef5d321523ecac21ef23a3cd2ac8b78ae2aac40873590229/numpy-2.2.6-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0b605b275d7bd0c640cad4e5d30fa701a8d59302e127e5f79138ad62762c3e3d", size = 21040391, upload-time = "2025-05-17T21:44:35.948Z" },
+ { url = "https://files.pythonhosted.org/packages/17/f4/09b2fa1b58f0fb4f7c7963a1649c64c4d315752240377ed74d9cd878f7b5/numpy-2.2.6-pp310-pypy310_pp73-macosx_14_0_x86_64.whl", hash = "sha256:7befc596a7dc9da8a337f79802ee8adb30a552a94f792b9c9d18c840055907db", size = 6786754, upload-time = "2025-05-17T21:44:47.446Z" },
+ { url = "https://files.pythonhosted.org/packages/af/30/feba75f143bdc868a1cc3f44ccfa6c4b9ec522b36458e738cd00f67b573f/numpy-2.2.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce47521a4754c8f4593837384bd3424880629f718d87c5d44f8ed763edd63543", size = 16643476, upload-time = "2025-05-17T21:45:11.871Z" },
+ { url = "https://files.pythonhosted.org/packages/37/48/ac2a9584402fb6c0cd5b5d1a91dcf176b15760130dd386bbafdbfe3640bf/numpy-2.2.6-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:d042d24c90c41b54fd506da306759e06e568864df8ec17ccc17e9e884634fd00", size = 12812666, upload-time = "2025-05-17T21:45:31.426Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.3.3"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.15'",
+ "python_full_version == '3.14.*'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
+ "python_full_version == '3.11.*'",
+]
+sdist = { url = "https://files.pythonhosted.org/packages/d0/19/95b3d357407220ed24c139018d2518fab0a61a948e68286a25f1a4d049ff/numpy-2.3.3.tar.gz", hash = "sha256:ddc7c39727ba62b80dfdbedf400d1c10ddfa8eefbd7ec8dcb118be8b56d31029", size = 20576648, upload-time = "2025-09-09T16:54:12.543Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7a/45/e80d203ef6b267aa29b22714fb558930b27960a0c5ce3c19c999232bb3eb/numpy-2.3.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0ffc4f5caba7dfcbe944ed674b7eef683c7e94874046454bb79ed7ee0236f59d", size = 21259253, upload-time = "2025-09-09T15:56:02.094Z" },
+ { url = "https://files.pythonhosted.org/packages/52/18/cf2c648fccf339e59302e00e5f2bc87725a3ce1992f30f3f78c9044d7c43/numpy-2.3.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7e946c7170858a0295f79a60214424caac2ffdb0063d4d79cb681f9aa0aa569", size = 14450980, upload-time = "2025-09-09T15:56:05.926Z" },
+ { url = "https://files.pythonhosted.org/packages/93/fb/9af1082bec870188c42a1c239839915b74a5099c392389ff04215dcee812/numpy-2.3.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:cd4260f64bc794c3390a63bf0728220dd1a68170c169088a1e0dfa2fde1be12f", size = 5379709, upload-time = "2025-09-09T15:56:07.95Z" },
+ { url = "https://files.pythonhosted.org/packages/75/0f/bfd7abca52bcbf9a4a65abc83fe18ef01ccdeb37bfb28bbd6ad613447c79/numpy-2.3.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:f0ddb4b96a87b6728df9362135e764eac3cfa674499943ebc44ce96c478ab125", size = 6913923, upload-time = "2025-09-09T15:56:09.443Z" },
+ { url = "https://files.pythonhosted.org/packages/79/55/d69adad255e87ab7afda1caf93ca997859092afeb697703e2f010f7c2e55/numpy-2.3.3-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:afd07d377f478344ec6ca2b8d4ca08ae8bd44706763d1efb56397de606393f48", size = 14589591, upload-time = "2025-09-09T15:56:11.234Z" },
+ { url = "https://files.pythonhosted.org/packages/10/a2/010b0e27ddeacab7839957d7a8f00e91206e0c2c47abbb5f35a2630e5387/numpy-2.3.3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bc92a5dedcc53857249ca51ef29f5e5f2f8c513e22cfb90faeb20343b8c6f7a6", size = 16938714, upload-time = "2025-09-09T15:56:14.637Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/6b/12ce8ede632c7126eb2762b9e15e18e204b81725b81f35176eac14dc5b82/numpy-2.3.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:7af05ed4dc19f308e1d9fc759f36f21921eb7bbfc82843eeec6b2a2863a0aefa", size = 16370592, upload-time = "2025-09-09T15:56:17.285Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/35/aba8568b2593067bb6a8fe4c52babb23b4c3b9c80e1b49dff03a09925e4a/numpy-2.3.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:433bf137e338677cebdd5beac0199ac84712ad9d630b74eceeb759eaa45ddf30", size = 18884474, upload-time = "2025-09-09T15:56:20.943Z" },
+ { url = "https://files.pythonhosted.org/packages/45/fa/7f43ba10c77575e8be7b0138d107e4f44ca4a1ef322cd16980ea3e8b8222/numpy-2.3.3-cp311-cp311-win32.whl", hash = "sha256:eb63d443d7b4ffd1e873f8155260d7f58e7e4b095961b01c91062935c2491e57", size = 6599794, upload-time = "2025-09-09T15:56:23.258Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/a2/a4f78cb2241fe5664a22a10332f2be886dcdea8784c9f6a01c272da9b426/numpy-2.3.3-cp311-cp311-win_amd64.whl", hash = "sha256:ec9d249840f6a565f58d8f913bccac2444235025bbb13e9a4681783572ee3caa", size = 13088104, upload-time = "2025-09-09T15:56:25.476Z" },
+ { url = "https://files.pythonhosted.org/packages/79/64/e424e975adbd38282ebcd4891661965b78783de893b381cbc4832fb9beb2/numpy-2.3.3-cp311-cp311-win_arm64.whl", hash = "sha256:74c2a948d02f88c11a3c075d9733f1ae67d97c6bdb97f2bb542f980458b257e7", size = 10460772, upload-time = "2025-09-09T15:56:27.679Z" },
+ { url = "https://files.pythonhosted.org/packages/51/5d/bb7fc075b762c96329147799e1bcc9176ab07ca6375ea976c475482ad5b3/numpy-2.3.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cfdd09f9c84a1a934cde1eec2267f0a43a7cd44b2cca4ff95b7c0d14d144b0bf", size = 20957014, upload-time = "2025-09-09T15:56:29.966Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/0e/c6211bb92af26517acd52125a237a92afe9c3124c6a68d3b9f81b62a0568/numpy-2.3.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:cb32e3cf0f762aee47ad1ddc6672988f7f27045b0783c887190545baba73aa25", size = 14185220, upload-time = "2025-09-09T15:56:32.175Z" },
+ { url = "https://files.pythonhosted.org/packages/22/f2/07bb754eb2ede9073f4054f7c0286b0d9d2e23982e090a80d478b26d35ca/numpy-2.3.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:396b254daeb0a57b1fe0ecb5e3cff6fa79a380fa97c8f7781a6d08cd429418fe", size = 5113918, upload-time = "2025-09-09T15:56:34.175Z" },
+ { url = "https://files.pythonhosted.org/packages/81/0a/afa51697e9fb74642f231ea36aca80fa17c8fb89f7a82abd5174023c3960/numpy-2.3.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:067e3d7159a5d8f8a0b46ee11148fc35ca9b21f61e3c49fbd0a027450e65a33b", size = 6647922, upload-time = "2025-09-09T15:56:36.149Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/f5/122d9cdb3f51c520d150fef6e87df9279e33d19a9611a87c0d2cf78a89f4/numpy-2.3.3-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c02d0629d25d426585fb2e45a66154081b9fa677bc92a881ff1d216bc9919a8", size = 14281991, upload-time = "2025-09-09T15:56:40.548Z" },
+ { url = "https://files.pythonhosted.org/packages/51/64/7de3c91e821a2debf77c92962ea3fe6ac2bc45d0778c1cbe15d4fce2fd94/numpy-2.3.3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d9192da52b9745f7f0766531dcfa978b7763916f158bb63bdb8a1eca0068ab20", size = 16641643, upload-time = "2025-09-09T15:56:43.343Z" },
+ { url = "https://files.pythonhosted.org/packages/30/e4/961a5fa681502cd0d68907818b69f67542695b74e3ceaa513918103b7e80/numpy-2.3.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:cd7de500a5b66319db419dc3c345244404a164beae0d0937283b907d8152e6ea", size = 16056787, upload-time = "2025-09-09T15:56:46.141Z" },
+ { url = "https://files.pythonhosted.org/packages/99/26/92c912b966e47fbbdf2ad556cb17e3a3088e2e1292b9833be1dfa5361a1a/numpy-2.3.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:93d4962d8f82af58f0b2eb85daaf1b3ca23fe0a85d0be8f1f2b7bb46034e56d7", size = 18579598, upload-time = "2025-09-09T15:56:49.844Z" },
+ { url = "https://files.pythonhosted.org/packages/17/b6/fc8f82cb3520768718834f310c37d96380d9dc61bfdaf05fe5c0b7653e01/numpy-2.3.3-cp312-cp312-win32.whl", hash = "sha256:5534ed6b92f9b7dca6c0a19d6df12d41c68b991cef051d108f6dbff3babc4ebf", size = 6320800, upload-time = "2025-09-09T15:56:52.499Z" },
+ { url = "https://files.pythonhosted.org/packages/32/ee/de999f2625b80d043d6d2d628c07d0d5555a677a3cf78fdf868d409b8766/numpy-2.3.3-cp312-cp312-win_amd64.whl", hash = "sha256:497d7cad08e7092dba36e3d296fe4c97708c93daf26643a1ae4b03f6294d30eb", size = 12786615, upload-time = "2025-09-09T15:56:54.422Z" },
+ { url = "https://files.pythonhosted.org/packages/49/6e/b479032f8a43559c383acb20816644f5f91c88f633d9271ee84f3b3a996c/numpy-2.3.3-cp312-cp312-win_arm64.whl", hash = "sha256:ca0309a18d4dfea6fc6262a66d06c26cfe4640c3926ceec90e57791a82b6eee5", size = 10195936, upload-time = "2025-09-09T15:56:56.541Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/b9/984c2b1ee61a8b803bf63582b4ac4242cf76e2dbd663efeafcb620cc0ccb/numpy-2.3.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f5415fb78995644253370985342cd03572ef8620b934da27d77377a2285955bf", size = 20949588, upload-time = "2025-09-09T15:56:59.087Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/e4/07970e3bed0b1384d22af1e9912527ecbeb47d3b26e9b6a3bced068b3bea/numpy-2.3.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:d00de139a3324e26ed5b95870ce63be7ec7352171bc69a4cf1f157a48e3eb6b7", size = 14177802, upload-time = "2025-09-09T15:57:01.73Z" },
+ { url = "https://files.pythonhosted.org/packages/35/c7/477a83887f9de61f1203bad89cf208b7c19cc9fef0cebef65d5a1a0619f2/numpy-2.3.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:9dc13c6a5829610cc07422bc74d3ac083bd8323f14e2827d992f9e52e22cd6a6", size = 5106537, upload-time = "2025-09-09T15:57:03.765Z" },
+ { url = "https://files.pythonhosted.org/packages/52/47/93b953bd5866a6f6986344d045a207d3f1cfbad99db29f534ea9cee5108c/numpy-2.3.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:d79715d95f1894771eb4e60fb23f065663b2298f7d22945d66877aadf33d00c7", size = 6640743, upload-time = "2025-09-09T15:57:07.921Z" },
+ { url = "https://files.pythonhosted.org/packages/23/83/377f84aaeb800b64c0ef4de58b08769e782edcefa4fea712910b6f0afd3c/numpy-2.3.3-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:952cfd0748514ea7c3afc729a0fc639e61655ce4c55ab9acfab14bda4f402b4c", size = 14278881, upload-time = "2025-09-09T15:57:11.349Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/a5/bf3db6e66c4b160d6ea10b534c381a1955dfab34cb1017ea93aa33c70ed3/numpy-2.3.3-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5b83648633d46f77039c29078751f80da65aa64d5622a3cd62aaef9d835b6c93", size = 16636301, upload-time = "2025-09-09T15:57:14.245Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/59/1287924242eb4fa3f9b3a2c30400f2e17eb2707020d1c5e3086fe7330717/numpy-2.3.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b001bae8cea1c7dfdb2ae2b017ed0a6f2102d7a70059df1e338e307a4c78a8ae", size = 16053645, upload-time = "2025-09-09T15:57:16.534Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/93/b3d47ed882027c35e94ac2320c37e452a549f582a5e801f2d34b56973c97/numpy-2.3.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8e9aced64054739037d42fb84c54dd38b81ee238816c948c8f3ed134665dcd86", size = 18578179, upload-time = "2025-09-09T15:57:18.883Z" },
+ { url = "https://files.pythonhosted.org/packages/20/d9/487a2bccbf7cc9d4bfc5f0f197761a5ef27ba870f1e3bbb9afc4bbe3fcc2/numpy-2.3.3-cp313-cp313-win32.whl", hash = "sha256:9591e1221db3f37751e6442850429b3aabf7026d3b05542d102944ca7f00c8a8", size = 6312250, upload-time = "2025-09-09T15:57:21.296Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/b5/263ebbbbcede85028f30047eab3d58028d7ebe389d6493fc95ae66c636ab/numpy-2.3.3-cp313-cp313-win_amd64.whl", hash = "sha256:f0dadeb302887f07431910f67a14d57209ed91130be0adea2f9793f1a4f817cf", size = 12783269, upload-time = "2025-09-09T15:57:23.034Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/75/67b8ca554bbeaaeb3fac2e8bce46967a5a06544c9108ec0cf5cece559b6c/numpy-2.3.3-cp313-cp313-win_arm64.whl", hash = "sha256:3c7cf302ac6e0b76a64c4aecf1a09e51abd9b01fc7feee80f6c43e3ab1b1dbc5", size = 10195314, upload-time = "2025-09-09T15:57:25.045Z" },
+ { url = "https://files.pythonhosted.org/packages/11/d0/0d1ddec56b162042ddfafeeb293bac672de9b0cfd688383590090963720a/numpy-2.3.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:eda59e44957d272846bb407aad19f89dc6f58fecf3504bd144f4c5cf81a7eacc", size = 21048025, upload-time = "2025-09-09T15:57:27.257Z" },
+ { url = "https://files.pythonhosted.org/packages/36/9e/1996ca6b6d00415b6acbdd3c42f7f03ea256e2c3f158f80bd7436a8a19f3/numpy-2.3.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:823d04112bc85ef5c4fda73ba24e6096c8f869931405a80aa8b0e604510a26bc", size = 14301053, upload-time = "2025-09-09T15:57:30.077Z" },
+ { url = "https://files.pythonhosted.org/packages/05/24/43da09aa764c68694b76e84b3d3f0c44cb7c18cdc1ba80e48b0ac1d2cd39/numpy-2.3.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:40051003e03db4041aa325da2a0971ba41cf65714e65d296397cc0e32de6018b", size = 5229444, upload-time = "2025-09-09T15:57:32.733Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/14/50ffb0f22f7218ef8af28dd089f79f68289a7a05a208db9a2c5dcbe123c1/numpy-2.3.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:6ee9086235dd6ab7ae75aba5662f582a81ced49f0f1c6de4260a78d8f2d91a19", size = 6738039, upload-time = "2025-09-09T15:57:34.328Z" },
+ { url = "https://files.pythonhosted.org/packages/55/52/af46ac0795e09657d45a7f4db961917314377edecf66db0e39fa7ab5c3d3/numpy-2.3.3-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:94fcaa68757c3e2e668ddadeaa86ab05499a70725811e582b6a9858dd472fb30", size = 14352314, upload-time = "2025-09-09T15:57:36.255Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/b1/dc226b4c90eb9f07a3fff95c2f0db3268e2e54e5cce97c4ac91518aee71b/numpy-2.3.3-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:da1a74b90e7483d6ce5244053399a614b1d6b7bc30a60d2f570e5071f8959d3e", size = 16701722, upload-time = "2025-09-09T15:57:38.622Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/9d/9d8d358f2eb5eced14dba99f110d83b5cd9a4460895230f3b396ad19a323/numpy-2.3.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:2990adf06d1ecee3b3dcbb4977dfab6e9f09807598d647f04d385d29e7a3c3d3", size = 16132755, upload-time = "2025-09-09T15:57:41.16Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/27/b3922660c45513f9377b3fb42240bec63f203c71416093476ec9aa0719dc/numpy-2.3.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:ed635ff692483b8e3f0fcaa8e7eb8a75ee71aa6d975388224f70821421800cea", size = 18651560, upload-time = "2025-09-09T15:57:43.459Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/8e/3ab61a730bdbbc201bb245a71102aa609f0008b9ed15255500a99cd7f780/numpy-2.3.3-cp313-cp313t-win32.whl", hash = "sha256:a333b4ed33d8dc2b373cc955ca57babc00cd6f9009991d9edc5ddbc1bac36bcd", size = 6442776, upload-time = "2025-09-09T15:57:45.793Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/3a/e22b766b11f6030dc2decdeff5c2fb1610768055603f9f3be88b6d192fb2/numpy-2.3.3-cp313-cp313t-win_amd64.whl", hash = "sha256:4384a169c4d8f97195980815d6fcad04933a7e1ab3b530921c3fef7a1c63426d", size = 12927281, upload-time = "2025-09-09T15:57:47.492Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/42/c2e2bc48c5e9b2a83423f99733950fbefd86f165b468a3d85d52b30bf782/numpy-2.3.3-cp313-cp313t-win_arm64.whl", hash = "sha256:75370986cc0bc66f4ce5110ad35aae6d182cc4ce6433c40ad151f53690130bf1", size = 10265275, upload-time = "2025-09-09T15:57:49.647Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/01/342ad585ad82419b99bcf7cebe99e61da6bedb89e213c5fd71acc467faee/numpy-2.3.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:cd052f1fa6a78dee696b58a914b7229ecfa41f0a6d96dc663c1220a55e137593", size = 20951527, upload-time = "2025-09-09T15:57:52.006Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/d8/204e0d73fc1b7a9ee80ab1fe1983dd33a4d64a4e30a05364b0208e9a241a/numpy-2.3.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:414a97499480067d305fcac9716c29cf4d0d76db6ebf0bf3cbce666677f12652", size = 14186159, upload-time = "2025-09-09T15:57:54.407Z" },
+ { url = "https://files.pythonhosted.org/packages/22/af/f11c916d08f3a18fb8ba81ab72b5b74a6e42ead4c2846d270eb19845bf74/numpy-2.3.3-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:50a5fe69f135f88a2be9b6ca0481a68a136f6febe1916e4920e12f1a34e708a7", size = 5114624, upload-time = "2025-09-09T15:57:56.5Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/11/0ed919c8381ac9d2ffacd63fd1f0c34d27e99cab650f0eb6f110e6ae4858/numpy-2.3.3-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:b912f2ed2b67a129e6a601e9d93d4fa37bef67e54cac442a2f588a54afe5c67a", size = 6642627, upload-time = "2025-09-09T15:57:58.206Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/83/deb5f77cb0f7ba6cb52b91ed388b47f8f3c2e9930d4665c600408d9b90b9/numpy-2.3.3-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9e318ee0596d76d4cb3d78535dc005fa60e5ea348cd131a51e99d0bdbe0b54fe", size = 14296926, upload-time = "2025-09-09T15:58:00.035Z" },
+ { url = "https://files.pythonhosted.org/packages/77/cc/70e59dcb84f2b005d4f306310ff0a892518cc0c8000a33d0e6faf7ca8d80/numpy-2.3.3-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ce020080e4a52426202bdb6f7691c65bb55e49f261f31a8f506c9f6bc7450421", size = 16638958, upload-time = "2025-09-09T15:58:02.738Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/5a/b2ab6c18b4257e099587d5b7f903317bd7115333ad8d4ec4874278eafa61/numpy-2.3.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e6687dc183aa55dae4a705b35f9c0f8cb178bcaa2f029b241ac5356221d5c021", size = 16071920, upload-time = "2025-09-09T15:58:05.029Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/f1/8b3fdc44324a259298520dd82147ff648979bed085feeacc1250ef1656c0/numpy-2.3.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d8f3b1080782469fdc1718c4ed1d22549b5fb12af0d57d35e992158a772a37cf", size = 18577076, upload-time = "2025-09-09T15:58:07.745Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/a1/b87a284fb15a42e9274e7fcea0dad259d12ddbf07c1595b26883151ca3b4/numpy-2.3.3-cp314-cp314-win32.whl", hash = "sha256:cb248499b0bc3be66ebd6578b83e5acacf1d6cb2a77f2248ce0e40fbec5a76d0", size = 6366952, upload-time = "2025-09-09T15:58:10.096Z" },
+ { url = "https://files.pythonhosted.org/packages/70/5f/1816f4d08f3b8f66576d8433a66f8fa35a5acfb3bbd0bf6c31183b003f3d/numpy-2.3.3-cp314-cp314-win_amd64.whl", hash = "sha256:691808c2b26b0f002a032c73255d0bd89751425f379f7bcd22d140db593a96e8", size = 12919322, upload-time = "2025-09-09T15:58:12.138Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/de/072420342e46a8ea41c324a555fa90fcc11637583fb8df722936aed1736d/numpy-2.3.3-cp314-cp314-win_arm64.whl", hash = "sha256:9ad12e976ca7b10f1774b03615a2a4bab8addce37ecc77394d8e986927dc0dfe", size = 10478630, upload-time = "2025-09-09T15:58:14.64Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/df/ee2f1c0a9de7347f14da5dd3cd3c3b034d1b8607ccb6883d7dd5c035d631/numpy-2.3.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9cc48e09feb11e1db00b320e9d30a4151f7369afb96bd0e48d942d09da3a0d00", size = 21047987, upload-time = "2025-09-09T15:58:16.889Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/92/9453bdc5a4e9e69cf4358463f25e8260e2ffc126d52e10038b9077815989/numpy-2.3.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:901bf6123879b7f251d3631967fd574690734236075082078e0571977c6a8e6a", size = 14301076, upload-time = "2025-09-09T15:58:20.343Z" },
+ { url = "https://files.pythonhosted.org/packages/13/77/1447b9eb500f028bb44253105bd67534af60499588a5149a94f18f2ca917/numpy-2.3.3-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:7f025652034199c301049296b59fa7d52c7e625017cae4c75d8662e377bf487d", size = 5229491, upload-time = "2025-09-09T15:58:22.481Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/f9/d72221b6ca205f9736cb4b2ce3b002f6e45cd67cd6a6d1c8af11a2f0b649/numpy-2.3.3-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:533ca5f6d325c80b6007d4d7fb1984c303553534191024ec6a524a4c92a5935a", size = 6737913, upload-time = "2025-09-09T15:58:24.569Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/5f/d12834711962ad9c46af72f79bb31e73e416ee49d17f4c797f72c96b6ca5/numpy-2.3.3-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0edd58682a399824633b66885d699d7de982800053acf20be1eaa46d92009c54", size = 14352811, upload-time = "2025-09-09T15:58:26.416Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/0d/fdbec6629d97fd1bebed56cd742884e4eead593611bbe1abc3eb40d304b2/numpy-2.3.3-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:367ad5d8fbec5d9296d18478804a530f1191e24ab4d75ab408346ae88045d25e", size = 16702689, upload-time = "2025-09-09T15:58:28.831Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/09/0a35196dc5575adde1eb97ddfbc3e1687a814f905377621d18ca9bc2b7dd/numpy-2.3.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8f6ac61a217437946a1fa48d24c47c91a0c4f725237871117dea264982128097", size = 16133855, upload-time = "2025-09-09T15:58:31.349Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/ca/c9de3ea397d576f1b6753eaa906d4cdef1bf97589a6d9825a349b4729cc2/numpy-2.3.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:179a42101b845a816d464b6fe9a845dfaf308fdfc7925387195570789bb2c970", size = 18652520, upload-time = "2025-09-09T15:58:33.762Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/c2/e5ed830e08cd0196351db55db82f65bc0ab05da6ef2b72a836dcf1936d2f/numpy-2.3.3-cp314-cp314t-win32.whl", hash = "sha256:1250c5d3d2562ec4174bce2e3a1523041595f9b651065e4a4473f5f48a6bc8a5", size = 6515371, upload-time = "2025-09-09T15:58:36.04Z" },
+ { url = "https://files.pythonhosted.org/packages/47/c7/b0f6b5b67f6788a0725f744496badbb604d226bf233ba716683ebb47b570/numpy-2.3.3-cp314-cp314t-win_amd64.whl", hash = "sha256:b37a0b2e5935409daebe82c1e42274d30d9dd355852529eab91dab8dcca7419f", size = 13112576, upload-time = "2025-09-09T15:58:37.927Z" },
+ { url = "https://files.pythonhosted.org/packages/06/b9/33bba5ff6fb679aa0b1f8a07e853f002a6b04b9394db3069a1270a7784ca/numpy-2.3.3-cp314-cp314t-win_arm64.whl", hash = "sha256:78c9f6560dc7e6b3990e32df7ea1a50bbd0e2a111e05209963f5ddcab7073b0b", size = 10545953, upload-time = "2025-09-09T15:58:40.576Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/f2/7e0a37cfced2644c9563c529f29fa28acbd0960dde32ece683aafa6f4949/numpy-2.3.3-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:1e02c7159791cd481e1e6d5ddd766b62a4d5acf8df4d4d1afe35ee9c5c33a41e", size = 21131019, upload-time = "2025-09-09T15:58:42.838Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/7e/3291f505297ed63831135a6cc0f474da0c868a1f31b0dd9a9f03a7a0d2ed/numpy-2.3.3-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:dca2d0fc80b3893ae72197b39f69d55a3cd8b17ea1b50aa4c62de82419936150", size = 14376288, upload-time = "2025-09-09T15:58:45.425Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/4b/ae02e985bdeee73d7b5abdefeb98aef1207e96d4c0621ee0cf228ddfac3c/numpy-2.3.3-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:99683cbe0658f8271b333a1b1b4bb3173750ad59c0c61f5bbdc5b318918fffe3", size = 5305425, upload-time = "2025-09-09T15:58:48.6Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/eb/9df215d6d7250db32007941500dc51c48190be25f2401d5b2b564e467247/numpy-2.3.3-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:d9d537a39cc9de668e5cd0e25affb17aec17b577c6b3ae8a3d866b479fbe88d0", size = 6819053, upload-time = "2025-09-09T15:58:50.401Z" },
+ { url = "https://files.pythonhosted.org/packages/57/62/208293d7d6b2a8998a4a1f23ac758648c3c32182d4ce4346062018362e29/numpy-2.3.3-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8596ba2f8af5f93b01d97563832686d20206d303024777f6dfc2e7c7c3f1850e", size = 14420354, upload-time = "2025-09-09T15:58:52.704Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/0c/8e86e0ff7072e14a71b4c6af63175e40d1e7e933ce9b9e9f765a95b4e0c3/numpy-2.3.3-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e1ec5615b05369925bd1125f27df33f3b6c8bc10d788d5999ecd8769a1fa04db", size = 16760413, upload-time = "2025-09-09T15:58:55.027Z" },
+ { url = "https://files.pythonhosted.org/packages/af/11/0cc63f9f321ccf63886ac203336777140011fb669e739da36d8db3c53b98/numpy-2.3.3-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:2e267c7da5bf7309670523896df97f93f6e469fb931161f483cd6882b3b1a5dc", size = 12971844, upload-time = "2025-09-09T15:58:57.359Z" },
+]
+
+[[package]]
+name = "nvidia-cublas"
+version = "13.1.1.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "nvidia-cuda-nvrtc" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a7/a1/0bd24ee8c8d03adac032fd2909426a00c88f8c57961b1277ded97f91119f/nvidia_cublas-13.1.1.3-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:b7a210458267ac818974c53038fbec2e969d5c99f305ab15c72522fa9f001dd5", size = 542848918, upload-time = "2026-04-08T18:46:22.985Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/cd/154ca20c38269e05eff77c1464e6c1da89f50a6390b565e9d82e06bc11e1/nvidia_cublas-13.1.1.3-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:37936a16db8fe4ac1f065c2139360608a543a09275cb1a1af612e08cfa065436", size = 423138758, upload-time = "2026-04-08T18:46:58.655Z" },
+]
+
+[[package]]
+name = "nvidia-cuda-cupti"
+version = "13.0.85"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/2a/80353b103fc20ce05ef51e928daed4b6015db4aaa9162ed0997090fe2250/nvidia_cuda_cupti-13.0.85-py3-none-manylinux_2_25_aarch64.whl", hash = "sha256:796bd679890ee55fb14a94629b698b6db54bcfd833d391d5e94017dd9d7d3151", size = 10310827, upload-time = "2025-09-04T08:26:42.012Z" },
+ { url = "https://files.pythonhosted.org/packages/33/6d/737d164b4837a9bbd202f5ae3078975f0525a55730fe871d8ed4e3b952b0/nvidia_cuda_cupti-13.0.85-py3-none-manylinux_2_25_x86_64.whl", hash = "sha256:4eb01c08e859bf924d222250d2e8f8b8ff6d3db4721288cf35d14252a4d933c8", size = 10715597, upload-time = "2025-09-04T08:26:51.312Z" },
+]
+
+[[package]]
+name = "nvidia-cuda-nvrtc"
+version = "13.0.88"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c3/68/483a78f5e8f31b08fb1bb671559968c0ca3a065ac7acabfc7cee55214fd6/nvidia_cuda_nvrtc-13.0.88-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:ad9b6d2ead2435f11cbb6868809d2adeeee302e9bb94bcf0539c7a40d80e8575", size = 90215200, upload-time = "2025-09-04T08:28:44.204Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/dc/6bb80850e0b7edd6588d560758f17e0550893a1feaf436807d64d2da040f/nvidia_cuda_nvrtc-13.0.88-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d27f20a0ca67a4bb34268a5e951033496c5b74870b868bacd046b1b8e0c3267b", size = 43015449, upload-time = "2025-09-04T08:28:20.239Z" },
+]
+
+[[package]]
+name = "nvidia-cuda-runtime"
+version = "13.0.96"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/87/4f/17d7b9b8e285199c58ce28e31b5c5bbaa4d8271af06a89b6405258245de2/nvidia_cuda_runtime-13.0.96-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ef9bcbe90493a2b9d810e43d249adb3d02e98dd30200d86607d8d02687c43f55", size = 2261060, upload-time = "2025-10-09T08:55:15.78Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/24/d1558f3b68b1d26e706813b1d10aa1d785e4698c425af8db8edc3dced472/nvidia_cuda_runtime-13.0.96-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7f82250d7782aa23b6cfe765ecc7db554bd3c2870c43f3d1821f1d18aebf0548", size = 2243632, upload-time = "2025-10-09T08:55:36.117Z" },
+]
+
+[[package]]
+name = "nvidia-cudnn-cu13"
+version = "9.20.0.48"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "nvidia-cublas" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/56/c5/83384d846b2fd17c44bd499b36c75a45ed4f095fbbb2252294e89cea5c5c/nvidia_cudnn_cu13-9.20.0.48-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:e31454ae00094b0c55319d9d15b6fa2fc50a9e1c0f5c8c80fb75258234e731e1", size = 444574296, upload-time = "2026-03-09T19:28:27.751Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/5e/edb9c0ae051602c3ccaffe424256463636d639e27d7f302dde9975ef9e7a/nvidia_cudnn_cu13-9.20.0.48-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:0c45dd8eeb50b603f07995b1b300c62ffe6a1980482b82b3bcf94a4ca9d49304", size = 366173588, upload-time = "2026-03-09T19:29:34.474Z" },
+]
+
+[[package]]
+name = "nvidia-cufft"
+version = "12.0.0.61"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "nvidia-nvjitlink" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8b/ae/f417a75c0259e85c1d2f83ca4e960289a5f814ed0cea74d18c353d3e989d/nvidia_cufft-12.0.0.61-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2708c852ef8cd89d1d2068bdbece0aa188813a0c934db3779b9b1faa8442e5f5", size = 214053554, upload-time = "2025-09-04T08:31:38.196Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/2f/7b57e29836ea8714f81e9898409196f47d772d5ddedddf1592eadb8ab743/nvidia_cufft-12.0.0.61-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6c44f692dce8fd5ffd3e3df134b6cdb9c2f72d99cf40b62c32dde45eea9ddad3", size = 214085489, upload-time = "2025-09-04T08:31:56.044Z" },
+]
+
+[[package]]
+name = "nvidia-cufile"
+version = "1.15.1.6"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3f/70/4f193de89a48b71714e74602ee14d04e4019ad36a5a9f20c425776e72cd6/nvidia_cufile-1.15.1.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:08a3ecefae5a01c7f5117351c64f17c7c62efa5fffdbe24fc7d298da19cd0b44", size = 1223672, upload-time = "2025-09-04T08:32:22.779Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/73/cc4a14c9813a8a0d509417cf5f4bdaba76e924d58beb9864f5a7baceefbf/nvidia_cufile-1.15.1.6-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:bdc0deedc61f548bddf7733bdc216456c2fdb101d020e1ab4b88d232d5e2f6d1", size = 1136992, upload-time = "2025-09-04T08:32:14.119Z" },
+]
+
+[[package]]
+name = "nvidia-curand"
+version = "10.4.0.35"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/72/7c2ae24fb6b63a32e6ae5d241cc65263ea18d08802aaae087d9f013335a2/nvidia_curand-10.4.0.35-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:133df5a7509c3e292aaa2b477afd0194f06ce4ea24d714d616ff36439cee349a", size = 61962106, upload-time = "2025-08-04T10:21:41.128Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/9f/be0a41ca4a4917abf5cb9ae0daff1a6060cc5de950aec0396de9f3b52bc5/nvidia_curand-10.4.0.35-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:1aee33a5da6e1db083fe2b90082def8915f30f3248d5896bcec36a579d941bfc", size = 59544258, upload-time = "2025-08-04T10:22:03.992Z" },
+]
+
+[[package]]
+name = "nvidia-cusolver"
+version = "12.0.4.66"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "nvidia-cublas" },
+ { name = "nvidia-cusparse" },
+ { name = "nvidia-nvjitlink" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c8/c3/b30c9e935fc01e3da443ec0116ed1b2a009bb867f5324d3f2d7e533e776b/nvidia_cusolver-12.0.4.66-py3-none-manylinux_2_27_aarch64.whl", hash = "sha256:02c2457eaa9e39de20f880f4bd8820e6a1cfb9f9a34f820eb12a155aa5bc92d2", size = 223467760, upload-time = "2025-09-04T08:33:04.222Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/67/cba3777620cdacb99102da4042883709c41c709f4b6323c10781a9c3aa34/nvidia_cusolver-12.0.4.66-py3-none-manylinux_2_27_x86_64.whl", hash = "sha256:0a759da5dea5c0ea10fd307de75cdeb59e7ea4fcb8add0924859b944babf1112", size = 200941980, upload-time = "2025-09-04T08:33:22.767Z" },
+]
+
+[[package]]
+name = "nvidia-cusparse"
+version = "12.6.3.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "nvidia-nvjitlink" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f8/94/5c26f33738ae35276672f12615a64bd008ed5be6d1ebcb23579285d960a9/nvidia_cusparse-12.6.3.3-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:80bcc4662f23f1054ee334a15c72b8940402975e0eab63178fc7e670aa59472c", size = 162155568, upload-time = "2025-09-04T08:33:42.864Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/18/623c77619c31d62efd55302939756966f3ecc8d724a14dab2b75f1508850/nvidia_cusparse-12.6.3.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2b3c89c88d01ee0e477cb7f82ef60a11a4bcd57b6b87c33f789350b59759360b", size = 145942937, upload-time = "2025-09-04T08:33:58.029Z" },
+]
+
+[[package]]
+name = "nvidia-cusparselt-cu13"
+version = "0.8.1"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/46/e1/cdc1797eadf82d3a9a575a19b33fdc871a97edbec42c00b5b5e914f4aff4/nvidia_cusparselt_cu13-0.8.1-py3-none-manylinux2014_aarch64.whl", hash = "sha256:4dca476c50bf4780d46cd0bfbd82e2bc10a08e4fef7950917ce8d7578d22a23f", size = 221051344, upload-time = "2025-09-05T18:49:51.289Z" },
+ { url = "https://files.pythonhosted.org/packages/34/7d/2661f2fb3ac4302f3a246f5fc030213ac60c1fe0bce84f9783dbd831dbb7/nvidia_cusparselt_cu13-0.8.1-py3-none-manylinux2014_x86_64.whl", hash = "sha256:786ce87568c303fadb5afcc7102d454cd3040d75f6f8626f5db460d1871f4dd0", size = 170148586, upload-time = "2025-09-05T18:50:50.248Z" },
+]
+
+[[package]]
+name = "nvidia-nccl-cu13"
+version = "2.29.7"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/72/0d/daf50d44177ee0cbc7ff0a0c91eb5ff676c82be42f9a970bc7597f440c3a/nvidia_nccl_cu13-2.29.7-py3-none-manylinux_2_18_aarch64.whl", hash = "sha256:674a12383e3c38a1bcccae7d4f3633b37852230b6047883cb2f4c2d1b36d9bf5", size = 206014712, upload-time = "2026-03-03T05:34:20.843Z" },
+ { url = "https://files.pythonhosted.org/packages/67/f4/58e4e91b6919367c7aafb8e36fce9aad1a3047e536bf7e2fd560927d3a4c/nvidia_nccl_cu13-2.29.7-py3-none-manylinux_2_18_x86_64.whl", hash = "sha256:edd81538446786ec3b73972543e53bb43bcaf0bfc8ef76cb679fcc390ffe136d", size = 205976000, upload-time = "2026-03-03T05:36:24.472Z" },
+]
+
+[[package]]
+name = "nvidia-nvjitlink"
+version = "13.0.88"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/56/7a/123e033aaff487c77107195fa5a2b8686795ca537935a24efae476c41f05/nvidia_nvjitlink-13.0.88-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl", hash = "sha256:13a74f429e23b921c1109976abefacc69835f2f433ebd323d3946e11d804e47b", size = 40713933, upload-time = "2025-09-04T08:35:43.553Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/2c/93c5250e64df4f894f1cbb397c6fd71f79813f9fd79d7cd61de3f97b3c2d/nvidia_nvjitlink-13.0.88-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e931536ccc7d467a98ba1d8b89ff7fa7f1fa3b13f2b0069118cd7f47bff07d0c", size = 38768748, upload-time = "2025-09-04T08:35:20.008Z" },
+]
+
+[[package]]
+name = "nvidia-nvshmem-cu13"
+version = "3.4.5"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dc/0f/05cc9c720236dcd2db9c1ab97fff629e96821be2e63103569da0c9b72f19/nvidia_nvshmem_cu13-3.4.5-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6dc2a197f38e5d0376ad52cd1a2a3617d3cdc150fd5966f4aee9bcebb1d68fe9", size = 60215947, upload-time = "2025-09-06T00:32:20.022Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/35/a9bf80a609e74e3b000fef598933235c908fcefcef9026042b8e6dfde2a9/nvidia_nvshmem_cu13-3.4.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:290f0a2ee94c9f3687a02502f3b9299a9f9fe826e6d0287ee18482e78d495b80", size = 60412546, upload-time = "2025-09-06T00:32:41.564Z" },
+]
+
+[[package]]
+name = "nvidia-nvtx"
+version = "13.0.85"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c2/f3/d86c845465a2723ad7e1e5c36dcd75ddb82898b3f53be47ebd429fb2fa5d/nvidia_nvtx-13.0.85-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:4936d1d6780fbe68db454f5e72a42ff64d1fd6397df9f363ae786930fd5c1cd4", size = 148047, upload-time = "2025-09-04T08:29:01.761Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/64/3708a90d1ebe202ffdeb7185f878a3c84d15c2b2c31858da2ce0583e2def/nvidia_nvtx-13.0.85-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cb7780edb6b14107373c835bf8b72e7a178bac7367e23da7acb108f973f157a6", size = 148878, upload-time = "2025-09-04T08:28:53.627Z" },
+]
+
+[[package]]
+name = "orjson"
+version = "3.11.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/70/a3/4e09c61a5f0c521cba0bb433639610ae037437669f1a4cbc93799e731d78/orjson-3.11.6.tar.gz", hash = "sha256:0a54c72259f35299fd033042367df781c2f66d10252955ca1efb7db309b954cb", size = 6175856, upload-time = "2026-01-29T15:13:07.942Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/30/3c/098ed0e49c565fdf1ccc6a75b190115d1ca74148bf5b6ab036554a550650/orjson-3.11.6-cp310-cp310-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:a613fc37e007143d5b6286dccb1394cd114b07832417006a02b620ddd8279e37", size = 250411, upload-time = "2026-01-29T15:11:17.941Z" },
+ { url = "https://files.pythonhosted.org/packages/15/7c/cb11a360fd228ceebade03b1e8e9e138dd4b1b3b11602b72dbdad915aded/orjson-3.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:46ebee78f709d3ba7a65384cfe285bb0763157c6d2f836e7bde2f12d33a867a2", size = 138147, upload-time = "2026-01-29T15:11:19.659Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/4b/e57b5c45ffe69fbef7cbd56e9f40e2dc0d5de920caafefcc6981d1a7efc5/orjson-3.11.6-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a726fa86d2368cd57990f2bd95ef5495a6e613b08fc9585dfe121ec758fb08d1", size = 135110, upload-time = "2026-01-29T15:11:21.231Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/6e/4f21c6256f8cee3c0c69926cf7ac821cfc36f218512eedea2e2dc4a490c8/orjson-3.11.6-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:150f12e59d6864197770c78126e1a6e07a3da73d1728731bf3bc1e8b96ffdbe6", size = 140995, upload-time = "2026-01-29T15:11:22.902Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/78/92c36205ba2f6094ba1eea60c8e646885072abe64f155196833988c14b74/orjson-3.11.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a2d9746a5b5ce20c0908ada451eb56da4ffa01552a50789a0354d8636a02953", size = 144435, upload-time = "2026-01-29T15:11:24.124Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/52/1b518d164005811eb3fea92650e76e7d9deadb0b41e92c483373b1e82863/orjson-3.11.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afd177f5dd91666d31e9019f1b06d2fcdf8a409a1637ddcb5915085dede85680", size = 142734, upload-time = "2026-01-29T15:11:25.708Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/11/60ea7885a2b7c1bf60ed8b5982356078a73785bd3bab392041a5bcf8de7c/orjson-3.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d777ec41a327bd3b7de97ba7bce12cc1007815ca398e4e4de9ec56c022c090b", size = 145802, upload-time = "2026-01-29T15:11:26.917Z" },
+ { url = "https://files.pythonhosted.org/packages/41/7f/15a927e7958fd4f7560fb6dbb9346bee44a168e40168093c46020d866098/orjson-3.11.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f3a135f83185c87c13ff231fcb7dbb2fa4332a376444bd65135b50ff4cc5265c", size = 147504, upload-time = "2026-01-29T15:11:28.07Z" },
+ { url = "https://files.pythonhosted.org/packages/66/1f/cabb9132a533f4f913e29294d0a1ca818b1a9a52e990526fe3f7ddd75f1c/orjson-3.11.6-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:2a8eeed7d4544cf391a142b0dd06029dac588e96cc692d9ab1c3f05b1e57c7f6", size = 421408, upload-time = "2026-01-29T15:11:29.314Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/b9/09bda9257a982e300313e4a9fc9b9c3aaff424d07bcf765bf045e4e3ed03/orjson-3.11.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:9d576865a21e5cc6695be8fb78afc812079fd361ce6a027a7d41561b61b33a90", size = 155801, upload-time = "2026-01-29T15:11:30.575Z" },
+ { url = "https://files.pythonhosted.org/packages/98/19/4e40ea3e5f4c6a8d51f31fd2382351ee7b396fecca915b17cd1af588175b/orjson-3.11.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:925e2df51f60aa50f8797830f2adfc05330425803f4105875bb511ced98b7f89", size = 147647, upload-time = "2026-01-29T15:11:31.856Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/73/ef4bd7dd15042cf33a402d16b87b9e969e71edb452b63b6e2b05025d1f7d/orjson-3.11.6-cp310-cp310-win32.whl", hash = "sha256:09dded2de64e77ac0b312ad59f35023548fb87393a57447e1bb36a26c181a90f", size = 139770, upload-time = "2026-01-29T15:11:33.031Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/ac/daab6e10467f7fffd7081ba587b492505b49313130ff5446a6fe28bf076e/orjson-3.11.6-cp310-cp310-win_amd64.whl", hash = "sha256:3a63b5e7841ca8635214c6be7c0bf0246aa8c5cd4ef0c419b14362d0b2fb13de", size = 136783, upload-time = "2026-01-29T15:11:34.686Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/fd/d6b0a36854179b93ed77839f107c4089d91cccc9f9ba1b752b6e3bac5f34/orjson-3.11.6-cp311-cp311-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:e259e85a81d76d9665f03d6129e09e4435531870de5961ddcd0bf6e3a7fde7d7", size = 250029, upload-time = "2026-01-29T15:11:35.942Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/bb/22902619826641cf3b627c24aab62e2ad6b571bdd1d34733abb0dd57f67a/orjson-3.11.6-cp311-cp311-macosx_15_0_arm64.whl", hash = "sha256:52263949f41b4a4822c6b1353bcc5ee2f7109d53a3b493501d3369d6d0e7937a", size = 134518, upload-time = "2026-01-29T15:11:37.347Z" },
+ { url = "https://files.pythonhosted.org/packages/72/90/7a818da4bba1de711a9653c420749c0ac95ef8f8651cbc1dca551f462fe0/orjson-3.11.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6439e742fa7834a24698d358a27346bb203bff356ae0402e7f5df8f749c621a8", size = 137917, upload-time = "2026-01-29T15:11:38.511Z" },
+ { url = "https://files.pythonhosted.org/packages/59/0f/02846c1cac8e205cb3822dd8aa8f9114acda216f41fd1999ace6b543418d/orjson-3.11.6-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b81ffd68f084b4e993e3867acb554a049fa7787cc8710bbcc1e26965580d99be", size = 134923, upload-time = "2026-01-29T15:11:39.711Z" },
+ { url = "https://files.pythonhosted.org/packages/94/cf/aeaf683001b474bb3c3c757073a4231dfdfe8467fceaefa5bfd40902c99f/orjson-3.11.6-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a5a5468e5e60f7ef6d7f9044b06c8f94a3c56ba528c6e4f7f06ae95164b595ec", size = 140752, upload-time = "2026-01-29T15:11:41.347Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/fe/dad52d8315a65f084044a0819d74c4c9daf9ebe0681d30f525b0d29a31f0/orjson-3.11.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:72c5005eb45bd2535632d4f3bec7ad392832cfc46b62a3021da3b48a67734b45", size = 144201, upload-time = "2026-01-29T15:11:42.537Z" },
+ { url = "https://files.pythonhosted.org/packages/36/bc/ab070dd421565b831801077f1e390c4d4af8bfcecafc110336680a33866b/orjson-3.11.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0b14dd49f3462b014455a28a4d810d3549bf990567653eb43765cd847df09145", size = 142380, upload-time = "2026-01-29T15:11:44.309Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/d8/4b581c725c3a308717f28bf45a9fdac210bca08b67e8430143699413ff06/orjson-3.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e0bb2c1ea30ef302f0f89f9bf3e7f9ab5e2af29dc9f80eb87aa99788e4e2d65", size = 145582, upload-time = "2026-01-29T15:11:45.506Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/a2/09aab99b39f9a7f175ea8fa29adb9933a3d01e7d5d603cdee7f1c40c8da2/orjson-3.11.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:825e0a85d189533c6bff7e2fc417a28f6fcea53d27125c4551979aecd6c9a197", size = 147270, upload-time = "2026-01-29T15:11:46.782Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/2f/5ef8eaf7829dc50da3bf497c7775b21ee88437bc8c41f959aa3504ca6631/orjson-3.11.6-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:b04575417a26530637f6ab4b1f7b4f666eb0433491091da4de38611f97f2fcf3", size = 421222, upload-time = "2026-01-29T15:11:48.106Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/b0/dd6b941294c2b5b13da5fdc7e749e58d0c55a5114ab37497155e83050e95/orjson-3.11.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b83eb2e40e8c4da6d6b340ee6b1d6125f5195eb1b0ebb7eac23c6d9d4f92d224", size = 155562, upload-time = "2026-01-29T15:11:49.408Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/09/43924331a847476ae2f9a16bd6d3c9dab301265006212ba0d3d7fd58763a/orjson-3.11.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1f42da604ee65a6b87eef858c913ce3e5777872b19321d11e6fc6d21de89b64f", size = 147432, upload-time = "2026-01-29T15:11:50.635Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/e9/d9865961081816909f6b49d880749dbbd88425afd7c5bbce0549e2290d77/orjson-3.11.6-cp311-cp311-win32.whl", hash = "sha256:5ae45df804f2d344cffb36c43fdf03c82fb6cd247f5faa41e21891b40dfbf733", size = 139623, upload-time = "2026-01-29T15:11:51.82Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/f9/6836edb92f76eec1082919101eb1145d2f9c33c8f2c5e6fa399b82a2aaa8/orjson-3.11.6-cp311-cp311-win_amd64.whl", hash = "sha256:f4295948d65ace0a2d8f2c4ccc429668b7eb8af547578ec882e16bf79b0050b2", size = 136647, upload-time = "2026-01-29T15:11:53.454Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/0c/4954082eea948c9ae52ee0bcbaa2f99da3216a71bcc314ab129bde22e565/orjson-3.11.6-cp311-cp311-win_arm64.whl", hash = "sha256:314e9c45e0b81b547e3a1cfa3df3e07a815821b3dac9fe8cb75014071d0c16a4", size = 135327, upload-time = "2026-01-29T15:11:56.616Z" },
+ { url = "https://files.pythonhosted.org/packages/14/ba/759f2879f41910b7e5e0cdbd9cf82a4f017c527fb0e972e9869ca7fe4c8e/orjson-3.11.6-cp312-cp312-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:6f03f30cd8953f75f2a439070c743c7336d10ee940da918d71c6f3556af3ddcf", size = 249988, upload-time = "2026-01-29T15:11:58.294Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/70/54cecb929e6c8b10104fcf580b0cc7dc551aa193e83787dd6f3daba28bb5/orjson-3.11.6-cp312-cp312-macosx_15_0_arm64.whl", hash = "sha256:af44baae65ef386ad971469a8557a0673bb042b0b9fd4397becd9c2dfaa02588", size = 134445, upload-time = "2026-01-29T15:11:59.819Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/6f/ec0309154457b9ba1ad05f11faa4441f76037152f75e1ac577db3ce7ca96/orjson-3.11.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c310a48542094e4f7dbb6ac076880994986dda8ca9186a58c3cb70a3514d3231", size = 137708, upload-time = "2026-01-29T15:12:01.488Z" },
+ { url = "https://files.pythonhosted.org/packages/20/52/3c71b80840f8bab9cb26417302707b7716b7d25f863f3a541bcfa232fe6e/orjson-3.11.6-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d8dfa7a5d387f15ecad94cb6b2d2d5f4aeea64efd8d526bfc03c9812d01e1cc0", size = 134798, upload-time = "2026-01-29T15:12:02.705Z" },
+ { url = "https://files.pythonhosted.org/packages/30/51/b490a43b22ff736282360bd02e6bded455cf31dfc3224e01cd39f919bbd2/orjson-3.11.6-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ba8daee3e999411b50f8b50dbb0a3071dd1845f3f9a1a0a6fa6de86d1689d84d", size = 140839, upload-time = "2026-01-29T15:12:03.956Z" },
+ { url = "https://files.pythonhosted.org/packages/95/bc/4bcfe4280c1bc63c5291bb96f98298845b6355da2226d3400e17e7b51e53/orjson-3.11.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f89d104c974eafd7436d7a5fdbc57f7a1e776789959a2f4f1b2eab5c62a339f4", size = 144080, upload-time = "2026-01-29T15:12:05.151Z" },
+ { url = "https://files.pythonhosted.org/packages/01/74/22970f9ead9ab1f1b5f8c227a6c3aa8d71cd2c5acd005868a1d44f2362fa/orjson-3.11.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2e2e2456788ca5ea75616c40da06fc885a7dc0389780e8a41bf7c5389ba257b", size = 142435, upload-time = "2026-01-29T15:12:06.641Z" },
+ { url = "https://files.pythonhosted.org/packages/29/34/d564aff85847ab92c82ee43a7a203683566c2fca0723a5f50aebbe759603/orjson-3.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2a42efebc45afabb1448001e90458c4020d5c64fbac8a8dc4045b777db76cb5a", size = 145631, upload-time = "2026-01-29T15:12:08.351Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/ef/016957a3890752c4aa2368326ea69fa53cdc1fdae0a94a542b6410dbdf52/orjson-3.11.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:71b7cbef8471324966c3738c90ba38775563ef01b512feb5ad4805682188d1b9", size = 147058, upload-time = "2026-01-29T15:12:10.023Z" },
+ { url = "https://files.pythonhosted.org/packages/56/cc/9a899c3972085645b3225569f91a30e221f441e5dc8126e6d060b971c252/orjson-3.11.6-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:f8515e5910f454fe9a8e13c2bb9dc4bae4c1836313e967e72eb8a4ad874f0248", size = 421161, upload-time = "2026-01-29T15:12:11.308Z" },
+ { url = "https://files.pythonhosted.org/packages/21/a8/767d3fbd6d9b8fdee76974db40619399355fd49bf91a6dd2c4b6909ccf05/orjson-3.11.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:300360edf27c8c9bf7047345a94fddf3a8b8922df0ff69d71d854a170cb375cf", size = 155757, upload-time = "2026-01-29T15:12:12.776Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/0b/205cd69ac87e2272e13ef3f5f03a3d4657e317e38c1b08aaa2ef97060bbc/orjson-3.11.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:caaed4dad39e271adfadc106fab634d173b2bb23d9cf7e67bd645f879175ebfc", size = 147446, upload-time = "2026-01-29T15:12:14.166Z" },
+ { url = "https://files.pythonhosted.org/packages/de/c5/dd9f22aa9f27c54c7d05cc32f4580c9ac9b6f13811eeb81d6c4c3f50d6b1/orjson-3.11.6-cp312-cp312-win32.whl", hash = "sha256:955368c11808c89793e847830e1b1007503a5923ddadc108547d3b77df761044", size = 139717, upload-time = "2026-01-29T15:12:15.7Z" },
+ { url = "https://files.pythonhosted.org/packages/23/a1/e62fc50d904486970315a1654b8cfb5832eb46abb18cd5405118e7e1fc79/orjson-3.11.6-cp312-cp312-win_amd64.whl", hash = "sha256:2c68de30131481150073d90a5d227a4a421982f42c025ecdfb66157f9579e06f", size = 136711, upload-time = "2026-01-29T15:12:17.055Z" },
+ { url = "https://files.pythonhosted.org/packages/04/3d/b4fefad8bdf91e0fe212eb04975aeb36ea92997269d68857efcc7eb1dda3/orjson-3.11.6-cp312-cp312-win_arm64.whl", hash = "sha256:65dfa096f4e3a5e02834b681f539a87fbe85adc82001383c0db907557f666bfc", size = 135212, upload-time = "2026-01-29T15:12:18.3Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/45/d9c71c8c321277bc1ceebf599bc55ba826ae538b7c61f287e9a7e71bd589/orjson-3.11.6-cp313-cp313-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:e4ae1670caabb598a88d385798692ce2a1b2f078971b3329cfb85253c6097f5b", size = 249828, upload-time = "2026-01-29T15:12:20.14Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/7e/4afcf4cfa9c2f93846d70eee9c53c3c0123286edcbeb530b7e9bd2aea1b2/orjson-3.11.6-cp313-cp313-macosx_15_0_arm64.whl", hash = "sha256:2c6b81f47b13dac2caa5d20fbc953c75eb802543abf48403a4703ed3bff225f0", size = 134339, upload-time = "2026-01-29T15:12:22.01Z" },
+ { url = "https://files.pythonhosted.org/packages/40/10/6d2b8a064c8d2411d3d0ea6ab43125fae70152aef6bea77bb50fa54d4097/orjson-3.11.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:647d6d034e463764e86670644bdcaf8e68b076e6e74783383b01085ae9ab334f", size = 137662, upload-time = "2026-01-29T15:12:23.307Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/50/5804ea7d586baf83ee88969eefda97a24f9a5bdba0727f73e16305175b26/orjson-3.11.6-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8523b9cc4ef174ae52414f7699e95ee657c16aa18b3c3c285d48d7966cce9081", size = 134626, upload-time = "2026-01-29T15:12:25.099Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/2e/f0492ed43e376722bb4afd648e06cc1e627fc7ec8ff55f6ee739277813ea/orjson-3.11.6-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:313dfd7184cde50c733fc0d5c8c0e2f09017b573afd11dc36bd7476b30b4cb17", size = 140873, upload-time = "2026-01-29T15:12:26.369Z" },
+ { url = "https://files.pythonhosted.org/packages/10/15/6f874857463421794a303a39ac5494786ad46a4ab46d92bda6705d78c5aa/orjson-3.11.6-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905ee036064ff1e1fd1fb800055ac477cdcb547a78c22c1bc2bbf8d5d1a6fb42", size = 144044, upload-time = "2026-01-29T15:12:28.082Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/c7/b7223a3a70f1d0cc2d86953825de45f33877ee1b124a91ca1f79aa6e643f/orjson-3.11.6-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ce374cb98411356ba906914441fc993f271a7a666d838d8de0e0900dd4a4bc12", size = 142396, upload-time = "2026-01-29T15:12:30.529Z" },
+ { url = "https://files.pythonhosted.org/packages/87/e3/aa1b6d3ad3cd80f10394134f73ae92a1d11fdbe974c34aa199cc18bb5fcf/orjson-3.11.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cded072b9f65fcfd188aead45efa5bd528ba552add619b3ad2a81f67400ec450", size = 145600, upload-time = "2026-01-29T15:12:31.848Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/cf/e4aac5a46cbd39d7e769ef8650efa851dfce22df1ba97ae2b33efe893b12/orjson-3.11.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7ab85bdbc138e1f73a234db6bb2e4cc1f0fcec8f4bd2bd2430e957a01aadf746", size = 146967, upload-time = "2026-01-29T15:12:33.203Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/04/975b86a4bcf6cfeda47aad15956d52fbeda280811206e9967380fa9355c8/orjson-3.11.6-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:351b96b614e3c37a27b8ab048239ebc1e0be76cc17481a430d70a77fb95d3844", size = 421003, upload-time = "2026-01-29T15:12:35.097Z" },
+ { url = "https://files.pythonhosted.org/packages/28/d1/0369d0baf40eea5ff2300cebfe209883b2473ab4aa4c4974c8bd5ee42bb2/orjson-3.11.6-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:f9959c85576beae5cdcaaf39510b15105f1ee8b70d5dacd90152617f57be8c83", size = 155695, upload-time = "2026-01-29T15:12:36.589Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/1f/d10c6d6ae26ff1d7c3eea6fd048280ef2e796d4fb260c5424fd021f68ecf/orjson-3.11.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:75682d62b1b16b61a30716d7a2ec1f4c36195de4a1c61f6665aedd947b93a5d5", size = 147392, upload-time = "2026-01-29T15:12:37.876Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/43/7479921c174441a0aa5277c313732e20713c0969ac303be9f03d88d3db5d/orjson-3.11.6-cp313-cp313-win32.whl", hash = "sha256:40dc277999c2ef227dcc13072be879b4cfd325502daeb5c35ed768f706f2bf30", size = 139718, upload-time = "2026-01-29T15:12:39.274Z" },
+ { url = "https://files.pythonhosted.org/packages/88/bc/9ffe7dfbf8454bc4e75bb8bf3a405ed9e0598df1d3535bb4adcd46be07d0/orjson-3.11.6-cp313-cp313-win_amd64.whl", hash = "sha256:f0f6e9f8ff7905660bc3c8a54cd4a675aa98f7f175cf00a59815e2ff42c0d916", size = 136635, upload-time = "2026-01-29T15:12:40.593Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/7e/51fa90b451470447ea5023b20d83331ec741ae28d1e6d8ed547c24e7de14/orjson-3.11.6-cp313-cp313-win_arm64.whl", hash = "sha256:1608999478664de848e5900ce41f25c4ecdfc4beacbc632b6fd55e1a586e5d38", size = 135175, upload-time = "2026-01-29T15:12:41.997Z" },
+ { url = "https://files.pythonhosted.org/packages/31/9f/46ca908abaeeec7560638ff20276ab327b980d73b3cc2f5b205b4a1c60b3/orjson-3.11.6-cp314-cp314-macosx_10_15_x86_64.macosx_11_0_arm64.macosx_10_15_universal2.whl", hash = "sha256:6026db2692041d2a23fe2545606df591687787825ad5821971ef0974f2c47630", size = 249823, upload-time = "2026-01-29T15:12:43.332Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/78/ca478089818d18c9cd04f79c43f74ddd031b63c70fa2a946eb5e85414623/orjson-3.11.6-cp314-cp314-macosx_15_0_arm64.whl", hash = "sha256:132b0ab2e20c73afa85cf142e547511feb3d2f5b7943468984658f3952b467d4", size = 134328, upload-time = "2026-01-29T15:12:45.171Z" },
+ { url = "https://files.pythonhosted.org/packages/39/5e/cbb9d830ed4e47f4375ad8eef8e4fff1bf1328437732c3809054fc4e80be/orjson-3.11.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b376fb05f20a96ec117d47987dd3b39265c635725bda40661b4c5b73b77b5fde", size = 137651, upload-time = "2026-01-29T15:12:46.602Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/3a/35df6558c5bc3a65ce0961aefee7f8364e59af78749fc796ea255bfa0cf5/orjson-3.11.6-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:954dae4e080574672a1dfcf2a840eddef0f27bd89b0e94903dd0824e9c1db060", size = 134596, upload-time = "2026-01-29T15:12:47.95Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/8e/3d32dd7b7f26a19cc4512d6ed0ae3429567c71feef720fe699ff43c5bc9e/orjson-3.11.6-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fe515bb89d59e1e4b48637a964f480b35c0a2676de24e65e55310f6016cca7ce", size = 140923, upload-time = "2026-01-29T15:12:49.333Z" },
+ { url = "https://files.pythonhosted.org/packages/6c/9c/1efbf5c99b3304f25d6f0d493a8d1492ee98693637c10ce65d57be839d7b/orjson-3.11.6-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:380f9709c275917af28feb086813923251e11ee10687257cd7f1ea188bcd4485", size = 144068, upload-time = "2026-01-29T15:12:50.927Z" },
+ { url = "https://files.pythonhosted.org/packages/82/83/0d19eeb5be797de217303bbb55dde58dba26f996ed905d301d98fd2d4637/orjson-3.11.6-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8173e0d3f6081e7034c51cf984036d02f6bab2a2126de5a759d79f8e5a140e7", size = 142493, upload-time = "2026-01-29T15:12:52.432Z" },
+ { url = "https://files.pythonhosted.org/packages/32/a7/573fec3df4dc8fc259b7770dc6c0656f91adce6e19330c78d23f87945d1e/orjson-3.11.6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6dddf9ba706294906c56ef5150a958317b09aa3a8a48df1c52ccf22ec1907eac", size = 145616, upload-time = "2026-01-29T15:12:53.903Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/0e/23551b16f21690f7fd5122e3cf40fdca5d77052a434d0071990f97f5fe2f/orjson-3.11.6-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:cbae5c34588dc79938dffb0b6fbe8c531f4dc8a6ad7f39759a9eb5d2da405ef2", size = 146951, upload-time = "2026-01-29T15:12:55.698Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/63/5e6c8f39805c39123a18e412434ea364349ee0012548d08aa586e2bd6aa9/orjson-3.11.6-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:f75c318640acbddc419733b57f8a07515e587a939d8f54363654041fd1f4e465", size = 421024, upload-time = "2026-01-29T15:12:57.434Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/4d/724975cf0087f6550bd01fd62203418afc0ea33fd099aed318c5bcc52df8/orjson-3.11.6-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:e0ab8d13aa2a3e98b4a43487c9205b2c92c38c054b4237777484d503357c8437", size = 155774, upload-time = "2026-01-29T15:12:59.397Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/a3/f4c4e3f46b55db29e0a5f20493b924fc791092d9a03ff2068c9fe6c1002f/orjson-3.11.6-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f884c7fb1020d44612bd7ac0db0babba0e2f78b68d9a650c7959bf99c783773f", size = 147393, upload-time = "2026-01-29T15:13:00.769Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/86/6f5529dd27230966171ee126cecb237ed08e9f05f6102bfaf63e5b32277d/orjson-3.11.6-cp314-cp314-win32.whl", hash = "sha256:8d1035d1b25732ec9f971e833a3e299d2b1a330236f75e6fd945ad982c76aaf3", size = 139760, upload-time = "2026-01-29T15:13:02.173Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/b5/91ae7037b2894a6b5002fb33f4fbccec98424a928469835c3837fbb22a9b/orjson-3.11.6-cp314-cp314-win_amd64.whl", hash = "sha256:931607a8865d21682bb72de54231655c86df1870502d2962dbfd12c82890d077", size = 136633, upload-time = "2026-01-29T15:13:04.267Z" },
+ { url = "https://files.pythonhosted.org/packages/55/74/f473a3ec7a0a7ebc825ca8e3c86763f7d039f379860c81ba12dcdd456547/orjson-3.11.6-cp314-cp314-win_arm64.whl", hash = "sha256:fe71f6b283f4f1832204ab8235ce07adad145052614f77c876fcf0dac97bc06f", size = 135168, upload-time = "2026-01-29T15:13:05.932Z" },
+]
+
+[[package]]
+name = "overrides"
+version = "7.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/36/86/b585f53236dec60aba864e050778b25045f857e17f6e5ea0ae95fe80edd2/overrides-7.7.0.tar.gz", hash = "sha256:55158fa3d93b98cc75299b1e67078ad9003ca27945c76162c1c0766d6f91820a", size = 22812, upload-time = "2024-01-27T21:01:33.423Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/ab/fc8290c6a4c722e5514d80f62b2dc4c4df1a68a41d1364e625c35990fcf3/overrides-7.7.0-py3-none-any.whl", hash = "sha256:c7ed9d062f78b8e4c1a7b70bd8796b35ead4d9f510227ef9c5dc7626c60d7e49", size = 17832, upload-time = "2024-01-27T21:01:31.393Z" },
+]
+
+[[package]]
+name = "packaging"
+version = "25.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f", size = 165727, upload-time = "2025-04-19T11:48:59.673Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469, upload-time = "2025-04-19T11:48:57.875Z" },
+]
+
+[[package]]
+name = "pandocfilters"
+version = "1.5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/70/6f/3dd4940bbe001c06a65f88e36bad298bc7a0de5036115639926b0c5c0458/pandocfilters-1.5.1.tar.gz", hash = "sha256:002b4a555ee4ebc03f8b66307e287fa492e4a77b4ea14d3f934328297bb4939e", size = 8454, upload-time = "2024-01-18T20:08:13.726Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ef/af/4fbc8cab944db5d21b7e2a5b8e9211a03a79852b1157e2c102fcc61ac440/pandocfilters-1.5.1-py2.py3-none-any.whl", hash = "sha256:93be382804a9cdb0a7267585f157e5d1731bbe5545a85b268d6f5fe6232de2bc", size = 8663, upload-time = "2024-01-18T20:08:11.28Z" },
+]
+
+[[package]]
+name = "parso"
+version = "0.8.5"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d4/de/53e0bcf53d13e005bd8c92e7855142494f41171b34c2536b86187474184d/parso-0.8.5.tar.gz", hash = "sha256:034d7354a9a018bdce352f48b2a8a450f05e9d6ee85db84764e9b6bd96dafe5a", size = 401205, upload-time = "2025-08-23T15:15:28.028Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/16/32/f8e3c85d1d5250232a5d3477a2a28cc291968ff175caeadaf3cc19ce0e4a/parso-0.8.5-py2.py3-none-any.whl", hash = "sha256:646204b5ee239c396d040b90f9e272e9a8017c630092bf59980beb62fd033887", size = 106668, upload-time = "2025-08-23T15:15:25.663Z" },
+]
+
+[[package]]
+name = "pathspec"
+version = "1.0.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fa/36/e27608899f9b8d4dff0617b2d9ab17ca5608956ca44461ac14ac48b44015/pathspec-1.0.4.tar.gz", hash = "sha256:0210e2ae8a21a9137c0d470578cb0e595af87edaa6ebf12ff176f14a02e0e645", size = 131200, upload-time = "2026-01-27T03:59:46.938Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ef/3c/2c197d226f9ea224a9ab8d197933f9da0ae0aac5b6e0f884e2b8d9c8e9f7/pathspec-1.0.4-py3-none-any.whl", hash = "sha256:fb6ae2fd4e7c921a165808a552060e722767cfa526f99ca5156ed2ce45a5c723", size = 55206, upload-time = "2026-01-27T03:59:45.137Z" },
+]
+
+[[package]]
+name = "pexpect"
+version = "4.9.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ptyprocess" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" },
+]
+
+[[package]]
+name = "platformdirs"
+version = "4.4.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/23/e8/21db9c9987b0e728855bd57bff6984f67952bea55d6f75e055c46b5383e8/platformdirs-4.4.0.tar.gz", hash = "sha256:ca753cf4d81dc309bc67b0ea38fd15dc97bc30ce419a7f58d13eb3bf14c4febf", size = 21634, upload-time = "2025-08-26T14:32:04.268Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/40/4b/2028861e724d3bd36227adfa20d3fd24c3fc6d52032f4a93c133be5d17ce/platformdirs-4.4.0-py3-none-any.whl", hash = "sha256:abd01743f24e5287cd7a5db3752faf1a2d65353f38ec26d98e25a6db65958c85", size = 18654, upload-time = "2025-08-26T14:32:02.735Z" },
+]
+
+[[package]]
+name = "pluggy"
+version = "1.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
+]
+
+[[package]]
+name = "preshed"
+version = "3.0.12"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cymem" },
+ { name = "murmurhash" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bf/34/eb4f5f0f678e152a96e826da867d2f41c4b18a2d589e40e1dd3347219e91/preshed-3.0.12.tar.gz", hash = "sha256:b73f9a8b54ee1d44529cc6018356896cff93d48f755f29c134734d9371c0d685", size = 15027, upload-time = "2025-11-17T13:00:33.621Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/d0/1245d6d89b051dd5356ffaaa43da05408f37d2da4cfadcf77356ba46da4f/preshed-3.0.12-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d8f0bc207bb5bfe69e3a232367c264cac900dc14e9219cd061b98eaca9e7da61", size = 128866, upload-time = "2025-11-17T12:59:06.633Z" },
+ { url = "https://files.pythonhosted.org/packages/24/24/f06650f22450888434a51b17971b650186d2e68f5eaf292e6e8e4be7974c/preshed-3.0.12-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:0c8a8d571c044ddab5369d30d172c87545f44daa1510bde92b7e0144a8f4f92b", size = 124848, upload-time = "2025-11-17T12:59:08.641Z" },
+ { url = "https://files.pythonhosted.org/packages/88/a1/78bdd4938c3286998c0609491c4a0a8aee2f4de4003364112c295a2f32b8/preshed-3.0.12-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6cca080ac9bbc978625c8f0c56ef17471162193c7c1a4622fbde7721da1bdd40", size = 780279, upload-time = "2025-11-17T12:59:10.009Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/f8/6fbf083346a007927a9e4ce3686ae54ba74191e74fc3af34863ea7be9dea/preshed-3.0.12-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cfd3672007c7b7cac554a0e5f263d7bc94109dc508ee1ef43b2f6ec8c2e2e9e8", size = 781954, upload-time = "2025-11-17T12:59:11.574Z" },
+ { url = "https://files.pythonhosted.org/packages/91/c3/f28c7a6cc03e85002780b75249c3557c0fe503792ac66a7b9c5379569999/preshed-3.0.12-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:e01609074713aba93a8143480e67942fbe6898fe134b98d813819bec42a8cae7", size = 799772, upload-time = "2025-11-17T12:59:14.371Z" },
+ { url = "https://files.pythonhosted.org/packages/46/25/ca22fa0db162e286db7a94a4f08c1ceb4872d3d64610b807148935ae084c/preshed-3.0.12-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:30d8a53015663b0d666012bc10d22e8bdd7359191d84a8980ae902e0b87caf24", size = 820532, upload-time = "2025-11-17T12:59:16.281Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/57/459a6eea7e15034756f4c2650a9aba6d023aa7976748b18476bd4c0b6fef/preshed-3.0.12-cp310-cp310-win_amd64.whl", hash = "sha256:bf2235bbe09b4862b914086f37a065cc84259e1b53c8ed996cbbd6519ea36b62", size = 117482, upload-time = "2025-11-17T12:59:18.36Z" },
+ { url = "https://files.pythonhosted.org/packages/80/1f/a7b648a57d259891bd9b2c8ef1978622fa37b46a9368f054881488b9b4fe/preshed-3.0.12-cp310-cp310-win_arm64.whl", hash = "sha256:139d08b10693bfccb0ea000f47dcca5fc4a78fc1b96c1832c920be9b0a4c8f04", size = 105504, upload-time = "2025-11-17T12:59:19.562Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/54/d1e02d0a0ea348fb6a769506166e366abfe87ee917c2f11f7139c7acbf10/preshed-3.0.12-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:bc45fda3fd4ae1ae15c37f18f0777cf389ce9184ef8884b39b18894416fd1341", size = 128439, upload-time = "2025-11-17T12:59:21.317Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/cb/685ca57ca6e438345b3f6c20226705a0e056a3de399a5bf8a9ee89b3dd2b/preshed-3.0.12-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:75d6e628bc78c022dbb9267242715718f862c3105927732d166076ff009d65de", size = 124544, upload-time = "2025-11-17T12:59:22.944Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/07/018fcd3bf298304e1570065cf80601ac16acd29f799578fd47b715dd3ca2/preshed-3.0.12-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b901cff5c814facf7a864b0a4c14a16d45fa1379899a585b3fb48ee36a2dccdb", size = 824728, upload-time = "2025-11-17T12:59:24.614Z" },
+ { url = "https://files.pythonhosted.org/packages/79/dc/d888b328fcedae530df53396d9fc0006026aa8793fec54d7d34f57f31ff5/preshed-3.0.12-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d1099253bf73dd3c39313280bd5331841f769637b27ddb576ff362c4e7bad298", size = 825969, upload-time = "2025-11-17T12:59:26.493Z" },
+ { url = "https://files.pythonhosted.org/packages/21/51/f19933301f42ece1ffef1f7f4c370d09f0351c43c528e66fac24560e44d2/preshed-3.0.12-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1af4a049ffe9d0246e5dc10d6f54820ed064c40e5c3f7b6526127c664008297c", size = 842346, upload-time = "2025-11-17T12:59:28.092Z" },
+ { url = "https://files.pythonhosted.org/packages/51/46/025f60fd3d51bf60606a0f8f0cd39c40068b9b5e4d249bca1682e4ff09c3/preshed-3.0.12-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:57159bcedca0cb4c99390f8a6e730f8659fdb663a5a3efcd9c4531e0f54b150e", size = 865504, upload-time = "2025-11-17T12:59:29.648Z" },
+ { url = "https://files.pythonhosted.org/packages/88/b5/2e6ee5ab19b03e7983fc5e1850c812fb71dc178dd140d6aca3b45306bdf7/preshed-3.0.12-cp311-cp311-win_amd64.whl", hash = "sha256:8fe9cf1745e203e5aa58b8700436f78da1dcf0f0e2efb0054b467effd9d7d19d", size = 117736, upload-time = "2025-11-17T12:59:30.974Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/17/8a0a8f4b01e71b5fb7c5cd4c9fec04d7b852d42f1f9e096b01e7d2b16b17/preshed-3.0.12-cp311-cp311-win_arm64.whl", hash = "sha256:12d880f8786cb6deac34e99b8b07146fb92d22fbca0023208e03325f5944606b", size = 105127, upload-time = "2025-11-17T12:59:32.171Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/f7/ff3aca937eeaee19c52c45ddf92979546e52ed0686e58be4bc09c47e7d88/preshed-3.0.12-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2779861f5d69480493519ed123a622a13012d1182126779036b99d9d989bf7e9", size = 129958, upload-time = "2025-11-17T12:59:33.391Z" },
+ { url = "https://files.pythonhosted.org/packages/80/24/fd654a9c0f5f3ed1a9b1d8a392f063ae9ca29ad0b462f0732ae0147f7cee/preshed-3.0.12-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffe1fd7d92f51ed34383e20d8b734780c814ca869cfdb7e07f2d31651f90cdf4", size = 124550, upload-time = "2025-11-17T12:59:34.688Z" },
+ { url = "https://files.pythonhosted.org/packages/71/49/8271c7f680696f4b0880f44357d2a903d649cb9f6e60a1efc97a203104df/preshed-3.0.12-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:91893404858502cc4e856d338fef3d2a4a552135f79a1041c24eb919817c19db", size = 874987, upload-time = "2025-11-17T12:59:36.062Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/a5/ca200187ca1632f1e2c458b72f1bd100fa8b55deecd5d72e1e4ebf09e98c/preshed-3.0.12-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9e06e8f2ba52f183eb9817a616cdebe84a211bb859a2ffbc23f3295d0b189638", size = 866499, upload-time = "2025-11-17T12:59:37.586Z" },
+ { url = "https://files.pythonhosted.org/packages/87/a1/943b61f850c44899910c21996cb542d0ef5931744c6d492fdfdd8457e693/preshed-3.0.12-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bbe8b8a2d4f9af14e8a39ecca524b9de6defc91d8abcc95eb28f42da1c23272c", size = 878064, upload-time = "2025-11-17T12:59:39.651Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/75/d7fff7f1fa3763619aa85d6ba70493a5d9c6e6ea7958a6e8c9d3e6e88bbe/preshed-3.0.12-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5d0aaac9c5862f5471fddd0c931dc64d3af2efc5fe3eb48b50765adb571243b9", size = 900540, upload-time = "2025-11-17T12:59:41.384Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/12/a2285b78bd097a1e53fb90a1743bc8ce0d35e5b65b6853f3b3c47da398ca/preshed-3.0.12-cp312-cp312-win_amd64.whl", hash = "sha256:0eb8d411afcb1e3b12a0602fb6a0e33140342a732a795251a0ce452aba401dc0", size = 118298, upload-time = "2025-11-17T12:59:42.65Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/34/4e8443fe99206a2fcfc63659969a8f8c8ab184836533594a519f3899b1ad/preshed-3.0.12-cp312-cp312-win_arm64.whl", hash = "sha256:dcd3d12903c9f720a39a5c5f1339f7f46e3ab71279fb7a39776768fb840b6077", size = 104746, upload-time = "2025-11-17T12:59:43.934Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/36/1d3df6f9f37efc34be4ee3013b3bb698b06f1e372f80959851b54d8efdb2/preshed-3.0.12-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:3deb3ab93d50c785eaa7694a8e169eb12d00263a99c91d56511fe943bcbacfb6", size = 128023, upload-time = "2025-11-17T12:59:45.157Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/d4/3ca81f42978da1b81aa57b3e9b5193d8093e187787a3b2511d16b30b7c62/preshed-3.0.12-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a604350001238dab63dc14774ee30c257b5d71c7be976dbecd1f1ed37529f60f", size = 122851, upload-time = "2025-11-17T12:59:46.439Z" },
+ { url = "https://files.pythonhosted.org/packages/17/73/f388398f8d789f69b510272d144a9186d658423f6d3ecc484c0fe392acec/preshed-3.0.12-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:04fb860a8aab18d2201f06159337eda5568dc5eed218570d960fad79e783c7d0", size = 835926, upload-time = "2025-11-17T12:59:47.882Z" },
+ { url = "https://files.pythonhosted.org/packages/35/c6/b7170933451cbc27eaefd57b36f61a5e7e7c8da50ae24f819172e0ca8a4d/preshed-3.0.12-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d0c8fcd44996031c46a0aa6773c7b7aa5ee58c3ee87bc05236dacd5599d35063", size = 827294, upload-time = "2025-11-17T12:59:49.365Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/ec/6504730d811c0a375721db2107d31684ec17ee5b7bb3796ecfa41e704d41/preshed-3.0.12-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:b07efc3abd3714ce01cf67db0a2dada6e829ab7def74039d446e49ddb32538c5", size = 838809, upload-time = "2025-11-17T12:59:51.234Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/1a/09d13240c1fbadcc0603e2fe029623045a36c88b4b50b02e7fdc89e3b88e/preshed-3.0.12-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f184ef184b76e0e4707bce2395008779e4dfa638456b13b18469c2c1a42903a6", size = 861448, upload-time = "2025-11-17T12:59:52.702Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/35/9523160153037ee8337672249449be416ee92236f32602e7dd643767814f/preshed-3.0.12-cp313-cp313-win_amd64.whl", hash = "sha256:ebb3da2dc62ab09e5dc5a00ec38e7f5cdf8741c175714ab4a80773d8ee31b495", size = 117413, upload-time = "2025-11-17T12:59:54.4Z" },
+ { url = "https://files.pythonhosted.org/packages/79/eb/4263e6e896753b8e2ffa93035458165850a5ea81d27e8888afdbfd8fa9c4/preshed-3.0.12-cp313-cp313-win_arm64.whl", hash = "sha256:b36a2cf57a5ca6e78e69b569c92ef3bdbfb00e3a14859e201eec6ab3bdc27085", size = 104041, upload-time = "2025-11-17T12:59:55.596Z" },
+ { url = "https://files.pythonhosted.org/packages/77/39/7b33910b7ba3db9ce1515c39eb4657232913fb171fe701f792ef50726e60/preshed-3.0.12-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:0d8b458dfbd6cc5007d045fa5638231328e3d6f214fd24ab999cc10f8b9097e5", size = 129211, upload-time = "2025-11-17T12:59:57.182Z" },
+ { url = "https://files.pythonhosted.org/packages/32/67/97dceebe0b2b4dd94333e4ec283d38614f92996de615859a952da082890d/preshed-3.0.12-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:8e9196e2ea704243a69df203e0c9185eb7c5c58c3632ba1c1e2e2e0aa3aae3b4", size = 123311, upload-time = "2025-11-17T12:59:58.449Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/6f/f3772f6eaad1eae787f82ffb65a81a4a1993277eacf5a78a29da34608323/preshed-3.0.12-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:ffa644e1730012ed435fb9d0c3031ea19a06b11136eff5e9b96b2aa25ec7a5f5", size = 831683, upload-time = "2025-11-17T13:00:00.229Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/93/997d39ca61202486dd06c669b4707a5b8e5d0c2c922db9f7744fd6a12096/preshed-3.0.12-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:39e83a16ce53e4a3c41c091fe4fe1c3d28604e63928040da09ba0c5d5a7ca41e", size = 830035, upload-time = "2025-11-17T13:00:02.191Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/f2/51bf44e3fdbef08d40a832181842cd9b21b11c3f930989f4ff17e9201e12/preshed-3.0.12-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2ec9bc0baee426303a644c7bf531333d4e7fd06fedf07f62ee09969c208d578d", size = 841728, upload-time = "2025-11-17T13:00:03.643Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/b1/2d0e3d23d9f885f7647654d770227eb13e4d892deb9b0ed50b993d63fb18/preshed-3.0.12-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7db058f1b4a3d4d51c4c05b379c6cc9c36fcad00160923cb20ca1c7030581ea4", size = 858860, upload-time = "2025-11-17T13:00:05.185Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/57/7c28c7f6f9bfce02796b54f1f6acd2cebb3fa3f14a2dce6fb3c686e3c3a8/preshed-3.0.12-cp314-cp314-win_amd64.whl", hash = "sha256:c87a54a55a2ba98d0c3fd7886295f2825397aff5a7157dcfb89124f6aa2dca41", size = 120325, upload-time = "2025-11-17T13:00:06.428Z" },
+ { url = "https://files.pythonhosted.org/packages/33/c3/df235ca679a08e09103983ec17c668f96abe897eadbe18d635972b43d8a9/preshed-3.0.12-cp314-cp314-win_arm64.whl", hash = "sha256:d9c5f10b4b971d71d163c2416b91b7136eae54ef3183b1742bb5993269af1b18", size = 107393, upload-time = "2025-11-17T13:00:07.718Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/f1/51a2a72381c8aa3aeb8305d88e720c745048527107e649c01b8d49d6b5bf/preshed-3.0.12-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2739a9c57efcfa16466fa6e0257d67f0075a9979dc729585fbadaed7383ab449", size = 137703, upload-time = "2025-11-17T13:00:09.001Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/ab/f3c3d50647f3af6ce6441c596a4f6fb0216d549432ef51f61c0c1744c9b9/preshed-3.0.12-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:364249656bfbf98b4008fac707f35835580ec56207f7cbecdafef6ebb6a595a6", size = 134889, upload-time = "2025-11-17T13:00:10.29Z" },
+ { url = "https://files.pythonhosted.org/packages/54/9a/012dbae28a0b88cd98eae99f87701ffbe3a7d2ea3de345cb8a6a6e1b16cd/preshed-3.0.12-cp314-cp314t-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7f933d509ee762a90f62573aaf189eba94dfee478fca13ea2183b2f8a1bb8f7e", size = 911078, upload-time = "2025-11-17T13:00:11.911Z" },
+ { url = "https://files.pythonhosted.org/packages/88/c1/0cd0f8cdb91f63c298320cf946c4b97adfb8e8d3a5d454267410c90fcfaa/preshed-3.0.12-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f73f4e29bf90e58034e6f5fa55e6029f3f2d7c042a7151ed487b49898b0ce887", size = 930506, upload-time = "2025-11-17T13:00:13.375Z" },
+ { url = "https://files.pythonhosted.org/packages/20/1a/cab79b3181b2150eeeb0e2541c2bd4e0830e1e068b8836b24ea23610cec3/preshed-3.0.12-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:a61ede0c3d18f1ae128113f785a396351a46f4634beccfdf617b0a86008b154d", size = 900009, upload-time = "2025-11-17T13:00:14.781Z" },
+ { url = "https://files.pythonhosted.org/packages/31/9a/5ea9d6d95d5c07ba70166330a43bff7f0a074d0134eb7984eca6551e8c70/preshed-3.0.12-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:eafc08a86f77be78e722d96aa8a3a0aef0e3c7ac2f2ada22186a138e63d4033c", size = 910826, upload-time = "2025-11-17T13:00:16.861Z" },
+ { url = "https://files.pythonhosted.org/packages/92/71/39024f9873ff317eac724b2759e94d013703800d970d51de77ccc6afff7e/preshed-3.0.12-cp314-cp314t-win_amd64.whl", hash = "sha256:fadaad54973b8697d5ef008735e150bd729a127b6497fd2cb068842074a6f3a7", size = 141358, upload-time = "2025-11-17T13:00:18.167Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/0d/431bb85252119f5d2260417fa7d164619b31eed8f1725b364dc0ade43a8e/preshed-3.0.12-cp314-cp314t-win_arm64.whl", hash = "sha256:c0c0d3b66b4c1e40aa6042721492f7b07fc9679ab6c361bc121aa54a1c3ef63f", size = 114839, upload-time = "2025-11-17T13:00:19.513Z" },
+]
+
+[[package]]
+name = "prometheus-client"
+version = "0.23.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/23/53/3edb5d68ecf6b38fcbcc1ad28391117d2a322d9a1a3eff04bfdb184d8c3b/prometheus_client-0.23.1.tar.gz", hash = "sha256:6ae8f9081eaaaf153a2e959d2e6c4f4fb57b12ef76c8c7980202f1e57b48b2ce", size = 80481, upload-time = "2025-09-18T20:47:25.043Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b8/db/14bafcb4af2139e046d03fd00dea7873e48eafe18b7d2797e73d6681f210/prometheus_client-0.23.1-py3-none-any.whl", hash = "sha256:dd1913e6e76b59cfe44e7a4b83e01afc9873c1bdfd2ed8739f1e76aeca115f99", size = 61145, upload-time = "2025-09-18T20:47:23.875Z" },
+]
+
+[[package]]
+name = "prompt-toolkit"
+version = "3.0.52"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "wcwidth" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a1/96/06e01a7b38dce6fe1db213e061a4602dd6032a8a97ef6c1a862537732421/prompt_toolkit-3.0.52.tar.gz", hash = "sha256:28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855", size = 434198, upload-time = "2025-08-27T15:24:02.057Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/03/0d3ce49e2505ae70cf43bc5bb3033955d2fc9f932163e84dc0779cc47f48/prompt_toolkit-3.0.52-py3-none-any.whl", hash = "sha256:9aac639a3bbd33284347de5ad8d68ecc044b91a762dc39b7c21095fcd6a19955", size = 391431, upload-time = "2025-08-27T15:23:59.498Z" },
+]
+
+[[package]]
+name = "psutil"
+version = "7.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b3/31/4723d756b59344b643542936e37a31d1d3204bcdc42a7daa8ee9eb06fb50/psutil-7.1.0.tar.gz", hash = "sha256:655708b3c069387c8b77b072fc429a57d0e214221d01c0a772df7dfedcb3bcd2", size = 497660, upload-time = "2025-09-17T20:14:52.902Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/46/62/ce4051019ee20ce0ed74432dd73a5bb087a6704284a470bb8adff69a0932/psutil-7.1.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:76168cef4397494250e9f4e73eb3752b146de1dd950040b29186d0cce1d5ca13", size = 245242, upload-time = "2025-09-17T20:14:56.126Z" },
+ { url = "https://files.pythonhosted.org/packages/38/61/f76959fba841bf5b61123fbf4b650886dc4094c6858008b5bf73d9057216/psutil-7.1.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:5d007560c8c372efdff9e4579c2846d71de737e4605f611437255e81efcca2c5", size = 246682, upload-time = "2025-09-17T20:14:58.25Z" },
+ { url = "https://files.pythonhosted.org/packages/88/7a/37c99d2e77ec30d63398ffa6a660450b8a62517cabe44b3e9bae97696e8d/psutil-7.1.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:22e4454970b32472ce7deaa45d045b34d3648ce478e26a04c7e858a0a6e75ff3", size = 287994, upload-time = "2025-09-17T20:14:59.901Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/de/04c8c61232f7244aa0a4b9a9fbd63a89d5aeaf94b2fc9d1d16e2faa5cbb0/psutil-7.1.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c70e113920d51e89f212dd7be06219a9b88014e63a4cec69b684c327bc474e3", size = 291163, upload-time = "2025-09-17T20:15:01.481Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/58/c4f976234bf6d4737bc8c02a81192f045c307b72cf39c9e5c5a2d78927f6/psutil-7.1.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7d4a113425c037300de3ac8b331637293da9be9713855c4fc9d2d97436d7259d", size = 293625, upload-time = "2025-09-17T20:15:04.492Z" },
+ { url = "https://files.pythonhosted.org/packages/79/87/157c8e7959ec39ced1b11cc93c730c4fb7f9d408569a6c59dbd92ceb35db/psutil-7.1.0-cp37-abi3-win32.whl", hash = "sha256:09ad740870c8d219ed8daae0ad3b726d3bf9a028a198e7f3080f6a1888b99bca", size = 244812, upload-time = "2025-09-17T20:15:07.462Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/e9/b44c4f697276a7a95b8e94d0e320a7bf7f3318521b23de69035540b39838/psutil-7.1.0-cp37-abi3-win_amd64.whl", hash = "sha256:57f5e987c36d3146c0dd2528cd42151cf96cd359b9d67cfff836995cc5df9a3d", size = 247965, upload-time = "2025-09-17T20:15:09.673Z" },
+ { url = "https://files.pythonhosted.org/packages/26/65/1070a6e3c036f39142c2820c4b52e9243246fcfc3f96239ac84472ba361e/psutil-7.1.0-cp37-abi3-win_arm64.whl", hash = "sha256:6937cb68133e7c97b6cc9649a570c9a18ba0efebed46d8c5dae4c07fa1b67a07", size = 244971, upload-time = "2025-09-17T20:15:12.262Z" },
+]
+
+[[package]]
+name = "ptyprocess"
+version = "0.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" },
+]
+
+[[package]]
+name = "pure-eval"
+version = "0.2.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/05/0a34433a064256a578f1783a10da6df098ceaa4a57bbeaa96a6c0352786b/pure_eval-0.2.3.tar.gz", hash = "sha256:5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42", size = 19752, upload-time = "2024-07-21T12:58:21.801Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8e/37/efad0257dc6e593a18957422533ff0f87ede7c9c6ea010a2177d738fb82f/pure_eval-0.2.3-py3-none-any.whl", hash = "sha256:1db8e35b67b3d218d818ae653e27f06c3aa420901fa7b081ca98cbedc874e0d0", size = 11842, upload-time = "2024-07-21T12:58:20.04Z" },
+]
+
+[[package]]
+name = "pycparser"
+version = "2.23"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fe/cf/d2d3b9f5699fb1e4615c8e32ff220203e43b248e1dfcc6736ad9057731ca/pycparser-2.23.tar.gz", hash = "sha256:78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2", size = 173734, upload-time = "2025-09-09T13:23:47.91Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/e3/59cd50310fc9b59512193629e1984c1f95e5c8ae6e5d8c69532ccc65a7fe/pycparser-2.23-py3-none-any.whl", hash = "sha256:e5c6e8d3fbad53479cab09ac03729e0a9faf2bee3db8208a550daf5af81a5934", size = 118140, upload-time = "2025-09-09T13:23:46.651Z" },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.13.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.46.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e7/08/f1ba952f1c8ae5581c70fa9c6da89f247b83e3dd8c09c035d5d7931fc23d/pydantic_core-2.46.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:a396dcc17e5a0b164dbe026896245a4fa9ff402edca1dff0be3d53a517f74de4", size = 2113146, upload-time = "2026-05-06T13:37:36.537Z" },
+ { url = "https://files.pythonhosted.org/packages/56/c6/65f646c7ff09bd257f660434adb45c4dfcbbcebcc030562fecf6f5bf887d/pydantic_core-2.46.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:da4b951fe36dc7c3a1ccb4e3cd1747c3542b8c9ceede8fc86cae054e764485f5", size = 1949769, upload-time = "2026-05-06T13:37:46.365Z" },
+ { url = "https://files.pythonhosted.org/packages/64/ba/bfb1d928fd5b49e1258935ff104ae356e9fd89384a55bf9f847e9193ad40/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bb63e0198ca18aad131c089b9204c23079c3afa95487e561f4c522d519e55aba", size = 1974958, upload-time = "2026-05-06T13:37:28.611Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/74/76223bfb117b64af743c9b6670d1364516f5c0604f96b48f3272f6af6cc6/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f47286a97f0bc9b8859519809077b91b2cefe4ae47fcbf5e466a009c1c5d742b", size = 2042118, upload-time = "2026-05-06T13:36:55.216Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/7b/848732968bc8f48f3187542f08358b9d842db564147b256669426ebb1652/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:905a0ed8ea6f2d61c1738835f99b699348d7857379083e5fc497fa0c967a407c", size = 2222876, upload-time = "2026-05-06T13:38:25.455Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/2f/e90b63ee2e14bd8d3db8f705a6d75d64e6ee1b7c2c8833747ce706e1e0ce/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ea793e075b70290d89d8142074262885d3f7da19634845135751bd6344f73b50", size = 2286703, upload-time = "2026-05-06T13:37:53.304Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/1e/acc4d70f88a0a277e4a1fa77ebb985ceabaf900430f875bf9338e11c9420/pydantic_core-2.46.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:395aebd9183f9d112f569aeb5b2214d1a10a33bec8456447f7fbdfa51d38d4cd", size = 2092042, upload-time = "2026-05-06T13:38:46.981Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/da/0a422b57bf8504102bf3c4ccea9c41bab5a5cee6a54650acf8faf67f5a24/pydantic_core-2.46.4-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:b078afbc25f3a1436c7a1d2cd3e322497ee99615ba97c563566fdf46aff1ee01", size = 2117231, upload-time = "2026-05-06T13:39:23.146Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/2a/2ac13c3af305843e23c5078c53d135656b3f05a2fd78cb7bbbb12e97b473/pydantic_core-2.46.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f747929cf940cddb5b3668a390056ddd5ba2e5010615ea2dcf4f9c4f3ab8791d", size = 2168388, upload-time = "2026-05-06T13:40:08.06Z" },
+ { url = "https://files.pythonhosted.org/packages/72/04/2beacf7e1607e93eefe4aed1b4709f079b905fb77530179d4f7c71745f22/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:daa27d92c36f24388fe3ad306b174781c747627f134452e4f128ea00ce1fe8c4", size = 2184769, upload-time = "2026-05-06T13:38:13.901Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/29/d2b9fd9f539133548eaf622c06a4ce176cb46ac59f32d0359c4abc0de047/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_armv7l.whl", hash = "sha256:19e51f073cd3df251856a8a4189fbdf1de4012c3ebacfb1884f94f1eb406079f", size = 2319312, upload-time = "2026-05-06T13:39:08.24Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/af/0f7a5b85fec6075bea96e3ef9187de38fccced0de92c1e7feda8d5cc7bb9/pydantic_core-2.46.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c1747f85cee84c26985853c6f3d9bd3e75da5212912443fa111c113b9c246f39", size = 2361817, upload-time = "2026-05-06T13:38:43.2Z" },
+ { url = "https://files.pythonhosted.org/packages/25/a4/73363fec545fd3ec025490bdda2743c56d0dd5b6266b1a53bbe9e4265375/pydantic_core-2.46.4-cp310-cp310-win32.whl", hash = "sha256:2f84c03c8607173d16b5a854ec68a2f9079ae03237a54fb506d13af47e1d018d", size = 1987085, upload-time = "2026-05-06T13:39:25.497Z" },
+ { url = "https://files.pythonhosted.org/packages/01/aa/62f082da2c91fac1c234bc9ee0066257ce83f0604abd72e4c9d5991f2d84/pydantic_core-2.46.4-cp310-cp310-win_amd64.whl", hash = "sha256:8358a950c8909158e3df31538a7e4edc2d7265a7c54b47f0864d9e5bae9dcebf", size = 2074311, upload-time = "2026-05-06T13:39:59.922Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/fa/6d7708d2cfc1a832acb6aeb0cd16e801902df8a0f583bb3b4b527fde022e/pydantic_core-2.46.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594", size = 2111872, upload-time = "2026-05-06T13:40:27.596Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/6f/aa064a3e74b5745afbdf250594f38e7ead05e2d651bcb35994b9417a0d4d/pydantic_core-2.46.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c", size = 1948255, upload-time = "2026-05-06T13:39:12.574Z" },
+ { url = "https://files.pythonhosted.org/packages/43/3a/41114a9f7569b84b4d84e7a018c57c56347dac30c0d4a872946ec4e36c46/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826", size = 1972827, upload-time = "2026-05-06T13:38:19.841Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/25/1ab42e8048fe551934d9884e8d64daa7e990ad386f310a15981aeb6a5b08/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04", size = 2041051, upload-time = "2026-05-06T13:38:10.447Z" },
+ { url = "https://files.pythonhosted.org/packages/94/c2/1a934597ddf08da410385b3b7aae91956a5a76c635effef456074fad7e88/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e", size = 2221314, upload-time = "2026-05-06T13:40:13.089Z" },
+ { url = "https://files.pythonhosted.org/packages/02/6d/9e8ad178c9c4df27ad3c8f25d1fe2a7ab0d2ba0559fad4aee5d3d1f16771/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3", size = 2285146, upload-time = "2026-05-06T13:38:59.224Z" },
+ { url = "https://files.pythonhosted.org/packages/80/50/540cd3aeefc041beb111125c4bff779831a2111fc6b15a9138cda277d32c/pydantic_core-2.46.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4", size = 2089685, upload-time = "2026-05-06T13:38:17.762Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/a4/b440ad35f05f6a38f89fa0f149accb3f0e02be94ca5e15f3c449a61b4bc9/pydantic_core-2.46.4-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398", size = 2115420, upload-time = "2026-05-06T13:37:58.195Z" },
+ { url = "https://files.pythonhosted.org/packages/99/61/de4f55db8dfd57bfdfa9a12ec90fe1b57c4f41062f7ca86f08586b3e0ac0/pydantic_core-2.46.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3", size = 2165122, upload-time = "2026-05-06T13:37:01.167Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/52/7c529d7bdb2d1068bd52f51fe32572c8301f9a4febf1948f10639f1436f5/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848", size = 2182573, upload-time = "2026-05-06T13:38:45.04Z" },
+ { url = "https://files.pythonhosted.org/packages/37/b3/7c40325848ba78247f2812dcf9c7274e38cd801820ca6dd9fe63bcfb0eb4/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3", size = 2317139, upload-time = "2026-05-06T13:37:15.539Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/37/f913f81a657c865b75da6c0dbed79876073c2a43b5bd9edbe8da785e4d49/pydantic_core-2.46.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109", size = 2360433, upload-time = "2026-05-06T13:37:30.099Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/67/6acaa1be2567f9256b056d8477158cac7240813956ce86e49deae8e173b4/pydantic_core-2.46.4-cp311-cp311-win32.whl", hash = "sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda", size = 1985513, upload-time = "2026-05-06T13:38:15.669Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/e6/c505f83dfeda9a2e5c995cfd872949e4d05e12f7feb3dca72f633daefa94/pydantic_core-2.46.4-cp311-cp311-win_amd64.whl", hash = "sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33", size = 2071114, upload-time = "2026-05-06T13:40:35.416Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/da/7a263a96d965d9d0df5e8de8a475f33495451117035b09acb110288c381f/pydantic_core-2.46.4-cp311-cp311-win_arm64.whl", hash = "sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d", size = 2044298, upload-time = "2026-05-06T13:38:29.754Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" },
+ { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" },
+ { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" },
+ { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" },
+ { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" },
+ { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" },
+ { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" },
+ { url = "https://files.pythonhosted.org/packages/51/a2/5d30b469c5267a17b39dec53208222f76a8d351dfac4af661888c5aee77d/pydantic_core-2.46.4-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008", size = 2106306, upload-time = "2026-05-06T13:37:48.029Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/81/4fa520eaffa8bd7d1525e644cd6d39e7d60b1592bc5b516693c7340b50f1/pydantic_core-2.46.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4", size = 1951906, upload-time = "2026-05-06T13:37:17.012Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d5/fd02da45b659668b05923b17ba3a0100a0a3d5541e3bd8fcc4ecb711309e/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76", size = 1976802, upload-time = "2026-05-06T13:37:35.113Z" },
+ { url = "https://files.pythonhosted.org/packages/21/f2/95727e1368be3d3ed485eaab7adbd7dda408f33f7a36e8b48e0144002b91/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3", size = 2052446, upload-time = "2026-05-06T13:37:12.313Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/86/5d99feea3f77c7234b8718075b23db11532773c1a0dbd9b9490215dc2eeb/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76", size = 2232757, upload-time = "2026-05-06T13:39:01.149Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/3a/508ac615935ef7588cf6d9e9b91309fdc2da751af865e02a9098de88258c/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4", size = 2309275, upload-time = "2026-05-06T13:37:41.406Z" },
+ { url = "https://files.pythonhosted.org/packages/07/f8/41db9de19d7987d6b04715a02b3b40aea467000275d9d758ffaa31af7d50/pydantic_core-2.46.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a", size = 2094467, upload-time = "2026-05-06T13:39:18.847Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/e2/f35033184cb11d0052daf4416e8e10a502ea2ac006fc4f459aee872727d1/pydantic_core-2.46.4-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262", size = 2134417, upload-time = "2026-05-06T13:40:17.944Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/7b/6ceeb1cc90e193862f444ebe373d8fdf613f0a82572dde03fb10734c6c71/pydantic_core-2.46.4-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e", size = 2179782, upload-time = "2026-05-06T13:40:32.618Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/f2/c8d7773ede6af08036423a00ae0ceffce266c3c52a096c435d68c896083f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd", size = 2188782, upload-time = "2026-05-06T13:36:51.018Z" },
+ { url = "https://files.pythonhosted.org/packages/59/31/0c864784e31f09f05cdd87606f08923b9c9e7f6e51dd27f20f62f975ce9f/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be", size = 2328334, upload-time = "2026-05-06T13:40:37.764Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/eb/4f6c8a41efa30baa755590f4141abf3a8c370fab610915733e74134a7270/pydantic_core-2.46.4-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d", size = 2372986, upload-time = "2026-05-06T13:39:34.152Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/24/b375a480d53113860c299764bfe9f349a3dc9108b3adc0d7f0d786492ebf/pydantic_core-2.46.4-cp313-cp313-win32.whl", hash = "sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb", size = 1973693, upload-time = "2026-05-06T13:37:55.072Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/e8/cff247591966f2d22ec8c003cd7587e27b7ba7b81ab2fb888e3ab75dc285/pydantic_core-2.46.4-cp313-cp313-win_amd64.whl", hash = "sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292", size = 2071819, upload-time = "2026-05-06T13:38:49.139Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/1a/f4aee670d5670e9e148e0c82c7db98d780be566c6e6a97ee8035528ca0b3/pydantic_core-2.46.4-cp313-cp313-win_arm64.whl", hash = "sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d", size = 2027411, upload-time = "2026-05-06T13:40:45.796Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/74/228a26ddad29c6672b805d9fd78e8d251cd04004fa7eed0e622096cd0250/pydantic_core-2.46.4-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb", size = 2102079, upload-time = "2026-05-06T13:38:41.019Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/1f/8970b150a4b4365623ae00fc88603491f763c627311ae8031e3111356d6e/pydantic_core-2.46.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462", size = 1952179, upload-time = "2026-05-06T13:36:59.812Z" },
+ { url = "https://files.pythonhosted.org/packages/95/30/5211a831ae054928054b2f79731661087a2bc5c01e825c672b3a4a8f1b3e/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9", size = 1978926, upload-time = "2026-05-06T13:37:39.933Z" },
+ { url = "https://files.pythonhosted.org/packages/57/e9/689668733b1eb67adeef047db3c2e8788fcf65a7fd9c9e2b46b7744fe245/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4", size = 2046785, upload-time = "2026-05-06T13:38:01.995Z" },
+ { url = "https://files.pythonhosted.org/packages/60/d9/6715260422ff50a2109878fd24d948a6c3446bb2664f34ee78cd972b3acd/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914", size = 2228733, upload-time = "2026-05-06T13:40:50.371Z" },
+ { url = "https://files.pythonhosted.org/packages/18/ae/fdb2f64316afca925640f8e70bb1a564b0ec2721c1389e25b8eb4bf9a299/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28", size = 2307534, upload-time = "2026-05-06T13:37:21.531Z" },
+ { url = "https://files.pythonhosted.org/packages/89/1d/8eff589b45bb8190a9d12c49cfad0f176a5cbd1534908a6b5125e2886239/pydantic_core-2.46.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b", size = 2099732, upload-time = "2026-05-06T13:39:31.942Z" },
+ { url = "https://files.pythonhosted.org/packages/06/d5/ee5a3366637fee41dee51a1fc91562dcf12ddbc68fda34e6b253da2324bb/pydantic_core-2.46.4-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c", size = 2129627, upload-time = "2026-05-06T13:37:25.033Z" },
+ { url = "https://files.pythonhosted.org/packages/94/33/2414be571d2c6a6c4d08be21f9292b6d3fdb08949a97b6dfe985017821db/pydantic_core-2.46.4-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb", size = 2179141, upload-time = "2026-05-06T13:37:14.046Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/79/7daa95be995be0eecc4cf75064cb33f9bbbfe3fe0158caf2f0d4a996a5c7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898", size = 2184325, upload-time = "2026-05-06T13:36:53.615Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/cb/d0a382f5c0de8a222dc61c65348e0ce831b1f68e0a018450d31c2cace3a5/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e", size = 2323990, upload-time = "2026-05-06T13:40:29.971Z" },
+ { url = "https://files.pythonhosted.org/packages/05/db/d9ba624cc4a5aced1598e88c04fdbd8310c8a69b9d38b9a3d39ce3a61ed7/pydantic_core-2.46.4-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519", size = 2369978, upload-time = "2026-05-06T13:37:23.027Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/20/d15df15ba918c423461905802bfd2981c3af0bfa0e40d05e13edbfa48bc3/pydantic_core-2.46.4-cp314-cp314-win32.whl", hash = "sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4", size = 1966354, upload-time = "2026-05-06T13:38:03.499Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/b6/6b8de4c0a7d7ab3004c439c80c5c1e0a3e8d78bbae19379b01960383d9e5/pydantic_core-2.46.4-cp314-cp314-win_amd64.whl", hash = "sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac", size = 2072238, upload-time = "2026-05-06T13:39:40.807Z" },
+ { url = "https://files.pythonhosted.org/packages/32/36/51eb763beec1f4cf59b1db243a7dcc39cbb41230f050a09b9d69faaf0a48/pydantic_core-2.46.4-cp314-cp314-win_arm64.whl", hash = "sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a", size = 2018251, upload-time = "2026-05-06T13:37:26.72Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/91/855af51d625b23aa987116a19e231d2aaef9c4a415273ddc189b79a45fee/pydantic_core-2.46.4-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0", size = 2099593, upload-time = "2026-05-06T13:39:47.682Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/1b/8784a54c65edb5f49f0a14d6977cf1b209bba85a4c77445b255c2de58ab3/pydantic_core-2.46.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d", size = 1935226, upload-time = "2026-05-06T13:40:40.428Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/e7/1955d28d1afc56dd4b3ad7cc0cf39df1b9852964cf16e5d13912756d6d6b/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b", size = 1974605, upload-time = "2026-05-06T13:37:32.029Z" },
+ { url = "https://files.pythonhosted.org/packages/93/e2/3fedbf0ba7a22850e6e9fd78117f1c0f10f950182344d8a6c535d468fdd8/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000", size = 2030777, upload-time = "2026-05-06T13:38:55.239Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/61/46be275fcaaba0b4f5b9669dd852267ce1ff616592dccf7a7845588df091/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e", size = 2236641, upload-time = "2026-05-06T13:37:08.096Z" },
+ { url = "https://files.pythonhosted.org/packages/60/db/12e93e46a8bac9988be3c016860f83293daea8c716c029c9ace279036f2f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd", size = 2286404, upload-time = "2026-05-06T13:40:20.221Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/4a/4d8b19008f38d31c53b8219cfedc2e3d5de5fe99d90076b7e767de29274f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3", size = 2109219, upload-time = "2026-05-06T13:38:12.153Z" },
+ { url = "https://files.pythonhosted.org/packages/88/70/3cbc40978fefb7bb09c6708d40d4ad1a5d70fd7213c3d17f971de868ec1f/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7", size = 2110594, upload-time = "2026-05-06T13:40:02.971Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/20/b8d36736216e29491125531685b2f9e61aa5b4b2599893f8268551da3338/pydantic_core-2.46.4-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff", size = 2159542, upload-time = "2026-05-06T13:39:27.506Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/a2/367df868eb584dacf6bf82a389272406d7178e301c4ac82545ab98bc2dd9/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424", size = 2168146, upload-time = "2026-05-06T13:38:31.93Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/b8/4460f77f7e201893f649a29ab355dddd3beee8a97bcb1a320db414f9a06e/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6", size = 2306309, upload-time = "2026-05-06T13:37:44.717Z" },
+ { url = "https://files.pythonhosted.org/packages/64/c4/be2639293acd87dc8ddbcec41a73cee9b2ebf996fe6d892a1a74e88ad3f7/pydantic_core-2.46.4-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565", size = 2369736, upload-time = "2026-05-06T13:37:05.645Z" },
+ { url = "https://files.pythonhosted.org/packages/30/a6/9f9f380dbb301f67023bf8f707aaa75daadf84f7152d95c410fd7e81d994/pydantic_core-2.46.4-cp314-cp314t-win32.whl", hash = "sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02", size = 1955575, upload-time = "2026-05-06T13:38:51.116Z" },
+ { url = "https://files.pythonhosted.org/packages/40/1f/f1eb9eb350e795d1af8586289746f5c5677d16043040d63710e22abc43c9/pydantic_core-2.46.4-cp314-cp314t-win_amd64.whl", hash = "sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5", size = 2051624, upload-time = "2026-05-06T13:38:21.672Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/d2/42dd53d0a85c27606f316d3aa5d2869c4e8470a5ed6dec30e4a1abe19192/pydantic_core-2.46.4-cp314-cp314t-win_arm64.whl", hash = "sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596", size = 2017325, upload-time = "2026-05-06T13:40:52.723Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/a4/73995fd4ebbb46ba0ee51e6fa049b8f02c40daebb762208feda8a6b7894d/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_10_12_x86_64.whl", hash = "sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c", size = 2111589, upload-time = "2026-05-06T13:37:10.817Z" },
+ { url = "https://files.pythonhosted.org/packages/fb/7f/f37d3a5e8bfcc2e403f5c57a730f2d815693fb42119e8ea48b3789335af1/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-macosx_11_0_arm64.whl", hash = "sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b", size = 1944552, upload-time = "2026-05-06T13:36:56.717Z" },
+ { url = "https://files.pythonhosted.org/packages/15/3c/d7eb777b3ff43e8433a4efb39a17aa8fd98a4ee8561a24a67ef5db07b2d6/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b", size = 1982984, upload-time = "2026-05-06T13:39:06.207Z" },
+ { url = "https://files.pythonhosted.org/packages/63/87/70b9f40170a81afd55ca26c9b2acb25c20d64bcfbf888fafecb3ba077d4c/pydantic_core-2.46.4-graalpy311-graalpy242_311_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea", size = 2138417, upload-time = "2026-05-06T13:39:45.476Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" },
+ { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" },
+ { url = "https://files.pythonhosted.org/packages/11/cb/428de0385b6c8d44b716feba566abfacfbd23ee3c4439faa789a1456242f/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0", size = 2112782, upload-time = "2026-05-06T13:37:04.016Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/b5/6a17bdadd0fc1f170adfd05a20d37c832f52b117b4d9131da1f41bb097ce/pydantic_core-2.46.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7", size = 1952146, upload-time = "2026-05-06T13:39:43.092Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/dc/03734d80e362cd43ef65428e9de77c730ce7f2f11c60d2b1e1b39f0fbf99/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2", size = 2134492, upload-time = "2026-05-06T13:36:58.124Z" },
+ { url = "https://files.pythonhosted.org/packages/de/df/5e5ffc085ed07cc22d298134d3d911c63e91f6a0eb91fe646750a3209910/pydantic_core-2.46.4-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9", size = 2156604, upload-time = "2026-05-06T13:37:49.88Z" },
+ { url = "https://files.pythonhosted.org/packages/81/44/6e112a4253e56f5705467cbab7ab5e91ee7398ba3d56d358635958893d3e/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf", size = 2183828, upload-time = "2026-05-06T13:37:43.053Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/ad/5565071e937d8e752842ac241463944c9eb14c87e2d269f2658a5bd05e98/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30", size = 2310000, upload-time = "2026-05-06T13:37:56.694Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/c3/66883a5cec183e7fba4d024b4cbbe61851a63750ef606b0afecc46d1f2bf/pydantic_core-2.46.4-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc", size = 2361286, upload-time = "2026-05-06T13:40:05.667Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/2d/69abac8f838090bbecd5df894befb2c2619e7996a98ddb949db9f3b93225/pydantic_core-2.46.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983", size = 2193071, upload-time = "2026-05-06T13:38:08.682Z" },
+]
+
+[[package]]
+name = "pygments"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" },
+]
+
+[[package]]
+name = "pytest"
+version = "9.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "exceptiongroup", marker = "python_full_version < '3.11'" },
+ { name = "iniconfig" },
+ { name = "packaging" },
+ { name = "pluggy" },
+ { name = "pygments" },
+ { name = "tomli", marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },
+]
+
+[[package]]
+name = "pytest-asyncio"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "backports-asyncio-runner", marker = "python_full_version < '3.11'" },
+ { name = "pytest" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/43/7c/d36d04db312ecf4298932ef77e6e4a9e8ad017906e24e34f0b0c361a2473/pytest_asyncio-1.4.0.tar.gz", hash = "sha256:c6c0d2259945122819f171a32ecea2c349ead889ee28176caaf492143424be42", size = 58514, upload-time = "2026-05-26T09:56:04.083Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/e2/08a497ef684b88559c9cc5f4ad53a37e7b99e727094a86d6ea32536d5d3c/pytest_asyncio-1.4.0-py3-none-any.whl", hash = "sha256:933ca923a23075a87fb7070c0ec272a6848489824d887c85c812670932835aa1", size = 16930, upload-time = "2026-05-26T09:56:02.576Z" },
+]
+
+[[package]]
+name = "pytest-mock"
+version = "3.15.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pytest" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/68/14/eb014d26be205d38ad5ad20d9a80f7d201472e08167f0bb4361e251084a9/pytest_mock-3.15.1.tar.gz", hash = "sha256:1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f", size = 34036, upload-time = "2025-09-16T16:37:27.081Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5a/cc/06253936f4a7fa2e0f48dfe6d851d9c56df896a9ab09ac019d70b760619c/pytest_mock-3.15.1-py3-none-any.whl", hash = "sha256:0a25e2eb88fe5168d535041d09a4529a188176ae608a6d249ee65abc0949630d", size = 10095, upload-time = "2025-09-16T16:37:25.734Z" },
+]
+
+[[package]]
+name = "pytest-socket"
+version = "0.8.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pytest" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/59/3c/f9b58e57830e58980dbe8867d0e348f45701d3f3ea065672d448f4366da5/pytest_socket-0.8.0.tar.gz", hash = "sha256:af9bb5f487da72be63573a6194cfac033b6c7a1c1561e150521105970f9e99f2", size = 13912, upload-time = "2026-05-21T16:50:22.552Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3f/e8/4a8568580bae3dcd678599ed8e86a82d505a44df71c1ced4246c1aa14b4b/pytest_socket-0.8.0-py3-none-any.whl", hash = "sha256:81821ba59f07d7600fe2b551d8714f40b068bd46e8b6704c48664e9d60cdacb8", size = 8414, upload-time = "2026-05-21T16:50:21.022Z" },
+]
+
+[[package]]
+name = "pytest-watcher"
+version = "0.6.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "tomli", marker = "python_full_version < '3.11'" },
+ { name = "watchdog" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e6/d2/80606077b7fa8784417687f494ff801d7ab817d9a17fc94305811d5919bb/pytest_watcher-0.6.3.tar.gz", hash = "sha256:842dc904264df0ad2d5264153a66bb452fccfa46598cd6e0a5ef1d19afed9b13", size = 601878, upload-time = "2026-01-10T23:28:18.805Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/3f/172d73600ad2771774cda108efb813fc724fc345e5240a81a1085f1ade5d/pytest_watcher-0.6.3-py3-none-any.whl", hash = "sha256:83e7748c933087e8276edb6078663e6afa9926434b4fd8b85cf6b32b1d5bec89", size = 12431, upload-time = "2026-01-10T23:28:17.64Z" },
+]
+
+[[package]]
+name = "pytest-xdist"
+version = "3.8.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "execnet" },
+ { name = "pytest" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/78/b4/439b179d1ff526791eb921115fca8e44e596a13efeda518b9d845a619450/pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1", size = 88069, upload-time = "2025-07-01T13:30:59.346Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ca/31/d4e37e9e550c2b92a9cbc2e4d0b7420a27224968580b5a447f420847c975/pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88", size = 46396, upload-time = "2025-07-01T13:30:56.632Z" },
+]
+
+[[package]]
+name = "python-dateutil"
+version = "2.9.0.post0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "six" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" },
+]
+
+[[package]]
+name = "python-json-logger"
+version = "3.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9e/de/d3144a0bceede957f961e975f3752760fbe390d57fbe194baf709d8f1f7b/python_json_logger-3.3.0.tar.gz", hash = "sha256:12b7e74b17775e7d565129296105bbe3910842d9d0eb083fc83a6a617aa8df84", size = 16642, upload-time = "2025-03-07T07:08:27.301Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/08/20/0f2523b9e50a8052bc6a8b732dfc8568abbdc42010aef03a2d750bdab3b2/python_json_logger-3.3.0-py3-none-any.whl", hash = "sha256:dd980fae8cffb24c13caf6e158d3d61c0d6d22342f932cb6e9deedab3d35eec7", size = 15163, upload-time = "2025-03-07T07:08:25.627Z" },
+]
+
+[[package]]
+name = "pywin32"
+version = "311"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7b/40/44efbb0dfbd33aca6a6483191dae0716070ed99e2ecb0c53683f400a0b4f/pywin32-311-cp310-cp310-win32.whl", hash = "sha256:d03ff496d2a0cd4a5893504789d4a15399133fe82517455e78bad62efbb7f0a3", size = 8760432, upload-time = "2025-07-14T20:13:05.9Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/bf/360243b1e953bd254a82f12653974be395ba880e7ec23e3731d9f73921cc/pywin32-311-cp310-cp310-win_amd64.whl", hash = "sha256:797c2772017851984b97180b0bebe4b620bb86328e8a884bb626156295a63b3b", size = 9590103, upload-time = "2025-07-14T20:13:07.698Z" },
+ { url = "https://files.pythonhosted.org/packages/57/38/d290720e6f138086fb3d5ffe0b6caa019a791dd57866940c82e4eeaf2012/pywin32-311-cp310-cp310-win_arm64.whl", hash = "sha256:0502d1facf1fed4839a9a51ccbcc63d952cf318f78ffc00a7e78528ac27d7a2b", size = 8778557, upload-time = "2025-07-14T20:13:11.11Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/af/449a6a91e5d6db51420875c54f6aff7c97a86a3b13a0b4f1a5c13b988de3/pywin32-311-cp311-cp311-win32.whl", hash = "sha256:184eb5e436dea364dcd3d2316d577d625c0351bf237c4e9a5fabbcfa5a58b151", size = 8697031, upload-time = "2025-07-14T20:13:13.266Z" },
+ { url = "https://files.pythonhosted.org/packages/51/8f/9bb81dd5bb77d22243d33c8397f09377056d5c687aa6d4042bea7fbf8364/pywin32-311-cp311-cp311-win_amd64.whl", hash = "sha256:3ce80b34b22b17ccbd937a6e78e7225d80c52f5ab9940fe0506a1a16f3dab503", size = 9508308, upload-time = "2025-07-14T20:13:15.147Z" },
+ { url = "https://files.pythonhosted.org/packages/44/7b/9c2ab54f74a138c491aba1b1cd0795ba61f144c711daea84a88b63dc0f6c/pywin32-311-cp311-cp311-win_arm64.whl", hash = "sha256:a733f1388e1a842abb67ffa8e7aad0e70ac519e09b0f6a784e65a136ec7cefd2", size = 8703930, upload-time = "2025-07-14T20:13:16.945Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/ab/01ea1943d4eba0f850c3c61e78e8dd59757ff815ff3ccd0a84de5f541f42/pywin32-311-cp312-cp312-win32.whl", hash = "sha256:750ec6e621af2b948540032557b10a2d43b0cee2ae9758c54154d711cc852d31", size = 8706543, upload-time = "2025-07-14T20:13:20.765Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/a8/a0e8d07d4d051ec7502cd58b291ec98dcc0c3fff027caad0470b72cfcc2f/pywin32-311-cp312-cp312-win_amd64.whl", hash = "sha256:b8c095edad5c211ff31c05223658e71bf7116daa0ecf3ad85f3201ea3190d067", size = 9495040, upload-time = "2025-07-14T20:13:22.543Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/3a/2ae996277b4b50f17d61f0603efd8253cb2d79cc7ae159468007b586396d/pywin32-311-cp312-cp312-win_arm64.whl", hash = "sha256:e286f46a9a39c4a18b319c28f59b61de793654af2f395c102b4f819e584b5852", size = 8710102, upload-time = "2025-07-14T20:13:24.682Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/be/3fd5de0979fcb3994bfee0d65ed8ca9506a8a1260651b86174f6a86f52b3/pywin32-311-cp313-cp313-win32.whl", hash = "sha256:f95ba5a847cba10dd8c4d8fefa9f2a6cf283b8b88ed6178fa8a6c1ab16054d0d", size = 8705700, upload-time = "2025-07-14T20:13:26.471Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/28/e0a1909523c6890208295a29e05c2adb2126364e289826c0a8bc7297bd5c/pywin32-311-cp313-cp313-win_amd64.whl", hash = "sha256:718a38f7e5b058e76aee1c56ddd06908116d35147e133427e59a3983f703a20d", size = 9494700, upload-time = "2025-07-14T20:13:28.243Z" },
+ { url = "https://files.pythonhosted.org/packages/04/bf/90339ac0f55726dce7d794e6d79a18a91265bdf3aa70b6b9ca52f35e022a/pywin32-311-cp313-cp313-win_arm64.whl", hash = "sha256:7b4075d959648406202d92a2310cb990fea19b535c7f4a78d3f5e10b926eeb8a", size = 8709318, upload-time = "2025-07-14T20:13:30.348Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/31/097f2e132c4f16d99a22bfb777e0fd88bd8e1c634304e102f313af69ace5/pywin32-311-cp314-cp314-win32.whl", hash = "sha256:b7a2c10b93f8986666d0c803ee19b5990885872a7de910fc460f9b0c2fbf92ee", size = 8840714, upload-time = "2025-07-14T20:13:32.449Z" },
+ { url = "https://files.pythonhosted.org/packages/90/4b/07c77d8ba0e01349358082713400435347df8426208171ce297da32c313d/pywin32-311-cp314-cp314-win_amd64.whl", hash = "sha256:3aca44c046bd2ed8c90de9cb8427f581c479e594e99b5c0bb19b29c10fd6cb87", size = 9656800, upload-time = "2025-07-14T20:13:34.312Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/d2/21af5c535501a7233e734b8af901574572da66fcc254cb35d0609c9080dd/pywin32-311-cp314-cp314-win_arm64.whl", hash = "sha256:a508e2d9025764a8270f93111a970e1d0fbfc33f4153b388bb649b7eec4f9b42", size = 8932540, upload-time = "2025-07-14T20:13:36.379Z" },
+]
+
+[[package]]
+name = "pywinpty"
+version = "3.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/06/df/429cc505dc5f77ab0612c4b60bca2e3dcc81f6c321844ee017d6dc0f4a95/pywinpty-3.0.0.tar.gz", hash = "sha256:68f70e68a9f0766ffdea3fc500351cb7b9b012bcb8239a411f7ff0fc8f86dcb1", size = 28551, upload-time = "2025-08-12T20:33:46.506Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/15/f9/13d62974debb0c74ce3fa3d96b32cee6fce4f2d634789217e67aebf339f6/pywinpty-3.0.0-cp310-cp310-win_amd64.whl", hash = "sha256:327b6034e0dc38352c1c99a7c0b3e54941b4e506a5f21acce63609cd2ab6cce2", size = 2050843, upload-time = "2025-08-12T20:36:11.134Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/34/30727e8a97709f5033277457df9a293ccddf34d6eb7528e6a1e910265307/pywinpty-3.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:29daa71ac5dcbe1496ef99f4cde85a732b1f0a3b71405d42177dbcf9ee405e5a", size = 2051048, upload-time = "2025-08-12T20:37:18.488Z" },
+ { url = "https://files.pythonhosted.org/packages/76/d9/bd2249815c305ef8f879b326db1fe1effc8e5f22bd88e522b4b55231aa6f/pywinpty-3.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:1e0c4b01e5b03b1531d7c5d0e044b8c66dd0288c6d2b661820849f2a8d91aec3", size = 2051564, upload-time = "2025-08-12T20:37:09.128Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/77/358b1a97c1d0714f288949372ec64a70884a7eceb3f887042b9ae0bea388/pywinpty-3.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:828cbe756b7e3d25d886fbd5691a1d523cd59c5fb79286bb32bb75c5221e7ba1", size = 2050856, upload-time = "2025-08-12T20:36:09.117Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/6c/4249cfb4eb4fdad2c76bc96db0642a40111847c375b92e5b9f4bf289ddd6/pywinpty-3.0.0-cp313-cp313t-win_amd64.whl", hash = "sha256:de0cbe27b96e5a2cebd86c4a6b8b4139f978d9c169d44a8edc7e30e88e5d7a69", size = 2050082, upload-time = "2025-08-12T20:36:28.591Z" },
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/a0/39350dd17dd6d6c6507025c0e53aef67a9293a6d37d3511f23ea510d5800/pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b", size = 184227, upload-time = "2025-09-25T21:31:46.04Z" },
+ { url = "https://files.pythonhosted.org/packages/05/14/52d505b5c59ce73244f59c7a50ecf47093ce4765f116cdb98286a71eeca2/pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956", size = 174019, upload-time = "2025-09-25T21:31:47.706Z" },
+ { url = "https://files.pythonhosted.org/packages/43/f7/0e6a5ae5599c838c696adb4e6330a59f463265bfa1e116cfd1fbb0abaaae/pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8", size = 740646, upload-time = "2025-09-25T21:31:49.21Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/3a/61b9db1d28f00f8fd0ae760459a5c4bf1b941baf714e207b6eb0657d2578/pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198", size = 840793, upload-time = "2025-09-25T21:31:50.735Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/1e/7acc4f0e74c4b3d9531e24739e0ab832a5edf40e64fbae1a9c01941cabd7/pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b", size = 770293, upload-time = "2025-09-25T21:31:51.828Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/ef/abd085f06853af0cd59fa5f913d61a8eab65d7639ff2a658d18a25d6a89d/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0", size = 732872, upload-time = "2025-09-25T21:31:53.282Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/15/2bc9c8faf6450a8b3c9fc5448ed869c599c0a74ba2669772b1f3a0040180/pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69", size = 758828, upload-time = "2025-09-25T21:31:54.807Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/00/531e92e88c00f4333ce359e50c19b8d1de9fe8d581b1534e35ccfbc5f393/pyyaml-6.0.3-cp310-cp310-win32.whl", hash = "sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e", size = 142415, upload-time = "2025-09-25T21:31:55.885Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/fa/926c003379b19fca39dd4634818b00dec6c62d87faf628d1394e137354d4/pyyaml-6.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c", size = 158561, upload-time = "2025-09-25T21:31:57.406Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826, upload-time = "2025-09-25T21:31:58.655Z" },
+ { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577, upload-time = "2025-09-25T21:32:00.088Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556, upload-time = "2025-09-25T21:32:01.31Z" },
+ { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114, upload-time = "2025-09-25T21:32:03.376Z" },
+ { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638, upload-time = "2025-09-25T21:32:04.553Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463, upload-time = "2025-09-25T21:32:06.152Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986, upload-time = "2025-09-25T21:32:07.367Z" },
+ { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543, upload-time = "2025-09-25T21:32:08.95Z" },
+ { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763, upload-time = "2025-09-25T21:32:09.96Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" },
+ { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" },
+ { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" },
+ { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" },
+ { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" },
+ { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" },
+ { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814, upload-time = "2025-09-25T21:32:35.712Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809, upload-time = "2025-09-25T21:32:36.789Z" },
+ { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454, upload-time = "2025-09-25T21:32:37.966Z" },
+ { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355, upload-time = "2025-09-25T21:32:39.178Z" },
+ { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175, upload-time = "2025-09-25T21:32:40.865Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228, upload-time = "2025-09-25T21:32:42.084Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194, upload-time = "2025-09-25T21:32:43.362Z" },
+ { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429, upload-time = "2025-09-25T21:32:57.844Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912, upload-time = "2025-09-25T21:32:59.247Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108, upload-time = "2025-09-25T21:32:44.377Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641, upload-time = "2025-09-25T21:32:45.407Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901, upload-time = "2025-09-25T21:32:48.83Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132, upload-time = "2025-09-25T21:32:50.149Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261, upload-time = "2025-09-25T21:32:51.808Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272, upload-time = "2025-09-25T21:32:52.941Z" },
+ { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923, upload-time = "2025-09-25T21:32:54.537Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062, upload-time = "2025-09-25T21:32:55.767Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341, upload-time = "2025-09-25T21:32:56.828Z" },
+]
+
+[[package]]
+name = "pyzmq"
+version = "27.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cffi", marker = "implementation_name == 'pypy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/04/0b/3c9baedbdf613ecaa7aa07027780b8867f57b6293b6ee50de316c9f3222b/pyzmq-27.1.0.tar.gz", hash = "sha256:ac0765e3d44455adb6ddbf4417dcce460fc40a05978c08efdf2948072f6db540", size = 281750, upload-time = "2025-09-08T23:10:18.157Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/67/b9/52aa9ec2867528b54f1e60846728d8b4d84726630874fee3a91e66c7df81/pyzmq-27.1.0-cp310-cp310-macosx_10_15_universal2.whl", hash = "sha256:508e23ec9bc44c0005c4946ea013d9317ae00ac67778bd47519fdf5a0e930ff4", size = 1329850, upload-time = "2025-09-08T23:07:26.274Z" },
+ { url = "https://files.pythonhosted.org/packages/99/64/5653e7b7425b169f994835a2b2abf9486264401fdef18df91ddae47ce2cc/pyzmq-27.1.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:507b6f430bdcf0ee48c0d30e734ea89ce5567fd7b8a0f0044a369c176aa44556", size = 906380, upload-time = "2025-09-08T23:07:29.78Z" },
+ { url = "https://files.pythonhosted.org/packages/73/78/7d713284dbe022f6440e391bd1f3c48d9185673878034cfb3939cdf333b2/pyzmq-27.1.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bf7b38f9fd7b81cb6d9391b2946382c8237fd814075c6aa9c3b746d53076023b", size = 666421, upload-time = "2025-09-08T23:07:31.263Z" },
+ { url = "https://files.pythonhosted.org/packages/30/76/8f099f9d6482450428b17c4d6b241281af7ce6a9de8149ca8c1c649f6792/pyzmq-27.1.0-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:03ff0b279b40d687691a6217c12242ee71f0fba28bf8626ff50e3ef0f4410e1e", size = 854149, upload-time = "2025-09-08T23:07:33.17Z" },
+ { url = "https://files.pythonhosted.org/packages/59/f0/37fbfff06c68016019043897e4c969ceab18bde46cd2aca89821fcf4fb2e/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:677e744fee605753eac48198b15a2124016c009a11056f93807000ab11ce6526", size = 1655070, upload-time = "2025-09-08T23:07:35.205Z" },
+ { url = "https://files.pythonhosted.org/packages/47/14/7254be73f7a8edc3587609554fcaa7bfd30649bf89cd260e4487ca70fdaa/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:dd2fec2b13137416a1c5648b7009499bcc8fea78154cd888855fa32514f3dad1", size = 2033441, upload-time = "2025-09-08T23:07:37.432Z" },
+ { url = "https://files.pythonhosted.org/packages/22/dc/49f2be26c6f86f347e796a4d99b19167fc94503f0af3fd010ad262158822/pyzmq-27.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:08e90bb4b57603b84eab1d0ca05b3bbb10f60c1839dc471fc1c9e1507bef3386", size = 1891529, upload-time = "2025-09-08T23:07:39.047Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/3e/154fb963ae25be70c0064ce97776c937ecc7d8b0259f22858154a9999769/pyzmq-27.1.0-cp310-cp310-win32.whl", hash = "sha256:a5b42d7a0658b515319148875fcb782bbf118dd41c671b62dae33666c2213bda", size = 567276, upload-time = "2025-09-08T23:07:40.695Z" },
+ { url = "https://files.pythonhosted.org/packages/62/b2/f4ab56c8c595abcb26b2be5fd9fa9e6899c1e5ad54964e93ae8bb35482be/pyzmq-27.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:c0bb87227430ee3aefcc0ade2088100e528d5d3298a0a715a64f3d04c60ba02f", size = 632208, upload-time = "2025-09-08T23:07:42.298Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/e3/be2cc7ab8332bdac0522fdb64c17b1b6241a795bee02e0196636ec5beb79/pyzmq-27.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:9a916f76c2ab8d045b19f2286851a38e9ac94ea91faf65bd64735924522a8b32", size = 559766, upload-time = "2025-09-08T23:07:43.869Z" },
+ { url = "https://files.pythonhosted.org/packages/06/5d/305323ba86b284e6fcb0d842d6adaa2999035f70f8c38a9b6d21ad28c3d4/pyzmq-27.1.0-cp311-cp311-macosx_10_15_universal2.whl", hash = "sha256:226b091818d461a3bef763805e75685e478ac17e9008f49fce2d3e52b3d58b86", size = 1333328, upload-time = "2025-09-08T23:07:45.946Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/a0/fc7e78a23748ad5443ac3275943457e8452da67fda347e05260261108cbc/pyzmq-27.1.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0790a0161c281ca9723f804871b4027f2e8b5a528d357c8952d08cd1a9c15581", size = 908803, upload-time = "2025-09-08T23:07:47.551Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/22/37d15eb05f3bdfa4abea6f6d96eb3bb58585fbd3e4e0ded4e743bc650c97/pyzmq-27.1.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c895a6f35476b0c3a54e3eb6ccf41bf3018de937016e6e18748317f25d4e925f", size = 668836, upload-time = "2025-09-08T23:07:49.436Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/c4/2a6fe5111a01005fc7af3878259ce17684fabb8852815eda6225620f3c59/pyzmq-27.1.0-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5bbf8d3630bf96550b3be8e1fc0fea5cbdc8d5466c1192887bd94869da17a63e", size = 857038, upload-time = "2025-09-08T23:07:51.234Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/eb/bfdcb41d0db9cd233d6fb22dc131583774135505ada800ebf14dfb0a7c40/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:15c8bd0fe0dabf808e2d7a681398c4e5ded70a551ab47482067a572c054c8e2e", size = 1657531, upload-time = "2025-09-08T23:07:52.795Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/21/e3180ca269ed4a0de5c34417dfe71a8ae80421198be83ee619a8a485b0c7/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:bafcb3dd171b4ae9f19ee6380dfc71ce0390fefaf26b504c0e5f628d7c8c54f2", size = 2034786, upload-time = "2025-09-08T23:07:55.047Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/b1/5e21d0b517434b7f33588ff76c177c5a167858cc38ef740608898cd329f2/pyzmq-27.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:e829529fcaa09937189178115c49c504e69289abd39967cd8a4c215761373394", size = 1894220, upload-time = "2025-09-08T23:07:57.172Z" },
+ { url = "https://files.pythonhosted.org/packages/03/f2/44913a6ff6941905efc24a1acf3d3cb6146b636c546c7406c38c49c403d4/pyzmq-27.1.0-cp311-cp311-win32.whl", hash = "sha256:6df079c47d5902af6db298ec92151db82ecb557af663098b92f2508c398bb54f", size = 567155, upload-time = "2025-09-08T23:07:59.05Z" },
+ { url = "https://files.pythonhosted.org/packages/23/6d/d8d92a0eb270a925c9b4dd039c0b4dc10abc2fcbc48331788824ef113935/pyzmq-27.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:190cbf120fbc0fc4957b56866830def56628934a9d112aec0e2507aa6a032b97", size = 633428, upload-time = "2025-09-08T23:08:00.663Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/14/01afebc96c5abbbd713ecfc7469cfb1bc801c819a74ed5c9fad9a48801cb/pyzmq-27.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:eca6b47df11a132d1745eb3b5b5e557a7dae2c303277aa0e69c6ba91b8736e07", size = 559497, upload-time = "2025-09-08T23:08:02.15Z" },
+ { url = "https://files.pythonhosted.org/packages/92/e7/038aab64a946d535901103da16b953c8c9cc9c961dadcbf3609ed6428d23/pyzmq-27.1.0-cp312-abi3-macosx_10_15_universal2.whl", hash = "sha256:452631b640340c928fa343801b0d07eb0c3789a5ffa843f6e1a9cee0ba4eb4fc", size = 1306279, upload-time = "2025-09-08T23:08:03.807Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/5e/c3c49fdd0f535ef45eefcc16934648e9e59dace4a37ee88fc53f6cd8e641/pyzmq-27.1.0-cp312-abi3-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1c179799b118e554b66da67d88ed66cd37a169f1f23b5d9f0a231b4e8d44a113", size = 895645, upload-time = "2025-09-08T23:08:05.301Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/e5/b0b2504cb4e903a74dcf1ebae157f9e20ebb6ea76095f6cfffea28c42ecd/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3837439b7f99e60312f0c926a6ad437b067356dc2bc2ec96eb395fd0fe804233", size = 652574, upload-time = "2025-09-08T23:08:06.828Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/9b/c108cdb55560eaf253f0cbdb61b29971e9fb34d9c3499b0e96e4e60ed8a5/pyzmq-27.1.0-cp312-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:43ad9a73e3da1fab5b0e7e13402f0b2fb934ae1c876c51d0afff0e7c052eca31", size = 840995, upload-time = "2025-09-08T23:08:08.396Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/bb/b79798ca177b9eb0825b4c9998c6af8cd2a7f15a6a1a4272c1d1a21d382f/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:0de3028d69d4cdc475bfe47a6128eb38d8bc0e8f4d69646adfbcd840facbac28", size = 1642070, upload-time = "2025-09-08T23:08:09.989Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/80/2df2e7977c4ede24c79ae39dcef3899bfc5f34d1ca7a5b24f182c9b7a9ca/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_i686.whl", hash = "sha256:cf44a7763aea9298c0aa7dbf859f87ed7012de8bda0f3977b6fb1d96745df856", size = 2021121, upload-time = "2025-09-08T23:08:11.907Z" },
+ { url = "https://files.pythonhosted.org/packages/46/bd/2d45ad24f5f5ae7e8d01525eb76786fa7557136555cac7d929880519e33a/pyzmq-27.1.0-cp312-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:f30f395a9e6fbca195400ce833c731e7b64c3919aa481af4d88c3759e0cb7496", size = 1878550, upload-time = "2025-09-08T23:08:13.513Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/2f/104c0a3c778d7c2ab8190e9db4f62f0b6957b53c9d87db77c284b69f33ea/pyzmq-27.1.0-cp312-abi3-win32.whl", hash = "sha256:250e5436a4ba13885494412b3da5d518cd0d3a278a1ae640e113c073a5f88edd", size = 559184, upload-time = "2025-09-08T23:08:15.163Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/7f/a21b20d577e4100c6a41795842028235998a643b1ad406a6d4163ea8f53e/pyzmq-27.1.0-cp312-abi3-win_amd64.whl", hash = "sha256:9ce490cf1d2ca2ad84733aa1d69ce6855372cb5ce9223802450c9b2a7cba0ccf", size = 619480, upload-time = "2025-09-08T23:08:17.192Z" },
+ { url = "https://files.pythonhosted.org/packages/78/c2/c012beae5f76b72f007a9e91ee9401cb88c51d0f83c6257a03e785c81cc2/pyzmq-27.1.0-cp312-abi3-win_arm64.whl", hash = "sha256:75a2f36223f0d535a0c919e23615fc85a1e23b71f40c7eb43d7b1dedb4d8f15f", size = 552993, upload-time = "2025-09-08T23:08:18.926Z" },
+ { url = "https://files.pythonhosted.org/packages/60/cb/84a13459c51da6cec1b7b1dc1a47e6db6da50b77ad7fd9c145842750a011/pyzmq-27.1.0-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:93ad4b0855a664229559e45c8d23797ceac03183c7b6f5b4428152a6b06684a5", size = 1122436, upload-time = "2025-09-08T23:08:20.801Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/b6/94414759a69a26c3dd674570a81813c46a078767d931a6c70ad29fc585cb/pyzmq-27.1.0-cp313-cp313-android_24_x86_64.whl", hash = "sha256:fbb4f2400bfda24f12f009cba62ad5734148569ff4949b1b6ec3b519444342e6", size = 1156301, upload-time = "2025-09-08T23:08:22.47Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/ad/15906493fd40c316377fd8a8f6b1f93104f97a752667763c9b9c1b71d42d/pyzmq-27.1.0-cp313-cp313t-macosx_10_15_universal2.whl", hash = "sha256:e343d067f7b151cfe4eb3bb796a7752c9d369eed007b91231e817071d2c2fec7", size = 1341197, upload-time = "2025-09-08T23:08:24.286Z" },
+ { url = "https://files.pythonhosted.org/packages/14/1d/d343f3ce13db53a54cb8946594e567410b2125394dafcc0268d8dda027e0/pyzmq-27.1.0-cp313-cp313t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:08363b2011dec81c354d694bdecaef4770e0ae96b9afea70b3f47b973655cc05", size = 897275, upload-time = "2025-09-08T23:08:26.063Z" },
+ { url = "https://files.pythonhosted.org/packages/69/2d/d83dd6d7ca929a2fc67d2c3005415cdf322af7751d773524809f9e585129/pyzmq-27.1.0-cp313-cp313t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d54530c8c8b5b8ddb3318f481297441af102517602b569146185fa10b63f4fa9", size = 660469, upload-time = "2025-09-08T23:08:27.623Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/cd/9822a7af117f4bc0f1952dbe9ef8358eb50a24928efd5edf54210b850259/pyzmq-27.1.0-cp313-cp313t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f3afa12c392f0a44a2414056d730eebc33ec0926aae92b5ad5cf26ebb6cc128", size = 847961, upload-time = "2025-09-08T23:08:29.672Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/12/f003e824a19ed73be15542f172fd0ec4ad0b60cf37436652c93b9df7c585/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c65047adafe573ff023b3187bb93faa583151627bc9c51fc4fb2c561ed689d39", size = 1650282, upload-time = "2025-09-08T23:08:31.349Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/4a/e82d788ed58e9a23995cee70dbc20c9aded3d13a92d30d57ec2291f1e8a3/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:90e6e9441c946a8b0a667356f7078d96411391a3b8f80980315455574177ec97", size = 2024468, upload-time = "2025-09-08T23:08:33.543Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/94/2da0a60841f757481e402b34bf4c8bf57fa54a5466b965de791b1e6f747d/pyzmq-27.1.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:add071b2d25f84e8189aaf0882d39a285b42fa3853016ebab234a5e78c7a43db", size = 1885394, upload-time = "2025-09-08T23:08:35.51Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/6f/55c10e2e49ad52d080dc24e37adb215e5b0d64990b57598abc2e3f01725b/pyzmq-27.1.0-cp313-cp313t-win32.whl", hash = "sha256:7ccc0700cfdf7bd487bea8d850ec38f204478681ea02a582a8da8171b7f90a1c", size = 574964, upload-time = "2025-09-08T23:08:37.178Z" },
+ { url = "https://files.pythonhosted.org/packages/87/4d/2534970ba63dd7c522d8ca80fb92777f362c0f321900667c615e2067cb29/pyzmq-27.1.0-cp313-cp313t-win_amd64.whl", hash = "sha256:8085a9fba668216b9b4323be338ee5437a235fe275b9d1610e422ccc279733e2", size = 641029, upload-time = "2025-09-08T23:08:40.595Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/fa/f8aea7a28b0641f31d40dea42d7ef003fded31e184ef47db696bc74cd610/pyzmq-27.1.0-cp313-cp313t-win_arm64.whl", hash = "sha256:6bb54ca21bcfe361e445256c15eedf083f153811c37be87e0514934d6913061e", size = 561541, upload-time = "2025-09-08T23:08:42.668Z" },
+ { url = "https://files.pythonhosted.org/packages/87/45/19efbb3000956e82d0331bafca5d9ac19ea2857722fa2caacefb6042f39d/pyzmq-27.1.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:ce980af330231615756acd5154f29813d553ea555485ae712c491cd483df6b7a", size = 1341197, upload-time = "2025-09-08T23:08:44.973Z" },
+ { url = "https://files.pythonhosted.org/packages/48/43/d72ccdbf0d73d1343936296665826350cb1e825f92f2db9db3e61c2162a2/pyzmq-27.1.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:1779be8c549e54a1c38f805e56d2a2e5c009d26de10921d7d51cfd1c8d4632ea", size = 897175, upload-time = "2025-09-08T23:08:46.601Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/2e/a483f73a10b65a9ef0161e817321d39a770b2acf8bcf3004a28d90d14a94/pyzmq-27.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7200bb0f03345515df50d99d3db206a0a6bee1955fbb8c453c76f5bf0e08fb96", size = 660427, upload-time = "2025-09-08T23:08:48.187Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/d2/5f36552c2d3e5685abe60dfa56f91169f7a2d99bbaf67c5271022ab40863/pyzmq-27.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01c0e07d558b06a60773744ea6251f769cd79a41a97d11b8bf4ab8f034b0424d", size = 847929, upload-time = "2025-09-08T23:08:49.76Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/2a/404b331f2b7bf3198e9945f75c4c521f0c6a3a23b51f7a4a401b94a13833/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:80d834abee71f65253c91540445d37c4c561e293ba6e741b992f20a105d69146", size = 1650193, upload-time = "2025-09-08T23:08:51.7Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/0b/f4107e33f62a5acf60e3ded67ed33d79b4ce18de432625ce2fc5093d6388/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:544b4e3b7198dde4a62b8ff6685e9802a9a1ebf47e77478a5eb88eca2a82f2fd", size = 2024388, upload-time = "2025-09-08T23:08:53.393Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/01/add31fe76512642fd6e40e3a3bd21f4b47e242c8ba33efb6809e37076d9b/pyzmq-27.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:cedc4c68178e59a4046f97eca31b148ddcf51e88677de1ef4e78cf06c5376c9a", size = 1885316, upload-time = "2025-09-08T23:08:55.702Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/59/a5f38970f9bf07cee96128de79590bb354917914a9be11272cfc7ff26af0/pyzmq-27.1.0-cp314-cp314t-win32.whl", hash = "sha256:1f0b2a577fd770aa6f053211a55d1c47901f4d537389a034c690291485e5fe92", size = 587472, upload-time = "2025-09-08T23:08:58.18Z" },
+ { url = "https://files.pythonhosted.org/packages/70/d8/78b1bad170f93fcf5e3536e70e8fadac55030002275c9a29e8f5719185de/pyzmq-27.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:19c9468ae0437f8074af379e986c5d3d7d7bfe033506af442e8c879732bedbe0", size = 661401, upload-time = "2025-09-08T23:08:59.802Z" },
+ { url = "https://files.pythonhosted.org/packages/81/d6/4bfbb40c9a0b42fc53c7cf442f6385db70b40f74a783130c5d0a5aa62228/pyzmq-27.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dc5dbf68a7857b59473f7df42650c621d7e8923fb03fa74a526890f4d33cc4d7", size = 575170, upload-time = "2025-09-08T23:09:01.418Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/81/a65e71c1552f74dec9dff91d95bafb6e0d33338a8dfefbc88aa562a20c92/pyzmq-27.1.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c17e03cbc9312bee223864f1a2b13a99522e0dc9f7c5df0177cd45210ac286e6", size = 836266, upload-time = "2025-09-08T23:09:40.048Z" },
+ { url = "https://files.pythonhosted.org/packages/58/ed/0202ca350f4f2b69faa95c6d931e3c05c3a397c184cacb84cb4f8f42f287/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:f328d01128373cb6763823b2b4e7f73bdf767834268c565151eacb3b7a392f90", size = 800206, upload-time = "2025-09-08T23:09:41.902Z" },
+ { url = "https://files.pythonhosted.org/packages/47/42/1ff831fa87fe8f0a840ddb399054ca0009605d820e2b44ea43114f5459f4/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c1790386614232e1b3a40a958454bdd42c6d1811837b15ddbb052a032a43f62", size = 567747, upload-time = "2025-09-08T23:09:43.741Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/db/5c4d6807434751e3f21231bee98109aa57b9b9b55e058e450d0aef59b70f/pyzmq-27.1.0-pp310-pypy310_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:448f9cb54eb0cee4732b46584f2710c8bc178b0e5371d9e4fc8125201e413a74", size = 747371, upload-time = "2025-09-08T23:09:45.575Z" },
+ { url = "https://files.pythonhosted.org/packages/26/af/78ce193dbf03567eb8c0dc30e3df2b9e56f12a670bf7eb20f9fb532c7e8a/pyzmq-27.1.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:05b12f2d32112bf8c95ef2e74ec4f1d4beb01f8b5e703b38537f8849f92cb9ba", size = 544862, upload-time = "2025-09-08T23:09:47.448Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/c6/c4dcdecdbaa70969ee1fdced6d7b8f60cfabe64d25361f27ac4665a70620/pyzmq-27.1.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:18770c8d3563715387139060d37859c02ce40718d1faf299abddcdcc6a649066", size = 836265, upload-time = "2025-09-08T23:09:49.376Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/79/f38c92eeaeb03a2ccc2ba9866f0439593bb08c5e3b714ac1d553e5c96e25/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:ac25465d42f92e990f8d8b0546b01c391ad431c3bf447683fdc40565941d0604", size = 800208, upload-time = "2025-09-08T23:09:51.073Z" },
+ { url = "https://files.pythonhosted.org/packages/49/0e/3f0d0d335c6b3abb9b7b723776d0b21fa7f3a6c819a0db6097059aada160/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53b40f8ae006f2734ee7608d59ed661419f087521edbfc2149c3932e9c14808c", size = 567747, upload-time = "2025-09-08T23:09:52.698Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/cf/f2b3784d536250ffd4be70e049f3b60981235d70c6e8ce7e3ef21e1adb25/pyzmq-27.1.0-pp311-pypy311_pp73-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f605d884e7c8be8fe1aa94e0a783bf3f591b84c24e4bc4f3e7564c82ac25e271", size = 747371, upload-time = "2025-09-08T23:09:54.563Z" },
+ { url = "https://files.pythonhosted.org/packages/01/1b/5dbe84eefc86f48473947e2f41711aded97eecef1231f4558f1f02713c12/pyzmq-27.1.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c9f7f6e13dff2e44a6afeaf2cf54cee5929ad64afaf4d40b50f93c58fc687355", size = 544862, upload-time = "2025-09-08T23:09:56.509Z" },
+]
+
+[[package]]
+name = "referencing"
+version = "0.36.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "rpds-py" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2f/db/98b5c277be99dd18bfd91dd04e1b759cad18d1a338188c936e92f921c7e2/referencing-0.36.2.tar.gz", hash = "sha256:df2e89862cd09deabbdba16944cc3f10feb6b3e6f18e902f7cc25609a34775aa", size = 74744, upload-time = "2025-01-25T08:48:16.138Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/b1/3baf80dc6d2b7bc27a95a67752d0208e410351e3feb4eb78de5f77454d8d/referencing-0.36.2-py3-none-any.whl", hash = "sha256:e8699adbbf8b5c7de96d8ffa0eb5c158b3beafce084968e2ea8bb08c6794dcd0", size = 26775, upload-time = "2025-01-25T08:48:14.241Z" },
+]
+
+[[package]]
+name = "regex"
+version = "2026.5.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/dc/0e/49aee608ad09480e7fd276898c99ec6192985fa331abe4eb3a986094490b/regex-2026.5.9.tar.gz", hash = "sha256:a8234aa23ec39894bfe4a3f1b85616a7032481964a13ac6fc9f10de4f6fca270", size = 416074, upload-time = "2026-05-09T23:15:19.37Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fe/ed/0ad2c8edf634918eb4484365d3819fa7bd7f58daf807fe7fb21812c316e5/regex-2026.5.9-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:a9e1328e17c84c1a5d22ec9f785ecef4a967fab9a42b6a8dc3bcbebd0a0c9e44", size = 489438, upload-time = "2026-05-09T23:11:29.374Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a9/4ed972ad263963b860b7c3e86e0e1bcc791def47b43b8c8efe57e710f139/regex-2026.5.9-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bfe1ce50cbfb569d74e1e4337da6468961f31dbea55fd85aa5de59c0947a805a", size = 291270, upload-time = "2026-05-09T23:11:33.254Z" },
+ { url = "https://files.pythonhosted.org/packages/16/81/075930d9fa28c4ea1f53398dd015ee7c882f623539759113cda1257f4b82/regex-2026.5.9-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:15ee42209947f4ca045412eae98416317238163618ace2a8e54f99586a466733", size = 289198, upload-time = "2026-05-09T23:11:35.769Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/c8/5cdfbf0b5dc6599e1b6131eff43262e5275d4ec3469ce10216061659aadb/regex-2026.5.9-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b4bb445ff3f725f59df8f6014edb547ee928ec7023a774f6a39a3f953038cbb2", size = 784765, upload-time = "2026-05-09T23:11:37.689Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/ca/ae5fd6edc59b7f84b904b31d6ec39a860cbcecd10f64bd5a062ca83a4864/regex-2026.5.9-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:446ddd671e43ab535810c4b21cff7104945c701d4a14d1e6d1cd6f4e445a8bea", size = 852115, upload-time = "2026-05-09T23:11:39.973Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/ce/a91cf555afb51f3b74a182e24ba073b91ea7bb64592fc4b315c111bb19fd/regex-2026.5.9-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b92817338591505f282cf3864c145244b1edcf5381d237038df955001091538", size = 899503, upload-time = "2026-05-09T23:11:42.48Z" },
+ { url = "https://files.pythonhosted.org/packages/55/7f/725a0a2b245a4cf0c4bab29d0e97c74285d94136a65d1b55a6459a583502/regex-2026.5.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6b8a143aca6c39b446ea8092cde25cc8fe9304d4f5fecfbc1a9dbb0282703c2", size = 794093, upload-time = "2026-05-09T23:11:44.681Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/2a/996efbd59ce6b5d4a09e3af6180ceb62af171f4a9a6fb557d2f0ae0d462b/regex-2026.5.9-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0f03aa6898aaaac4592479821df16e68e8d0e29e903e65d8f2dfb2f19028a989", size = 786234, upload-time = "2026-05-09T23:11:46.882Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/0a/8731e8b8806174c9cdd5903f80a14990331c1f42fc4209b540952e9e010d/regex-2026.5.9-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:ed457d8e98ae812ed7732bef7bf78de78e834eae0372a74e23ca90ef21d910f9", size = 769895, upload-time = "2026-05-09T23:11:49.324Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/0b/932473194bd563f342a412ae2ffbbd6da608306a2bc4e99249a41c2b0b92/regex-2026.5.9-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:71b61c5bfe1c806332defc42ad6c780b3c55f661986d7f40283a3a88274b4c00", size = 774991, upload-time = "2026-05-09T23:11:51.261Z" },
+ { url = "https://files.pythonhosted.org/packages/98/80/9523d196010031df25f7177ee0a467efbee436324038e5d99def17a57515/regex-2026.5.9-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:3b1e39888c5e0c7d92cea4fc777396c4a90363b05de75d02eb459a4752200808", size = 848790, upload-time = "2026-05-09T23:11:53.232Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/07/56987b35e89edf47e4a38cf2845aeee476bfa688a6bdbd3e820cda461dc1/regex-2026.5.9-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:6ba42b2e7e7f46cf68cc6a5ca36fa07959f9bbd9c6bdcc47b6ee76549a590248", size = 757679, upload-time = "2026-05-09T23:11:55.82Z" },
+ { url = "https://files.pythonhosted.org/packages/04/2a/ff713fff0c566507c06a4ce2dc0ae8e7eeebc88811a95fc81cf1e7d534dd/regex-2026.5.9-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:c010eb8caca74bdb40c07498d7ece26b4428fd3f04aa8a72c9ac6f79e8faaac6", size = 837116, upload-time = "2026-05-09T23:11:57.934Z" },
+ { url = "https://files.pythonhosted.org/packages/77/90/df6d982b03e3614785c6937ba51b57f6733d97d2ee1c9bc7531dbfab3a54/regex-2026.5.9-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a6a563446a41adc451393dc6b8e6ad87979efaee3c8738690a8d1b08ebead1b4", size = 782081, upload-time = "2026-05-09T23:11:59.607Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/8a/4e88a5f7c3e98489aac4dd23142723d907b2a595b4a6abcbacabefeded09/regex-2026.5.9-cp310-cp310-win32.whl", hash = "sha256:954cc214c04663ee6d266fc61739cad83054683048de65c5bd1d640ad28098ac", size = 266247, upload-time = "2026-05-09T23:12:01.116Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/40/4b224cb0582b2dca1786726e6cdabe26abbf757d7f6718332f186da155d2/regex-2026.5.9-cp310-cp310-win_amd64.whl", hash = "sha256:b310768746dd314ea6e2ff4cc89ef215426813396ff4e94ee8e6f7096c8b6e03", size = 278416, upload-time = "2026-05-09T23:12:03.2Z" },
+ { url = "https://files.pythonhosted.org/packages/12/4d/014fbe803204cab0947ee428f09f658a29632053dde1d3c6176bb4f0fd4c/regex-2026.5.9-cp310-cp310-win_arm64.whl", hash = "sha256:19c16ceb4a267a8789e25733e583983eeab9f0f8664e66b0bd1c5d21f14c2d4b", size = 270413, upload-time = "2026-05-09T23:12:04.649Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/dc/c1f2df4027e82fc54b5a473e4b250f5139faca49a0fbe29a48668d228f34/regex-2026.5.9-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ccf5249114cc3e772ecdd88a98a86eca0fd74c61ce32a94743758c083fc05d48", size = 489445, upload-time = "2026-05-09T23:12:06.111Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d2/59f01110660081cce9c0bc30ebd0b5ee250dacf658e3248ed92f01e0e8ee/regex-2026.5.9-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:46f1326ca6e65b0879d23ca302c0f2415aad42ff0309b9c818e7949fe19a41d8", size = 291271, upload-time = "2026-05-09T23:12:07.731Z" },
+ { url = "https://files.pythonhosted.org/packages/58/b6/14b2c84ff90ddb370c81d27503f4a0fcf071496416f4855f6cc8c5d81c35/regex-2026.5.9-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:ef31cbfe458e21c6122ba8150ff060e0c7789ed0d26eb423f25472584920b555", size = 289212, upload-time = "2026-05-09T23:12:09.266Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d0/4db86529117320de0c84afd90e70bb47434625875e34fcef9d8c127c5b16/regex-2026.5.9-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:992604d02e6d9c6d786c24a706a71ecffe1020fc1ef264044474cd81fa2c3919", size = 792310, upload-time = "2026-05-09T23:12:11.416Z" },
+ { url = "https://files.pythonhosted.org/packages/07/78/fe4800cd322f862ecffd2d553409b20d80650e5ed71b9d178f853d020b82/regex-2026.5.9-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c9411dd64ca95477225734a93dfc8583b51916b8d5942f99d6cac21e09965451", size = 861721, upload-time = "2026-05-09T23:12:13.681Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/d0/b3618a895dd8feb897c61bb2954edd265e1767d82a01d53065d5871127a3/regex-2026.5.9-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3dd4a3ff360dfb836fecdb93a4598f9d6e2ac81e3e397125145c6221bf58cf4c", size = 906460, upload-time = "2026-05-09T23:12:15.443Z" },
+ { url = "https://files.pythonhosted.org/packages/33/6f/1481597e859ef19508b345eec4afd1416ed6e6b459c75a64026ef193aecf/regex-2026.5.9-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2a661a7d270a61f7cf460caee8b9fa2d5ef9e5c681234bcb9e0fe14f488e7dfc", size = 799843, upload-time = "2026-05-09T23:12:16.892Z" },
+ { url = "https://files.pythonhosted.org/packages/73/59/955734c803f59108deccba3597ae440c76b62a652733c0006e6243758420/regex-2026.5.9-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f079e50a0d3cc3cd5091fa9ff45869a2e6b2cd35895731edafb0327901a8d86d", size = 773610, upload-time = "2026-05-09T23:12:19.127Z" },
+ { url = "https://files.pythonhosted.org/packages/68/8f/70c04a236d651c81881dac42ef8538bddda6121434509d0a22d9e601503b/regex-2026.5.9-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:4ebe8f0b5ec5a5024dc4a4c59f444c4e9afc5f2abdbb8962065b75d27fb971f9", size = 781645, upload-time = "2026-05-09T23:12:20.806Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/96/05c7434d88185e5d27fe54aeb74df86bd77cd79f52f0b4eae54faa8fea70/regex-2026.5.9-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:97cf3bc1b7d7d2306772ec07366c80d9df00ff79e79cea32898883a646d2fae2", size = 854473, upload-time = "2026-05-09T23:12:22.465Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/c1/6e3d8202d981f3117004bf341ee74893ba4ba8a9fbaf4b94615846550a08/regex-2026.5.9-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:0f9eede6a5cbdc02d4978090186390936e1776a7d1359b21e41014c609880bcf", size = 763311, upload-time = "2026-05-09T23:12:24.351Z" },
+ { url = "https://files.pythonhosted.org/packages/93/c7/e7737f1526b3fb32bd4c337fd6c71c3ebb5c8296fc34d11197e0955d2e35/regex-2026.5.9-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:01f0f5f55f4b64dacec85dc116d3c05fd23ad3ff037bbc73a2085775953c2611", size = 844593, upload-time = "2026-05-09T23:12:26.341Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/27/0daffb1a535bb39f422c3d200f4ab023c71110ad66a32b366bee708baba0/regex-2026.5.9-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1268eddd8486dc561d08eee1156e40aa3a8fe10f4bdec8fa653b455fcbffd12c", size = 789167, upload-time = "2026-05-09T23:12:27.975Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/fc/294fe4fac4f2ed67207b17471815870c1c45b3a489e08e0ac96daea16ef6/regex-2026.5.9-cp311-cp311-win32.whl", hash = "sha256:8676474c07469d6f33dd1085ca2cd45f65785f32518f2b20e36d9953ca07f994", size = 266249, upload-time = "2026-05-09T23:12:30.141Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/b0/8dce459f6245bcf8f6e9f23ac9569f1a0f15c131cc0745e82b43226204cf/regex-2026.5.9-cp311-cp311-win_amd64.whl", hash = "sha256:246de9d60aa3f8538b519834dd95cbf276ea263d6a7bd5a3666dc3fa0230505b", size = 278423, upload-time = "2026-05-09T23:12:31.676Z" },
+ { url = "https://files.pythonhosted.org/packages/db/8d/f9aeff6ad63a3ef720386f2907e6d34a35a510a6e498ebad28b0fb3f6ab6/regex-2026.5.9-cp311-cp311-win_arm64.whl", hash = "sha256:d726ca3f0d76969bf1e8e477d160d3d666bbf999f6860bd314889e5345782046", size = 270420, upload-time = "2026-05-09T23:12:33.194Z" },
+ { url = "https://files.pythonhosted.org/packages/50/9b/6550044bc44e17c84d312c031c2ec42fbdb6a4ec4e29093be3a172d08772/regex-2026.5.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:57eeeb05db7979413dec5438f2db21d7ecbba787cde7a711df1a6f6df672aa06", size = 490451, upload-time = "2026-05-09T23:12:34.72Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/95/fc7ba4303b5a0f92446a12ee6778ef2c6c799233f5060042a31bf390cfe9/regex-2026.5.9-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:398c521292f4c7fb807001dcd54694d3a1fcafc179a36ad9cc56f98df85930b6", size = 292112, upload-time = "2026-05-09T23:12:36.285Z" },
+ { url = "https://files.pythonhosted.org/packages/54/4b/ee27938d1b2c443e89a9a10e00d2d19aa5ee300cd3d61140644e93bb083e/regex-2026.5.9-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f7a7c26137296beba7784de6eba69c6a93a63ccebc385e4962fe67e267a91225", size = 289599, upload-time = "2026-05-09T23:12:38.089Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/dd/ba103dc19614e25f3880800ca67ce093d6e21b325d72b8383c7bf906e9fa/regex-2026.5.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6441cc660d76107934a09c22167200839a0e89604a6297f78a974e66e931d2c0", size = 796732, upload-time = "2026-05-09T23:12:40.062Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/e7/f035b4fd858b050b0080bf302968dc0f59ba34e391872d54936758e6844e/regex-2026.5.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:91328f1c23d47595ca3ef0a7557fa129c5a23404b775c770697d2f35b33e0107", size = 865440, upload-time = "2026-05-09T23:12:42.059Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/51/8cd301ecc899aea28124357f729f4272f44de7806fc7ca02490bfbe253e8/regex-2026.5.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:93a7860539414dddaefba2b40f8771765ae17949d4c7182b876ce429e11a8309", size = 912329, upload-time = "2026-05-09T23:12:44.373Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/1e/3fbe2fa1e8cebd62f3bb7d3321cff1640aca2e240b51d9bd624aad949260/regex-2026.5.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:dd2810d22146b6d838acc5ec15602cb6b47920aa4e33015df3868eedfd20bab8", size = 801239, upload-time = "2026-05-09T23:12:46.268Z" },
+ { url = "https://files.pythonhosted.org/packages/17/2f/6f6008682bf2cf98040a0d3153a8e557b6ab728d7713d045cee4ce544ab8/regex-2026.5.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:daff2bdbaf1d23e52fdff7c0b7bc2048b68f978df6a4d107ac981f94caef2e66", size = 777054, upload-time = "2026-05-09T23:12:48.051Z" },
+ { url = "https://files.pythonhosted.org/packages/19/2b/eee0d20a6842ba04df4b8847a920b57ef56853f14ef85405473e586b605a/regex-2026.5.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:4eeb011098fcb77af513dcef521a3dbecbf8849b1e38940759d293b7a93f5026", size = 785098, upload-time = "2026-05-09T23:12:49.851Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/98/6fc1e6410feefb92159edaed5041992bfe390e8d26c721865434acbca558/regex-2026.5.9-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:ea9c8ecfa1b73c73b626534d6626e5340d429630943672b8480724f44e84b962", size = 860095, upload-time = "2026-05-09T23:12:51.666Z" },
+ { url = "https://files.pythonhosted.org/packages/18/a3/bd855e0f2cb1a978ecf6fa6bb69632dd9c3f6ea3b81cde62fde14c9daec7/regex-2026.5.9-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:cd2846168eb9ee3c513902bc8225409cb1caab31d04728b145171fa1625d9621", size = 765762, upload-time = "2026-05-09T23:12:53.413Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/66/0ae8c092e60b14c79d24f8e0b7f0aea5bfbffdcab00b5483d13404d3c3a5/regex-2026.5.9-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:39617fb0cde9c0e6306dc70e3bfc096f3da793219879f7ae7aa341a69fbdcf6d", size = 852100, upload-time = "2026-05-09T23:12:55.256Z" },
+ { url = "https://files.pythonhosted.org/packages/21/de/8dfde60fc1b21c946a893ba273403b72617edb261370cb1087099a83f088/regex-2026.5.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fd03c4f0e33280d15cae17159b899245d6b7c53d21def19b263b39655061f5ce", size = 789479, upload-time = "2026-05-09T23:12:57.573Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/1c/bdcc98f9a4af4fdd166c74941174619ccff4726d3ce32faa8e9a2ecd38dd/regex-2026.5.9-cp312-cp312-win32.whl", hash = "sha256:164eba9b755ea6f244b0d881196fbc1fac09714e9782c9e2732b813142033c8e", size = 266699, upload-time = "2026-05-09T23:12:59.14Z" },
+ { url = "https://files.pythonhosted.org/packages/78/87/240d36864f9e48ace85f72e79ced97ceb7f27ce87739a947dcb834b4e6bc/regex-2026.5.9-cp312-cp312-win_amd64.whl", hash = "sha256:86f40a5d6444db30a125c9c9177e6b25dad981cbc37451fd838f145e6edac92e", size = 277783, upload-time = "2026-05-09T23:13:00.789Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/b5/7b30f312b0669dff5beebe5b0989dc2d1a312b1a44fab852199c387a5b96/regex-2026.5.9-cp312-cp312-win_arm64.whl", hash = "sha256:96f5f58b54a063d7ea9dca08e1cf57bfe10499c4d579ee672da284f57f5f0070", size = 270513, upload-time = "2026-05-09T23:13:02.426Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/da/797e91ecec6f84135da778ddce78c20e0af5d2a15c26f87a81bc3eadb6db/regex-2026.5.9-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d626b84406444b165fc0ba981604edea39f0588ff1f92baa23fe50799ea9afdb", size = 490303, upload-time = "2026-05-09T23:13:04.382Z" },
+ { url = "https://files.pythonhosted.org/packages/44/da/bf30abaaa737b58f4a4b8c4a03659e02fd92092c822e0197ed9e0daab917/regex-2026.5.9-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d7bdc0ab8f3dd7e1b4f9ab88634e13374669db86bb3c72e8292f07ae313f539f", size = 292019, upload-time = "2026-05-09T23:13:06.022Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/e7/d0eaf5713828417b9e5648cf81fa9bacd4961f6ab98c380c2034f8716e35/regex-2026.5.9-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a8820737949116ffff55fe18f9fc644530063ba6ebfcb8314239416e78f1347c", size = 289468, upload-time = "2026-05-09T23:13:08.214Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/9b/b3fdd62b003baa1a9b593cd8c8699c9651c2e80cc21a5c715707983c42d7/regex-2026.5.9-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa0fbdbac82cb3e4450d0ccde7d7a35607f4cb2dd9fba4b8b69bfaf8c9fa6aed", size = 796749, upload-time = "2026-05-09T23:13:10.573Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/30/66ab84588765f5b4b271a9ca09ef7ce2b87caa95176ec3d2ad65d7bc4902/regex-2026.5.9-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:57e8915c7986aa33d25e4d3629cef711cd2863f2961b10409f0c04cb8b7d9020", size = 865445, upload-time = "2026-05-09T23:13:12.523Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/89/f05169e8588aac365f35ffc7f3bc3184f095ef4cfded7cfaa3c7fd5dbd89/regex-2026.5.9-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:508f56a89ba9cb26e4168cbc37dbd60a28d82430a9e18ad1d25fe0883c314ca2", size = 912322, upload-time = "2026-05-09T23:13:14.281Z" },
+ { url = "https://files.pythonhosted.org/packages/30/e1/c93444052cf41581f3c884ab3fb5823daf0992f11cd4388d4275ca610558/regex-2026.5.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b6d189041f15691cfa2b6c4290448ec221244d225b3f5fe9e7771b34ffcdf6e2", size = 801269, upload-time = "2026-05-09T23:13:16.569Z" },
+ { url = "https://files.pythonhosted.org/packages/50/fe/0cf96b882f540e62e8b9956599798203d599c44cf4c77917ca27400ff69b/regex-2026.5.9-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e82db382b44d0111b22601c509c89f64434816c9e0eef9d1989cda8cc6ff1c04", size = 777085, upload-time = "2026-05-09T23:13:18.675Z" },
+ { url = "https://files.pythonhosted.org/packages/23/5c/d78d4924e7fc875557b9e9b768423925fdfaac5549d06da7810019a9bd26/regex-2026.5.9-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2acfb48634f64996b57f90f39afa692ff362162722581921fe92239a59960f3c", size = 785153, upload-time = "2026-05-09T23:13:20.525Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/e0/5214774090e7b4524dcea3e3c4aa74141d43043f8beb49c1599db1c8b53a/regex-2026.5.9-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:d29eebfc9525db68cad3c97eedd7f754fa265aa5cd0cf4f863b2421e1b48fc9f", size = 860164, upload-time = "2026-05-09T23:13:22.263Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/e1/4a57a83350319b1271f0d7a249b8672513ed928b237a741631270de6caea/regex-2026.5.9-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:debb893095e944091c16e641a6e33c1b0f4cb61ab945ec5afbf53ce7068834d8", size = 765731, upload-time = "2026-05-09T23:13:24.277Z" },
+ { url = "https://files.pythonhosted.org/packages/12/f4/499e74a20c156fc75836ee04a72a38d1a063978f600937f9760467beb1b0/regex-2026.5.9-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:d659eee77986549c9ea45b861c7567e44d6287c3dc9a4565478853f7b9fe2ff6", size = 852062, upload-time = "2026-05-09T23:13:26.125Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/92/7eebc0d0a01e78629695f342ba17e0deaff8fb45e79cc0d7b98287da6e3e/regex-2026.5.9-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2efa205e6d98b24d1f3ab395c11aa15cdf10935bca283d0285e0499c284fba21", size = 789577, upload-time = "2026-05-09T23:13:27.814Z" },
+ { url = "https://files.pythonhosted.org/packages/05/a4/018e71f7d2ad48c1ebe6d3ae0026f9b7cb4802fd15c7cc02fdf724355102/regex-2026.5.9-cp313-cp313-win32.whl", hash = "sha256:f3844f134e834076677dd369976e9f5068679fcb8e50102fdf6b7ac96a3ec127", size = 266691, upload-time = "2026-05-09T23:13:29.549Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/1d/861a93719fb9ee7dbfc3761b3797b7a3e112a5d42c6129459d2d741be9b5/regex-2026.5.9-cp313-cp313-win_amd64.whl", hash = "sha256:3527bb4942d2c14552155406cdedd906567456821848aed1cb4933a391bf5eca", size = 277747, upload-time = "2026-05-09T23:13:31.859Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/c6/0a2436ae4da1ba76e51cb98943c6838a9a721faa40ebe2dce07694ae34e3/regex-2026.5.9-cp313-cp313-win_arm64.whl", hash = "sha256:56a33f191f17d8c417f99945ebdc1e691d3af9605d86ec68c7e54a57e3e17af6", size = 270500, upload-time = "2026-05-09T23:13:33.525Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/e9/d21346f7b60ed58789371358ed66b09d00f832e1bd7c06e55d9da5679882/regex-2026.5.9-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:01f28d868834624c934b8d2e0aa1c8341337e37831f4a012f18a5afcba4cbaf3", size = 494172, upload-time = "2026-05-09T23:13:35.935Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/43/fd1177a2032037c681baecdb3422ee4e1424aec4e4f470ef47793d325274/regex-2026.5.9-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:48036f6374aaa79eb3b754ec29c61d1c6b1606749d705a13f8854fa2539671f6", size = 293952, upload-time = "2026-05-09T23:13:38.307Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/7d/9fbf919768368d3f8a4f6c692cf2aa61e482b2b81ec6a298ace4cbf02480/regex-2026.5.9-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:b96350aa424e79d4fd6b567b344dcbe2b2d6bfc48dfe7717587e1fa6d43da6ff", size = 292314, upload-time = "2026-05-09T23:13:40.353Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/6c/e41bfeecb589716843e7c4df09ba46ff2a42961457afece19059d85caeef/regex-2026.5.9-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f3af7a4903c5c04a11a196a5aa75cdd7dd3f8508132f9fb3259d9f5908e3b88", size = 811681, upload-time = "2026-05-09T23:13:42.543Z" },
+ { url = "https://files.pythonhosted.org/packages/87/83/a5c1c525fba0aa656e88ad0face0b1829788ef4c2fb6b26df58aa1151b84/regex-2026.5.9-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7e87577720152d2caae19fe2baaf1f8d5ca12091e9e229f03915c37d1e4b9178", size = 871135, upload-time = "2026-05-09T23:13:44.326Z" },
+ { url = "https://files.pythonhosted.org/packages/18/d4/80882e799e440dd878b0979cbebf8fa4d54624a332c83037c7a701649e3f/regex-2026.5.9-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c8b9b9d294cfea3cd19c718ade7cc93492b2c4991abd9a68d0b3477ae6d8e100", size = 917265, upload-time = "2026-05-09T23:13:47.295Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/ff/8db60211e2286e396aad7dc7725356c502bff0901ea05bd6cdc2e1a042b9/regex-2026.5.9-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:728d8bfd28a8845c8b6bc5dc7ce010453d206396786c0765c2740cb65f37791e", size = 816311, upload-time = "2026-05-09T23:13:49.885Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/47/742ef579c61730f8d268e5cf1f9ce0e37e2ea041ad0f5644724f2378e463/regex-2026.5.9-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7e30b874d341fac767d7df5a0870540541c2c054b80cfaac116e8d367a8a7ff2", size = 785498, upload-time = "2026-05-09T23:13:52.25Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/ab/cb0999802dcb0fb95b1ab005e8d4163d8afdd67efc2cb6b6630ac13f8cb1/regex-2026.5.9-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:fd190e88a895a8901325fad284a3f74ea52b1da8525b76cc811fa9b1edf0ce2b", size = 801348, upload-time = "2026-05-09T23:13:54.127Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/62/8ca59a24c55bc34d166eefaf3717bd77772f329fdbf984d86581e0a3571c/regex-2026.5.9-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:8e76e8161ad00694cfce6767d5dea860c6391ac5b83e5c3a39661e696f11fc7e", size = 866493, upload-time = "2026-05-09T23:13:56.067Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/3d/30f2ae62cef3278bb5bb821f467277a55fb73f01032cf85997e15e8289a8/regex-2026.5.9-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:ddda5340e6c01a293027dd46232fa79eaff1b48058ce7a98f572b6445b088041", size = 772811, upload-time = "2026-05-09T23:13:57.867Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/ae/7d2089bcd78ad0c0161bc684339df50032acb438a7bd3305e7ddb1193cec/regex-2026.5.9-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:205109e96b3cf5adf8f4cd62bedde9487feb282b9497a3535451e5a24cd706a0", size = 856584, upload-time = "2026-05-09T23:13:59.679Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/29/92ff47f75990131ea4f24ba17819e5a9d141e10819807e09addd73409af6/regex-2026.5.9-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dfbe4579b9f08036aa7d101d1835437a20783574ac66327e6b29b4018a138081", size = 803453, upload-time = "2026-05-09T23:14:01.978Z" },
+ { url = "https://files.pythonhosted.org/packages/04/99/eff29f1037dcab36702c9ee5d6858cf1ce2336ea8ea2987f64245b99ea5e/regex-2026.5.9-cp313-cp313t-win32.whl", hash = "sha256:ed2c9e8068b614c574d8d30e543d617cf5379b0535d46f97ef00e904745a08b5", size = 269951, upload-time = "2026-05-09T23:14:03.661Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/9d/8870b8981d27b22cda77bb26a5ac7ebfa9c7d9e0dea195a834a82380e748/regex-2026.5.9-cp313-cp313t-win_amd64.whl", hash = "sha256:b46b0f094dc1d3b90356c85a0bd2c9bafc4a6a190b9d6f8ddd5a033b6e088ed4", size = 281240, upload-time = "2026-05-09T23:14:05.56Z" },
+ { url = "https://files.pythonhosted.org/packages/72/b1/3379415e8f135c13ac551353397cc4fe97b4978f3cac73c5fcbcded548b8/regex-2026.5.9-cp313-cp313t-win_arm64.whl", hash = "sha256:872acc074bd29ffc9913ecdfedf6ea77502312ca44a4aa0d3779089c6069d8de", size = 272383, upload-time = "2026-05-09T23:14:07.843Z" },
+ { url = "https://files.pythonhosted.org/packages/13/3e/9c3cd292d8808b3645a2ce517e200179b6d0e903f176300bd8b542e14de5/regex-2026.5.9-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:1bd7587a2948b4085195d5a3374eaf4a425dc3e55784c038175355ecf3bbbf8a", size = 490376, upload-time = "2026-05-09T23:14:09.64Z" },
+ { url = "https://files.pythonhosted.org/packages/60/70/d43ee8a2ca0a8b68d167f21658b85520ac0574617c7f320367c5047f7556/regex-2026.5.9-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:dea2e88e1cce4522496cce630e11e67b98b7076620bc4336c3f674bc21a375f4", size = 291964, upload-time = "2026-05-09T23:14:11.424Z" },
+ { url = "https://files.pythonhosted.org/packages/21/91/9d50b433828d8e74196904e168a43abf1e6e88b2a15d47ed742456720c37/regex-2026.5.9-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:2099f7e7ff7b6aa3192312650a56e91cc091e49d50b04e4f6f8b6e28b3b27f1c", size = 289682, upload-time = "2026-05-09T23:14:13.123Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/d2/b835e3cafbb9d977736912436259ff551d60919f7d7b3d37d46659c63564/regex-2026.5.9-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecd353045824e4477562a2ac718c25799cdaaa41f7aa925a806a8a3e6848a5b9", size = 796996, upload-time = "2026-05-09T23:14:14.923Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/a6/9f992d00019166b9de01c546dd4549bc679f2a68df11b877740b0760b7c2/regex-2026.5.9-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:65c8c8c37377794bd5b2f3ebe51919042bf17aec802e23c833d89782ed0c78af", size = 866089, upload-time = "2026-05-09T23:14:17.757Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/08/4d32af657e049b19cb62b02e46e38fe1518797bfb2203ee93a510b21b0dc/regex-2026.5.9-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5b73ab8afcf66c622db143d1c6fda4e58e4d537ee4f125229ad47b1ab80f34c0", size = 911530, upload-time = "2026-05-09T23:14:20.353Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/27/2af43dd1dc201d1fecefda64a45f4ad0995855b92724f795a777b402ee69/regex-2026.5.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0de5cf193997384ed2ca6f1cd4f78055b255d93d82d5a8cd6ba0d11c10b167e4", size = 800643, upload-time = "2026-05-09T23:14:22.265Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/dd/23a249047013b5321d4a60c4d2437462086f601b061776a525e5fba2a59f/regex-2026.5.9-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d641a8c9a61618047796d572a39a79b26167b0411d2c3031937b2fe2d081e2cf", size = 777223, upload-time = "2026-05-09T23:14:24.179Z" },
+ { url = "https://files.pythonhosted.org/packages/94/6a/e85ed9538cd19586d0465076a4578a12e093ce776d15f3f8ce92733a8dd6/regex-2026.5.9-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:24b2355ef5cc9aa5b8f07d17704face1c166fdcc2290fa7bd6e6c925655a8346", size = 785760, upload-time = "2026-05-09T23:14:26.065Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/c4/f25473209438638e947c55f9156fd8f236f74169229028cc99116380868e/regex-2026.5.9-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:a24852d3c29ad9e47593593d8a247c44ccc3d0548ef12c822d6ed0810affe676", size = 860891, upload-time = "2026-05-09T23:14:28.17Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/f7/f4f86e3c74419c37370e91f150ae0c2ef7d34b2e0e4cdd5da046a02e4022/regex-2026.5.9-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:916714069da19329ef7de197dcbc77bb3104145c7c2c864dbfbe318f46b88b14", size = 765891, upload-time = "2026-05-09T23:14:30.06Z" },
+ { url = "https://files.pythonhosted.org/packages/26/70/704d8e13765939146b1cd0ef4e2feb71d7929727d2290f026eed10095955/regex-2026.5.9-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:fa411799ca8da32a8d38d020a88faa5b6f91657d284761352940ecf9f7c3bbdd", size = 851380, upload-time = "2026-05-09T23:14:32.123Z" },
+ { url = "https://files.pythonhosted.org/packages/26/29/1a13582a8460038edc38e49f64ceb0dd7c60f5caba77571f4bf6601965d9/regex-2026.5.9-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1e6da47d679b7010ef27556b6e0f99771b744936db1792a10ceac6547ae1503e", size = 789350, upload-time = "2026-05-09T23:14:34.799Z" },
+ { url = "https://files.pythonhosted.org/packages/73/56/3dcafe34fc72e271d62ad9a291801e88a1457bb251c132f15fcc2e5aad1a/regex-2026.5.9-cp314-cp314-win32.whl", hash = "sha256:98bd73080e8756255137e1bd3f3f00295bbc5aa383c0e0f973920e9134d7c4ad", size = 272130, upload-time = "2026-05-09T23:14:36.729Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/9c/02eebf0be95efe416c664db7fb8b6b05b7a0b06a7544f2884f2558b0526f/regex-2026.5.9-cp314-cp314-win_amd64.whl", hash = "sha256:ff8d372ac2acdc048d1c19916f27ee61bc5722728458ba6ca5052f2c72d51763", size = 280999, upload-time = "2026-05-09T23:14:39.126Z" },
+ { url = "https://files.pythonhosted.org/packages/70/5a/1dd1abee76cb7a846a0bcf42fdc87e5720c3c33c24f3e37814310a513d9f/regex-2026.5.9-cp314-cp314-win_arm64.whl", hash = "sha256:e1d93bf647916292e8edcec150c07ddf3dc50179ccaf770c04a7f9e452155372", size = 273500, upload-time = "2026-05-09T23:14:41.059Z" },
+ { url = "https://files.pythonhosted.org/packages/86/c1/c5f619b0057a7965cb78ec559c1d7a45ce8c99a35bea95483d64959a93d9/regex-2026.5.9-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:83d0ee4a57d1c87cb549e195ec300b8f0ec3a82eba66d835e4e2ed8634fe4499", size = 494269, upload-time = "2026-05-09T23:14:42.869Z" },
+ { url = "https://files.pythonhosted.org/packages/05/2c/5d01f1aee33de4bbe60c8452945bfc8477ca7c5ae4450f6bfe711036cb36/regex-2026.5.9-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:d3d7eb5c9a7f6df82ed3cfac9beb93882a5cbcb5b8b157b56cb2b3b276574ac1", size = 293954, upload-time = "2026-05-09T23:14:44.822Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/fe/e8988b2ae2108c6ef71bd4aa8d87fbe257976dd0810e826cd75f701c68b6/regex-2026.5.9-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:075160bf16658e16d35233300b8453aac25de4cbea808d22348b6979668e924d", size = 292405, upload-time = "2026-05-09T23:14:47.211Z" },
+ { url = "https://files.pythonhosted.org/packages/79/34/d2b0937faa7859263f7f0a3c6b103a1296306be6952dc173d0154e9a2f49/regex-2026.5.9-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45375819235558a4ff1c4971dc32881f022613abdb180128f5cb4768c1765a1c", size = 811855, upload-time = "2026-05-09T23:14:49.21Z" },
+ { url = "https://files.pythonhosted.org/packages/80/fe/daf53a47457a8486db66c66c01ceb9c2303eecee3f87197f1e77eb1a736d/regex-2026.5.9-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ead4b163ac30a29574510cd4b3e2e985ac5290c05fc7095557d6a5f403fc31b5", size = 871189, upload-time = "2026-05-09T23:14:51.555Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/75/058fc4470cbfbf57d800aff1a0022b929a3f9fa553ee10a0cdf2070eb31f/regex-2026.5.9-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8c6e4218fbdfbcd4f6c19efca40930d24a621bf4b48cb76bc6640543bd28ef20", size = 917485, upload-time = "2026-05-09T23:14:53.633Z" },
+ { url = "https://files.pythonhosted.org/packages/88/e7/179cfda3a28bc843b5c6cfe7f79f23489c791ed95f151083803660878432/regex-2026.5.9-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6351571c8a42b505eb555c0dc47d740d0fb66977dc142919eea6f4325b7c56a0", size = 816369, upload-time = "2026-05-09T23:14:56.198Z" },
+ { url = "https://files.pythonhosted.org/packages/41/90/6f0cc422071688266d344fca8462d787cba0a2c144acb25721f9a61ec265/regex-2026.5.9-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:002205cafd2a9e78c6290c7d1df277bf3277b3b7a30e0b4bb0dac2e2e3f7cb2d", size = 785869, upload-time = "2026-05-09T23:14:58.602Z" },
+ { url = "https://files.pythonhosted.org/packages/02/67/a31f1760f09c27b251ef39e9beb541f462cf977381d067faa764c2c0e393/regex-2026.5.9-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8abd33fef90b2a9efac5557d6033ca82d1195ed3a15fea5af15ba7b463c6a63b", size = 801427, upload-time = "2026-05-09T23:15:00.642Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/c4/1a80654597b6bc1e1ea0494824c31200e8a956abe290afae9b19a166a148/regex-2026.5.9-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:31037c82eccb44b7ea2e9e221d7c01429430e989a1f4b91ea5a855f6017b509a", size = 866482, upload-time = "2026-05-09T23:15:03.384Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/11/960724e06482c08466ff5611e242e86f80062949cdf6b4b9cc317b9dd93d/regex-2026.5.9-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:5604dfd046dc37eca90250fc3be938b076c8059fa772ac0ed6f499b0f0fb0415", size = 773022, upload-time = "2026-05-09T23:15:05.625Z" },
+ { url = "https://files.pythonhosted.org/packages/50/a8/a9979c3e7918280e93159ebcab5ef1a65116dd4f3bd6091be0eae4a126e8/regex-2026.5.9-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:0e1b1b4e496afbb24f4a62aba855ee4f88f25578927697b340702e48c9ee6bc2", size = 856642, upload-time = "2026-05-09T23:15:07.966Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/d4/a9b732f2f0072c0ab12227483abb24fffcb9f73f8a2b203df0a6d0434735/regex-2026.5.9-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:be3372b9df6ddecff6486d37e19095a7b4973137caf5512407a89f4455361f41", size = 803552, upload-time = "2026-05-09T23:15:10.215Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/fe/1b3113817447a1d4155e4ac76d2e072f42c0bcba2f43fa8a0e756ea2cd91/regex-2026.5.9-cp314-cp314t-win32.whl", hash = "sha256:3ddd90103f9e5c471c49c7852ecc1fe27c7e45eb99e977aefe7caa4e779f4f58", size = 275746, upload-time = "2026-05-09T23:15:12.609Z" },
+ { url = "https://files.pythonhosted.org/packages/92/73/93d42045302636c91f2e5ef588b65b84b01428f28ec77de256b1dfdfbe5c/regex-2026.5.9-cp314-cp314t-win_amd64.whl", hash = "sha256:ca518ed29c46eecba6010b15f1b9a479314d2de409536e71b6a13aa04e3b8a77", size = 285685, upload-time = "2026-05-09T23:15:15.086Z" },
+ { url = "https://files.pythonhosted.org/packages/da/80/35b4c33c804a165a7f55289afda3ea9e3eb6d15800341a2d66455c0f1f30/regex-2026.5.9-cp314-cp314t-win_arm64.whl", hash = "sha256:5e41809d2683fcde7d5a8c87a6567ba1fb1ce0de9f31bff578de00a4b2d76daa", size = 275713, upload-time = "2026-05-09T23:15:16.98Z" },
+]
+
+[[package]]
+name = "requests"
+version = "2.33.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "charset-normalizer" },
+ { name = "idna" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/34/64/8860370b167a9721e8956ae116825caff829224fbca0ca6e7bf8ddef8430/requests-2.33.0.tar.gz", hash = "sha256:c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652", size = 134232, upload-time = "2026-03-25T15:10:41.586Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/56/5d/c814546c2333ceea4ba42262d8c4d55763003e767fa169adc693bd524478/requests-2.33.0-py3-none-any.whl", hash = "sha256:3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b", size = 65017, upload-time = "2026-03-25T15:10:40.382Z" },
+]
+
+[[package]]
+name = "requests-toolbelt"
+version = "1.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f3/61/d7545dafb7ac2230c70d38d31cbfe4cc64f7144dc41f6e4e4b78ecd9f5bb/requests-toolbelt-1.0.0.tar.gz", hash = "sha256:7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6", size = 206888, upload-time = "2023-05-01T04:11:33.229Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3f/51/d4db610ef29373b879047326cbf6fa98b6c1969d6f6dc423279de2b1be2c/requests_toolbelt-1.0.0-py2.py3-none-any.whl", hash = "sha256:cccfdd665f0a24fcf4726e690f65639d272bb0637b9b92dfd91a5568ccf6bd06", size = 54481, upload-time = "2023-05-01T04:11:28.427Z" },
+]
+
+[[package]]
+name = "rfc3339-validator"
+version = "0.1.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "six" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/28/ea/a9387748e2d111c3c2b275ba970b735e04e15cdb1eb30693b6b5708c4dbd/rfc3339_validator-0.1.4.tar.gz", hash = "sha256:138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b", size = 5513, upload-time = "2021-05-12T16:37:54.178Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7b/44/4e421b96b67b2daff264473f7465db72fbdf36a07e05494f50300cc7b0c6/rfc3339_validator-0.1.4-py2.py3-none-any.whl", hash = "sha256:24f6ec1eda14ef823da9e36ec7113124b39c04d50a4d3d3a3c2859577e7791fa", size = 3490, upload-time = "2021-05-12T16:37:52.536Z" },
+]
+
+[[package]]
+name = "rfc3986-validator"
+version = "0.1.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/da/88/f270de456dd7d11dcc808abfa291ecdd3f45ff44e3b549ffa01b126464d0/rfc3986_validator-0.1.1.tar.gz", hash = "sha256:3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055", size = 6760, upload-time = "2019-10-28T16:00:19.144Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9e/51/17023c0f8f1869d8806b979a2bffa3f861f26a3f1a66b094288323fba52f/rfc3986_validator-0.1.1-py2.py3-none-any.whl", hash = "sha256:2f235c432ef459970b4306369336b9d5dbdda31b510ca1e327636e01f528bfa9", size = 4242, upload-time = "2019-10-28T16:00:13.976Z" },
+]
+
+[[package]]
+name = "rfc3987-syntax"
+version = "1.1.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "lark" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2c/06/37c1a5557acf449e8e406a830a05bf885ac47d33270aec454ef78675008d/rfc3987_syntax-1.1.0.tar.gz", hash = "sha256:717a62cbf33cffdd16dfa3a497d81ce48a660ea691b1ddd7be710c22f00b4a0d", size = 14239, upload-time = "2025-07-18T01:05:05.015Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/71/44ce230e1b7fadd372515a97e32a83011f906ddded8d03e3c6aafbdedbb7/rfc3987_syntax-1.1.0-py3-none-any.whl", hash = "sha256:6c3d97604e4c5ce9f714898e05401a0445a641cfa276432b0a648c80856f6a3f", size = 8046, upload-time = "2025-07-18T01:05:03.843Z" },
+]
+
+[[package]]
+name = "rich"
+version = "14.3.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markdown-it-py" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b3/c6/f3b320c27991c46f43ee9d856302c70dc2d0fb2dba4842ff739d5f46b393/rich-14.3.3.tar.gz", hash = "sha256:b8daa0b9e4eef54dd8cf7c86c03713f53241884e814f4e2f5fb342fe520f639b", size = 230582, upload-time = "2026-02-19T17:23:12.474Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/14/25/b208c5683343959b670dc001595f2f3737e051da617f66c31f7c4fa93abc/rich-14.3.3-py3-none-any.whl", hash = "sha256:793431c1f8619afa7d3b52b2cdec859562b950ea0d4b6b505397612db8d5362d", size = 310458, upload-time = "2026-02-19T17:23:13.732Z" },
+]
+
+[[package]]
+name = "rpds-py"
+version = "0.27.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e9/dd/2c0cbe774744272b0ae725f44032c77bdcab6e8bcf544bffa3b6e70c8dba/rpds_py-0.27.1.tar.gz", hash = "sha256:26a1c73171d10b7acccbded82bf6a586ab8203601e565badc74bbbf8bc5a10f8", size = 27479, upload-time = "2025-08-27T12:16:36.024Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a5/ed/3aef893e2dd30e77e35d20d4ddb45ca459db59cead748cad9796ad479411/rpds_py-0.27.1-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:68afeec26d42ab3b47e541b272166a0b4400313946871cba3ed3a4fc0cab1cef", size = 371606, upload-time = "2025-08-27T12:12:25.189Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/82/9818b443e5d3eb4c83c3994561387f116aae9833b35c484474769c4a8faf/rpds_py-0.27.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:74e5b2f7bb6fa38b1b10546d27acbacf2a022a8b5543efb06cfebc72a59c85be", size = 353452, upload-time = "2025-08-27T12:12:27.433Z" },
+ { url = "https://files.pythonhosted.org/packages/99/c7/d2a110ffaaa397fc6793a83c7bd3545d9ab22658b7cdff05a24a4535cc45/rpds_py-0.27.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9024de74731df54546fab0bfbcdb49fae19159ecaecfc8f37c18d2c7e2c0bd61", size = 381519, upload-time = "2025-08-27T12:12:28.719Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/bc/e89581d1f9d1be7d0247eaef602566869fdc0d084008ba139e27e775366c/rpds_py-0.27.1-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:31d3ebadefcd73b73928ed0b2fd696f7fefda8629229f81929ac9c1854d0cffb", size = 394424, upload-time = "2025-08-27T12:12:30.207Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/2e/36a6861f797530e74bb6ed53495f8741f1ef95939eed01d761e73d559067/rpds_py-0.27.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b2e7f8f169d775dd9092a1743768d771f1d1300453ddfe6325ae3ab5332b4657", size = 523467, upload-time = "2025-08-27T12:12:31.808Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/59/c1bc2be32564fa499f988f0a5c6505c2f4746ef96e58e4d7de5cf923d77e/rpds_py-0.27.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d905d16f77eb6ab2e324e09bfa277b4c8e5e6b8a78a3e7ff8f3cdf773b4c013", size = 402660, upload-time = "2025-08-27T12:12:33.444Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/ec/ef8bf895f0628dd0a59e54d81caed6891663cb9c54a0f4bb7da918cb88cf/rpds_py-0.27.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50c946f048209e6362e22576baea09193809f87687a95a8db24e5fbdb307b93a", size = 384062, upload-time = "2025-08-27T12:12:34.857Z" },
+ { url = "https://files.pythonhosted.org/packages/69/f7/f47ff154be8d9a5e691c083a920bba89cef88d5247c241c10b9898f595a1/rpds_py-0.27.1-cp310-cp310-manylinux_2_31_riscv64.whl", hash = "sha256:3deab27804d65cd8289eb814c2c0e807c4b9d9916c9225e363cb0cf875eb67c1", size = 401289, upload-time = "2025-08-27T12:12:36.085Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/d9/ca410363efd0615814ae579f6829cafb39225cd63e5ea5ed1404cb345293/rpds_py-0.27.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:8b61097f7488de4be8244c89915da8ed212832ccf1e7c7753a25a394bf9b1f10", size = 417718, upload-time = "2025-08-27T12:12:37.401Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/a0/8cb5c2ff38340f221cc067cc093d1270e10658ba4e8d263df923daa18e86/rpds_py-0.27.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:8a3f29aba6e2d7d90528d3c792555a93497fe6538aa65eb675b44505be747808", size = 558333, upload-time = "2025-08-27T12:12:38.672Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/8c/1b0de79177c5d5103843774ce12b84caa7164dfc6cd66378768d37db11bf/rpds_py-0.27.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:dd6cd0485b7d347304067153a6dc1d73f7d4fd995a396ef32a24d24b8ac63ac8", size = 589127, upload-time = "2025-08-27T12:12:41.48Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/5e/26abb098d5e01266b0f3a2488d299d19ccc26849735d9d2b95c39397e945/rpds_py-0.27.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:6f4461bf931108c9fa226ffb0e257c1b18dc2d44cd72b125bec50ee0ab1248a9", size = 554899, upload-time = "2025-08-27T12:12:42.925Z" },
+ { url = "https://files.pythonhosted.org/packages/de/41/905cc90ced13550db017f8f20c6d8e8470066c5738ba480d7ba63e3d136b/rpds_py-0.27.1-cp310-cp310-win32.whl", hash = "sha256:ee5422d7fb21f6a00c1901bf6559c49fee13a5159d0288320737bbf6585bd3e4", size = 217450, upload-time = "2025-08-27T12:12:44.813Z" },
+ { url = "https://files.pythonhosted.org/packages/75/3d/6bef47b0e253616ccdf67c283e25f2d16e18ccddd38f92af81d5a3420206/rpds_py-0.27.1-cp310-cp310-win_amd64.whl", hash = "sha256:3e039aabf6d5f83c745d5f9a0a381d031e9ed871967c0a5c38d201aca41f3ba1", size = 228447, upload-time = "2025-08-27T12:12:46.204Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/c1/7907329fbef97cbd49db6f7303893bd1dd5a4a3eae415839ffdfb0762cae/rpds_py-0.27.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:be898f271f851f68b318872ce6ebebbc62f303b654e43bf72683dbdc25b7c881", size = 371063, upload-time = "2025-08-27T12:12:47.856Z" },
+ { url = "https://files.pythonhosted.org/packages/11/94/2aab4bc86228bcf7c48760990273653a4900de89c7537ffe1b0d6097ed39/rpds_py-0.27.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:62ac3d4e3e07b58ee0ddecd71d6ce3b1637de2d373501412df395a0ec5f9beb5", size = 353210, upload-time = "2025-08-27T12:12:49.187Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/57/f5eb3ecf434342f4f1a46009530e93fd201a0b5b83379034ebdb1d7c1a58/rpds_py-0.27.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4708c5c0ceb2d034f9991623631d3d23cb16e65c83736ea020cdbe28d57c0a0e", size = 381636, upload-time = "2025-08-27T12:12:50.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/f4/ef95c5945e2ceb5119571b184dd5a1cc4b8541bbdf67461998cfeac9cb1e/rpds_py-0.27.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:abfa1171a9952d2e0002aba2ad3780820b00cc3d9c98c6630f2e93271501f66c", size = 394341, upload-time = "2025-08-27T12:12:52.024Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/7e/4bd610754bf492d398b61725eb9598ddd5eb86b07d7d9483dbcd810e20bc/rpds_py-0.27.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4b507d19f817ebaca79574b16eb2ae412e5c0835542c93fe9983f1e432aca195", size = 523428, upload-time = "2025-08-27T12:12:53.779Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/e5/059b9f65a8c9149361a8b75094864ab83b94718344db511fd6117936ed2a/rpds_py-0.27.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:168b025f8fd8d8d10957405f3fdcef3dc20f5982d398f90851f4abc58c566c52", size = 402923, upload-time = "2025-08-27T12:12:55.15Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/48/64cabb7daced2968dd08e8a1b7988bf358d7bd5bcd5dc89a652f4668543c/rpds_py-0.27.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb56c6210ef77caa58e16e8c17d35c63fe3f5b60fd9ba9d424470c3400bcf9ed", size = 384094, upload-time = "2025-08-27T12:12:57.194Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/e1/dc9094d6ff566bff87add8a510c89b9e158ad2ecd97ee26e677da29a9e1b/rpds_py-0.27.1-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:d252f2d8ca0195faa707f8eb9368955760880b2b42a8ee16d382bf5dd807f89a", size = 401093, upload-time = "2025-08-27T12:12:58.985Z" },
+ { url = "https://files.pythonhosted.org/packages/37/8e/ac8577e3ecdd5593e283d46907d7011618994e1d7ab992711ae0f78b9937/rpds_py-0.27.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6e5e54da1e74b91dbc7996b56640f79b195d5925c2b78efaa8c5d53e1d88edde", size = 417969, upload-time = "2025-08-27T12:13:00.367Z" },
+ { url = "https://files.pythonhosted.org/packages/66/6d/87507430a8f74a93556fe55c6485ba9c259949a853ce407b1e23fea5ba31/rpds_py-0.27.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ffce0481cc6e95e5b3f0a47ee17ffbd234399e6d532f394c8dce320c3b089c21", size = 558302, upload-time = "2025-08-27T12:13:01.737Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/bb/1db4781ce1dda3eecc735e3152659a27b90a02ca62bfeea17aee45cc0fbc/rpds_py-0.27.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:a205fdfe55c90c2cd8e540ca9ceba65cbe6629b443bc05db1f590a3db8189ff9", size = 589259, upload-time = "2025-08-27T12:13:03.127Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/0e/ae1c8943d11a814d01b482e1f8da903f88047a962dff9bbdadf3bd6e6fd1/rpds_py-0.27.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:689fb5200a749db0415b092972e8eba85847c23885c8543a8b0f5c009b1a5948", size = 554983, upload-time = "2025-08-27T12:13:04.516Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/d5/0b2a55415931db4f112bdab072443ff76131b5ac4f4dc98d10d2d357eb03/rpds_py-0.27.1-cp311-cp311-win32.whl", hash = "sha256:3182af66048c00a075010bc7f4860f33913528a4b6fc09094a6e7598e462fe39", size = 217154, upload-time = "2025-08-27T12:13:06.278Z" },
+ { url = "https://files.pythonhosted.org/packages/24/75/3b7ffe0d50dc86a6a964af0d1cc3a4a2cdf437cb7b099a4747bbb96d1819/rpds_py-0.27.1-cp311-cp311-win_amd64.whl", hash = "sha256:b4938466c6b257b2f5c4ff98acd8128ec36b5059e5c8f8372d79316b1c36bb15", size = 228627, upload-time = "2025-08-27T12:13:07.625Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/3f/4fd04c32abc02c710f09a72a30c9a55ea3cc154ef8099078fd50a0596f8e/rpds_py-0.27.1-cp311-cp311-win_arm64.whl", hash = "sha256:2f57af9b4d0793e53266ee4325535a31ba48e2f875da81a9177c9926dfa60746", size = 220998, upload-time = "2025-08-27T12:13:08.972Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/fe/38de28dee5df58b8198c743fe2bea0c785c6d40941b9950bac4cdb71a014/rpds_py-0.27.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:ae2775c1973e3c30316892737b91f9283f9908e3cc7625b9331271eaaed7dc90", size = 361887, upload-time = "2025-08-27T12:13:10.233Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/9a/4b6c7eedc7dd90986bf0fab6ea2a091ec11c01b15f8ba0a14d3f80450468/rpds_py-0.27.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2643400120f55c8a96f7c9d858f7be0c88d383cd4653ae2cf0d0c88f668073e5", size = 345795, upload-time = "2025-08-27T12:13:11.65Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/0e/e650e1b81922847a09cca820237b0edee69416a01268b7754d506ade11ad/rpds_py-0.27.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:16323f674c089b0360674a4abd28d5042947d54ba620f72514d69be4ff64845e", size = 385121, upload-time = "2025-08-27T12:13:13.008Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/ea/b306067a712988e2bff00dcc7c8f31d26c29b6d5931b461aa4b60a013e33/rpds_py-0.27.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:9a1f4814b65eacac94a00fc9a526e3fdafd78e439469644032032d0d63de4881", size = 398976, upload-time = "2025-08-27T12:13:14.368Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/0a/26dc43c8840cb8fe239fe12dbc8d8de40f2365e838f3d395835dde72f0e5/rpds_py-0.27.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7ba32c16b064267b22f1850a34051121d423b6f7338a12b9459550eb2096e7ec", size = 525953, upload-time = "2025-08-27T12:13:15.774Z" },
+ { url = "https://files.pythonhosted.org/packages/22/14/c85e8127b573aaf3a0cbd7fbb8c9c99e735a4a02180c84da2a463b766e9e/rpds_py-0.27.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e5c20f33fd10485b80f65e800bbe5f6785af510b9f4056c5a3c612ebc83ba6cb", size = 407915, upload-time = "2025-08-27T12:13:17.379Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/7b/8f4fee9ba1fb5ec856eb22d725a4efa3deb47f769597c809e03578b0f9d9/rpds_py-0.27.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:466bfe65bd932da36ff279ddd92de56b042f2266d752719beb97b08526268ec5", size = 386883, upload-time = "2025-08-27T12:13:18.704Z" },
+ { url = "https://files.pythonhosted.org/packages/86/47/28fa6d60f8b74fcdceba81b272f8d9836ac0340570f68f5df6b41838547b/rpds_py-0.27.1-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:41e532bbdcb57c92ba3be62c42e9f096431b4cf478da9bc3bc6ce5c38ab7ba7a", size = 405699, upload-time = "2025-08-27T12:13:20.089Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/fd/c5987b5e054548df56953a21fe2ebed51fc1ec7c8f24fd41c067b68c4a0a/rpds_py-0.27.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:f149826d742b406579466283769a8ea448eed82a789af0ed17b0cd5770433444", size = 423713, upload-time = "2025-08-27T12:13:21.436Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/ba/3c4978b54a73ed19a7d74531be37a8bcc542d917c770e14d372b8daea186/rpds_py-0.27.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:80c60cfb5310677bd67cb1e85a1e8eb52e12529545441b43e6f14d90b878775a", size = 562324, upload-time = "2025-08-27T12:13:22.789Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/6c/6943a91768fec16db09a42b08644b960cff540c66aab89b74be6d4a144ba/rpds_py-0.27.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:7ee6521b9baf06085f62ba9c7a3e5becffbc32480d2f1b351559c001c38ce4c1", size = 593646, upload-time = "2025-08-27T12:13:24.122Z" },
+ { url = "https://files.pythonhosted.org/packages/11/73/9d7a8f4be5f4396f011a6bb7a19fe26303a0dac9064462f5651ced2f572f/rpds_py-0.27.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a512c8263249a9d68cac08b05dd59d2b3f2061d99b322813cbcc14c3c7421998", size = 558137, upload-time = "2025-08-27T12:13:25.557Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/96/6772cbfa0e2485bcceef8071de7821f81aeac8bb45fbfd5542a3e8108165/rpds_py-0.27.1-cp312-cp312-win32.whl", hash = "sha256:819064fa048ba01b6dadc5116f3ac48610435ac9a0058bbde98e569f9e785c39", size = 221343, upload-time = "2025-08-27T12:13:26.967Z" },
+ { url = "https://files.pythonhosted.org/packages/67/b6/c82f0faa9af1c6a64669f73a17ee0eeef25aff30bb9a1c318509efe45d84/rpds_py-0.27.1-cp312-cp312-win_amd64.whl", hash = "sha256:d9199717881f13c32c4046a15f024971a3b78ad4ea029e8da6b86e5aa9cf4594", size = 232497, upload-time = "2025-08-27T12:13:28.326Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/96/2817b44bd2ed11aebacc9251da03689d56109b9aba5e311297b6902136e2/rpds_py-0.27.1-cp312-cp312-win_arm64.whl", hash = "sha256:33aa65b97826a0e885ef6e278fbd934e98cdcfed80b63946025f01e2f5b29502", size = 222790, upload-time = "2025-08-27T12:13:29.71Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/77/610aeee8d41e39080c7e14afa5387138e3c9fa9756ab893d09d99e7d8e98/rpds_py-0.27.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e4b9fcfbc021633863a37e92571d6f91851fa656f0180246e84cbd8b3f6b329b", size = 361741, upload-time = "2025-08-27T12:13:31.039Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/fc/c43765f201c6a1c60be2043cbdb664013def52460a4c7adace89d6682bf4/rpds_py-0.27.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:1441811a96eadca93c517d08df75de45e5ffe68aa3089924f963c782c4b898cf", size = 345574, upload-time = "2025-08-27T12:13:32.902Z" },
+ { url = "https://files.pythonhosted.org/packages/20/42/ee2b2ca114294cd9847d0ef9c26d2b0851b2e7e00bf14cc4c0b581df0fc3/rpds_py-0.27.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:55266dafa22e672f5a4f65019015f90336ed31c6383bd53f5e7826d21a0e0b83", size = 385051, upload-time = "2025-08-27T12:13:34.228Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/e8/1e430fe311e4799e02e2d1af7c765f024e95e17d651612425b226705f910/rpds_py-0.27.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d78827d7ac08627ea2c8e02c9e5b41180ea5ea1f747e9db0915e3adf36b62dcf", size = 398395, upload-time = "2025-08-27T12:13:36.132Z" },
+ { url = "https://files.pythonhosted.org/packages/82/95/9dc227d441ff2670651c27a739acb2535ccaf8b351a88d78c088965e5996/rpds_py-0.27.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae92443798a40a92dc5f0b01d8a7c93adde0c4dc965310a29ae7c64d72b9fad2", size = 524334, upload-time = "2025-08-27T12:13:37.562Z" },
+ { url = "https://files.pythonhosted.org/packages/87/01/a670c232f401d9ad461d9a332aa4080cd3cb1d1df18213dbd0d2a6a7ab51/rpds_py-0.27.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c46c9dd2403b66a2a3b9720ec4b74d4ab49d4fabf9f03dfdce2d42af913fe8d0", size = 407691, upload-time = "2025-08-27T12:13:38.94Z" },
+ { url = "https://files.pythonhosted.org/packages/03/36/0a14aebbaa26fe7fab4780c76f2239e76cc95a0090bdb25e31d95c492fcd/rpds_py-0.27.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2efe4eb1d01b7f5f1939f4ef30ecea6c6b3521eec451fb93191bf84b2a522418", size = 386868, upload-time = "2025-08-27T12:13:40.192Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/03/8c897fb8b5347ff6c1cc31239b9611c5bf79d78c984430887a353e1409a1/rpds_py-0.27.1-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:15d3b4d83582d10c601f481eca29c3f138d44c92187d197aff663a269197c02d", size = 405469, upload-time = "2025-08-27T12:13:41.496Z" },
+ { url = "https://files.pythonhosted.org/packages/da/07/88c60edc2df74850d496d78a1fdcdc7b54360a7f610a4d50008309d41b94/rpds_py-0.27.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4ed2e16abbc982a169d30d1a420274a709949e2cbdef119fe2ec9d870b42f274", size = 422125, upload-time = "2025-08-27T12:13:42.802Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/86/5f4c707603e41b05f191a749984f390dabcbc467cf833769b47bf14ba04f/rpds_py-0.27.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a75f305c9b013289121ec0f1181931975df78738cdf650093e6b86d74aa7d8dd", size = 562341, upload-time = "2025-08-27T12:13:44.472Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/92/3c0cb2492094e3cd9baf9e49bbb7befeceb584ea0c1a8b5939dca4da12e5/rpds_py-0.27.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:67ce7620704745881a3d4b0ada80ab4d99df390838839921f99e63c474f82cf2", size = 592511, upload-time = "2025-08-27T12:13:45.898Z" },
+ { url = "https://files.pythonhosted.org/packages/10/bb/82e64fbb0047c46a168faa28d0d45a7851cd0582f850b966811d30f67ad8/rpds_py-0.27.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9d992ac10eb86d9b6f369647b6a3f412fc0075cfd5d799530e84d335e440a002", size = 557736, upload-time = "2025-08-27T12:13:47.408Z" },
+ { url = "https://files.pythonhosted.org/packages/00/95/3c863973d409210da7fb41958172c6b7dbe7fc34e04d3cc1f10bb85e979f/rpds_py-0.27.1-cp313-cp313-win32.whl", hash = "sha256:4f75e4bd8ab8db624e02c8e2fc4063021b58becdbe6df793a8111d9343aec1e3", size = 221462, upload-time = "2025-08-27T12:13:48.742Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/2c/5867b14a81dc217b56d95a9f2a40fdbc56a1ab0181b80132beeecbd4b2d6/rpds_py-0.27.1-cp313-cp313-win_amd64.whl", hash = "sha256:f9025faafc62ed0b75a53e541895ca272815bec18abe2249ff6501c8f2e12b83", size = 232034, upload-time = "2025-08-27T12:13:50.11Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/78/3958f3f018c01923823f1e47f1cc338e398814b92d83cd278364446fac66/rpds_py-0.27.1-cp313-cp313-win_arm64.whl", hash = "sha256:ed10dc32829e7d222b7d3b93136d25a406ba9788f6a7ebf6809092da1f4d279d", size = 222392, upload-time = "2025-08-27T12:13:52.587Z" },
+ { url = "https://files.pythonhosted.org/packages/01/76/1cdf1f91aed5c3a7bf2eba1f1c4e4d6f57832d73003919a20118870ea659/rpds_py-0.27.1-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:92022bbbad0d4426e616815b16bc4127f83c9a74940e1ccf3cfe0b387aba0228", size = 358355, upload-time = "2025-08-27T12:13:54.012Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/6f/bf142541229374287604caf3bb2a4ae17f0a580798fd72d3b009b532db4e/rpds_py-0.27.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:47162fdab9407ec3f160805ac3e154df042e577dd53341745fc7fb3f625e6d92", size = 342138, upload-time = "2025-08-27T12:13:55.791Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/77/355b1c041d6be40886c44ff5e798b4e2769e497b790f0f7fd1e78d17e9a8/rpds_py-0.27.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb89bec23fddc489e5d78b550a7b773557c9ab58b7946154a10a6f7a214a48b2", size = 380247, upload-time = "2025-08-27T12:13:57.683Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/a4/d9cef5c3946ea271ce2243c51481971cd6e34f21925af2783dd17b26e815/rpds_py-0.27.1-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e48af21883ded2b3e9eb48cb7880ad8598b31ab752ff3be6457001d78f416723", size = 390699, upload-time = "2025-08-27T12:13:59.137Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/06/005106a7b8c6c1a7e91b73169e49870f4af5256119d34a361ae5240a0c1d/rpds_py-0.27.1-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6f5b7bd8e219ed50299e58551a410b64daafb5017d54bbe822e003856f06a802", size = 521852, upload-time = "2025-08-27T12:14:00.583Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/3e/50fb1dac0948e17a02eb05c24510a8fe12d5ce8561c6b7b7d1339ab7ab9c/rpds_py-0.27.1-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:08f1e20bccf73b08d12d804d6e1c22ca5530e71659e6673bce31a6bb71c1e73f", size = 402582, upload-time = "2025-08-27T12:14:02.034Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/b0/f4e224090dc5b0ec15f31a02d746ab24101dd430847c4d99123798661bfc/rpds_py-0.27.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0dc5dceeaefcc96dc192e3a80bbe1d6c410c469e97bdd47494a7d930987f18b2", size = 384126, upload-time = "2025-08-27T12:14:03.437Z" },
+ { url = "https://files.pythonhosted.org/packages/54/77/ac339d5f82b6afff1df8f0fe0d2145cc827992cb5f8eeb90fc9f31ef7a63/rpds_py-0.27.1-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:d76f9cc8665acdc0c9177043746775aa7babbf479b5520b78ae4002d889f5c21", size = 399486, upload-time = "2025-08-27T12:14:05.443Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/29/3e1c255eee6ac358c056a57d6d6869baa00a62fa32eea5ee0632039c50a3/rpds_py-0.27.1-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:134fae0e36022edad8290a6661edf40c023562964efea0cc0ec7f5d392d2aaef", size = 414832, upload-time = "2025-08-27T12:14:06.902Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/db/6d498b844342deb3fa1d030598db93937a9964fcf5cb4da4feb5f17be34b/rpds_py-0.27.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:eb11a4f1b2b63337cfd3b4d110af778a59aae51c81d195768e353d8b52f88081", size = 557249, upload-time = "2025-08-27T12:14:08.37Z" },
+ { url = "https://files.pythonhosted.org/packages/60/f3/690dd38e2310b6f68858a331399b4d6dbb9132c3e8ef8b4333b96caf403d/rpds_py-0.27.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:13e608ac9f50a0ed4faec0e90ece76ae33b34c0e8656e3dceb9a7db994c692cd", size = 587356, upload-time = "2025-08-27T12:14:10.034Z" },
+ { url = "https://files.pythonhosted.org/packages/86/e3/84507781cccd0145f35b1dc32c72675200c5ce8d5b30f813e49424ef68fc/rpds_py-0.27.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:dd2135527aa40f061350c3f8f89da2644de26cd73e4de458e79606384f4f68e7", size = 555300, upload-time = "2025-08-27T12:14:11.783Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/ee/375469849e6b429b3516206b4580a79e9ef3eb12920ddbd4492b56eaacbe/rpds_py-0.27.1-cp313-cp313t-win32.whl", hash = "sha256:3020724ade63fe320a972e2ffd93b5623227e684315adce194941167fee02688", size = 216714, upload-time = "2025-08-27T12:14:13.629Z" },
+ { url = "https://files.pythonhosted.org/packages/21/87/3fc94e47c9bd0742660e84706c311a860dcae4374cf4a03c477e23ce605a/rpds_py-0.27.1-cp313-cp313t-win_amd64.whl", hash = "sha256:8ee50c3e41739886606388ba3ab3ee2aae9f35fb23f833091833255a31740797", size = 228943, upload-time = "2025-08-27T12:14:14.937Z" },
+ { url = "https://files.pythonhosted.org/packages/70/36/b6e6066520a07cf029d385de869729a895917b411e777ab1cde878100a1d/rpds_py-0.27.1-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:acb9aafccaae278f449d9c713b64a9e68662e7799dbd5859e2c6b3c67b56d334", size = 362472, upload-time = "2025-08-27T12:14:16.333Z" },
+ { url = "https://files.pythonhosted.org/packages/af/07/b4646032e0dcec0df9c73a3bd52f63bc6c5f9cda992f06bd0e73fe3fbebd/rpds_py-0.27.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b7fb801aa7f845ddf601c49630deeeccde7ce10065561d92729bfe81bd21fb33", size = 345676, upload-time = "2025-08-27T12:14:17.764Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/16/2f1003ee5d0af4bcb13c0cf894957984c32a6751ed7206db2aee7379a55e/rpds_py-0.27.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fe0dd05afb46597b9a2e11c351e5e4283c741237e7f617ffb3252780cca9336a", size = 385313, upload-time = "2025-08-27T12:14:19.829Z" },
+ { url = "https://files.pythonhosted.org/packages/05/cd/7eb6dd7b232e7f2654d03fa07f1414d7dfc980e82ba71e40a7c46fd95484/rpds_py-0.27.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:b6dfb0e058adb12d8b1d1b25f686e94ffa65d9995a5157afe99743bf7369d62b", size = 399080, upload-time = "2025-08-27T12:14:21.531Z" },
+ { url = "https://files.pythonhosted.org/packages/20/51/5829afd5000ec1cb60f304711f02572d619040aa3ec033d8226817d1e571/rpds_py-0.27.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ed090ccd235f6fa8bb5861684567f0a83e04f52dfc2e5c05f2e4b1309fcf85e7", size = 523868, upload-time = "2025-08-27T12:14:23.485Z" },
+ { url = "https://files.pythonhosted.org/packages/05/2c/30eebca20d5db95720ab4d2faec1b5e4c1025c473f703738c371241476a2/rpds_py-0.27.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bf876e79763eecf3e7356f157540d6a093cef395b65514f17a356f62af6cc136", size = 408750, upload-time = "2025-08-27T12:14:24.924Z" },
+ { url = "https://files.pythonhosted.org/packages/90/1a/cdb5083f043597c4d4276eae4e4c70c55ab5accec078da8611f24575a367/rpds_py-0.27.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:12ed005216a51b1d6e2b02a7bd31885fe317e45897de81d86dcce7d74618ffff", size = 387688, upload-time = "2025-08-27T12:14:27.537Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/92/cf786a15320e173f945d205ab31585cc43969743bb1a48b6888f7a2b0a2d/rpds_py-0.27.1-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:ee4308f409a40e50593c7e3bb8cbe0b4d4c66d1674a316324f0c2f5383b486f9", size = 407225, upload-time = "2025-08-27T12:14:28.981Z" },
+ { url = "https://files.pythonhosted.org/packages/33/5c/85ee16df5b65063ef26017bef33096557a4c83fbe56218ac7cd8c235f16d/rpds_py-0.27.1-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:0b08d152555acf1f455154d498ca855618c1378ec810646fcd7c76416ac6dc60", size = 423361, upload-time = "2025-08-27T12:14:30.469Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/8e/1c2741307fcabd1a334ecf008e92c4f47bb6f848712cf15c923becfe82bb/rpds_py-0.27.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:dce51c828941973a5684d458214d3a36fcd28da3e1875d659388f4f9f12cc33e", size = 562493, upload-time = "2025-08-27T12:14:31.987Z" },
+ { url = "https://files.pythonhosted.org/packages/04/03/5159321baae9b2222442a70c1f988cbbd66b9be0675dd3936461269be360/rpds_py-0.27.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:c1476d6f29eb81aa4151c9a31219b03f1f798dc43d8af1250a870735516a1212", size = 592623, upload-time = "2025-08-27T12:14:33.543Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/39/c09fd1ad28b85bc1d4554a8710233c9f4cefd03d7717a1b8fbfd171d1167/rpds_py-0.27.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3ce0cac322b0d69b63c9cdb895ee1b65805ec9ffad37639f291dd79467bee675", size = 558800, upload-time = "2025-08-27T12:14:35.436Z" },
+ { url = "https://files.pythonhosted.org/packages/c5/d6/99228e6bbcf4baa764b18258f519a9035131d91b538d4e0e294313462a98/rpds_py-0.27.1-cp314-cp314-win32.whl", hash = "sha256:dfbfac137d2a3d0725758cd141f878bf4329ba25e34979797c89474a89a8a3a3", size = 221943, upload-time = "2025-08-27T12:14:36.898Z" },
+ { url = "https://files.pythonhosted.org/packages/be/07/c802bc6b8e95be83b79bdf23d1aa61d68324cb1006e245d6c58e959e314d/rpds_py-0.27.1-cp314-cp314-win_amd64.whl", hash = "sha256:a6e57b0abfe7cc513450fcf529eb486b6e4d3f8aee83e92eb5f1ef848218d456", size = 233739, upload-time = "2025-08-27T12:14:38.386Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/89/3e1b1c16d4c2d547c5717377a8df99aee8099ff050f87c45cb4d5fa70891/rpds_py-0.27.1-cp314-cp314-win_arm64.whl", hash = "sha256:faf8d146f3d476abfee026c4ae3bdd9ca14236ae4e4c310cbd1cf75ba33d24a3", size = 223120, upload-time = "2025-08-27T12:14:39.82Z" },
+ { url = "https://files.pythonhosted.org/packages/62/7e/dc7931dc2fa4a6e46b2a4fa744a9fe5c548efd70e0ba74f40b39fa4a8c10/rpds_py-0.27.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:ba81d2b56b6d4911ce735aad0a1d4495e808b8ee4dc58715998741a26874e7c2", size = 358944, upload-time = "2025-08-27T12:14:41.199Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/22/4af76ac4e9f336bfb1a5f240d18a33c6b2fcaadb7472ac7680576512b49a/rpds_py-0.27.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:84f7d509870098de0e864cad0102711c1e24e9b1a50ee713b65928adb22269e4", size = 342283, upload-time = "2025-08-27T12:14:42.699Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/15/2a7c619b3c2272ea9feb9ade67a45c40b3eeb500d503ad4c28c395dc51b4/rpds_py-0.27.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9e960fc78fecd1100539f14132425e1d5fe44ecb9239f8f27f079962021523e", size = 380320, upload-time = "2025-08-27T12:14:44.157Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/7d/4c6d243ba4a3057e994bb5bedd01b5c963c12fe38dde707a52acdb3849e7/rpds_py-0.27.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:62f85b665cedab1a503747617393573995dac4600ff51869d69ad2f39eb5e817", size = 391760, upload-time = "2025-08-27T12:14:45.845Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/71/b19401a909b83bcd67f90221330bc1ef11bc486fe4e04c24388d28a618ae/rpds_py-0.27.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fed467af29776f6556250c9ed85ea5a4dd121ab56a5f8b206e3e7a4c551e48ec", size = 522476, upload-time = "2025-08-27T12:14:47.364Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/44/1a3b9715c0455d2e2f0f6df5ee6d6f5afdc423d0773a8a682ed2b43c566c/rpds_py-0.27.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f2729615f9d430af0ae6b36cf042cb55c0936408d543fb691e1a9e36648fd35a", size = 403418, upload-time = "2025-08-27T12:14:49.991Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/4b/fb6c4f14984eb56673bc868a66536f53417ddb13ed44b391998100a06a96/rpds_py-0.27.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1b207d881a9aef7ba753d69c123a35d96ca7cb808056998f6b9e8747321f03b8", size = 384771, upload-time = "2025-08-27T12:14:52.159Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/56/d5265d2d28b7420d7b4d4d85cad8ef891760f5135102e60d5c970b976e41/rpds_py-0.27.1-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:639fd5efec029f99b79ae47e5d7e00ad8a773da899b6309f6786ecaf22948c48", size = 400022, upload-time = "2025-08-27T12:14:53.859Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/e9/9f5fc70164a569bdd6ed9046486c3568d6926e3a49bdefeeccfb18655875/rpds_py-0.27.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fecc80cb2a90e28af8a9b366edacf33d7a91cbfe4c2c4544ea1246e949cfebeb", size = 416787, upload-time = "2025-08-27T12:14:55.673Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/64/56dd03430ba491db943a81dcdef115a985aac5f44f565cd39a00c766d45c/rpds_py-0.27.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:42a89282d711711d0a62d6f57d81aa43a1368686c45bc1c46b7f079d55692734", size = 557538, upload-time = "2025-08-27T12:14:57.245Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/36/92cc885a3129993b1d963a2a42ecf64e6a8e129d2c7cc980dbeba84e55fb/rpds_py-0.27.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:cf9931f14223de59551ab9d38ed18d92f14f055a5f78c1d8ad6493f735021bbb", size = 588512, upload-time = "2025-08-27T12:14:58.728Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/10/6b283707780a81919f71625351182b4f98932ac89a09023cb61865136244/rpds_py-0.27.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f39f58a27cc6e59f432b568ed8429c7e1641324fbe38131de852cd77b2d534b0", size = 555813, upload-time = "2025-08-27T12:15:00.334Z" },
+ { url = "https://files.pythonhosted.org/packages/04/2e/30b5ea18c01379da6272a92825dd7e53dc9d15c88a19e97932d35d430ef7/rpds_py-0.27.1-cp314-cp314t-win32.whl", hash = "sha256:d5fa0ee122dc09e23607a28e6d7b150da16c662e66409bbe85230e4c85bb528a", size = 217385, upload-time = "2025-08-27T12:15:01.937Z" },
+ { url = "https://files.pythonhosted.org/packages/32/7d/97119da51cb1dd3f2f3c0805f155a3aa4a95fa44fe7d78ae15e69edf4f34/rpds_py-0.27.1-cp314-cp314t-win_amd64.whl", hash = "sha256:6567d2bb951e21232c2f660c24cf3470bb96de56cdcb3f071a83feeaff8a2772", size = 230097, upload-time = "2025-08-27T12:15:03.961Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/63/b7cc415c345625d5e62f694ea356c58fb964861409008118f1245f8c3347/rpds_py-0.27.1-pp310-pypy310_pp73-macosx_10_12_x86_64.whl", hash = "sha256:7ba22cb9693df986033b91ae1d7a979bc399237d45fccf875b76f62bb9e52ddf", size = 371360, upload-time = "2025-08-27T12:15:29.218Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/12e1b24b560cf378b8ffbdb9dc73abd529e1adcfcf82727dfd29c4a7b88d/rpds_py-0.27.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:5b640501be9288c77738b5492b3fd3abc4ba95c50c2e41273c8a1459f08298d3", size = 353933, upload-time = "2025-08-27T12:15:30.837Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/85/1bb2210c1f7a1b99e91fea486b9f0f894aa5da3a5ec7097cbad7dec6d40f/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb08b65b93e0c6dd70aac7f7890a9c0938d5ec71d5cb32d45cf844fb8ae47636", size = 382962, upload-time = "2025-08-27T12:15:32.348Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/c9/a839b9f219cf80ed65f27a7f5ddbb2809c1b85c966020ae2dff490e0b18e/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d7ff07d696a7a38152ebdb8212ca9e5baab56656749f3d6004b34ab726b550b8", size = 394412, upload-time = "2025-08-27T12:15:33.839Z" },
+ { url = "https://files.pythonhosted.org/packages/02/2d/b1d7f928b0b1f4fc2e0133e8051d199b01d7384875adc63b6ddadf3de7e5/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fb7c72262deae25366e3b6c0c0ba46007967aea15d1eea746e44ddba8ec58dcc", size = 523972, upload-time = "2025-08-27T12:15:35.377Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/af/2cbf56edd2d07716df1aec8a726b3159deb47cb5c27e1e42b71d705a7c2f/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7b002cab05d6339716b03a4a3a2ce26737f6231d7b523f339fa061d53368c9d8", size = 403273, upload-time = "2025-08-27T12:15:37.051Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/93/425e32200158d44ff01da5d9612c3b6711fe69f606f06e3895511f17473b/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:23f6b69d1c26c4704fec01311963a41d7de3ee0570a84ebde4d544e5a1859ffc", size = 385278, upload-time = "2025-08-27T12:15:38.571Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/1a/1a04a915ecd0551bfa9e77b7672d1937b4b72a0fc204a17deef76001cfb2/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:530064db9146b247351f2a0250b8f00b289accea4596a033e94be2389977de71", size = 402084, upload-time = "2025-08-27T12:15:40.529Z" },
+ { url = "https://files.pythonhosted.org/packages/51/f7/66585c0fe5714368b62951d2513b684e5215beaceab2c6629549ddb15036/rpds_py-0.27.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7b90b0496570bd6b0321724a330d8b545827c4df2034b6ddfc5f5275f55da2ad", size = 419041, upload-time = "2025-08-27T12:15:42.191Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/7e/83a508f6b8e219bba2d4af077c35ba0e0cdd35a751a3be6a7cba5a55ad71/rpds_py-0.27.1-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:879b0e14a2da6a1102a3fc8af580fc1ead37e6d6692a781bd8c83da37429b5ab", size = 560084, upload-time = "2025-08-27T12:15:43.839Z" },
+ { url = "https://files.pythonhosted.org/packages/66/66/bb945683b958a1b19eb0fe715594630d0f36396ebdef4d9b89c2fa09aa56/rpds_py-0.27.1-pp310-pypy310_pp73-musllinux_1_2_i686.whl", hash = "sha256:0d807710df3b5faa66c731afa162ea29717ab3be17bdc15f90f2d9f183da4059", size = 590115, upload-time = "2025-08-27T12:15:46.647Z" },
+ { url = "https://files.pythonhosted.org/packages/12/00/ccfaafaf7db7e7adace915e5c2f2c2410e16402561801e9c7f96683002d3/rpds_py-0.27.1-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:3adc388fc3afb6540aec081fa59e6e0d3908722771aa1e37ffe22b220a436f0b", size = 556561, upload-time = "2025-08-27T12:15:48.219Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/b7/92b6ed9aad103bfe1c45df98453dfae40969eef2cb6c6239c58d7e96f1b3/rpds_py-0.27.1-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:c796c0c1cc68cb08b0284db4229f5af76168172670c74908fdbd4b7d7f515819", size = 229125, upload-time = "2025-08-27T12:15:49.956Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/ed/e1fba02de17f4f76318b834425257c8ea297e415e12c68b4361f63e8ae92/rpds_py-0.27.1-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:cdfe4bb2f9fe7458b7453ad3c33e726d6d1c7c0a72960bcc23800d77384e42df", size = 371402, upload-time = "2025-08-27T12:15:51.561Z" },
+ { url = "https://files.pythonhosted.org/packages/af/7c/e16b959b316048b55585a697e94add55a4ae0d984434d279ea83442e460d/rpds_py-0.27.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:8fabb8fd848a5f75a2324e4a84501ee3a5e3c78d8603f83475441866e60b94a3", size = 354084, upload-time = "2025-08-27T12:15:53.219Z" },
+ { url = "https://files.pythonhosted.org/packages/de/c1/ade645f55de76799fdd08682d51ae6724cb46f318573f18be49b1e040428/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eda8719d598f2f7f3e0f885cba8646644b55a187762bec091fa14a2b819746a9", size = 383090, upload-time = "2025-08-27T12:15:55.158Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/27/89070ca9b856e52960da1472efcb6c20ba27cfe902f4f23ed095b9cfc61d/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3c64d07e95606ec402a0a1c511fe003873fa6af630bda59bac77fac8b4318ebc", size = 394519, upload-time = "2025-08-27T12:15:57.238Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/28/be120586874ef906aa5aeeae95ae8df4184bc757e5b6bd1c729ccff45ed5/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:93a2ed40de81bcff59aabebb626562d48332f3d028ca2036f1d23cbb52750be4", size = 523817, upload-time = "2025-08-27T12:15:59.237Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/ef/70cc197bc11cfcde02a86f36ac1eed15c56667c2ebddbdb76a47e90306da/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:387ce8c44ae94e0ec50532d9cb0edce17311024c9794eb196b90e1058aadeb66", size = 403240, upload-time = "2025-08-27T12:16:00.923Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/35/46936cca449f7f518f2f4996e0e8344db4b57e2081e752441154089d2a5f/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aaf94f812c95b5e60ebaf8bfb1898a7d7cb9c1af5744d4a67fa47796e0465d4e", size = 385194, upload-time = "2025-08-27T12:16:02.802Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/62/29c0d3e5125c3270b51415af7cbff1ec587379c84f55a5761cc9efa8cd06/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:4848ca84d6ded9b58e474dfdbad4b8bfb450344c0551ddc8d958bf4b36aa837c", size = 402086, upload-time = "2025-08-27T12:16:04.806Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/66/03e1087679227785474466fdd04157fb793b3b76e3fcf01cbf4c693c1949/rpds_py-0.27.1-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2bde09cbcf2248b73c7c323be49b280180ff39fadcfe04e7b6f54a678d02a7cf", size = 419272, upload-time = "2025-08-27T12:16:06.471Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/24/e3e72d265121e00b063aef3e3501e5b2473cf1b23511d56e529531acf01e/rpds_py-0.27.1-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:94c44ee01fd21c9058f124d2d4f0c9dc7634bec93cd4b38eefc385dabe71acbf", size = 560003, upload-time = "2025-08-27T12:16:08.06Z" },
+ { url = "https://files.pythonhosted.org/packages/26/ca/f5a344c534214cc2d41118c0699fffbdc2c1bc7046f2a2b9609765ab9c92/rpds_py-0.27.1-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:df8b74962e35c9249425d90144e721eed198e6555a0e22a563d29fe4486b51f6", size = 590482, upload-time = "2025-08-27T12:16:10.137Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/08/4349bdd5c64d9d193c360aa9db89adeee6f6682ab8825dca0a3f535f434f/rpds_py-0.27.1-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:dc23e6820e3b40847e2f4a7726462ba0cf53089512abe9ee16318c366494c17a", size = 556523, upload-time = "2025-08-27T12:16:12.188Z" },
+]
+
+[[package]]
+name = "ruff"
+version = "0.15.20"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/43/dc/35b341fc554ba02f217fc10da57d1a75168cfbcf75b0ef2202176d4c4f2d/ruff-0.15.20.tar.gz", hash = "sha256:1416eb04349192646b54de98f146c4f59afe37d0decfc02c3cbbf396f3a28566", size = 4755489, upload-time = "2026-06-25T17:20:37.578Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/94/d9/2d5014f0253ba541d2061d9fa7193f48e941c8b21bb88a7ff9bbe0bd0596/ruff-0.15.20-py3-none-linux_armv6l.whl", hash = "sha256:00e188c53e499c3c1637f73c91dcf2fb56d576cab76ce1be50a27c4e80e37078", size = 10839665, upload-time = "2026-06-25T17:19:44.702Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/d3/ac1798ba64f670698867fcfc591d50e7e421bef137db564858f619a30fcf/ruff-0.15.20-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:9ebd1fd9b9c95fc0bd7b2761aebec1f030013d2e193a2901b224af68fe47251b", size = 11208649, upload-time = "2026-06-25T17:19:48.787Z" },
+ { url = "https://files.pythonhosted.org/packages/47/47/d3ac899991202095dfcf3d5176be4272642be3cf981a2f1a30f72a2afb95/ruff-0.15.20-py3-none-macosx_11_0_arm64.whl", hash = "sha256:c5b16cdd67ca108185cd36dce98c576350c03b1660a751de725fb049193a0632", size = 10622638, upload-time = "2026-06-25T17:19:51.354Z" },
+ { url = "https://files.pythonhosted.org/packages/33/13/4e043fe30aa94d4ff5213a9881fc296d12960f5971b234a5263fdc225312/ruff-0.15.20-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3413bb3c3d2ca6a8208f1f4809cd2dca3c6de6d0b491c0e70847672bde6e6efd", size = 10984227, upload-time = "2026-06-25T17:19:54.044Z" },
+ { url = "https://files.pythonhosted.org/packages/76/e6/92e7bf40388bc5800073b96564f56264f7e48bfd1a498f5ced6ae6d5a769/ruff-0.15.20-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bd7ec42b3bb3da066488db093308a69c4ac5ee6d2af333a86ba6e2eb2e7dd44b", size = 10622882, upload-time = "2026-06-25T17:19:57.037Z" },
+ { url = "https://files.pythonhosted.org/packages/13/7a/43460be3f24495a3aa46d4b16873e2c4941b3b5f0b00cf88c03b7b94b339/ruff-0.15.20-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e1a36ad0eb77fba9aabfb69ede54de6f376d04ac18ebea022847046d340a8267", size = 11474808, upload-time = "2026-06-25T17:20:00.357Z" },
+ { url = "https://files.pythonhosted.org/packages/27/a0/f37077884873221c6b33b4ab49eb18f9f88e54a16a25a5bca59bef46dd66/ruff-0.15.20-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b6df3b1e4610432f0386dba04d853b5f08cbbc903410c6fcc02f620f05aff53c", size = 12293094, upload-time = "2026-06-25T17:20:03.446Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/74/165545b60256a9704c21ac0ec4a0d07933b320812f9584836c9f4aca4292/ruff-0.15.20-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e89f198a1ea6ef0d727c1cf16088bc91a6cb0ab947dedc966715691647186eae", size = 11526176, upload-time = "2026-06-25T17:20:06.301Z" },
+ { url = "https://files.pythonhosted.org/packages/86/b1/a976a136d40ade83ce743578399865f57001003a409acadc0ecbb3051082/ruff-0.15.20-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309809086c2acb67624950a3c8133e80f32d0d3e27106c0cd60ff26657c9f24b", size = 11520767, upload-time = "2026-06-25T17:20:09.191Z" },
+ { url = "https://files.pythonhosted.org/packages/19/0f/f032696cb01c9b54c0263fa393474d7758f1cdc021a01b04e3cbc2500999/ruff-0.15.20-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:2d2374caa2f2c2f9e2b7da0a50802cfb8b79f55a9b5e49379f564544fbf56487", size = 11500132, upload-time = "2026-06-25T17:20:13.602Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/f4/51b1a14bc69e8c224b15dab9cce8e99b425e0455d462caa2b3c9be2b6a8e/ruff-0.15.20-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:a1ed17b65293e0c2f22fc387bc13198a5de94bf4429589b0ff6946b0feaf21a3", size = 10943828, upload-time = "2026-06-25T17:20:16.635Z" },
+ { url = "https://files.pythonhosted.org/packages/71/4b/fe267640783cd02bf6c5cc290b1df1051be2ec294c678b5c15fe19e52343/ruff-0.15.20-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:f701305e66b38ea6c91882490eb73459796808e4c6362a1b765255e0cdcd4053", size = 10645418, upload-time = "2026-06-25T17:20:19.4Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/c0/a65aa4ec2f5e87a1df32dc3ec1fede434fe3dfd5cbcf3b503cafc676ab54/ruff-0.15.20-py3-none-musllinux_1_2_i686.whl", hash = "sha256:5b9c0c367ad8e5d0d5b5b8537864c469a0a0e55417aadfbeca41fa61333be9f4", size = 11211770, upload-time = "2026-06-25T17:20:22.033Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/a4/0caa331d954ae2723d729d351c989cb4ca8b6077d5c6c2cb6de75e98c041/ruff-0.15.20-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:01cc00dd58f0df339d0e902219dd53990ea99996a0344e5d9cc8d45d5307e460", size = 11618698, upload-time = "2026-06-25T17:20:25.259Z" },
+ { url = "https://files.pythonhosted.org/packages/10/9b/5f14927848d2fd4aa891fd88d883788c5a7baba561c7874732364045708c/ruff-0.15.20-py3-none-win32.whl", hash = "sha256:ed65ef510e43a137207e0f01cfcf998aeddb1aeeda5c9d35023e910284d7cf21", size = 10857322, upload-time = "2026-06-25T17:20:28.612Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/f0/fe47c501f9dea92a26d788ff98bb5d92ed4cb4c88792c5c88af6b697dc8e/ruff-0.15.20-py3-none-win_amd64.whl", hash = "sha256:a525c81c70fb0380344dd1d8745d8cc1c890b7fc94a58d5a07bd8eb9557b8415", size = 11993274, upload-time = "2026-06-25T17:20:31.871Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/2b/9555445e1201d92b3195f45cdb153a0b68f24e0a4273f6e3d5ab46e212bb/ruff-0.15.20-py3-none-win_arm64.whl", hash = "sha256:2f5b2a6d614e8700388806a14996c40fab2c47b819ef57d790a34878858ed9ca", size = 11343498, upload-time = "2026-06-25T17:20:35.03Z" },
+]
+
+[[package]]
+name = "safetensors"
+version = "0.6.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ac/cc/738f3011628920e027a11754d9cae9abec1aed00f7ae860abbf843755233/safetensors-0.6.2.tar.gz", hash = "sha256:43ff2aa0e6fa2dc3ea5524ac7ad93a9839256b8703761e76e2d0b2a3fa4f15d9", size = 197968, upload-time = "2025-08-08T13:13:58.654Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4d/b1/3f5fd73c039fc87dba3ff8b5d528bfc5a32b597fea8e7a6a4800343a17c7/safetensors-0.6.2-cp38-abi3-macosx_10_12_x86_64.whl", hash = "sha256:9c85ede8ec58f120bad982ec47746981e210492a6db876882aa021446af8ffba", size = 454797, upload-time = "2025-08-08T13:13:52.066Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/c9/bb114c158540ee17907ec470d01980957fdaf87b4aa07914c24eba87b9c6/safetensors-0.6.2-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:d6675cf4b39c98dbd7d940598028f3742e0375a6b4d4277e76beb0c35f4b843b", size = 432206, upload-time = "2025-08-08T13:13:50.931Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/8e/f70c34e47df3110e8e0bb268d90db8d4be8958a54ab0336c9be4fe86dac8/safetensors-0.6.2-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d2d2b3ce1e2509c68932ca03ab8f20570920cd9754b05063d4368ee52833ecd", size = 473261, upload-time = "2025-08-08T13:13:41.259Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/f5/be9c6a7c7ef773e1996dc214e73485286df1836dbd063e8085ee1976f9cb/safetensors-0.6.2-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:93de35a18f46b0f5a6a1f9e26d91b442094f2df02e9fd7acf224cfec4238821a", size = 485117, upload-time = "2025-08-08T13:13:43.506Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/55/23f2d0a2c96ed8665bf17a30ab4ce5270413f4d74b6d87dd663258b9af31/safetensors-0.6.2-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:89a89b505f335640f9120fac65ddeb83e40f1fd081cb8ed88b505bdccec8d0a1", size = 616154, upload-time = "2025-08-08T13:13:45.096Z" },
+ { url = "https://files.pythonhosted.org/packages/98/c6/affb0bd9ce02aa46e7acddbe087912a04d953d7a4d74b708c91b5806ef3f/safetensors-0.6.2-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fc4d0d0b937e04bdf2ae6f70cd3ad51328635fe0e6214aa1fc811f3b576b3bda", size = 520713, upload-time = "2025-08-08T13:13:46.25Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/5d/5a514d7b88e310c8b146e2404e0dc161282e78634d9358975fd56dfd14be/safetensors-0.6.2-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8045db2c872db8f4cbe3faa0495932d89c38c899c603f21e9b6486951a5ecb8f", size = 485835, upload-time = "2025-08-08T13:13:49.373Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/7b/4fc3b2ba62c352b2071bea9cfbad330fadda70579f617506ae1a2f129cab/safetensors-0.6.2-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:81e67e8bab9878bb568cffbc5f5e655adb38d2418351dc0859ccac158f753e19", size = 521503, upload-time = "2025-08-08T13:13:47.651Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/50/0057e11fe1f3cead9254315a6c106a16dd4b1a19cd247f7cc6414f6b7866/safetensors-0.6.2-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b0e4d029ab0a0e0e4fdf142b194514695b1d7d3735503ba700cf36d0fc7136ce", size = 652256, upload-time = "2025-08-08T13:13:53.167Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/29/473f789e4ac242593ac1656fbece6e1ecd860bb289e635e963667807afe3/safetensors-0.6.2-cp38-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:fa48268185c52bfe8771e46325a1e21d317207bcabcb72e65c6e28e9ffeb29c7", size = 747281, upload-time = "2025-08-08T13:13:54.656Z" },
+ { url = "https://files.pythonhosted.org/packages/68/52/f7324aad7f2df99e05525c84d352dc217e0fa637a4f603e9f2eedfbe2c67/safetensors-0.6.2-cp38-abi3-musllinux_1_2_i686.whl", hash = "sha256:d83c20c12c2d2f465997c51b7ecb00e407e5f94d7dec3ea0cc11d86f60d3fde5", size = 692286, upload-time = "2025-08-08T13:13:55.884Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/fe/cad1d9762868c7c5dc70c8620074df28ebb1a8e4c17d4c0cb031889c457e/safetensors-0.6.2-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:d944cea65fad0ead848b6ec2c37cc0b197194bec228f8020054742190e9312ac", size = 655957, upload-time = "2025-08-08T13:13:57.029Z" },
+ { url = "https://files.pythonhosted.org/packages/59/a7/e2158e17bbe57d104f0abbd95dff60dda916cf277c9f9663b4bf9bad8b6e/safetensors-0.6.2-cp38-abi3-win32.whl", hash = "sha256:cab75ca7c064d3911411461151cb69380c9225798a20e712b102edda2542ddb1", size = 308926, upload-time = "2025-08-08T13:14:01.095Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/c3/c0be1135726618dc1e28d181b8c442403d8dbb9e273fd791de2d4384bcdd/safetensors-0.6.2-cp38-abi3-win_amd64.whl", hash = "sha256:c7b214870df923cbc1593c3faee16bec59ea462758699bd3fee399d00aac072c", size = 320192, upload-time = "2025-08-08T13:13:59.467Z" },
+]
+
+[[package]]
+name = "scikit-learn"
+version = "1.7.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "joblib" },
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "scipy", version = "1.16.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "threadpoolctl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/98/c2/a7855e41c9d285dfe86dc50b250978105dce513d6e459ea66a6aeb0e1e0c/scikit_learn-1.7.2.tar.gz", hash = "sha256:20e9e49ecd130598f1ca38a1d85090e1a600147b9c02fa6f15d69cb53d968fda", size = 7193136, upload-time = "2025-09-09T08:21:29.075Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ba/3e/daed796fd69cce768b8788401cc464ea90b306fb196ae1ffed0b98182859/scikit_learn-1.7.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:6b33579c10a3081d076ab403df4a4190da4f4432d443521674637677dc91e61f", size = 9336221, upload-time = "2025-09-09T08:20:19.328Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/ce/af9d99533b24c55ff4e18d9b7b4d9919bbc6cd8f22fe7a7be01519a347d5/scikit_learn-1.7.2-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:36749fb62b3d961b1ce4fedf08fa57a1986cd409eff2d783bca5d4b9b5fce51c", size = 8653834, upload-time = "2025-09-09T08:20:22.073Z" },
+ { url = "https://files.pythonhosted.org/packages/58/0e/8c2a03d518fb6bd0b6b0d4b114c63d5f1db01ff0f9925d8eb10960d01c01/scikit_learn-1.7.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7a58814265dfc52b3295b1900cfb5701589d30a8bb026c7540f1e9d3499d5ec8", size = 9660938, upload-time = "2025-09-09T08:20:24.327Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/75/4311605069b5d220e7cf5adabb38535bd96f0079313cdbb04b291479b22a/scikit_learn-1.7.2-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4a847fea807e278f821a0406ca01e387f97653e284ecbd9750e3ee7c90347f18", size = 9477818, upload-time = "2025-09-09T08:20:26.845Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/9b/87961813c34adbca21a6b3f6b2bea344c43b30217a6d24cc437c6147f3e8/scikit_learn-1.7.2-cp310-cp310-win_amd64.whl", hash = "sha256:ca250e6836d10e6f402436d6463d6c0e4d8e0234cfb6a9a47835bd392b852ce5", size = 8886969, upload-time = "2025-09-09T08:20:29.329Z" },
+ { url = "https://files.pythonhosted.org/packages/43/83/564e141eef908a5863a54da8ca342a137f45a0bfb71d1d79704c9894c9d1/scikit_learn-1.7.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c7509693451651cd7361d30ce4e86a1347493554f172b1c72a39300fa2aea79e", size = 9331967, upload-time = "2025-09-09T08:20:32.421Z" },
+ { url = "https://files.pythonhosted.org/packages/18/d6/ba863a4171ac9d7314c4d3fc251f015704a2caeee41ced89f321c049ed83/scikit_learn-1.7.2-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:0486c8f827c2e7b64837c731c8feff72c0bd2b998067a8a9cbc10643c31f0fe1", size = 8648645, upload-time = "2025-09-09T08:20:34.436Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/0e/97dbca66347b8cf0ea8b529e6bb9367e337ba2e8be0ef5c1a545232abfde/scikit_learn-1.7.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:89877e19a80c7b11a2891a27c21c4894fb18e2c2e077815bcade10d34287b20d", size = 9715424, upload-time = "2025-09-09T08:20:36.776Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/32/1f3b22e3207e1d2c883a7e09abb956362e7d1bd2f14458c7de258a26ac15/scikit_learn-1.7.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8da8bf89d4d79aaec192d2bda62f9b56ae4e5b4ef93b6a56b5de4977e375c1f1", size = 9509234, upload-time = "2025-09-09T08:20:38.957Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/71/34ddbd21f1da67c7a768146968b4d0220ee6831e4bcbad3e03dd3eae88b6/scikit_learn-1.7.2-cp311-cp311-win_amd64.whl", hash = "sha256:9b7ed8d58725030568523e937c43e56bc01cadb478fc43c042a9aca1dacb3ba1", size = 8894244, upload-time = "2025-09-09T08:20:41.166Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/aa/3996e2196075689afb9fce0410ebdb4a09099d7964d061d7213700204409/scikit_learn-1.7.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8d91a97fa2b706943822398ab943cde71858a50245e31bc71dba62aab1d60a96", size = 9259818, upload-time = "2025-09-09T08:20:43.19Z" },
+ { url = "https://files.pythonhosted.org/packages/43/5d/779320063e88af9c4a7c2cf463ff11c21ac9c8bd730c4a294b0000b666c9/scikit_learn-1.7.2-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:acbc0f5fd2edd3432a22c69bed78e837c70cf896cd7993d71d51ba6708507476", size = 8636997, upload-time = "2025-09-09T08:20:45.468Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/d0/0c577d9325b05594fdd33aa970bf53fb673f051a45496842caee13cfd7fe/scikit_learn-1.7.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e5bf3d930aee75a65478df91ac1225ff89cd28e9ac7bd1196853a9229b6adb0b", size = 9478381, upload-time = "2025-09-09T08:20:47.982Z" },
+ { url = "https://files.pythonhosted.org/packages/82/70/8bf44b933837ba8494ca0fc9a9ab60f1c13b062ad0197f60a56e2fc4c43e/scikit_learn-1.7.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b4d6e9deed1a47aca9fe2f267ab8e8fe82ee20b4526b2c0cd9e135cea10feb44", size = 9300296, upload-time = "2025-09-09T08:20:50.366Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/99/ed35197a158f1fdc2fe7c3680e9c70d0128f662e1fee4ed495f4b5e13db0/scikit_learn-1.7.2-cp312-cp312-win_amd64.whl", hash = "sha256:6088aa475f0785e01bcf8529f55280a3d7d298679f50c0bb70a2364a82d0b290", size = 8731256, upload-time = "2025-09-09T08:20:52.627Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/93/a3038cb0293037fd335f77f31fe053b89c72f17b1c8908c576c29d953e84/scikit_learn-1.7.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:0b7dacaa05e5d76759fb071558a8b5130f4845166d88654a0f9bdf3eb57851b7", size = 9212382, upload-time = "2025-09-09T08:20:54.731Z" },
+ { url = "https://files.pythonhosted.org/packages/40/dd/9a88879b0c1104259136146e4742026b52df8540c39fec21a6383f8292c7/scikit_learn-1.7.2-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:abebbd61ad9e1deed54cca45caea8ad5f79e1b93173dece40bb8e0c658dbe6fe", size = 8592042, upload-time = "2025-09-09T08:20:57.313Z" },
+ { url = "https://files.pythonhosted.org/packages/46/af/c5e286471b7d10871b811b72ae794ac5fe2989c0a2df07f0ec723030f5f5/scikit_learn-1.7.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:502c18e39849c0ea1a5d681af1dbcf15f6cce601aebb657aabbfe84133c1907f", size = 9434180, upload-time = "2025-09-09T08:20:59.671Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/fd/df59faa53312d585023b2da27e866524ffb8faf87a68516c23896c718320/scikit_learn-1.7.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a4c328a71785382fe3fe676a9ecf2c86189249beff90bf85e22bdb7efaf9ae0", size = 9283660, upload-time = "2025-09-09T08:21:01.71Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/c7/03000262759d7b6f38c836ff9d512f438a70d8a8ddae68ee80de72dcfb63/scikit_learn-1.7.2-cp313-cp313-win_amd64.whl", hash = "sha256:63a9afd6f7b229aad94618c01c252ce9e6fa97918c5ca19c9a17a087d819440c", size = 8702057, upload-time = "2025-09-09T08:21:04.234Z" },
+ { url = "https://files.pythonhosted.org/packages/55/87/ef5eb1f267084532c8e4aef98a28b6ffe7425acbfd64b5e2f2e066bc29b3/scikit_learn-1.7.2-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:9acb6c5e867447b4e1390930e3944a005e2cb115922e693c08a323421a6966e8", size = 9558731, upload-time = "2025-09-09T08:21:06.381Z" },
+ { url = "https://files.pythonhosted.org/packages/93/f8/6c1e3fc14b10118068d7938878a9f3f4e6d7b74a8ddb1e5bed65159ccda8/scikit_learn-1.7.2-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:2a41e2a0ef45063e654152ec9d8bcfc39f7afce35b08902bfe290c2498a67a6a", size = 9038852, upload-time = "2025-09-09T08:21:08.628Z" },
+ { url = "https://files.pythonhosted.org/packages/83/87/066cafc896ee540c34becf95d30375fe5cbe93c3b75a0ee9aa852cd60021/scikit_learn-1.7.2-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:98335fb98509b73385b3ab2bd0639b1f610541d3988ee675c670371d6a87aa7c", size = 9527094, upload-time = "2025-09-09T08:21:11.486Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/2b/4903e1ccafa1f6453b1ab78413938c8800633988c838aa0be386cbb33072/scikit_learn-1.7.2-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:191e5550980d45449126e23ed1d5e9e24b2c68329ee1f691a3987476e115e09c", size = 9367436, upload-time = "2025-09-09T08:21:13.602Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/aa/8444be3cfb10451617ff9d177b3c190288f4563e6c50ff02728be67ad094/scikit_learn-1.7.2-cp313-cp313t-win_amd64.whl", hash = "sha256:57dc4deb1d3762c75d685507fbd0bc17160144b2f2ba4ccea5dc285ab0d0e973", size = 9275749, upload-time = "2025-09-09T08:21:15.96Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/82/dee5acf66837852e8e68df6d8d3a6cb22d3df997b733b032f513d95205b7/scikit_learn-1.7.2-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fa8f63940e29c82d1e67a45d5297bdebbcb585f5a5a50c4914cc2e852ab77f33", size = 9208906, upload-time = "2025-09-09T08:21:18.557Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/30/9029e54e17b87cb7d50d51a5926429c683d5b4c1732f0507a6c3bed9bf65/scikit_learn-1.7.2-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:f95dc55b7902b91331fa4e5845dd5bde0580c9cd9612b1b2791b7e80c3d32615", size = 8627836, upload-time = "2025-09-09T08:21:20.695Z" },
+ { url = "https://files.pythonhosted.org/packages/60/18/4a52c635c71b536879f4b971c2cedf32c35ee78f48367885ed8025d1f7ee/scikit_learn-1.7.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9656e4a53e54578ad10a434dc1f993330568cfee176dff07112b8785fb413106", size = 9426236, upload-time = "2025-09-09T08:21:22.645Z" },
+ { url = "https://files.pythonhosted.org/packages/99/7e/290362f6ab582128c53445458a5befd471ed1ea37953d5bcf80604619250/scikit_learn-1.7.2-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96dc05a854add0e50d3f47a1ef21a10a595016da5b007c7d9cd9d0bffd1fcc61", size = 9312593, upload-time = "2025-09-09T08:21:24.65Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/87/24f541b6d62b1794939ae6422f8023703bbf6900378b2b34e0b4384dfefd/scikit_learn-1.7.2-cp314-cp314-win_amd64.whl", hash = "sha256:bb24510ed3f9f61476181e4db51ce801e2ba37541def12dc9333b946fc7a9cf8", size = 8820007, upload-time = "2025-09-09T08:21:26.713Z" },
+]
+
+[[package]]
+name = "scipy"
+version = "1.15.3"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version < '3.11'",
+]
+dependencies = [
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/0f/37/6964b830433e654ec7485e45a00fc9a27cf868d622838f6b6d9c5ec0d532/scipy-1.15.3.tar.gz", hash = "sha256:eae3cf522bc7df64b42cad3925c876e1b0b6c35c1337c93e12c0f366f55b0eaf", size = 59419214, upload-time = "2025-05-08T16:13:05.955Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/78/2f/4966032c5f8cc7e6a60f1b2e0ad686293b9474b65246b0c642e3ef3badd0/scipy-1.15.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:a345928c86d535060c9c2b25e71e87c39ab2f22fc96e9636bd74d1dbf9de448c", size = 38702770, upload-time = "2025-05-08T16:04:20.849Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/6e/0c3bf90fae0e910c274db43304ebe25a6b391327f3f10b5dcc638c090795/scipy-1.15.3-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:ad3432cb0f9ed87477a8d97f03b763fd1d57709f1bbde3c9369b1dff5503b253", size = 30094511, upload-time = "2025-05-08T16:04:27.103Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/b1/4deb37252311c1acff7f101f6453f0440794f51b6eacb1aad4459a134081/scipy-1.15.3-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:aef683a9ae6eb00728a542b796f52a5477b78252edede72b8327a886ab63293f", size = 22368151, upload-time = "2025-05-08T16:04:31.731Z" },
+ { url = "https://files.pythonhosted.org/packages/38/7d/f457626e3cd3c29b3a49ca115a304cebb8cc6f31b04678f03b216899d3c6/scipy-1.15.3-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:1c832e1bd78dea67d5c16f786681b28dd695a8cb1fb90af2e27580d3d0967e92", size = 25121732, upload-time = "2025-05-08T16:04:36.596Z" },
+ { url = "https://files.pythonhosted.org/packages/db/0a/92b1de4a7adc7a15dcf5bddc6e191f6f29ee663b30511ce20467ef9b82e4/scipy-1.15.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:263961f658ce2165bbd7b99fa5135195c3a12d9bef045345016b8b50c315cb82", size = 35547617, upload-time = "2025-05-08T16:04:43.546Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/6d/41991e503e51fc1134502694c5fa7a1671501a17ffa12716a4a9151af3df/scipy-1.15.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e2abc762b0811e09a0d3258abee2d98e0c703eee49464ce0069590846f31d40", size = 37662964, upload-time = "2025-05-08T16:04:49.431Z" },
+ { url = "https://files.pythonhosted.org/packages/25/e1/3df8f83cb15f3500478c889be8fb18700813b95e9e087328230b98d547ff/scipy-1.15.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ed7284b21a7a0c8f1b6e5977ac05396c0d008b89e05498c8b7e8f4a1423bba0e", size = 37238749, upload-time = "2025-05-08T16:04:55.215Z" },
+ { url = "https://files.pythonhosted.org/packages/93/3e/b3257cf446f2a3533ed7809757039016b74cd6f38271de91682aa844cfc5/scipy-1.15.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5380741e53df2c566f4d234b100a484b420af85deb39ea35a1cc1be84ff53a5c", size = 40022383, upload-time = "2025-05-08T16:05:01.914Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/84/55bc4881973d3f79b479a5a2e2df61c8c9a04fcb986a213ac9c02cfb659b/scipy-1.15.3-cp310-cp310-win_amd64.whl", hash = "sha256:9d61e97b186a57350f6d6fd72640f9e99d5a4a2b8fbf4b9ee9a841eab327dc13", size = 41259201, upload-time = "2025-05-08T16:05:08.166Z" },
+ { url = "https://files.pythonhosted.org/packages/96/ab/5cc9f80f28f6a7dff646c5756e559823614a42b1939d86dd0ed550470210/scipy-1.15.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:993439ce220d25e3696d1b23b233dd010169b62f6456488567e830654ee37a6b", size = 38714255, upload-time = "2025-05-08T16:05:14.596Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/4a/66ba30abe5ad1a3ad15bfb0b59d22174012e8056ff448cb1644deccbfed2/scipy-1.15.3-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:34716e281f181a02341ddeaad584205bd2fd3c242063bd3423d61ac259ca7eba", size = 30111035, upload-time = "2025-05-08T16:05:20.152Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/fa/a7e5b95afd80d24313307f03624acc65801846fa75599034f8ceb9e2cbf6/scipy-1.15.3-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:3b0334816afb8b91dab859281b1b9786934392aa3d527cd847e41bb6f45bee65", size = 22384499, upload-time = "2025-05-08T16:05:24.494Z" },
+ { url = "https://files.pythonhosted.org/packages/17/99/f3aaddccf3588bb4aea70ba35328c204cadd89517a1612ecfda5b2dd9d7a/scipy-1.15.3-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:6db907c7368e3092e24919b5e31c76998b0ce1684d51a90943cb0ed1b4ffd6c1", size = 25152602, upload-time = "2025-05-08T16:05:29.313Z" },
+ { url = "https://files.pythonhosted.org/packages/56/c5/1032cdb565f146109212153339f9cb8b993701e9fe56b1c97699eee12586/scipy-1.15.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:721d6b4ef5dc82ca8968c25b111e307083d7ca9091bc38163fb89243e85e3889", size = 35503415, upload-time = "2025-05-08T16:05:34.699Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/37/89f19c8c05505d0601ed5650156e50eb881ae3918786c8fd7262b4ee66d3/scipy-1.15.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39cb9c62e471b1bb3750066ecc3a3f3052b37751c7c3dfd0fd7e48900ed52982", size = 37652622, upload-time = "2025-05-08T16:05:40.762Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/31/be59513aa9695519b18e1851bb9e487de66f2d31f835201f1b42f5d4d475/scipy-1.15.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:795c46999bae845966368a3c013e0e00947932d68e235702b5c3f6ea799aa8c9", size = 37244796, upload-time = "2025-05-08T16:05:48.119Z" },
+ { url = "https://files.pythonhosted.org/packages/10/c0/4f5f3eeccc235632aab79b27a74a9130c6c35df358129f7ac8b29f562ac7/scipy-1.15.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:18aaacb735ab38b38db42cb01f6b92a2d0d4b6aabefeb07f02849e47f8fb3594", size = 40047684, upload-time = "2025-05-08T16:05:54.22Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/a7/0ddaf514ce8a8714f6ed243a2b391b41dbb65251affe21ee3077ec45ea9a/scipy-1.15.3-cp311-cp311-win_amd64.whl", hash = "sha256:ae48a786a28412d744c62fd7816a4118ef97e5be0bee968ce8f0a2fba7acf3bb", size = 41246504, upload-time = "2025-05-08T16:06:00.437Z" },
+ { url = "https://files.pythonhosted.org/packages/37/4b/683aa044c4162e10ed7a7ea30527f2cbd92e6999c10a8ed8edb253836e9c/scipy-1.15.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6ac6310fdbfb7aa6612408bd2f07295bcbd3fda00d2d702178434751fe48e019", size = 38766735, upload-time = "2025-05-08T16:06:06.471Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/7e/f30be3d03de07f25dc0ec926d1681fed5c732d759ac8f51079708c79e680/scipy-1.15.3-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:185cd3d6d05ca4b44a8f1595af87f9c372bb6acf9c808e99aa3e9aa03bd98cf6", size = 30173284, upload-time = "2025-05-08T16:06:11.686Z" },
+ { url = "https://files.pythonhosted.org/packages/07/9c/0ddb0d0abdabe0d181c1793db51f02cd59e4901da6f9f7848e1f96759f0d/scipy-1.15.3-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:05dc6abcd105e1a29f95eada46d4a3f251743cfd7d3ae8ddb4088047f24ea477", size = 22446958, upload-time = "2025-05-08T16:06:15.97Z" },
+ { url = "https://files.pythonhosted.org/packages/af/43/0bce905a965f36c58ff80d8bea33f1f9351b05fad4beaad4eae34699b7a1/scipy-1.15.3-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:06efcba926324df1696931a57a176c80848ccd67ce6ad020c810736bfd58eb1c", size = 25242454, upload-time = "2025-05-08T16:06:20.394Z" },
+ { url = "https://files.pythonhosted.org/packages/56/30/a6f08f84ee5b7b28b4c597aca4cbe545535c39fe911845a96414700b64ba/scipy-1.15.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c05045d8b9bfd807ee1b9f38761993297b10b245f012b11b13b91ba8945f7e45", size = 35210199, upload-time = "2025-05-08T16:06:26.159Z" },
+ { url = "https://files.pythonhosted.org/packages/0b/1f/03f52c282437a168ee2c7c14a1a0d0781a9a4a8962d84ac05c06b4c5b555/scipy-1.15.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:271e3713e645149ea5ea3e97b57fdab61ce61333f97cfae392c28ba786f9bb49", size = 37309455, upload-time = "2025-05-08T16:06:32.778Z" },
+ { url = "https://files.pythonhosted.org/packages/89/b1/fbb53137f42c4bf630b1ffdfc2151a62d1d1b903b249f030d2b1c0280af8/scipy-1.15.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6cfd56fc1a8e53f6e89ba3a7a7251f7396412d655bca2aa5611c8ec9a6784a1e", size = 36885140, upload-time = "2025-05-08T16:06:39.249Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/2e/025e39e339f5090df1ff266d021892694dbb7e63568edcfe43f892fa381d/scipy-1.15.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0ff17c0bb1cb32952c09217d8d1eed9b53d1463e5f1dd6052c7857f83127d539", size = 39710549, upload-time = "2025-05-08T16:06:45.729Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/eb/3bf6ea8ab7f1503dca3a10df2e4b9c3f6b3316df07f6c0ded94b281c7101/scipy-1.15.3-cp312-cp312-win_amd64.whl", hash = "sha256:52092bc0472cfd17df49ff17e70624345efece4e1a12b23783a1ac59a1b728ed", size = 40966184, upload-time = "2025-05-08T16:06:52.623Z" },
+ { url = "https://files.pythonhosted.org/packages/73/18/ec27848c9baae6e0d6573eda6e01a602e5649ee72c27c3a8aad673ebecfd/scipy-1.15.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:2c620736bcc334782e24d173c0fdbb7590a0a436d2fdf39310a8902505008759", size = 38728256, upload-time = "2025-05-08T16:06:58.696Z" },
+ { url = "https://files.pythonhosted.org/packages/74/cd/1aef2184948728b4b6e21267d53b3339762c285a46a274ebb7863c9e4742/scipy-1.15.3-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:7e11270a000969409d37ed399585ee530b9ef6aa99d50c019de4cb01e8e54e62", size = 30109540, upload-time = "2025-05-08T16:07:04.209Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/d8/59e452c0a255ec352bd0a833537a3bc1bfb679944c4938ab375b0a6b3a3e/scipy-1.15.3-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:8c9ed3ba2c8a2ce098163a9bdb26f891746d02136995df25227a20e71c396ebb", size = 22383115, upload-time = "2025-05-08T16:07:08.998Z" },
+ { url = "https://files.pythonhosted.org/packages/08/f5/456f56bbbfccf696263b47095291040655e3cbaf05d063bdc7c7517f32ac/scipy-1.15.3-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:0bdd905264c0c9cfa74a4772cdb2070171790381a5c4d312c973382fc6eaf730", size = 25163884, upload-time = "2025-05-08T16:07:14.091Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/66/a9618b6a435a0f0c0b8a6d0a2efb32d4ec5a85f023c2b79d39512040355b/scipy-1.15.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79167bba085c31f38603e11a267d862957cbb3ce018d8b38f79ac043bc92d825", size = 35174018, upload-time = "2025-05-08T16:07:19.427Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/09/c5b6734a50ad4882432b6bb7c02baf757f5b2f256041da5df242e2d7e6b6/scipy-1.15.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c9deabd6d547aee2c9a81dee6cc96c6d7e9a9b1953f74850c179f91fdc729cb7", size = 37269716, upload-time = "2025-05-08T16:07:25.712Z" },
+ { url = "https://files.pythonhosted.org/packages/77/0a/eac00ff741f23bcabd352731ed9b8995a0a60ef57f5fd788d611d43d69a1/scipy-1.15.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:dde4fc32993071ac0c7dd2d82569e544f0bdaff66269cb475e0f369adad13f11", size = 36872342, upload-time = "2025-05-08T16:07:31.468Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/54/4379be86dd74b6ad81551689107360d9a3e18f24d20767a2d5b9253a3f0a/scipy-1.15.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f77f853d584e72e874d87357ad70f44b437331507d1c311457bed8ed2b956126", size = 39670869, upload-time = "2025-05-08T16:07:38.002Z" },
+ { url = "https://files.pythonhosted.org/packages/87/2e/892ad2862ba54f084ffe8cc4a22667eaf9c2bcec6d2bff1d15713c6c0703/scipy-1.15.3-cp313-cp313-win_amd64.whl", hash = "sha256:b90ab29d0c37ec9bf55424c064312930ca5f4bde15ee8619ee44e69319aab163", size = 40988851, upload-time = "2025-05-08T16:08:33.671Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/e9/7a879c137f7e55b30d75d90ce3eb468197646bc7b443ac036ae3fe109055/scipy-1.15.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:3ac07623267feb3ae308487c260ac684b32ea35fd81e12845039952f558047b8", size = 38863011, upload-time = "2025-05-08T16:07:44.039Z" },
+ { url = "https://files.pythonhosted.org/packages/51/d1/226a806bbd69f62ce5ef5f3ffadc35286e9fbc802f606a07eb83bf2359de/scipy-1.15.3-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:6487aa99c2a3d509a5227d9a5e889ff05830a06b2ce08ec30df6d79db5fcd5c5", size = 30266407, upload-time = "2025-05-08T16:07:49.891Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/9b/f32d1d6093ab9eeabbd839b0f7619c62e46cc4b7b6dbf05b6e615bbd4400/scipy-1.15.3-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:50f9e62461c95d933d5c5ef4a1f2ebf9a2b4e83b0db374cb3f1de104d935922e", size = 22540030, upload-time = "2025-05-08T16:07:54.121Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/29/c278f699b095c1a884f29fda126340fcc201461ee8bfea5c8bdb1c7c958b/scipy-1.15.3-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:14ed70039d182f411ffc74789a16df3835e05dc469b898233a245cdfd7f162cb", size = 25218709, upload-time = "2025-05-08T16:07:58.506Z" },
+ { url = "https://files.pythonhosted.org/packages/24/18/9e5374b617aba742a990581373cd6b68a2945d65cc588482749ef2e64467/scipy-1.15.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a769105537aa07a69468a0eefcd121be52006db61cdd8cac8a0e68980bbb723", size = 34809045, upload-time = "2025-05-08T16:08:03.929Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/fe/9c4361e7ba2927074360856db6135ef4904d505e9b3afbbcb073c4008328/scipy-1.15.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9db984639887e3dffb3928d118145ffe40eff2fa40cb241a306ec57c219ebbbb", size = 36703062, upload-time = "2025-05-08T16:08:09.558Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/8e/038ccfe29d272b30086b25a4960f757f97122cb2ec42e62b460d02fe98e9/scipy-1.15.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:40e54d5c7e7ebf1aa596c374c49fa3135f04648a0caabcb66c52884b943f02b4", size = 36393132, upload-time = "2025-05-08T16:08:15.34Z" },
+ { url = "https://files.pythonhosted.org/packages/10/7e/5c12285452970be5bdbe8352c619250b97ebf7917d7a9a9e96b8a8140f17/scipy-1.15.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:5e721fed53187e71d0ccf382b6bf977644c533e506c4d33c3fb24de89f5c3ed5", size = 38979503, upload-time = "2025-05-08T16:08:21.513Z" },
+ { url = "https://files.pythonhosted.org/packages/81/06/0a5e5349474e1cbc5757975b21bd4fad0e72ebf138c5592f191646154e06/scipy-1.15.3-cp313-cp313t-win_amd64.whl", hash = "sha256:76ad1fb5f8752eabf0fa02e4cc0336b4e8f021e2d5f061ed37d6d264db35e3ca", size = 40308097, upload-time = "2025-05-08T16:08:27.627Z" },
+]
+
+[[package]]
+name = "scipy"
+version = "1.16.2"
+source = { registry = "https://pypi.org/simple" }
+resolution-markers = [
+ "python_full_version >= '3.15'",
+ "python_full_version == '3.14.*'",
+ "python_full_version == '3.13.*'",
+ "python_full_version == '3.12.*'",
+ "python_full_version == '3.11.*'",
+]
+dependencies = [
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/4c/3b/546a6f0bfe791bbb7f8d591613454d15097e53f906308ec6f7c1ce588e8e/scipy-1.16.2.tar.gz", hash = "sha256:af029b153d243a80afb6eabe40b0a07f8e35c9adc269c019f364ad747f826a6b", size = 30580599, upload-time = "2025-09-11T17:48:08.271Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/ef/37ed4b213d64b48422df92560af7300e10fe30b5d665dd79932baebee0c6/scipy-1.16.2-cp311-cp311-macosx_10_14_x86_64.whl", hash = "sha256:6ab88ea43a57da1af33292ebd04b417e8e2eaf9d5aa05700be8d6e1b6501cd92", size = 36619956, upload-time = "2025-09-11T17:39:20.5Z" },
+ { url = "https://files.pythonhosted.org/packages/85/ab/5c2eba89b9416961a982346a4d6a647d78c91ec96ab94ed522b3b6baf444/scipy-1.16.2-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:c95e96c7305c96ede73a7389f46ccd6c659c4da5ef1b2789466baeaed3622b6e", size = 28931117, upload-time = "2025-09-11T17:39:29.06Z" },
+ { url = "https://files.pythonhosted.org/packages/80/d1/eed51ab64d227fe60229a2d57fb60ca5898cfa50ba27d4f573e9e5f0b430/scipy-1.16.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:87eb178db04ece7c698220d523c170125dbffebb7af0345e66c3554f6f60c173", size = 20921997, upload-time = "2025-09-11T17:39:34.892Z" },
+ { url = "https://files.pythonhosted.org/packages/be/7c/33ea3e23bbadde96726edba6bf9111fb1969d14d9d477ffa202c67bec9da/scipy-1.16.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:4e409eac067dcee96a57fbcf424c13f428037827ec7ee3cb671ff525ca4fc34d", size = 23523374, upload-time = "2025-09-11T17:39:40.846Z" },
+ { url = "https://files.pythonhosted.org/packages/96/0b/7399dc96e1e3f9a05e258c98d716196a34f528eef2ec55aad651ed136d03/scipy-1.16.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e574be127bb760f0dad24ff6e217c80213d153058372362ccb9555a10fc5e8d2", size = 33583702, upload-time = "2025-09-11T17:39:49.011Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/bc/a5c75095089b96ea72c1bd37a4497c24b581ec73db4ef58ebee142ad2d14/scipy-1.16.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f5db5ba6188d698ba7abab982ad6973265b74bb40a1efe1821b58c87f73892b9", size = 35883427, upload-time = "2025-09-11T17:39:57.406Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/66/e25705ca3d2b87b97fe0a278a24b7f477b4023a926847935a1a71488a6a6/scipy-1.16.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ec6e74c4e884104ae006d34110677bfe0098203a3fec2f3faf349f4cb05165e3", size = 36212940, upload-time = "2025-09-11T17:40:06.013Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/fd/0bb911585e12f3abdd603d721d83fc1c7492835e1401a0e6d498d7822b4b/scipy-1.16.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:912f46667d2d3834bc3d57361f854226475f695eb08c08a904aadb1c936b6a88", size = 38865092, upload-time = "2025-09-11T17:40:15.143Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/73/c449a7d56ba6e6f874183759f8483cde21f900a8be117d67ffbb670c2958/scipy-1.16.2-cp311-cp311-win_amd64.whl", hash = "sha256:91e9e8a37befa5a69e9cacbe0bcb79ae5afb4a0b130fd6db6ee6cc0d491695fa", size = 38687626, upload-time = "2025-09-11T17:40:24.041Z" },
+ { url = "https://files.pythonhosted.org/packages/68/72/02f37316adf95307f5d9e579023c6899f89ff3a051fa079dbd6faafc48e5/scipy-1.16.2-cp311-cp311-win_arm64.whl", hash = "sha256:f3bf75a6dcecab62afde4d1f973f1692be013110cad5338007927db8da73249c", size = 25503506, upload-time = "2025-09-11T17:40:30.703Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/8d/6396e00db1282279a4ddd507c5f5e11f606812b608ee58517ce8abbf883f/scipy-1.16.2-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:89d6c100fa5c48472047632e06f0876b3c4931aac1f4291afc81a3644316bb0d", size = 36646259, upload-time = "2025-09-11T17:40:39.329Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/93/ea9edd7e193fceb8eef149804491890bde73fb169c896b61aa3e2d1e4e77/scipy-1.16.2-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:ca748936cd579d3f01928b30a17dc474550b01272d8046e3e1ee593f23620371", size = 28888976, upload-time = "2025-09-11T17:40:46.82Z" },
+ { url = "https://files.pythonhosted.org/packages/91/4d/281fddc3d80fd738ba86fd3aed9202331180b01e2c78eaae0642f22f7e83/scipy-1.16.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:fac4f8ce2ddb40e2e3d0f7ec36d2a1e7f92559a2471e59aec37bd8d9de01fec0", size = 20879905, upload-time = "2025-09-11T17:40:52.545Z" },
+ { url = "https://files.pythonhosted.org/packages/69/40/b33b74c84606fd301b2915f0062e45733c6ff5708d121dd0deaa8871e2d0/scipy-1.16.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:033570f1dcefd79547a88e18bccacff025c8c647a330381064f561d43b821232", size = 23553066, upload-time = "2025-09-11T17:40:59.014Z" },
+ { url = "https://files.pythonhosted.org/packages/55/a7/22c739e2f21a42cc8f16bc76b47cff4ed54fbe0962832c589591c2abec34/scipy-1.16.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ea3421209bf00c8a5ef2227de496601087d8f638a2363ee09af059bd70976dc1", size = 33336407, upload-time = "2025-09-11T17:41:06.796Z" },
+ { url = "https://files.pythonhosted.org/packages/53/11/a0160990b82999b45874dc60c0c183d3a3a969a563fffc476d5a9995c407/scipy-1.16.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f66bd07ba6f84cd4a380b41d1bf3c59ea488b590a2ff96744845163309ee8e2f", size = 35673281, upload-time = "2025-09-11T17:41:15.055Z" },
+ { url = "https://files.pythonhosted.org/packages/96/53/7ef48a4cfcf243c3d0f1643f5887c81f29fdf76911c4e49331828e19fc0a/scipy-1.16.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e9feab931bd2aea4a23388c962df6468af3d808ddf2d40f94a81c5dc38f32ef", size = 36004222, upload-time = "2025-09-11T17:41:23.868Z" },
+ { url = "https://files.pythonhosted.org/packages/49/7f/71a69e0afd460049d41c65c630c919c537815277dfea214031005f474d78/scipy-1.16.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03dfc75e52f72cf23ec2ced468645321407faad8f0fe7b1f5b49264adbc29cb1", size = 38664586, upload-time = "2025-09-11T17:41:31.021Z" },
+ { url = "https://files.pythonhosted.org/packages/34/95/20e02ca66fb495a95fba0642fd48e0c390d0ece9b9b14c6e931a60a12dea/scipy-1.16.2-cp312-cp312-win_amd64.whl", hash = "sha256:0ce54e07bbb394b417457409a64fd015be623f36e330ac49306433ffe04bc97e", size = 38550641, upload-time = "2025-09-11T17:41:36.61Z" },
+ { url = "https://files.pythonhosted.org/packages/92/ad/13646b9beb0a95528ca46d52b7babafbe115017814a611f2065ee4e61d20/scipy-1.16.2-cp312-cp312-win_arm64.whl", hash = "sha256:2a8ffaa4ac0df81a0b94577b18ee079f13fecdb924df3328fc44a7dc5ac46851", size = 25456070, upload-time = "2025-09-11T17:41:41.3Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/27/c5b52f1ee81727a9fc457f5ac1e9bf3d6eab311805ea615c83c27ba06400/scipy-1.16.2-cp313-cp313-macosx_10_14_x86_64.whl", hash = "sha256:84f7bf944b43e20b8a894f5fe593976926744f6c185bacfcbdfbb62736b5cc70", size = 36604856, upload-time = "2025-09-11T17:41:47.695Z" },
+ { url = "https://files.pythonhosted.org/packages/32/a9/15c20d08e950b540184caa8ced675ba1128accb0e09c653780ba023a4110/scipy-1.16.2-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:5c39026d12edc826a1ef2ad35ad1e6d7f087f934bb868fc43fa3049c8b8508f9", size = 28864626, upload-time = "2025-09-11T17:41:52.642Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/fc/ea36098df653cca26062a627c1a94b0de659e97127c8491e18713ca0e3b9/scipy-1.16.2-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:e52729ffd45b68777c5319560014d6fd251294200625d9d70fd8626516fc49f5", size = 20855689, upload-time = "2025-09-11T17:41:57.886Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/6f/d0b53be55727f3e6d7c72687ec18ea6d0047cf95f1f77488b99a2bafaee1/scipy-1.16.2-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:024dd4a118cccec09ca3209b7e8e614931a6ffb804b2a601839499cb88bdf925", size = 23512151, upload-time = "2025-09-11T17:42:02.303Z" },
+ { url = "https://files.pythonhosted.org/packages/11/85/bf7dab56e5c4b1d3d8eef92ca8ede788418ad38a7dc3ff50262f00808760/scipy-1.16.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7a5dc7ee9c33019973a470556081b0fd3c9f4c44019191039f9769183141a4d9", size = 33329824, upload-time = "2025-09-11T17:42:07.549Z" },
+ { url = "https://files.pythonhosted.org/packages/da/6a/1a927b14ddc7714111ea51f4e568203b2bb6ed59bdd036d62127c1a360c8/scipy-1.16.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c2275ff105e508942f99d4e3bc56b6ef5e4b3c0af970386ca56b777608ce95b7", size = 35681881, upload-time = "2025-09-11T17:42:13.255Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/5f/331148ea5780b4fcc7007a4a6a6ee0a0c1507a796365cc642d4d226e1c3a/scipy-1.16.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:af80196eaa84f033e48444d2e0786ec47d328ba00c71e4299b602235ffef9acb", size = 36006219, upload-time = "2025-09-11T17:42:18.765Z" },
+ { url = "https://files.pythonhosted.org/packages/46/3a/e991aa9d2aec723b4a8dcfbfc8365edec5d5e5f9f133888067f1cbb7dfc1/scipy-1.16.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9fb1eb735fe3d6ed1f89918224e3385fbf6f9e23757cacc35f9c78d3b712dd6e", size = 38682147, upload-time = "2025-09-11T17:42:25.177Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/57/0f38e396ad19e41b4c5db66130167eef8ee620a49bc7d0512e3bb67e0cab/scipy-1.16.2-cp313-cp313-win_amd64.whl", hash = "sha256:fda714cf45ba43c9d3bae8f2585c777f64e3f89a2e073b668b32ede412d8f52c", size = 38520766, upload-time = "2025-09-11T17:43:25.342Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/a5/85d3e867b6822d331e26c862a91375bb7746a0b458db5effa093d34cdb89/scipy-1.16.2-cp313-cp313-win_arm64.whl", hash = "sha256:2f5350da923ccfd0b00e07c3e5cfb316c1c0d6c1d864c07a72d092e9f20db104", size = 25451169, upload-time = "2025-09-11T17:43:30.198Z" },
+ { url = "https://files.pythonhosted.org/packages/09/d9/60679189bcebda55992d1a45498de6d080dcaf21ce0c8f24f888117e0c2d/scipy-1.16.2-cp313-cp313t-macosx_10_14_x86_64.whl", hash = "sha256:53d8d2ee29b925344c13bda64ab51785f016b1b9617849dac10897f0701b20c1", size = 37012682, upload-time = "2025-09-11T17:42:30.677Z" },
+ { url = "https://files.pythonhosted.org/packages/83/be/a99d13ee4d3b7887a96f8c71361b9659ba4ef34da0338f14891e102a127f/scipy-1.16.2-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:9e05e33657efb4c6a9d23bd8300101536abd99c85cca82da0bffff8d8764d08a", size = 29389926, upload-time = "2025-09-11T17:42:35.845Z" },
+ { url = "https://files.pythonhosted.org/packages/bf/0a/130164a4881cec6ca8c00faf3b57926f28ed429cd6001a673f83c7c2a579/scipy-1.16.2-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:7fe65b36036357003b3ef9d37547abeefaa353b237e989c21027b8ed62b12d4f", size = 21381152, upload-time = "2025-09-11T17:42:40.07Z" },
+ { url = "https://files.pythonhosted.org/packages/47/a6/503ffb0310ae77fba874e10cddfc4a1280bdcca1d13c3751b8c3c2996cf8/scipy-1.16.2-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:6406d2ac6d40b861cccf57f49592f9779071655e9f75cd4f977fa0bdd09cb2e4", size = 23914410, upload-time = "2025-09-11T17:42:44.313Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/c7/1147774bcea50d00c02600aadaa919facbd8537997a62496270133536ed6/scipy-1.16.2-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ff4dc42bd321991fbf611c23fc35912d690f731c9914bf3af8f417e64aca0f21", size = 33481880, upload-time = "2025-09-11T17:42:49.325Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/74/99d5415e4c3e46b2586f30cdbecb95e101c7192628a484a40dd0d163811a/scipy-1.16.2-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:654324826654d4d9133e10675325708fb954bc84dae6e9ad0a52e75c6b1a01d7", size = 35791425, upload-time = "2025-09-11T17:42:54.711Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/ee/a6559de7c1cc710e938c0355d9d4fbcd732dac4d0d131959d1f3b63eb29c/scipy-1.16.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:63870a84cd15c44e65220eaed2dac0e8f8b26bbb991456a033c1d9abfe8a94f8", size = 36178622, upload-time = "2025-09-11T17:43:00.375Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/7b/f127a5795d5ba8ece4e0dce7d4a9fb7cb9e4f4757137757d7a69ab7d4f1a/scipy-1.16.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:fa01f0f6a3050fa6a9771a95d5faccc8e2f5a92b4a2e5440a0fa7264a2398472", size = 38783985, upload-time = "2025-09-11T17:43:06.661Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/9f/bc81c1d1e033951eb5912cd3750cc005943afa3e65a725d2443a3b3c4347/scipy-1.16.2-cp313-cp313t-win_amd64.whl", hash = "sha256:116296e89fba96f76353a8579820c2512f6e55835d3fad7780fece04367de351", size = 38631367, upload-time = "2025-09-11T17:43:14.44Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/5e/2cc7555fd81d01814271412a1d59a289d25f8b63208a0a16c21069d55d3e/scipy-1.16.2-cp313-cp313t-win_arm64.whl", hash = "sha256:98e22834650be81d42982360382b43b17f7ba95e0e6993e2a4f5b9ad9283a94d", size = 25787992, upload-time = "2025-09-11T17:43:19.745Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/ac/ad8951250516db71619f0bd3b2eb2448db04b720a003dd98619b78b692c0/scipy-1.16.2-cp314-cp314-macosx_10_14_x86_64.whl", hash = "sha256:567e77755019bb7461513c87f02bb73fb65b11f049aaaa8ca17cfaa5a5c45d77", size = 36595109, upload-time = "2025-09-11T17:43:35.713Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/f6/5779049ed119c5b503b0f3dc6d6f3f68eefc3a9190d4ad4c276f854f051b/scipy-1.16.2-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:17d9bb346194e8967296621208fcdfd39b55498ef7d2f376884d5ac47cec1a70", size = 28859110, upload-time = "2025-09-11T17:43:40.814Z" },
+ { url = "https://files.pythonhosted.org/packages/82/09/9986e410ae38bf0a0c737ff8189ac81a93b8e42349aac009891c054403d7/scipy-1.16.2-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:0a17541827a9b78b777d33b623a6dcfe2ef4a25806204d08ead0768f4e529a88", size = 20850110, upload-time = "2025-09-11T17:43:44.981Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/ad/485cdef2d9215e2a7df6d61b81d2ac073dfacf6ae24b9ae87274c4e936ae/scipy-1.16.2-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:d7d4c6ba016ffc0f9568d012f5f1eb77ddd99412aea121e6fa8b4c3b7cbad91f", size = 23497014, upload-time = "2025-09-11T17:43:49.074Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/74/f6a852e5d581122b8f0f831f1d1e32fb8987776ed3658e95c377d308ed86/scipy-1.16.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:9702c4c023227785c779cba2e1d6f7635dbb5b2e0936cdd3a4ecb98d78fd41eb", size = 33401155, upload-time = "2025-09-11T17:43:54.661Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/f5/61d243bbc7c6e5e4e13dde9887e84a5cbe9e0f75fd09843044af1590844e/scipy-1.16.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d1cdf0ac28948d225decdefcc45ad7dd91716c29ab56ef32f8e0d50657dffcc7", size = 35691174, upload-time = "2025-09-11T17:44:00.101Z" },
+ { url = "https://files.pythonhosted.org/packages/03/99/59933956331f8cc57e406cdb7a483906c74706b156998f322913e789c7e1/scipy-1.16.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:70327d6aa572a17c2941cdfb20673f82e536e91850a2e4cb0c5b858b690e1548", size = 36070752, upload-time = "2025-09-11T17:44:05.619Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/7d/00f825cfb47ee19ef74ecf01244b43e95eae74e7e0ff796026ea7cd98456/scipy-1.16.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5221c0b2a4b58aa7c4ed0387d360fd90ee9086d383bb34d9f2789fafddc8a936", size = 38701010, upload-time = "2025-09-11T17:44:11.322Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/9f/b62587029980378304ba5a8563d376c96f40b1e133daacee76efdcae32de/scipy-1.16.2-cp314-cp314-win_amd64.whl", hash = "sha256:f5a85d7b2b708025af08f060a496dd261055b617d776fc05a1a1cc69e09fe9ff", size = 39360061, upload-time = "2025-09-11T17:45:09.814Z" },
+ { url = "https://files.pythonhosted.org/packages/82/04/7a2f1609921352c7fbee0815811b5050582f67f19983096c4769867ca45f/scipy-1.16.2-cp314-cp314-win_arm64.whl", hash = "sha256:2cc73a33305b4b24556957d5857d6253ce1e2dcd67fa0ff46d87d1670b3e1e1d", size = 26126914, upload-time = "2025-09-11T17:45:14.73Z" },
+ { url = "https://files.pythonhosted.org/packages/51/b9/60929ce350c16b221928725d2d1d7f86cf96b8bc07415547057d1196dc92/scipy-1.16.2-cp314-cp314t-macosx_10_14_x86_64.whl", hash = "sha256:9ea2a3fed83065d77367775d689401a703d0f697420719ee10c0780bcab594d8", size = 37013193, upload-time = "2025-09-11T17:44:16.757Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/41/ed80e67782d4bc5fc85a966bc356c601afddd175856ba7c7bb6d9490607e/scipy-1.16.2-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:7280d926f11ca945c3ef92ba960fa924e1465f8d07ce3a9923080363390624c4", size = 29390172, upload-time = "2025-09-11T17:44:21.783Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/a3/2f673ace4090452696ccded5f5f8efffb353b8f3628f823a110e0170b605/scipy-1.16.2-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:8afae1756f6a1fe04636407ef7dbece33d826a5d462b74f3d0eb82deabefd831", size = 21381326, upload-time = "2025-09-11T17:44:25.982Z" },
+ { url = "https://files.pythonhosted.org/packages/42/bf/59df61c5d51395066c35836b78136accf506197617c8662e60ea209881e1/scipy-1.16.2-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:5c66511f29aa8d233388e7416a3f20d5cae7a2744d5cee2ecd38c081f4e861b3", size = 23915036, upload-time = "2025-09-11T17:44:30.527Z" },
+ { url = "https://files.pythonhosted.org/packages/91/c3/edc7b300dc16847ad3672f1a6f3f7c5d13522b21b84b81c265f4f2760d4a/scipy-1.16.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:efe6305aeaa0e96b0ccca5ff647a43737d9a092064a3894e46c414db84bc54ac", size = 33484341, upload-time = "2025-09-11T17:44:35.981Z" },
+ { url = "https://files.pythonhosted.org/packages/26/c7/24d1524e72f06ff141e8d04b833c20db3021020563272ccb1b83860082a9/scipy-1.16.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7f3a337d9ae06a1e8d655ee9d8ecb835ea5ddcdcbd8d23012afa055ab014f374", size = 35790840, upload-time = "2025-09-11T17:44:41.76Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/b7/5aaad984eeedd56858dc33d75efa59e8ce798d918e1033ef62d2708f2c3d/scipy-1.16.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bab3605795d269067d8ce78a910220262711b753de8913d3deeaedb5dded3bb6", size = 36174716, upload-time = "2025-09-11T17:44:47.316Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/c2/e276a237acb09824822b0ada11b028ed4067fdc367a946730979feacb870/scipy-1.16.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b0348d8ddb55be2a844c518cd8cc8deeeb8aeba707cf834db5758fc89b476a2c", size = 38790088, upload-time = "2025-09-11T17:44:53.011Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/b4/5c18a766e8353015439f3780f5fc473f36f9762edc1a2e45da3ff5a31b21/scipy-1.16.2-cp314-cp314t-win_amd64.whl", hash = "sha256:26284797e38b8a75e14ea6631d29bda11e76ceaa6ddb6fdebbfe4c4d90faf2f9", size = 39457455, upload-time = "2025-09-11T17:44:58.899Z" },
+ { url = "https://files.pythonhosted.org/packages/97/30/2f9a5243008f76dfc5dee9a53dfb939d9b31e16ce4bd4f2e628bfc5d89d2/scipy-1.16.2-cp314-cp314t-win_arm64.whl", hash = "sha256:d2a4472c231328d4de38d5f1f68fdd6d28a615138f842580a8a321b5845cf779", size = 26448374, upload-time = "2025-09-11T17:45:03.45Z" },
+]
+
+[[package]]
+name = "send2trash"
+version = "1.8.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fd/3a/aec9b02217bb79b87bbc1a21bc6abc51e3d5dcf65c30487ac96c0908c722/Send2Trash-1.8.3.tar.gz", hash = "sha256:b18e7a3966d99871aefeb00cfbcfdced55ce4871194810fc71f4aa484b953abf", size = 17394, upload-time = "2024-04-07T00:01:09.267Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/40/b0/4562db6223154aa4e22f939003cb92514c79f3d4dccca3444253fd17f902/Send2Trash-1.8.3-py3-none-any.whl", hash = "sha256:0c31227e0bd08961c7665474a3d1ef7193929fedda4233843689baa056be46c9", size = 18072, upload-time = "2024-04-07T00:01:07.438Z" },
+]
+
+[[package]]
+name = "sentence-transformers"
+version = "5.6.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "huggingface-hub" },
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "scikit-learn" },
+ { name = "scipy", version = "1.15.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "scipy", version = "1.16.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "torch" },
+ { name = "tqdm" },
+ { name = "transformers" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f9/56/d2cb00765a6b15c994a7fccf20f9032f16e8193ca49147cb5155166ad744/sentence_transformers-5.6.0.tar.gz", hash = "sha256:0e7164d051e416c1853ade7c274ff52af3f9da0f4be7f0b83d734c27699e1057", size = 453194, upload-time = "2026-06-16T14:01:56.42Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/76/c1/dc1582b79e9a2eb0cddf9559cd9bcdff084f541d6fe881fdd9d98630dba7/sentence_transformers-5.6.0-py3-none-any.whl", hash = "sha256:d2075b5e687a1611005e20ab04a6846994d51adfcf39610aed066af3c0c0b81f", size = 596411, upload-time = "2026-06-16T14:01:55.103Z" },
+]
+
+[[package]]
+name = "setuptools"
+version = "80.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/18/5d/3bf57dcd21979b887f014ea83c24ae194cfcd12b9e0fda66b957c69d1fca/setuptools-80.9.0.tar.gz", hash = "sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c", size = 1319958, upload-time = "2025-05-27T00:56:51.443Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a3/dc/17031897dae0efacfea57dfd3a82fdd2a2aeb58e0ff71b77b87e44edc772/setuptools-80.9.0-py3-none-any.whl", hash = "sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922", size = 1201486, upload-time = "2025-05-27T00:56:49.664Z" },
+]
+
+[[package]]
+name = "shellingham"
+version = "1.5.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310, upload-time = "2023-10-24T04:13:40.426Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755, upload-time = "2023-10-24T04:13:38.866Z" },
+]
+
+[[package]]
+name = "six"
+version = "1.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" },
+]
+
+[[package]]
+name = "smart-open"
+version = "7.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "wrapt" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/16/be/bf2d60280a9d7fac98ece2150a22538fa4332cda67d04d9618c8406f791e/smart_open-7.3.1.tar.gz", hash = "sha256:b33fee8dffd206f189d5e704106a8723afb4210d2ff47e0e1f7fbe436187a990", size = 51405, upload-time = "2025-09-08T10:03:53.726Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/d9/460cf1d58945dd771c228c29d5664f431dfc4060d3d092fed40546b11472/smart_open-7.3.1-py3-none-any.whl", hash = "sha256:e243b2e7f69d6c0c96dd763d6fbbedbb4e0e4fc6d74aa007acc5b018d523858c", size = 61722, upload-time = "2025-09-08T10:03:52.02Z" },
+]
+
+[[package]]
+name = "sniffio"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" },
+]
+
+[[package]]
+name = "soupsieve"
+version = "2.8"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/6d/e6/21ccce3262dd4889aa3332e5a119a3491a95e8f60939870a3a035aabac0d/soupsieve-2.8.tar.gz", hash = "sha256:e2dd4a40a628cb5f28f6d4b0db8800b8f581b65bb380b97de22ba5ca8d72572f", size = 103472, upload-time = "2025-08-27T15:39:51.78Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/14/a0/bb38d3b76b8cae341dad93a2dd83ab7462e6dbcdd84d43f54ee60a8dc167/soupsieve-2.8-py3-none-any.whl", hash = "sha256:0cc76456a30e20f5d7f2e14a98a4ae2ee4e5abdc7c5ea0aafe795f344bc7984c", size = 36679, upload-time = "2025-08-27T15:39:50.179Z" },
+]
+
+[[package]]
+name = "spacy"
+version = "3.8.13"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "catalogue" },
+ { name = "confection" },
+ { name = "cymem" },
+ { name = "jinja2" },
+ { name = "murmurhash" },
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "packaging" },
+ { name = "preshed" },
+ { name = "pydantic" },
+ { name = "requests" },
+ { name = "setuptools" },
+ { name = "spacy-legacy" },
+ { name = "spacy-loggers" },
+ { name = "srsly" },
+ { name = "thinc" },
+ { name = "tqdm" },
+ { name = "typer" },
+ { name = "wasabi" },
+ { name = "weasel" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/63/d7/1924f32272f50d2f13275f16d6f869fcec47b2b676b64f91fa206bd30ef4/spacy-3.8.13.tar.gz", hash = "sha256:eb7c03c2bb16593c34d4c91974118f0931c6e6969dbfe895b1a026c6714176cf", size = 1328016, upload-time = "2026-03-23T17:44:32.042Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1c/9d/98690ead5f03a1ad6eedbe87316aac6dbd5677d8703c1972c57dd268c582/spacy-3.8.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cb065e9fb78e60d205bc130cb6400a727de70bed2e0de6fdd7c9f4e662653710", size = 6625685, upload-time = "2026-03-23T17:41:50.106Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/16/eea0765ffee29fbe6a31bfd5ab746abdc4fcd71414c04110ea80acb733f0/spacy-3.8.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7e6e842df203cc0115063143f94395220acf5fdf2de194c3e376fde11592f867", size = 6449911, upload-time = "2026-03-23T17:41:52.648Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/13/2320f8443145b9ec0b089dd14cdc7e74eded52b91c1be7a2a66604075c88/spacy-3.8.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:80cdf686e58e6ad1c450f978a63e2d805b1316d74b10152761de183cc609c13f", size = 30761599, upload-time = "2026-03-23T17:41:55.992Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/50/a775d0afaa65a27da04784d08a436537517652b982059ff4921672a1da67/spacy-3.8.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bdbc6f8ceda37dfb1faeb57685ab665b43db008c520ec3d7aa9b4f21538b9f9f", size = 30999822, upload-time = "2026-03-23T17:42:00.649Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/b5/95304bf02a4037e1e3a958f144d9f9ec3d411c063b454a07df06e84bf918/spacy-3.8.13-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:815ad97986b494f3e6957017d26e83a6f0d9e8c5b6656981d3cb7678b700d194", size = 31039431, upload-time = "2026-03-23T17:42:05.57Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/2c/36e9c43fac2126700462e49e2e75fb740583de47962c8959cf6c5d24d400/spacy-3.8.13-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:17b63375efc76c44d26ced29a14a9cf0ee0db31aca088d6d8f699bb70b5feb7a", size = 31882760, upload-time = "2026-03-23T17:42:10.397Z" },
+ { url = "https://files.pythonhosted.org/packages/40/11/9ef0cebe578f8120d20d06dd598e537177bb847e731e90e51fea2f143f54/spacy-3.8.13-cp310-cp310-win_amd64.whl", hash = "sha256:f6f222f5a35f40ec9af2a6013bbc3b27d31b9d5e3833f7353ad38e48aebd06f6", size = 15360023, upload-time = "2026-03-23T17:42:14.591Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/a8/21f5b9c3998c7a9cdd28715248e489ebd9300b1d349d5220166b951c3df4/spacy-3.8.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3fb3ec2a78a72bb87ca1cc22ad9fea2d37a3d88ec68ee6b4a02c967f35c8b0cb", size = 6617511, upload-time = "2026-03-23T17:42:17.689Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/24/0da6c637b3d25a37db605f836e53226cae65f035e865d2909ddf66b89185/spacy-3.8.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1c7d719ff171aad00a9aac31e7c7f6e1871be08b0be50c362885c632826d41ce", size = 6441498, upload-time = "2026-03-23T17:42:20.516Z" },
+ { url = "https://files.pythonhosted.org/packages/17/64/1eeb854dc194dde91582eedf523d38c8caa209fce45c79b175e3e7a00b9f/spacy-3.8.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:95c2bf7d0afbf699df89cca5431527dff4950a823fd093680618057aa2affff8", size = 32050555, upload-time = "2026-03-23T17:42:25.13Z" },
+ { url = "https://files.pythonhosted.org/packages/05/5b/7de5aae98f0a4547b9e44fd41e3f5820c199d67c78148782a08df83d19a8/spacy-3.8.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b118c9ca4250cba8a39c7fc73641820086d476dafb54b5d1f306a3f60098d3cd", size = 32296475, upload-time = "2026-03-23T17:42:30.151Z" },
+ { url = "https://files.pythonhosted.org/packages/96/33/624d0025097b6b26a2c6d1b3dd7e24dec5da495e8c2a0f379bcc3ec26d15/spacy-3.8.13-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:53a6ff574a4505339375e31ba3280ff7235e82e120377614210750fa66cb63df", size = 32288426, upload-time = "2026-03-23T17:42:35.418Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/be/93eec7f8266a6d96fb5229d4588d64bb6dfa037604b5121a703cad35debb/spacy-3.8.13-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:cf07faad25a301efbd90da1343c1f62e35185d064c5e087bd0d11a5a6b3358fe", size = 33113494, upload-time = "2026-03-23T17:42:41.053Z" },
+ { url = "https://files.pythonhosted.org/packages/26/3d/0bd7d780642635e662b32fcd530ed5bed1844dbf977bc5eed43efefa034c/spacy-3.8.13-cp311-cp311-win_amd64.whl", hash = "sha256:740cafd3cb2331c48057f6689ed6be5652d35db92aa2980f32f3d78a9aba6300", size = 15359637, upload-time = "2026-03-23T17:42:45.168Z" },
+ { url = "https://files.pythonhosted.org/packages/be/78/11896d5b5987cd37ae498ef1ce795e0dd551f984fffa9cf6a7887655617e/spacy-3.8.13-cp311-cp311-win_arm64.whl", hash = "sha256:189bdd05cfd66fd3d1f79449d38ba4e2d0270743f762db1304617ccad9dd321c", size = 14717010, upload-time = "2026-03-23T17:42:48.915Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/e1/e8f6dc7fc00582b8dcbf40fac5bce6c0ff366cf6db212decdacfaf13e584/spacy-3.8.13-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:dd8ab0deefe9d2c7dccce1be1e65660a32cfc3cc114d0aa222ff52ae11be58ba", size = 6218311, upload-time = "2026-03-23T17:42:51.938Z" },
+ { url = "https://files.pythonhosted.org/packages/31/fe/517de9e25a6ec469738c9e886c15cd96649b338c6ae475b9b3e4c4f5e03d/spacy-3.8.13-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:eab059bc668336d0034f3f69aed6b661b626c174e97cc1b52296d0d923c24405", size = 6033843, upload-time = "2026-03-23T17:42:54.133Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/a8/9a33c69f772f5c32a57c9ef7e692293b558e7bad202264d5586ab087fd29/spacy-3.8.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:96a8e141fd7ff749fa6693c9c72187f802d334bcadf48b6b9d6ca9bff315ca73", size = 32725183, upload-time = "2026-03-23T17:42:58.847Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/cf/dcc0ea61270cb23a46d3efc437fe760e7a9c3cabcfaa770591329d1430f2/spacy-3.8.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:32c16f5be8c8006197554da3647d83311fb89bb31bb417d38f0d1da585877b0d", size = 33205816, upload-time = "2026-03-23T17:43:03.717Z" },
+ { url = "https://files.pythonhosted.org/packages/90/6b/ce94ba2a166add3376aa2c976cb1a34d6387e9dc61103cfbe9192675d0b6/spacy-3.8.13-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:7402154eae9d2c34d097f3f7f2bf3ed4ce6ef9d44e3035af15ccc7f357d122cb", size = 32090348, upload-time = "2026-03-23T17:43:08.809Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/20/df5076a162bda36b04cdfa9cd544ac2be4b47aed957b3922e4c8f75dc25a/spacy-3.8.13-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:879f467578569db73b5811aa0f0b9a3b3fb81a125c2f7a433dd5626bcaca53f6", size = 32991911, upload-time = "2026-03-23T17:43:14.543Z" },
+ { url = "https://files.pythonhosted.org/packages/41/17/316dfdf5f8d1dd33a205e4f5e7190b67db73802180f7d08c8b306eb44375/spacy-3.8.13-cp312-cp312-win_amd64.whl", hash = "sha256:a0c849b5c9cee5a930a5e8a63d0b07e095d4e3d371af6a70c496efa1d0851257", size = 14226861, upload-time = "2026-03-23T17:43:18.122Z" },
+ { url = "https://files.pythonhosted.org/packages/be/a8/a794d5bbf7bc2df6770df2b14cd6811420d0e10fe81830920bf0e891c19a/spacy-3.8.13-cp312-cp312-win_arm64.whl", hash = "sha256:5d7f660f64c7d09778600b27b881a367075fe792cb5cc6932737aeda71a9aa09", size = 13628855, upload-time = "2026-03-23T17:43:22.162Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/2d/dc15440fa58c12bab25cbd368bbf3b754eb11d1d3cc37f3aee47caa63695/spacy-3.8.13-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:6db8903cf3fd8b40db9dab669c1e823a8884100f223dc8ec63c3744ff505d5fd", size = 6202080, upload-time = "2026-03-23T17:43:25.044Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/27/6d723fa0c3c9872d7b8c3fb1c76edef65c1db2de441ee87d119128cb82f7/spacy-3.8.13-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:c26258bfed2f3bf5563c5994ee752ea8662bbac70924d28fbea4d1c10df48fd0", size = 6015435, upload-time = "2026-03-23T17:43:28.281Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/36/d13f36204290e7753ce849106fb732a1a1ff6c1af0a200f2c2f493a56e60/spacy-3.8.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a5f02eab8e6e8e9e790b1e8da05b70b3b1d4b1fb10dc4f44203da96939fdb977", size = 32510675, upload-time = "2026-03-23T17:43:32.657Z" },
+ { url = "https://files.pythonhosted.org/packages/19/37/f2a0c986bc2d59b18547d5ffaabf57fd9d88e129ad7df5ebc9ccdc91e643/spacy-3.8.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:17b14f28d83fe85390f420f89760ae36d515f3e0a236f8266c46335549806e3a", size = 32841103, upload-time = "2026-03-23T17:43:38.139Z" },
+ { url = "https://files.pythonhosted.org/packages/37/31/b4a86cc013e4ac3c3c290ecade748c4623709a78db8a368ee0e152931c0b/spacy-3.8.13-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:10fffb387e6afeba582e01efd9b5e0c5431ac323af134f4a71a749255182f4c8", size = 31763223, upload-time = "2026-03-23T17:43:42.823Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/fa/b3a406bdc2636aaa315b8539b88f262e78ca391afc4083e3e9806953b24a/spacy-3.8.13-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:500f6eb9e4711e75fc07d517962dbfb553ba144ccf1b1e8ffc71b014c9ad91b2", size = 32717863, upload-time = "2026-03-23T17:43:47.939Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/97/11ed2a980e7225b0a1a4041cb1cba44f40bd83682a08e450dd6171f054e4/spacy-3.8.13-cp313-cp313-win_amd64.whl", hash = "sha256:1e679a8c5dd86c564a1185d894b1b8e50b52fa81bee518120fc2f86349d1879c", size = 14220413, upload-time = "2026-03-23T17:43:51.922Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/e2/06633e779486f62b3ec7ddeeb4accc10fb9a356b59f5bed3771dfb89931b/spacy-3.8.13-cp313-cp313-win_arm64.whl", hash = "sha256:c086bff909d73be892b4eb6883070dd3e328592b8933f0059a6569c8c7904928", size = 13619060, upload-time = "2026-03-23T17:43:55.449Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/02/bf2943f61a8bd21cca90e4fe19c4da8752c386f02a76e326b33199e09953/spacy-3.8.13-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:edcdd4f99e2711fc90c6ba3e8e07f7dc9753d111377ba7b7b5eb0d7259b0d211", size = 6209920, upload-time = "2026-03-23T17:43:58.441Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/87/fa5e4eb2ccb660d5042eb9144134dc6238c132ec812131bb0aca296bcdd9/spacy-3.8.13-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:b8fd0188f78e032ac58f70a00748d591e244f3d4718e0ead2d9418b4148c744d", size = 6040696, upload-time = "2026-03-23T17:44:00.704Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/f3/9132878e0c18d627adffc1d23129a3706385d4f0fbe2ea5839523519452c/spacy-3.8.13-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0dc2d058cb919102bf0634b1b41aff64b867d9bab36bd35979ab658b5b2e4c27", size = 32431416, upload-time = "2026-03-23T17:44:05.435Z" },
+ { url = "https://files.pythonhosted.org/packages/80/73/396c5c3aaef5004d04abbda4ec736ce4d33944aff6722e974cebdd4023fd/spacy-3.8.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ef884df658d3b60d91cbc1e9b62a6d932589d2fa3f322c3f739b6ffdf3303e0c", size = 32483676, upload-time = "2026-03-23T17:44:10.913Z" },
+ { url = "https://files.pythonhosted.org/packages/71/01/15ceb2097a817c2912297eac29f801bd71d895e93d7557110937c88f7c77/spacy-3.8.13-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:86f58d686d1ba6f0dc818005ee6ad87ade8dde7224012f1870a0d31abccd349e", size = 31732468, upload-time = "2026-03-23T17:44:15.967Z" },
+ { url = "https://files.pythonhosted.org/packages/03/c4/b4c39083df6209414faec7d7471994316dc6fca68c4d2f1f8f099f25c2e3/spacy-3.8.13-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:dbcb411b9749a1cd5e4325953212b3984d8c0f60b4976943e77fb0c7d5027383", size = 32473870, upload-time = "2026-03-23T17:44:21.36Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/5c/9b0fa420b01809c0170b3cf0bf509ec06b4da96214995360815615b8e8fa/spacy-3.8.13-cp314-cp314-win_amd64.whl", hash = "sha256:bf9b6879d70201acb73fc5f07d550ff488d3b5f15a959e9896717b2635c8e137", size = 14405303, upload-time = "2026-03-23T17:44:25.83Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/58/0001fd8124b62a2a9984278d793e3abfa1b70e969fc26a8668755178db84/spacy-3.8.13-cp314-cp314-win_arm64.whl", hash = "sha256:b2a402f229fcb5dba5454c346468757bd3a5215809e784b85d739ca84916f05b", size = 13834663, upload-time = "2026-03-23T17:44:29.43Z" },
+]
+
+[[package]]
+name = "spacy-legacy"
+version = "3.0.12"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d9/79/91f9d7cc8db5642acad830dcc4b49ba65a7790152832c4eceb305e46d681/spacy-legacy-3.0.12.tar.gz", hash = "sha256:b37d6e0c9b6e1d7ca1cf5bc7152ab64a4c4671f59c85adaf7a3fcb870357a774", size = 23806, upload-time = "2023-01-23T09:04:15.104Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c3/55/12e842c70ff8828e34e543a2c7176dac4da006ca6901c9e8b43efab8bc6b/spacy_legacy-3.0.12-py2.py3-none-any.whl", hash = "sha256:476e3bd0d05f8c339ed60f40986c07387c0a71479245d6d0f4298dbd52cda55f", size = 29971, upload-time = "2023-01-23T09:04:13.45Z" },
+]
+
+[[package]]
+name = "spacy-loggers"
+version = "1.0.5"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/67/3d/926db774c9c98acf66cb4ed7faf6c377746f3e00b84b700d0868b95d0712/spacy-loggers-1.0.5.tar.gz", hash = "sha256:d60b0bdbf915a60e516cc2e653baeff946f0cfc461b452d11a4d5458c6fe5f24", size = 20811, upload-time = "2023-09-11T12:26:52.323Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/33/78/d1a1a026ef3af911159398c939b1509d5c36fe524c7b644f34a5146c4e16/spacy_loggers-1.0.5-py3-none-any.whl", hash = "sha256:196284c9c446cc0cdb944005384270d775fdeaf4f494d8e269466cfa497ef645", size = 22343, upload-time = "2023-09-11T12:26:50.586Z" },
+]
+
+[[package]]
+name = "srsly"
+version = "2.5.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "catalogue" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/2b/db/f794f219a6c788b881252d2536a8c4a97d2bdaadc690391e1cb53d123d71/srsly-2.5.3.tar.gz", hash = "sha256:08f98dbecbff3a31466c4ae7c833131f59d3655a0ad8ac749e6e2c149e2b0680", size = 490881, upload-time = "2026-03-23T11:56:59.865Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/67/e6d4decfb0cdc95b54c60854a1a6d1702983c39206c2b9f70f4ab18b17c8/srsly-2.5.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c812302a9acfe171e82f680b7ad642014cd017380b2c678441b3da4fb513c498", size = 657202, upload-time = "2026-03-23T11:55:34.938Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/5d/cb8b093d0836e59c152de6dfdb5db80c6408b00def0123f26d24bffde480/srsly-2.5.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:91688edb1f49110870d2c215db2cf445f1763c14173698ead0818908c51fb2a1", size = 657951, upload-time = "2026-03-23T11:55:36.571Z" },
+ { url = "https://files.pythonhosted.org/packages/71/a1/5d2fb4c6a8e0e39dd1fb23bdd8feb1f2525ce90b28946f9f58ac5d3a039c/srsly-2.5.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1fd6c35c65c4d2435ae5bfb57b59682cf9b61606318a2a761856be9d7cc2d9e3", size = 1119766, upload-time = "2026-03-23T11:55:38.351Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/83/0862ffac8c06ed595dd1e28f261c37956585b9cf6b9bd049f8430a4c2daf/srsly-2.5.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b9df76d5a6bbf50967589bd42df3c522dd88babea2be745a507f56b41ab40626", size = 1120674, upload-time = "2026-03-23T11:55:39.644Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/06/42f72bab50876a708a10e6fc026ae8c7f185507d9f27544fa4ee8567c5fd/srsly-2.5.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a595958d0b1ff6d59c2570a3f0d1c8e36ab9f89d6e1b9c96fa7eb5e1a8698510", size = 1078505, upload-time = "2026-03-23T11:55:41.299Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/f4/dfb86bc5c3abee267fb2f34895ea80d0159a084987a93d56ed1bf5ebefe4/srsly-2.5.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:bc0ad5be2aeb9ff29c8512848d39d7c63fdd4bfbb5516bc523f5de5a77e55e6d", size = 1090635, upload-time = "2026-03-23T11:55:42.7Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/a6/561b46eff4477191dd649e09dd9b88afc44aad7ce204c45f4e45ad04861d/srsly-2.5.3-cp310-cp310-win_amd64.whl", hash = "sha256:d2b8cfd8aee4d06ab335d359e4095d206102300a5e105a4b4bc69acca42427a6", size = 651653, upload-time = "2026-03-23T11:55:44.429Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/05/b122a1afaf8e8644d10f0203ad5174993910e6f727843089f0d48b444340/srsly-2.5.3-cp310-cp310-win_arm64.whl", hash = "sha256:c378afcb7dd7c42f426a66112496c949fc39e5883de6817d86e60afa51720ccc", size = 639118, upload-time = "2026-03-23T11:55:45.796Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/36/5d7bb412d52e9cca787f9bfe838b596367189b254e50bf90f234a97184bf/srsly-2.5.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:785a09216ac31570fb301ddb9f61ee73d1f18f8b9561f712dce0b8ac8628bc88", size = 656760, upload-time = "2026-03-23T11:55:47.155Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/dc/124f008cd2be3e887e972cbdeb17c5aee0f42093eca02c7cfd63bb5daf19/srsly-2.5.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0017c7d2a0cd9a4f1bdc00d946b45edcf90bb0e271e8f084c1ce542bf6708c32", size = 657503, upload-time = "2026-03-23T11:55:48.681Z" },
+ { url = "https://files.pythonhosted.org/packages/35/8a/2c97244ebab125d55f1bfb7bb94e9572b3e819410dffd6a040eca1112350/srsly-2.5.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:66ebae2c70305987341519ec1a720072a3cb3e4b1d52ac0e9e841f4d02658d3d", size = 1139161, upload-time = "2026-03-23T11:55:50.179Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/ea/ecd396188f7591d80b89665f7af9e3ae02e42683daef57033ad7993ad3f9/srsly-2.5.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4ca4a068f6e14d84113a02fcb875c6b50a6285a12938c0e7a157eb3a63c50a86", size = 1142438, upload-time = "2026-03-23T11:55:52.607Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/65/143e2e143c53d498ad0956f69d0e09189aa7a6e0ee6017758c285ba1ab2d/srsly-2.5.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e283fa2a8f7350fb9fb70ecdee28d59d39c92f4c7f1cc90a44d6b86db3b3a8b3", size = 1101783, upload-time = "2026-03-23T11:55:53.906Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/86/1392a5593de0cd3d08c2d6c071b877c84358a37f63172c4e9cb71706842d/srsly-2.5.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9ffc97e22730ea97b00f7c303ccc60b1305e786afadb2a4a46578dafa4d29da0", size = 1115876, upload-time = "2026-03-23T11:55:55.624Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/a5/6193aa4c08e488821538fcbce2282449e228fd2183ed67d118bb5ccd8b54/srsly-2.5.3-cp311-cp311-win_amd64.whl", hash = "sha256:f09b551f6c3e334652831ac68c770ee4284741ce0a3895bf1ccf2a1178d66cdd", size = 651733, upload-time = "2026-03-23T11:55:56.964Z" },
+ { url = "https://files.pythonhosted.org/packages/66/a8/a73181743b6d237026615ca75c3fb3e4780736f1390550a7350d0c7f1149/srsly-2.5.3-cp311-cp311-win_arm64.whl", hash = "sha256:21cf09e417d3e4f3fbf7dd337fd6d948c97abd01896b9b4cb80e81cd9778a73a", size = 639124, upload-time = "2026-03-23T11:55:58.532Z" },
+ { url = "https://files.pythonhosted.org/packages/02/cc/e9f7fcec4cc92ad8bad6316c4241638b8cf7380382d4489d94ec6c436452/srsly-2.5.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:71e51c046ccbeefb86524c6b1e17574f579c6ac4dc8ea4a09437d3e8f88342d3", size = 658379, upload-time = "2026-03-23T11:55:59.85Z" },
+ { url = "https://files.pythonhosted.org/packages/21/e4/fea4512e9785f58509b2cf67d993323848e583161b5fcfdc7dd9d7c1f3df/srsly-2.5.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:2f73c0db911552e94fe2016e1759d261d2f47926f68826664cada3723c87006a", size = 658513, upload-time = "2026-03-23T11:56:01.239Z" },
+ { url = "https://files.pythonhosted.org/packages/20/b1/53591681b6ff2699a4f97b2d5552ba196eaa6a979b0873605f4c04b5f7ee/srsly-2.5.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5c1ac27ae5f4bb9163c7d2c45fc8ec173aac3d92e32086d9472b326c5c6e570e", size = 1172265, upload-time = "2026-03-23T11:56:02.589Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/c9/741e29f534919a944a16da4184924b1d3404c4bf60716ab2b91be771d1e3/srsly-2.5.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:99026bcd9cbd3211cc36517400b04ca0fc5d3e412b14daf84ee6e65f67d9a2d8", size = 1180873, upload-time = "2026-03-23T11:56:03.944Z" },
+ { url = "https://files.pythonhosted.org/packages/89/57/5554f786eccf78b2750d6ac63be126e1b67badec2cb409dd611cf6f8c52b/srsly-2.5.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:07d682679e639eb46ff7e6da4a92714f4d5ffe351d088ee66f221e9b1f8865bb", size = 1120437, upload-time = "2026-03-23T11:56:05.283Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/95/9b4f73b1be3692f86d72ccc131c8e50f26f824d5c8830a59390bcc5b60ef/srsly-2.5.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8e0542d85d6b55cf2934050d6ffcb1cd76c768dcf9572e7467002cf087bb366d", size = 1137376, upload-time = "2026-03-23T11:56:06.613Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/de/89ca640ca1953c4612279ce515d0af35658df3c06cdb324329bc91b4a7e1/srsly-2.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:598f1e494c18cacb978299d77125415a586417081959f8ec3f068b32d97f8933", size = 652459, upload-time = "2026-03-23T11:56:07.994Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/4f/7ab6d49e36d9cc72ee15746cabd116eb6f338be8a06c1882968ee9d6c7d7/srsly-2.5.3-cp312-cp312-win_arm64.whl", hash = "sha256:4b1b721cd3ad1a9b2343519aadc786a4d09d5c0666962d49852eb12d6ec3fe26", size = 638411, upload-time = "2026-03-23T11:56:09.31Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/5c/12901e3794f4158abc6da750725aad6c2afddb1e4227b300fe7c71f66957/srsly-2.5.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e67b6bbacbfadea5e100266d2797f2d4cec9883ea4dc84a5537673850036a8d8", size = 656750, upload-time = "2026-03-23T11:56:10.708Z" },
+ { url = "https://files.pythonhosted.org/packages/04/61/181c26370995f96f56f1b64b801e3ca1e0d703fc36506ae28606d62369fb/srsly-2.5.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:348c231b4477d8fe86603131d0f166d2feac9c372704dfc4398be71cc5b6fb07", size = 656746, upload-time = "2026-03-23T11:56:12.28Z" },
+ { url = "https://files.pythonhosted.org/packages/77/c6/35876c78889f8ffe11ed3521644e666c3aef20ea31527b70f47456cf35c2/srsly-2.5.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b0938c2978c91ae1ef9c1f2ba35abb86330e198fb23469e356eba311e02233ee", size = 1155762, upload-time = "2026-03-23T11:56:14.075Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/da/40b71ca9906c8eb8f8feb6ac11d33dad458c85a56e1de764b96d402168a0/srsly-2.5.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5f6a837954429ecbe6dcdd27390d2fb4c7d01a3f99c9ffcf9ce66b2a6dd1b738", size = 1161092, upload-time = "2026-03-23T11:56:15.778Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/14/c0dd30cc8b93ce8137ff4766f743c882440ce49195fffc5d50eaeef311a6/srsly-2.5.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3576c125c486ce2958c2047e8858fe3cfc9ea877adfa05203b0986f9badee355", size = 1109984, upload-time = "2026-03-23T11:56:17.056Z" },
+ { url = "https://files.pythonhosted.org/packages/08/f3/34354f183d8faafc631585571224b54d1b4b67e796972c36519c074ca355/srsly-2.5.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5fb59c42922e095d1ea36085c55bc16e2adb06a7bfe57b24d381e0194ae699f2", size = 1128409, upload-time = "2026-03-23T11:56:18.761Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/d9/5531f8a19492060b4e76e4ab06aca6f096fb5128fe18cc813d1772daf653/srsly-2.5.3-cp313-cp313-win_amd64.whl", hash = "sha256:111805927f05f5db440aeeacb85ce43da0b19ce7b2a09567a9ef8d30f3cc4d83", size = 650820, upload-time = "2026-03-23T11:56:20.096Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/8a/62fb7a971eca29e12f03fb9ddacb058548c14d33e5b5675ff0f85839cc7b/srsly-2.5.3-cp313-cp313-win_arm64.whl", hash = "sha256:0f106b0a700ab56e4a7c431b0f1444009ab6cb332edc7bbf6811c2a43f4722cb", size = 637278, upload-time = "2026-03-23T11:56:21.439Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/5b/e4ef43c2a381711230af98d4c94a5323df48d6a7899ee652e05bf889290e/srsly-2.5.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:39c13d552a9f9674a12cdcdc66b0c2f02f3430d0cd04c5f9cf598824c2bd3d65", size = 661294, upload-time = "2026-03-23T11:56:23.29Z" },
+ { url = "https://files.pythonhosted.org/packages/92/2d/ebce7f3717e52cd0a01f4ec570f388f3b7098526794fcf1ad734e0b8f852/srsly-2.5.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:14c930767cc169611a2dc14e23bc7638cfb616d6f79029700ade033607343540", size = 660952, upload-time = "2026-03-23T11:56:24.908Z" },
+ { url = "https://files.pythonhosted.org/packages/22/47/a8f3e9b214be2624c8e8a78d38ca7b1d4e26b92d57018412e4bfc4abe89a/srsly-2.5.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2f2d464f0d0237e32fb53f0ec6f05418652c550e772b50e9918e83a1577cba4d", size = 1154554, upload-time = "2026-03-23T11:56:26.608Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/71/2a89dc3180a51e633a87a079ca064225f4aaf46c7b2a5fc720e28f261d98/srsly-2.5.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d18933248a5bb0ad56a1bae6003a9a7f37daac2ecb0c5bcbfaaf081b317e1c84", size = 1155746, upload-time = "2026-03-23T11:56:28.102Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/36/72e5ce3153927ca404b6f5bf5280e6ff3399c11557df472b153945468e0a/srsly-2.5.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7ea5412ea229e571ac9738cbe14f845cc06c8e4e956afb5f42061ccd087ef31f", size = 1112374, upload-time = "2026-03-23T11:56:29.591Z" },
+ { url = "https://files.pythonhosted.org/packages/04/b2/0895de109c28eca0d41a811ab7c076d4e4a505e8466f06bae22f5180a1dd/srsly-2.5.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8d3988970b4cf7d03bdd5b5169302ff84562dd2e1e0f84aeb34df3e5b5dc19bf", size = 1127732, upload-time = "2026-03-23T11:56:31.458Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/79/a37fa7759797fbdfe0a2e029ab13e78b1e81e191220d2bb8ff57d869aefb/srsly-2.5.3-cp314-cp314-win_amd64.whl", hash = "sha256:6a02d7dcc16126c8fae1c1c09b2072798a1dc482ab5f9c52b12c7114dac47325", size = 656467, upload-time = "2026-03-23T11:56:33.14Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/25/0dae019b3b90ad9037f91de4c390555cdaac9460a93ad62b02b03babdff5/srsly-2.5.3-cp314-cp314-win_arm64.whl", hash = "sha256:1c9129c4abe31903ff7996904a51afdd5428060de6c3d12af49a4da5e8df2821", size = 643040, upload-time = "2026-03-23T11:56:34.448Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/44/72dd5285b2e05435d98b0797f101d91d9b345d491ddc1fdb9bd09e27ccb8/srsly-2.5.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:29d5d01ba4c2e9c01f936e5e6d5babc4a47b38c9cbd6e1ec23f6d5a49df32605", size = 666200, upload-time = "2026-03-23T11:56:35.753Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/ad/002c71b87fc3f648c9bf0ec47de0c3822bf2c95c8896a589dd03e7fd3977/srsly-2.5.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5c8df4039426d99f0148b5743542842ab96b82daded0b342555e15a639927757", size = 667409, upload-time = "2026-03-23T11:56:37.172Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/35/2cea3d5e80aeecfc4ece9e7e1783e7792cc3bad7ab85ab585882e1db4e38/srsly-2.5.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:06a43d63bde2e8cccadb953d7fff70b18196ca286b65dd2ad16006d65f3f8166", size = 1265941, upload-time = "2026-03-23T11:56:38.825Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/38/8a4d7e86dd0370a2e5af251b646000197bb5b7e0f9aa360c71bbfb253d0d/srsly-2.5.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:808cfafc047f0dec507a34c8fa8e4cda5722737fd33577df73452f52f7aca644", size = 1250693, upload-time = "2026-03-23T11:56:40.449Z" },
+ { url = "https://files.pythonhosted.org/packages/99/05/340129de5ea7b237271b12f8a6962cfa7eb0c5a3056794626d348c5ae7c7/srsly-2.5.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:71d4cbe2b2a1335c76ed0acae2dc862163787d8b01a705e1949796907ed94ccd", size = 1242408, upload-time = "2026-03-23T11:56:41.8Z" },
+ { url = "https://files.pythonhosted.org/packages/01/cb/d7fee7ab27c6aa2e3f865fb7b50ba18c81a4c763bba12bdf53df246441bc/srsly-2.5.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:565f69083d33cb329cfc74317da937fb3270c0f40fabc1b4488702d8074b4a3e", size = 1242749, upload-time = "2026-03-23T11:56:43.246Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/d1/9bad3a0f2fa7b72f4e0cf1d267b00513092d20ef538c47f72823ae4f7656/srsly-2.5.3-cp314-cp314t-win_amd64.whl", hash = "sha256:8ac016ffaeac35bc010992b71bf8afdd39d458f201c8138d84cf78778a936e6c", size = 673783, upload-time = "2026-03-23T11:56:44.875Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/ae/57d1d7af907e20c077e113e0e4976f87b82c0a415403d99284a262229dd0/srsly-2.5.3-cp314-cp314t-win_arm64.whl", hash = "sha256:d822083fe26ec6728bd8c273ac121fc4ab3864a0fdf0cf0ff3efb188fcd209ed", size = 650229, upload-time = "2026-03-23T11:56:46.148Z" },
+]
+
+[[package]]
+name = "stack-data"
+version = "0.6.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "asttokens" },
+ { name = "executing" },
+ { name = "pure-eval" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" },
+]
+
+[[package]]
+name = "sympy"
+version = "1.14.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mpmath" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921, upload-time = "2025-04-27T18:05:01.611Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353, upload-time = "2025-04-27T18:04:59.103Z" },
+]
+
+[[package]]
+name = "tenacity"
+version = "9.1.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413, upload-time = "2026-02-07T10:45:33.841Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926, upload-time = "2026-02-07T10:45:32.24Z" },
+]
+
+[[package]]
+name = "terminado"
+version = "0.18.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "ptyprocess", marker = "os_name != 'nt'" },
+ { name = "pywinpty", marker = "os_name == 'nt'" },
+ { name = "tornado" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8a/11/965c6fd8e5cc254f1fe142d547387da17a8ebfd75a3455f637c663fb38a0/terminado-0.18.1.tar.gz", hash = "sha256:de09f2c4b85de4765f7714688fff57d3e75bad1f909b589fde880460c753fd2e", size = 32701, upload-time = "2024-03-12T14:34:39.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6a/9e/2064975477fdc887e47ad42157e214526dcad8f317a948dee17e1659a62f/terminado-0.18.1-py3-none-any.whl", hash = "sha256:a4468e1b37bb318f8a86514f65814e1afc977cf29b3992a4500d9dd305dcceb0", size = 14154, upload-time = "2024-03-12T14:34:36.569Z" },
+]
+
+[[package]]
+name = "thinc"
+version = "8.3.13"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "blis" },
+ { name = "catalogue" },
+ { name = "confection" },
+ { name = "cymem" },
+ { name = "murmurhash" },
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "packaging" },
+ { name = "preshed" },
+ { name = "pydantic" },
+ { name = "setuptools" },
+ { name = "srsly" },
+ { name = "wasabi" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/13/46/76df95f2c327f9a9cef30c1523bf285627897097163584dcf5f77b2ebce2/thinc-8.3.13.tar.gz", hash = "sha256:68e658549fc1eb3ff92aed5147fcbb9c15d6e9cc0e623b4d0998d16522ffb4f9", size = 194640, upload-time = "2026-03-23T07:22:36.41Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ad/e3/df570d55f38250d153e209d998f60e334026ea60cf9a887cffb85d7ee9bf/thinc-8.3.13-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:84fb50fe572a1860165f2e7a640c7cb70d43d6962366e69f643fa9a27e4a2127", size = 846996, upload-time = "2026-03-23T07:21:32.701Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/72/e97c9cb863ef0a645ba069c24e0981bfaedf8241ba199512ebcd64ba090a/thinc-8.3.13-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:3dac18a0fb0a42f711c2ce9c02cbb090385aecae92089aa17b9dfd808a542013", size = 815368, upload-time = "2026-03-23T07:21:34.392Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/7a/9283f52b1210dc052b795e22ec739d13929b914d1289e49336bede34c4eb/thinc-8.3.13-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e08b1577a56e7315770af280aabd8fa5f2a1fb6afd1c50a4183c06e907faf558", size = 3885033, upload-time = "2026-03-23T07:21:35.772Z" },
+ { url = "https://files.pythonhosted.org/packages/93/9a/aa8f2e19819c02781b282c3a9cfb57c76ff1fbe0b6deaa1ffd04dc920894/thinc-8.3.13-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:303477eb51b9b39c94a7fc7967ee8a039eca1ca37d95dcce1234c83b95b4ee9f", size = 3912947, upload-time = "2026-03-23T07:21:37.219Z" },
+ { url = "https://files.pythonhosted.org/packages/51/fa/ea7c67667b8a875178bea5a42dc9c8b0622c34e7eba3d8e42874f2c4b4c1/thinc-8.3.13-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d7a9654f9ca362a4be7f5e590fdfee26e2e2084da9fd3306032ec037e99f2f8e", size = 4887518, upload-time = "2026-03-23T07:21:38.76Z" },
+ { url = "https://files.pythonhosted.org/packages/36/44/99c391e951e3b706b9a7552ced720e9ec3bddd6707a99d53e4354ebefa45/thinc-8.3.13-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e1f8d13bf92ee10595c40692fd4cf8e7bbe73bd9f260107e975fd5dbee1af42b", size = 5044691, upload-time = "2026-03-23T07:21:40.257Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/cf/9d95fb5f12d76ad1c7570a9a38da2f2f60dba721c87630bfabaabef91bc3/thinc-8.3.13-cp310-cp310-win_amd64.whl", hash = "sha256:e7f046d8914055cad51e83ff0da1a892acb73cd58556d7c1a5d4015a3766a899", size = 1795372, upload-time = "2026-03-23T07:21:41.709Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/72/ca06842a007e8c794e8c59462f242cdfd6167d7cc9d0155ad004b194b015/thinc-8.3.13-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4565102638038a01a2193c7f5d41ccbd6233fbdcb1f1b184322a06add4f51f18", size = 844359, upload-time = "2026-03-23T07:21:43.017Z" },
+ { url = "https://files.pythonhosted.org/packages/48/44/e6aef092f478d263f72eb3933b55a6f37ba97c6a0ea0a61d13fbf9bf0c19/thinc-8.3.13-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:859fbd9d9b16af5278da23589b4afbe2ab6b0dd615df4d3229b7c4e67cd3107e", size = 812089, upload-time = "2026-03-23T07:21:44.618Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/8a/9ce0424d456cd3580cc3a855b23a7ff86b81d5299fceb496a2f56f06c1c0/thinc-8.3.13-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a518d5c761a0f2341e530e867de133dc3ed814558365b2a68ec53b89c482a43f", size = 4101388, upload-time = "2026-03-23T07:21:46.135Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/51/ec91c0434bd9a1096ab874bbd6dc110c5089d7fc513137e6af59bd051eec/thinc-8.3.13-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:81337dfbee37f58f36c0c70f9a819dce1b32cdc13d959181e10de079621f6ac6", size = 4131972, upload-time = "2026-03-23T07:21:48.403Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/67/e30dea753c90cff5cb9e5feb34948fdb89a6774b84d849585b49e16a730e/thinc-8.3.13-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fbc0ee16edd260c6a4a9e365ff36d0a682c9e7ca6d7b985682659ef2e3e73826", size = 5101283, upload-time = "2026-03-23T07:21:49.991Z" },
+ { url = "https://files.pythonhosted.org/packages/00/e9/b7544eddababa16e548b26a96fff29eeb307ce938df5fa4af9371fe8ed5d/thinc-8.3.13-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0355c37e40d1a9fc2a1b8e9c2e294d8586f6baa97bcac6b9002f2dddb4b82ae9", size = 5264488, upload-time = "2026-03-23T07:21:51.747Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/a9/49391a40d703efc0f7a451310373261835f71fd3e6e2e8cfc08ee02f78ad/thinc-8.3.13-cp311-cp311-win_amd64.whl", hash = "sha256:0a0fa13dcfe4b319c3a396432c1dbff30d3de37dbbdee559e76600ee2b9486df", size = 1795058, upload-time = "2026-03-23T07:21:53.424Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/31/fd5348d44beda12a3ee415cbba9ed4fd0b17ce65db1d473c38a29a8d6153/thinc-8.3.13-cp311-cp311-win_arm64.whl", hash = "sha256:cd8a2b714c061969eee65802965167a6ada1fe708d82fe176d98dcb95ebe182a", size = 1721215, upload-time = "2026-03-23T07:21:55.027Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/af/f7c1ebfe92eb5d27d7f2f3da67a11e2eb57bc30ab1553279af6dc65b65a8/thinc-8.3.13-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:77a41f66285321d20aaedaea1e87d7cd48dca6d2427bed1867ec7cba7109fc8d", size = 821097, upload-time = "2026-03-23T07:21:56.698Z" },
+ { url = "https://files.pythonhosted.org/packages/45/8f/69d7338575d98df85d0b54c0f5fc277dba72587fe9ab846ecdd12a998bcb/thinc-8.3.13-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:3710d318b4e5460cf366a6f7b5ddbefb5d39dbd4cfa408222750fdc6c27c4411", size = 791932, upload-time = "2026-03-23T07:21:58.38Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/a5/21d010c81e81e1589e5ccb4950e521804d13726e541e87f644c51815673b/thinc-8.3.13-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:5a08c87143a6d20177652dca1ec0dc815d88216d8fc62594a57e8bc45bf5ed49", size = 3854219, upload-time = "2026-03-23T07:21:59.819Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/ff/6914bf370bd1d604d89e6dfb46b97d10cd9b00d42ff8c036283e92314a8c/thinc-8.3.13-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4b5ec9ff313819e7d8667794a3559463fa89ff45aaa73e3fd8d6273b1e0d7a7f", size = 3903307, upload-time = "2026-03-23T07:22:01.652Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/3d/5572b47fa155fb3388c071515b74024fa17a6efd1df9406da378f0aa84ef/thinc-8.3.13-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5c9a48f2bc1e04f138240ed5f9b815a9141a5de26accd0f08fa0137fcefed258", size = 4836882, upload-time = "2026-03-23T07:22:03.565Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/f0/a8d77c7bac089697c6df302cc3c936a1ab36a4720deae889e6f1dbcbd0eb/thinc-8.3.13-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:79a29a44d76bd02f5ac0624268c6e42b3576ae472c791a8ae9c2d813ae789b59", size = 5033398, upload-time = "2026-03-23T07:22:05.045Z" },
+ { url = "https://files.pythonhosted.org/packages/21/82/5651bb1f904d04220fc7670035ada921bf0638e2cff6444d67c12887a968/thinc-8.3.13-cp312-cp312-win_amd64.whl", hash = "sha256:ed1dc709ac4f2f03b710457889e4e02f05de51bc8456980c241d0b28798bc7cb", size = 1721248, upload-time = "2026-03-23T07:22:06.749Z" },
+ { url = "https://files.pythonhosted.org/packages/94/8d/683703de021ffbe46833d722b70f49ffbbca8e5bd6876256977555d92d7d/thinc-8.3.13-cp312-cp312-win_arm64.whl", hash = "sha256:c6a049703a6011c8fe26ee41af7e70272145594140d82f79bb23de619c6a6525", size = 1645777, upload-time = "2026-03-23T07:22:08.104Z" },
+ { url = "https://files.pythonhosted.org/packages/af/b9/7b46942176df459d1804a9e77b0976f7c56f3abf3ec7485d0e5f836a0382/thinc-8.3.13-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:c2811dfd8d46d8b5d3b39051b23e64006b2994a5143b1978b436938018792af8", size = 817337, upload-time = "2026-03-23T07:22:09.538Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/79/53085a72cd8f4fc4e6e313d05ea5aa98e870684f4a0fb318a9875fc0a964/thinc-8.3.13-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5593e6300cb1ebe0c0e546e9c9fb49e7c2627a0aa688795cd4f995a8b820d2ec", size = 788120, upload-time = "2026-03-23T07:22:11.215Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/3e/d61b462b16da95ac6885f95bb395e672040ee594833e571a6edcffd234f5/thinc-8.3.13-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f697174d3fb474966ce50b430bbafa101a6d2f7ffb559dac4b5c59389ef72d22", size = 3844666, upload-time = "2026-03-23T07:22:12.67Z" },
+ { url = "https://files.pythonhosted.org/packages/78/4c/898cc654bb123734c71ec5a425c02ca34439517d01ce1c95a6563295580e/thinc-8.3.13-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:e9c7c5c104737b414c8c4ec578e67d78b6c859afe25cbc0684402e721415bd7f", size = 3890658, upload-time = "2026-03-23T07:22:14.668Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/56/1abdbf0a4ad628e8a05d6516fe0745969649d805367a3dccad8ee872981b/thinc-8.3.13-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7a99d0e242d1ccd23f9ae6bea7cd502f8626efa65c156b91d84581d0356696c3", size = 4819933, upload-time = "2026-03-23T07:22:16.85Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/22/b84dbdc6be5055bbdb2a7352e2c393f67e8593c137f1b83c82bf1e062b6e/thinc-8.3.13-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e676edd21a747afbe3e6b9f3fca8b962e36d146ded03b070cb0c28e2dfbe9499", size = 5018099, upload-time = "2026-03-23T07:22:18.356Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/a8/763cd7ba949334c9d2cddc92dadb68b344cb9546dc01b8d4a733dcaa16c1/thinc-8.3.13-cp313-cp313-win_amd64.whl", hash = "sha256:8ad40307f20e83f77af28ff5c6be0b86af7a8b251d1231c545508d2763157d8f", size = 1720309, upload-time = "2026-03-23T07:22:19.81Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/15/a11f7bb3cbc97dfecf32a90552f5a8f8a5c99316a99c6c17bdabf5baf256/thinc-8.3.13-cp313-cp313-win_arm64.whl", hash = "sha256:723949cab11d1925c15447928513a718276316cec6e0de28337cca0a62be0521", size = 1644606, upload-time = "2026-03-23T07:22:21.339Z" },
+ { url = "https://files.pythonhosted.org/packages/80/40/f4937d113912c6d669ffe982356ab29dcb6c7fe3be926a15981dbbb6a91c/thinc-8.3.13-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7badb0be4825535e6362c19e8a41872b65409e9da46d3453a391b843a0720865", size = 817024, upload-time = "2026-03-23T07:22:23.005Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/00/4d4ed1a11ba2920b85a03a0683b16d97dc5beb2e78078dbf0e13e43bcea7/thinc-8.3.13-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:565300b7e13de799e5abff00d445f537e9256cf7da4dcb0d0f005fc16748a29e", size = 792096, upload-time = "2026-03-23T07:22:24.349Z" },
+ { url = "https://files.pythonhosted.org/packages/44/5d/dc33d6932be8721af2ef76b4a3a6e8020648630eabae61fb916d2a861d1d/thinc-8.3.13-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c17cef1900a1aba7e1487493d16b8aa0a8633116f1b2a51c6649a4000697f17b", size = 3842215, upload-time = "2026-03-23T07:22:25.836Z" },
+ { url = "https://files.pythonhosted.org/packages/af/bc/a6d37d8dadc2c5b524f51192413481160c42c9dd6105e8d5551531623225/thinc-8.3.13-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f4f26d1eec9b2a6a8f2e0298a5515d13eb06d70730d0d9e1040bb329e12bf3fb", size = 3849253, upload-time = "2026-03-23T07:22:27.845Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/59/ce9c7067f1dfe5985875927de9cf7a79f9dae3e69487fd650dfba558029d/thinc-8.3.13-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a61a31fd0ce3c2771cf4901ba6df70e774ffe32febf1024c5b43d63575cd58fe", size = 4831163, upload-time = "2026-03-23T07:22:29.395Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/a8/f57819347fc4d8bef2204d15fcbb9d7dff2d6cdd5f83d5ed91456ddacc55/thinc-8.3.13-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ba8119daf84a12259ae4d251d36426417bafa0b34108890b4b7e2b50966bd990", size = 4986051, upload-time = "2026-03-23T07:22:30.933Z" },
+ { url = "https://files.pythonhosted.org/packages/05/ef/a82214bb7c7c1e2d92b69e1a7654be90cfab180082c6108e45a98af2422c/thinc-8.3.13-cp314-cp314-win_amd64.whl", hash = "sha256:433e3826e018da489f1a8068e6de677f6eff3cc93991a599d90f12cd1bc26cdc", size = 1740382, upload-time = "2026-03-23T07:22:32.869Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/ef/1648fda54e9689058335ff54f650a7a314db2a42e21af1b83949b2dc748e/thinc-8.3.13-cp314-cp314-win_arm64.whl", hash = "sha256:11754fada9ad5ba2e02d5f3f234f940e24015b82333db58372f4a6aedad9b43f", size = 1667687, upload-time = "2026-03-23T07:22:34.967Z" },
+]
+
+[[package]]
+name = "threadpoolctl"
+version = "3.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b7/4d/08c89e34946fce2aec4fbb45c9016efd5f4d7f24af8e5d93296e935631d8/threadpoolctl-3.6.0.tar.gz", hash = "sha256:8ab8b4aa3491d812b623328249fab5302a68d2d71745c8a4c719a2fcaba9f44e", size = 21274, upload-time = "2025-03-13T13:49:23.031Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/32/d5/f9a850d79b0851d1d4ef6456097579a9005b31fea68726a4ae5f2d82ddd9/threadpoolctl-3.6.0-py3-none-any.whl", hash = "sha256:43a0b8fd5a2928500110039e43a5eed8480b918967083ea48dc3ab9f13c4a7fb", size = 18638, upload-time = "2025-03-13T13:49:21.846Z" },
+]
+
+[[package]]
+name = "tiktoken"
+version = "0.13.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "regex" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e4/e5/5f3cb2159769d0f4324c0e9e87f9de3c4b1cd45848a96b2eb3566ad5ca77/tiktoken-0.13.0.tar.gz", hash = "sha256:c9435714c3a84c2319499de9a300c0e604449dd0799ff246458b3bb6a7f433c1", size = 38986, upload-time = "2026-05-15T04:51:27.153Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/38/e3/03c90dadcf5b3f82b83cee9adee60ef666b329c654f58c066af44eae0287/tiktoken-0.13.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:47b1df8d73390a24f94980c75158cdd5c56d256f16d55f30cb49c230caba9ba4", size = 1036627, upload-time = "2026-05-15T04:50:11.229Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/30/760463e5b2e8ad2bc229ae0a17ecb06727b6cbc094f08d8f65844315632e/tiktoken-0.13.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:7d40c6c5aab171dcd6eb8455bc567bde404bb9def60cdb8c1299cc782b242bb9", size = 984699, upload-time = "2026-05-15T04:50:12.874Z" },
+ { url = "https://files.pythonhosted.org/packages/de/8a/8895f342a6b6aabd1a358e672f6f077b3ae51d0c63ca605d142db3bcd8ab/tiktoken-0.13.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:9b842981fa91accdffd48ff6408a977b7a91c3fbda55d353c3c68114d5c9d69e", size = 1118690, upload-time = "2026-05-15T04:50:14.234Z" },
+ { url = "https://files.pythonhosted.org/packages/51/e0/92557768fb0801f0d9dd9243cb9b6d342900b05e4b1006d4771f49ce233e/tiktoken-0.13.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:ed5a30027cb4d8c7ca8b273d4766f3db3cf58fad9e9f3b1a68a351ffb54873d5", size = 1138423, upload-time = "2026-05-15T04:50:15.668Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/b9/a3d99feeedb032ffd09cd6652077f86bdee9a70dd0b990b2b272b445d4c3/tiktoken-0.13.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:7ab10f4a21c2999846940113f6dbd72e0fa06a24119feddd74cc47e85818e06d", size = 1185077, upload-time = "2026-05-15T04:50:17.19Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/93/bab868277d475dc6d2aaacd34cdd239c282f4908dcc8702e0a3311a8e032/tiktoken-0.13.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a2937ad042d49d50eac6e1ba07c5661d4bd3942a5b1e0c0d08475c4df83676e1", size = 1241702, upload-time = "2026-05-15T04:50:18.772Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/16/27e9f7e0ed76e501cfefc9fb2112df4c7bf70ca96945b15ecb7615aac860/tiktoken-0.13.0-cp310-cp310-win_amd64.whl", hash = "sha256:44733b99bfd72b590cd0936b1c01b3b4dd73122db2d544bc1ceeb18a7678c910", size = 876565, upload-time = "2026-05-15T04:50:20.268Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/4c/1bc81f4cd53e827c4ee67ca951b5935724716049452d8dfa09b8b82372bb/tiktoken-0.13.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:7bfe1849caa65d1e1d9871817170ec497bbb7984e182012e1bdce72f66608cdb", size = 1036353, upload-time = "2026-05-15T04:50:21.757Z" },
+ { url = "https://files.pythonhosted.org/packages/75/91/10b9c7076bc02c246c853201fdbbe300a4b8c5ed7b84c25f7403f4e32655/tiktoken-0.13.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:91c180fe255bd5a86d8316210d2833a1d4d33d026cd86a67812f4773743c8d26", size = 984644, upload-time = "2026-05-15T04:50:23.256Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/e4/fceae98015fab47fcd49b8bd7f46145bcd187a47e0add1e5378ed67ef980/tiktoken-0.13.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:059c8ecf554eb5b41e6e054ba467b871b03277d267dee7244380aca4359747d4", size = 1119261, upload-time = "2026-05-15T04:50:24.348Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/39/fe42ad00de01a8c4a49ad8649a2c8a316835a9cad5961b11d21eac0020a5/tiktoken-0.13.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:36217497eaffc158607a3b26f065300db2aefd43b115263f3b9688ce38146173", size = 1138253, upload-time = "2026-05-15T04:50:25.505Z" },
+ { url = "https://files.pythonhosted.org/packages/03/c4/ccee1ecccca107e9a16efcecdeeb964c325305038554d466ece65b42338f/tiktoken-0.13.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:303f7d91b4fce3baddbcde05c139091d4caa5026ac7214c1dc7ff7a71ee429ff", size = 1185747, upload-time = "2026-05-15T04:50:27.02Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/03/cd0cba295522b91eb55c6b2704f1df895f8226cfe60ab10d4d51d0cc9e69/tiktoken-0.13.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5d48843bee149630eb735a99e1f4a85b47308d21868ea63163f6e87768d3cfed", size = 1241265, upload-time = "2026-05-15T04:50:28.815Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/25/a10efd564402d82c2ff50d12057353ace447aa8007deceaa48641f63d35c/tiktoken-0.13.0-cp311-cp311-win_amd64.whl", hash = "sha256:fc1c44cd37b43fc46bae593129164f4f281e82ea116b57a85aa81bda57eafc94", size = 876509, upload-time = "2026-05-15T04:50:30.026Z" },
+ { url = "https://files.pythonhosted.org/packages/85/8e/144bde4e01df66b34bb865557c7cd754ed08b036217ebd79c9db5e9048a9/tiktoken-0.13.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:32ac870a806cfb260a02d0cb70426aef02e038297f8ad50df5040bb5af360791", size = 1034888, upload-time = "2026-05-15T04:50:31.579Z" },
+ { url = "https://files.pythonhosted.org/packages/36/18/d4ac9d20956cdebca04841316660ed584c2fecdc2b81722a28bc7ad3b1e4/tiktoken-0.13.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4d9980f11429ed2d737c463bb1fb78cf330caa026adf002f714aced7849a687b", size = 982970, upload-time = "2026-05-15T04:50:32.961Z" },
+ { url = "https://files.pythonhosted.org/packages/74/ed/6bb8d05b9f731f749fee5c6f5ca63e981143c826a5985877330507bd13b7/tiktoken-0.13.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:3f277ebea5edd7b8bf03c6f9431e1d67d517530115572b2dc1d465326e8f88c7", size = 1115741, upload-time = "2026-05-15T04:50:34.475Z" },
+ { url = "https://files.pythonhosted.org/packages/34/de/2ca96b07a82d972b74fe4b46de055b79c904e45c7eab699354a0bfa697dc/tiktoken-0.13.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:a116178fa7e1b4065bff05214360373a65cac22f965be7b3f73d00a0dbfe7649", size = 1136523, upload-time = "2026-05-15T04:50:35.782Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/dc/9dafec002c2d4424378563cf4cf5c7fb93631d2a55013c8b87554ee4012c/tiktoken-0.13.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2c397ddda233208345b01bd30f2fca79ff730e55731d0108a603f9bc57f6af3b", size = 1181954, upload-time = "2026-05-15T04:50:36.99Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/d0/1f8578c45b2f24759b46f0b50d31878c63c73e6bf0f2227e10ec5c5408dc/tiktoken-0.13.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:95097e4f89b06403976e498abf61a0ee73a7497e73fb599cb211d8197a054d91", size = 1240069, upload-time = "2026-05-15T04:50:38.221Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/90/28d7f154888610aa9237e541986beb62b479df29d193a5a0617dbb1514d0/tiktoken-0.13.0-cp312-cp312-win_amd64.whl", hash = "sha256:8f2d16e7a7c783ad81f36e457d046d1f1c8af70b22aec8a13238efe531977c41", size = 874748, upload-time = "2026-05-15T04:50:39.587Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/83/b096c859c2a47c11731bf2f5885f4028b809dfe2396582883eed9cae372f/tiktoken-0.13.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5df5d1507bd245f1ccad4a074698240021239e455eb0bb4ced4e3d7181872154", size = 1034228, upload-time = "2026-05-15T04:50:40.988Z" },
+ { url = "https://files.pythonhosted.org/packages/53/61/c68e123b6d753e3fc2751e9b18e732c9d8bf1e1926762e736eee935d931c/tiktoken-0.13.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8fe806a50664e83a6ffd56cbd1e4f5dcc6cd32a3e7538f70dc38b1a271384545", size = 982978, upload-time = "2026-05-15T04:50:42.195Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/8b/96cc178cc584e65d363134500f297790b06cd48cdeb1e8fcf7bbe60f4715/tiktoken-0.13.0-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:125bc05005e747f993a83dc67934249932d6e4209854452cd4c0b1d53fba3ba2", size = 1116355, upload-time = "2026-05-15T04:50:43.564Z" },
+ { url = "https://files.pythonhosted.org/packages/86/f5/bab735d2c72ea55404b295d02d092644eb5f7cc6205e34d35eb9abfb9ab2/tiktoken-0.13.0-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:5e6358911cab4adee6712da27d65573496a4f68cf8a2b5fca6a4ad10fc5748cf", size = 1135772, upload-time = "2026-05-15T04:50:44.782Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/b9/6de04ebdf904edfaad87788011b3735087a0c9ea671b9027e1e4e965e8c8/tiktoken-0.13.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:975cbd78d085d75d26b59660e262736dcaed1e35f8f142cd6291025c01d25486", size = 1182415, upload-time = "2026-05-15T04:50:46.422Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/9c/470a05f3b1caf038f44880e334d47ab674e0c80d514c66b375d14d5afa10/tiktoken-0.13.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:75ab9bc99fa020a4c283424590ecd7f3afd70c1c281cb3fa3192a6c3af9f9615", size = 1239879, upload-time = "2026-05-15T04:50:48.052Z" },
+ { url = "https://files.pythonhosted.org/packages/42/a6/c1936d16055436cb32e6c6128d68629622e00f4768562f55653752d34768/tiktoken-0.13.0-cp313-cp313-win_amd64.whl", hash = "sha256:6b1615f0ff71953d19729ceb18865429c185b0a23c5353f1bbca34a394bf60f7", size = 874829, upload-time = "2026-05-15T04:50:49.202Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/07/acb5992c3772b5a36284f742cfb7a5895aa4471d1848ac31464ad50d7fdf/tiktoken-0.13.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:6eb4a5bfbc6426938026b1a334e898ac53541360d62d8c689870160cc80abd67", size = 1033600, upload-time = "2026-05-15T04:50:50.4Z" },
+ { url = "https://files.pythonhosted.org/packages/14/e9/742e9aec30f59b9f161f7ff7cd072e02ea836c9e1c0854a8076dfcd40d5c/tiktoken-0.13.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:43cee3e5400573b2046fbf092cc7a5bc30164f9e4c95ce20714da929df48737a", size = 982516, upload-time = "2026-05-15T04:50:52.03Z" },
+ { url = "https://files.pythonhosted.org/packages/72/74/ca1541b053e7648254d2e4b42a253e1bb4359f2c91a0a8d49228c794e1a0/tiktoken-0.13.0-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:7de52e3f566d19b3b11bd37eea552c6c305ad74081f736882bd44d148ed4c48d", size = 1115518, upload-time = "2026-05-15T04:50:53.543Z" },
+ { url = "https://files.pythonhosted.org/packages/46/e3/93825eaf5a4a504795b787e5d5dea07fbeb3dabf97aa7b450be8bde59c89/tiktoken-0.13.0-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:51384448aa508e4df84c0f7c1dc3211c7f7b8096325660ee5fc82f3e11b381ce", size = 1136867, upload-time = "2026-05-15T04:50:55.191Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/46/002b68de6827091d5ae90b048f326e8aad8d953520950e5ce1508879414f/tiktoken-0.13.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e28157350f7ebf35008dd8e9e0fdb621f976e4230c881099c85e8cf07eaa50e2", size = 1181826, upload-time = "2026-05-15T04:50:56.296Z" },
+ { url = "https://files.pythonhosted.org/packages/db/c6/d393e3185a276505182f7abd93fe714f3c444a2be9180798fa052347504e/tiktoken-0.13.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:165cf1820ea4a354985c2490a5205d4cc74661c934aca79dd0368232fff94e0f", size = 1239489, upload-time = "2026-05-15T04:50:57.918Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/4d/bc07d1f1635d4897a202acc0ae11c2886eaa7325c359ba4741b47bf8e225/tiktoken-0.13.0-cp313-cp313t-win_amd64.whl", hash = "sha256:6c43a675ca14f6f2749ba7f12075d37456015a24b859f2517b9beb4ef30807ec", size = 873820, upload-time = "2026-05-15T04:50:59.528Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/93/0dd6adca026a616c3a92974566b43381eea4b475ce1f36c062b8271a9ac5/tiktoken-0.13.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaaaef47c2406277181d2086484c317bf7fc433e2d5d03ff94f56b0dcec87471", size = 1034977, upload-time = "2026-05-15T04:51:00.957Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/77/5ec6e6bc5b30bed6d93f7f2162d8f6b32437b3ba27cb527cfe004f6109c9/tiktoken-0.13.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ca8b310bd93b3772cb1b7922d915446864860f562bdfe4825c63a0aed3fb28cd", size = 983635, upload-time = "2026-05-15T04:51:02.629Z" },
+ { url = "https://files.pythonhosted.org/packages/94/b0/c8ae9aff00d625c50659b4513e707a0462c4bf5d4d6cc1b802103225c02e/tiktoken-0.13.0-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:32e0c12305105002c047b3bb1070b0dd9a73b0cb3b2856a8972b810e7a4f5881", size = 1116036, upload-time = "2026-05-15T04:51:04.082Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/ac/6a5dddd1d0a6018ecb389bd0353e6b4a515eb4d2286611bd0ace1937b9e1/tiktoken-0.13.0-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:5ba5fd62507a932d1241346179e3b39bc7bf7408f03c272652d93b3bedf5db24", size = 1135544, upload-time = "2026-05-15T04:51:05.229Z" },
+ { url = "https://files.pythonhosted.org/packages/f4/b8/585032b4384b2f7dcdaddcb52865c83a701a420d09e3c2b4a2be1c450c57/tiktoken-0.13.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:d108bc2d470fc53c8ecd24f2c0fd2b5f98c33e87cdb6aa2e9b8c5dced703d273", size = 1182217, upload-time = "2026-05-15T04:51:06.517Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/b6/993ff1ded3958215fd341a847b8e5ffeb5de473f435296870d314fc91ac4/tiktoken-0.13.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:cb99cb5127449f58d0a2d5f5ccfb390d8dbdfd919c221246caaee29d8725ed51", size = 1239404, upload-time = "2026-05-15T04:51:07.843Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/3d/fef7e06e3b33e7538db0ced734cf9fe23b6832d2ac4990c119c377aec55e/tiktoken-0.13.0-cp314-cp314-win_amd64.whl", hash = "sha256:115c4f26ffa11caac8b54eea35c2ad38c612c20a48d35dd15d70a02ac6f51f58", size = 918686, upload-time = "2026-05-15T04:51:08.925Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/82/a7fc44582bc32ab00de988a2299bf77c077f59068b233109e34b7d6ca7e6/tiktoken-0.13.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:472527e9132952f2fbf77cd290658bacf003d4d5a3fabc18e5fbd407cbae4d9b", size = 1034454, upload-time = "2026-05-15T04:51:10.035Z" },
+ { url = "https://files.pythonhosted.org/packages/37/d0/24d8a890c14f432a05cea669c17bebeaa99f96a7c79523b590f564246411/tiktoken-0.13.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:4e2f67d27c9626cdd25fe33d9313c5cdb3d8d82da646b68d6eb8e7e9c20e6448", size = 982976, upload-time = "2026-05-15T04:51:11.23Z" },
+ { url = "https://files.pythonhosted.org/packages/49/b7/2ab43f62788a9266187a9bfc1d3af99ad83e5eaa25fbef168a69cd5ad14f/tiktoken-0.13.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:2b920b35805cd64585a37c3dc7ce65fba4d2d36016be01e1d7942482ca29093a", size = 1115526, upload-time = "2026-05-15T04:51:12.608Z" },
+ { url = "https://files.pythonhosted.org/packages/64/39/1494321ed323ce7a14d88e3cd6cb9058625977df1c6961ddc492bd10a9f3/tiktoken-0.13.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:493af3aa28a4aaf2e3d2600a2ee717252c9bf5ab38fff94eb5a02db5ab77e5ad", size = 1136466, upload-time = "2026-05-15T04:51:13.926Z" },
+ { url = "https://files.pythonhosted.org/packages/96/d9/dfd086aa2d918c563a140720e0ce296cada1634efd2783d5cf51e05f984e/tiktoken-0.13.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:6644c9c2b5cf3916f5a3641d7d12fdb3f006a7b3d9ff6acdaec44e29ab1ff91e", size = 1181863, upload-time = "2026-05-15T04:51:15.025Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/68/a18b4f307086954fdae32714cb4f85562e34f9d34ab206e61f1816aa6018/tiktoken-0.13.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5cb65b60b9408563676d874a3a4ee573370066f0dc4e29d84e82e989c6517424", size = 1239218, upload-time = "2026-05-15T04:51:16.103Z" },
+ { url = "https://files.pythonhosted.org/packages/16/5b/f2aa703a4fc5d2dff73460a7d46cc2f3f44aa0f3dd8eeb20d2a0ecf68862/tiktoken-0.13.0-cp314-cp314t-win_amd64.whl", hash = "sha256:85b78cc3a2c3d48723ca751fa981f1fedccd54194ca0471b957364353a898b07", size = 918110, upload-time = "2026-05-15T04:51:17.237Z" },
+]
+
+[[package]]
+name = "tinycss2"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "webencodings" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/7a/fd/7a5ee21fd08ff70d3d33a5781c255cbe779659bd03278feb98b19ee550f4/tinycss2-1.4.0.tar.gz", hash = "sha256:10c0972f6fc0fbee87c3edb76549357415e94548c1ae10ebccdea16fb404a9b7", size = 87085, upload-time = "2024-10-24T14:58:29.895Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e6/34/ebdc18bae6aa14fbee1a08b63c015c72b64868ff7dae68808ab500c492e2/tinycss2-1.4.0-py3-none-any.whl", hash = "sha256:3a49cf47b7675da0b15d0c6e1df8df4ebd96e9394bb905a5775adb0d884c5289", size = 26610, upload-time = "2024-10-24T14:58:28.029Z" },
+]
+
+[[package]]
+name = "tokenizers"
+version = "0.22.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "huggingface-hub" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/1c/46/fb6854cec3278fbfa4a75b50232c77622bc517ac886156e6afbfa4d8fc6e/tokenizers-0.22.1.tar.gz", hash = "sha256:61de6522785310a309b3407bac22d99c4db5dba349935e99e4d15ea2226af2d9", size = 363123, upload-time = "2025-09-19T09:49:23.424Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bf/33/f4b2d94ada7ab297328fc671fed209368ddb82f965ec2224eb1892674c3a/tokenizers-0.22.1-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:59fdb013df17455e5f950b4b834a7b3ee2e0271e6378ccb33aa74d178b513c73", size = 3069318, upload-time = "2025-09-19T09:49:11.848Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/58/2aa8c874d02b974990e89ff95826a4852a8b2a273c7d1b4411cdd45a4565/tokenizers-0.22.1-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:8d4e484f7b0827021ac5f9f71d4794aaef62b979ab7608593da22b1d2e3c4edc", size = 2926478, upload-time = "2025-09-19T09:49:09.759Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/3b/55e64befa1e7bfea963cf4b787b2cea1011362c4193f5477047532ce127e/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:19d2962dd28bc67c1f205ab180578a78eef89ac60ca7ef7cbe9635a46a56422a", size = 3256994, upload-time = "2025-09-19T09:48:56.701Z" },
+ { url = "https://files.pythonhosted.org/packages/71/0b/fbfecf42f67d9b7b80fde4aabb2b3110a97fac6585c9470b5bff103a80cb/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:38201f15cdb1f8a6843e6563e6e79f4abd053394992b9bbdf5213ea3469b4ae7", size = 3153141, upload-time = "2025-09-19T09:48:59.749Z" },
+ { url = "https://files.pythonhosted.org/packages/17/a9/b38f4e74e0817af8f8ef925507c63c6ae8171e3c4cb2d5d4624bf58fca69/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d1cbe5454c9a15df1b3443c726063d930c16f047a3cc724b9e6e1a91140e5a21", size = 3508049, upload-time = "2025-09-19T09:49:05.868Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/48/dd2b3dac46bb9134a88e35d72e1aa4869579eacc1a27238f1577270773ff/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e7d094ae6312d69cc2a872b54b91b309f4f6fbce871ef28eb27b52a98e4d0214", size = 3710730, upload-time = "2025-09-19T09:49:01.832Z" },
+ { url = "https://files.pythonhosted.org/packages/93/0e/ccabc8d16ae4ba84a55d41345207c1e2ea88784651a5a487547d80851398/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afd7594a56656ace95cdd6df4cca2e4059d294c5cfb1679c57824b605556cb2f", size = 3412560, upload-time = "2025-09-19T09:49:03.867Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/c6/dc3a0db5a6766416c32c034286d7c2d406da1f498e4de04ab1b8959edd00/tokenizers-0.22.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e2ef6063d7a84994129732b47e7915e8710f27f99f3a3260b8a38fc7ccd083f4", size = 3250221, upload-time = "2025-09-19T09:49:07.664Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/a6/2c8486eef79671601ff57b093889a345dd3d576713ef047776015dc66de7/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:ba0a64f450b9ef412c98f6bcd2a50c6df6e2443b560024a09fa6a03189726879", size = 9345569, upload-time = "2025-09-19T09:49:14.214Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/16/32ce667f14c35537f5f605fe9bea3e415ea1b0a646389d2295ec348d5657/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:331d6d149fa9c7d632cde4490fb8bbb12337fa3a0232e77892be656464f4b446", size = 9271599, upload-time = "2025-09-19T09:49:16.639Z" },
+ { url = "https://files.pythonhosted.org/packages/51/7c/a5f7898a3f6baa3fc2685c705e04c98c1094c523051c805cdd9306b8f87e/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:607989f2ea68a46cb1dfbaf3e3aabdf3f21d8748312dbeb6263d1b3b66c5010a", size = 9533862, upload-time = "2025-09-19T09:49:19.146Z" },
+ { url = "https://files.pythonhosted.org/packages/36/65/7e75caea90bc73c1dd8d40438adf1a7bc26af3b8d0a6705ea190462506e1/tokenizers-0.22.1-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a0f307d490295717726598ef6fa4f24af9d484809223bbc253b201c740a06390", size = 9681250, upload-time = "2025-09-19T09:49:21.501Z" },
+ { url = "https://files.pythonhosted.org/packages/30/2c/959dddef581b46e6209da82df3b78471e96260e2bc463f89d23b1bf0e52a/tokenizers-0.22.1-cp39-abi3-win32.whl", hash = "sha256:b5120eed1442765cd90b903bb6cfef781fd8fe64e34ccaecbae4c619b7b12a82", size = 2472003, upload-time = "2025-09-19T09:49:27.089Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/46/e33a8c93907b631a99377ef4c5f817ab453d0b34f93529421f42ff559671/tokenizers-0.22.1-cp39-abi3-win_amd64.whl", hash = "sha256:65fd6e3fb11ca1e78a6a93602490f134d1fdeb13bcef99389d5102ea318ed138", size = 2674684, upload-time = "2025-09-19T09:49:24.953Z" },
+]
+
+[[package]]
+name = "tomli"
+version = "2.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/18/87/302344fed471e44a87289cf4967697d07e532f2421fdaf868a303cbae4ff/tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff", size = 17175, upload-time = "2024-11-27T22:38:36.873Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/ca/75707e6efa2b37c77dadb324ae7d9571cb424e61ea73fad7c56c2d14527f/tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249", size = 131077, upload-time = "2024-11-27T22:37:54.956Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/16/51ae563a8615d472fdbffc43a3f3d46588c264ac4f024f63f01283becfbb/tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6", size = 123429, upload-time = "2024-11-27T22:37:56.698Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/dd/4f6cd1e7b160041db83c694abc78e100473c15d54620083dbd5aae7b990e/tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a", size = 226067, upload-time = "2024-11-27T22:37:57.63Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/6b/c54ede5dc70d648cc6361eaf429304b02f2871a345bbdd51e993d6cdf550/tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee", size = 236030, upload-time = "2024-11-27T22:37:59.344Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/47/999514fa49cfaf7a92c805a86c3c43f4215621855d151b61c602abb38091/tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e", size = 240898, upload-time = "2024-11-27T22:38:00.429Z" },
+ { url = "https://files.pythonhosted.org/packages/73/41/0a01279a7ae09ee1573b423318e7934674ce06eb33f50936655071d81a24/tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4", size = 229894, upload-time = "2024-11-27T22:38:02.094Z" },
+ { url = "https://files.pythonhosted.org/packages/55/18/5d8bc5b0a0362311ce4d18830a5d28943667599a60d20118074ea1b01bb7/tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106", size = 245319, upload-time = "2024-11-27T22:38:03.206Z" },
+ { url = "https://files.pythonhosted.org/packages/92/a3/7ade0576d17f3cdf5ff44d61390d4b3febb8a9fc2b480c75c47ea048c646/tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8", size = 238273, upload-time = "2024-11-27T22:38:04.217Z" },
+ { url = "https://files.pythonhosted.org/packages/72/6f/fa64ef058ac1446a1e51110c375339b3ec6be245af9d14c87c4a6412dd32/tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff", size = 98310, upload-time = "2024-11-27T22:38:05.908Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/1c/4a2dcde4a51b81be3530565e92eda625d94dafb46dbeb15069df4caffc34/tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b", size = 108309, upload-time = "2024-11-27T22:38:06.812Z" },
+ { url = "https://files.pythonhosted.org/packages/52/e1/f8af4c2fcde17500422858155aeb0d7e93477a0d59a98e56cbfe75070fd0/tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea", size = 132762, upload-time = "2024-11-27T22:38:07.731Z" },
+ { url = "https://files.pythonhosted.org/packages/03/b8/152c68bb84fc00396b83e7bbddd5ec0bd3dd409db4195e2a9b3e398ad2e3/tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8", size = 123453, upload-time = "2024-11-27T22:38:09.384Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/d6/fc9267af9166f79ac528ff7e8c55c8181ded34eb4b0e93daa767b8841573/tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192", size = 233486, upload-time = "2024-11-27T22:38:10.329Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/51/51c3f2884d7bab89af25f678447ea7d297b53b5a3b5730a7cb2ef6069f07/tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222", size = 242349, upload-time = "2024-11-27T22:38:11.443Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/df/bfa89627d13a5cc22402e441e8a931ef2108403db390ff3345c05253935e/tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77", size = 252159, upload-time = "2024-11-27T22:38:13.099Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/6e/fa2b916dced65763a5168c6ccb91066f7639bdc88b48adda990db10c8c0b/tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6", size = 237243, upload-time = "2024-11-27T22:38:14.766Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/04/885d3b1f650e1153cbb93a6a9782c58a972b94ea4483ae4ac5cedd5e4a09/tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd", size = 259645, upload-time = "2024-11-27T22:38:15.843Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/de/6b432d66e986e501586da298e28ebeefd3edc2c780f3ad73d22566034239/tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e", size = 244584, upload-time = "2024-11-27T22:38:17.645Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/9a/47c0449b98e6e7d1be6cbac02f93dd79003234ddc4aaab6ba07a9a7482e2/tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98", size = 98875, upload-time = "2024-11-27T22:38:19.159Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/60/9b9638f081c6f1261e2688bd487625cd1e660d0a85bd469e91d8db969734/tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4", size = 109418, upload-time = "2024-11-27T22:38:20.064Z" },
+ { url = "https://files.pythonhosted.org/packages/04/90/2ee5f2e0362cb8a0b6499dc44f4d7d48f8fff06d28ba46e6f1eaa61a1388/tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7", size = 132708, upload-time = "2024-11-27T22:38:21.659Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/ec/46b4108816de6b385141f082ba99e315501ccd0a2ea23db4a100dd3990ea/tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c", size = 123582, upload-time = "2024-11-27T22:38:22.693Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/bd/b470466d0137b37b68d24556c38a0cc819e8febe392d5b199dcd7f578365/tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13", size = 232543, upload-time = "2024-11-27T22:38:24.367Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/e5/82e80ff3b751373f7cead2815bcbe2d51c895b3c990686741a8e56ec42ab/tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281", size = 241691, upload-time = "2024-11-27T22:38:26.081Z" },
+ { url = "https://files.pythonhosted.org/packages/05/7e/2a110bc2713557d6a1bfb06af23dd01e7dde52b6ee7dadc589868f9abfac/tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272", size = 251170, upload-time = "2024-11-27T22:38:27.921Z" },
+ { url = "https://files.pythonhosted.org/packages/64/7b/22d713946efe00e0adbcdfd6d1aa119ae03fd0b60ebed51ebb3fa9f5a2e5/tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140", size = 236530, upload-time = "2024-11-27T22:38:29.591Z" },
+ { url = "https://files.pythonhosted.org/packages/38/31/3a76f67da4b0cf37b742ca76beaf819dca0ebef26d78fc794a576e08accf/tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2", size = 258666, upload-time = "2024-11-27T22:38:30.639Z" },
+ { url = "https://files.pythonhosted.org/packages/07/10/5af1293da642aded87e8a988753945d0cf7e00a9452d3911dd3bb354c9e2/tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744", size = 243954, upload-time = "2024-11-27T22:38:31.702Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/b9/1ed31d167be802da0fc95020d04cd27b7d7065cc6fbefdd2f9186f60d7bd/tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec", size = 98724, upload-time = "2024-11-27T22:38:32.837Z" },
+ { url = "https://files.pythonhosted.org/packages/c7/32/b0963458706accd9afcfeb867c0f9175a741bf7b19cd424230714d722198/tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69", size = 109383, upload-time = "2024-11-27T22:38:34.455Z" },
+ { url = "https://files.pythonhosted.org/packages/6e/c2/61d3e0f47e2b74ef40a68b9e6ad5984f6241a942f7cd3bbfbdbd03861ea9/tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc", size = 14257, upload-time = "2024-11-27T22:38:35.385Z" },
+]
+
+[[package]]
+name = "torch"
+version = "2.12.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cuda-bindings", marker = "sys_platform == 'linux'" },
+ { name = "cuda-toolkit", extra = ["cudart", "cufft", "cufile", "cupti", "curand", "cusolver", "cusparse", "nvjitlink", "nvrtc", "nvtx"], marker = "sys_platform == 'linux'" },
+ { name = "filelock" },
+ { name = "fsspec" },
+ { name = "jinja2" },
+ { name = "networkx", version = "3.4.2", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "networkx", version = "3.5", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "nvidia-cublas", marker = "sys_platform == 'linux'" },
+ { name = "nvidia-cudnn-cu13", marker = "sys_platform == 'linux'" },
+ { name = "nvidia-cusparselt-cu13", marker = "sys_platform == 'linux'" },
+ { name = "nvidia-nccl-cu13", marker = "sys_platform == 'linux'" },
+ { name = "nvidia-nvshmem-cu13", marker = "sys_platform == 'linux'" },
+ { name = "setuptools" },
+ { name = "sympy" },
+ { name = "triton", marker = "sys_platform == 'linux'" },
+ { name = "typing-extensions" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/db/ed/ff0c4f8cef63977a646dc80e40c05cae873f4097b12dc87e1cd7e1cecf42/torch-2.12.1-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:ec56e82be6a8b0c036771a77f7d32ad3c299770571af9815b3dafe61434389d5", size = 87967927, upload-time = "2026-06-17T21:08:43.16Z" },
+ { url = "https://files.pythonhosted.org/packages/85/1b/c8ecf60c9dba535f9ea341c359c600c0bd877a7ca14b3296f13316321847/torch-2.12.1-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:42cd7339bf266f14944710e8274be63e7e012bb937834a8d85a8327a9860eba6", size = 426366829, upload-time = "2026-06-17T21:07:18.574Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/d6/73d4a3f27e00526e98086f3a64ab609af1345cca62367749fbc3c8e4b83c/torch-2.12.1-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:a7817f0f89a796d9de239d06f69faf5d7e19a6a5db6710a5ead777c912f9f50a", size = 532144834, upload-time = "2026-06-17T21:08:00.633Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/51/4010c8fa6f9d1f42c054a321970ca95ec58e4e4494f5b53a34c3f3c9e310/torch-2.12.1-cp310-cp310-win_amd64.whl", hash = "sha256:2af3d9cc866e0a15ae7635ff0a9c61d6624a353ad657f5bcd8d86c26cdc64693", size = 122949863, upload-time = "2026-06-17T21:08:39.016Z" },
+ { url = "https://files.pythonhosted.org/packages/59/38/7028d3be540f1dcdf41660a2b01d0c51d2cb73915fe370d84e4d277a6d47/torch-2.12.1-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:ef81f503912effea2ce3d9b12a2e3a6ed488943e91271c90c7a829f60baf6aa2", size = 87975425, upload-time = "2026-06-17T21:08:34.094Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/e3/750b3e3548635ceac03ba255daa26dbc7ed66ca3484dc4b4d955ab7f4501/torch-2.12.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:107df6888624bdea41508f9aeb6149d9333c737a5530ceecb56c904e811369ae", size = 426379894, upload-time = "2026-06-17T21:06:55.077Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/ca/ed24783da629ff3e640ba3f70a7639e9045d3d88b93ee6bc47b8a28a1f2c/torch-2.12.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:6e29e7e74d05bda7d955c75e99459f878ebd970ef851b4057edbd3b34a5eb4a3", size = 532169264, upload-time = "2026-06-17T21:08:17.65Z" },
+ { url = "https://files.pythonhosted.org/packages/46/61/c63f0158446f3a98ea672b004d761b848911eba567ea4a624c7db5aadc04/torch-2.12.1-cp311-cp311-win_amd64.whl", hash = "sha256:a513506cfda3c1c78dabeb6574c1597538c0254b3d39af174dde35d8177f4ce3", size = 122953086, upload-time = "2026-06-17T21:08:27.69Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/54/efb7ebca77970012b0cc21687a55d70eb2ba514b2c2b8e18d9fb1222f3be/torch-2.12.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:d2dd0f2c5f7ccbddaf34cade0deaf476808368f902b9cdb7f36a2ab42301bc0e", size = 87991951, upload-time = "2026-06-17T21:07:49.309Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/00/4210d76ca7424981f04033ebe7e48816ab83287a62538747a58825db770c/torch-2.12.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:2de4e19b88a481482c6c75291f2d6a52eda3ce51f311b29aa9b68499c830c07c", size = 426382721, upload-time = "2026-06-17T21:06:41.842Z" },
+ { url = "https://files.pythonhosted.org/packages/76/1f/bc9f5a5aa569307076365f25afcebacb22e9c754b1bcfbaaa146627c7fda/torch-2.12.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:649e4ced014ba646f76f8cb9c9726735a6323eb321b7919f942790a923f90921", size = 532261322, upload-time = "2026-06-17T21:06:06.673Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/49/c549461daa008159d006a76a991fbc2f26fa8bac27a4030c858463dcb20f/torch-2.12.1-cp312-cp312-win_amd64.whl", hash = "sha256:e86550597877fb272ddc52db2f85b82cb601ea7bd932576a0340152cae2200b3", size = 122988095, upload-time = "2026-06-17T21:07:44.9Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/4a/0300261818e1560d72cc160ac826005507e8b7ca0a35788b591436d05b4a/torch-2.12.1-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:c75e93173c700bccd6bfcc4a9d19ce242ab6dacd1f1781483027a16239b9e650", size = 87992358, upload-time = "2026-06-17T21:07:40.299Z" },
+ { url = "https://files.pythonhosted.org/packages/30/a7/874a5ca05e8f159211dca7921060f7057acc1adb26431e119fd150623efc/torch-2.12.1-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:fcb61ccd20784b62bdd78ec84238a5cfb383b4994902e03bac95505ab360884c", size = 426386134, upload-time = "2026-06-17T21:07:31.481Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/75/20bb8fe9c1ad6538cce8cd0391b51927ae5af0b17ed1eab44b8824465dc1/torch-2.12.1-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:f4afc8083dff08719edbea346644476e3cec0cf40ebe256be0ee5d5b7c7e8c0d", size = 532268019, upload-time = "2026-06-17T21:05:37.925Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/fa/824ddb662af55b2eabc0dbb7b57c7c0b1bcd93693754a2b8509ec4d16490/torch-2.12.1-cp313-cp313-win_amd64.whl", hash = "sha256:f92609e3b3ce72f25e2eb780d043ced2480c1a86c47c852604fc7a9108648386", size = 122987777, upload-time = "2026-06-17T21:07:09.49Z" },
+ { url = "https://files.pythonhosted.org/packages/63/b7/1b49fe7086ea36839cc80abc43174c43d0ab6f676c0891c871c162f44fe3/torch-2.12.1-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:e9b6f7d2dd66ea87a3ae620069d31335d594c06effb1a383bdd21cfe61e44ece", size = 88010025, upload-time = "2026-06-17T21:07:03.934Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/06/5b44063a6545036dcc680d2d303b137d9176cfb2cc1e1863e3ef94abeb52/torch-2.12.1-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:7973ccd3d2cd35c74449213f7bded199bec6c6247e705cbeda7407af79703d91", size = 426392891, upload-time = "2026-06-17T21:05:52.261Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/dd/c9ce9a4b0eb3c5bb92d9ea56766e2c22559f0b45171149188494edcce80f/torch-2.12.1-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:c64ac4aac16be5e296dcd912305605804b203333c690bf98c55bc09494ee92ad", size = 532272494, upload-time = "2026-06-17T21:06:22.72Z" },
+ { url = "https://files.pythonhosted.org/packages/21/7c/f3a601fc1b1f663ff269bfe553654e638651939aa6563e8daa7167c33098/torch-2.12.1-cp314-cp314-win_amd64.whl", hash = "sha256:f6dc4caf7eb4adb38a2d9f536b51db56310fdd1254e69a2d96767e1367c892b3", size = 122987254, upload-time = "2026-06-17T21:06:33.199Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/8c/b8087556cf81ddd808dbeb34afb8396d7ae7a1694ab489f08b1a0004e7d0/torch-2.12.1-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:2afbb2bdaa8a95040e733f05492ddf133c3967c9b7ce0abd218d704b6cab437d", size = 88303173, upload-time = "2026-06-17T21:05:06.603Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/07/fe09d1699fbed2afa10ebc692ff2b99d113f2605b6748cea633989e2789a/torch-2.12.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:97eba061fcb042fed191400b15568990073d67eaacaa6ee9b7ca01dd8b790fe9", size = 426404009, upload-time = "2026-06-17T21:04:57.557Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/f7/0ce4f6c1962c60ded7270e0a9eb560fb615c92b89d332cf9e3dff36d5ecc/torch-2.12.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:3867b861391701012adb2df93360efb88494dca245a185e3bb7624495cfe3f33", size = 532184292, upload-time = "2026-06-17T21:05:17.526Z" },
+ { url = "https://files.pythonhosted.org/packages/70/db/e384c12aba30320ca92aaaf557456cbcb26f04b4df307728bb8f019f5000/torch-2.12.1-cp314-cp314t-win_amd64.whl", hash = "sha256:dd15595f8fc764cffde8c6361a3beb6ef69a028c851b1b3e70e077f615980d4e", size = 123231142, upload-time = "2026-06-17T21:05:27.061Z" },
+]
+
+[[package]]
+name = "tornado"
+version = "6.5.7"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/64/24/95ec527ad67b76d59299e5465b3935d05e4294b7e0290a3924b7487df30b/tornado-6.5.7.tar.gz", hash = "sha256:66c513a76cda70d53907bc27cf1447557699c2e95aa48ba27a442ff61c3ddfc2", size = 519252, upload-time = "2026-06-08T17:34:51.232Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/02/dc/c7043cab6fed8ae159fc1923ce829ada35c4dbd797d408a43858ffaf9639/tornado-6.5.7-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:148b2eb15c2c765a50796172c1e499649b35f30d2e3c3d3e15913cfa56bfb163", size = 448543, upload-time = "2026-06-08T17:34:38.052Z" },
+ { url = "https://files.pythonhosted.org/packages/92/4f/090b1431e5a43df696feceffc268c5383cc079ecb5f08ce58f917109aafe/tornado-6.5.7-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:9da38de27f1da3b78a966f0dae12b5a1ea9afe72ca805d84ff06508272ddf100", size = 446707, upload-time = "2026-06-08T17:34:39.594Z" },
+ { url = "https://files.pythonhosted.org/packages/37/d8/ef374952fd5da67d4463122c2b8e5a96536ec10b4b339254c6dcde81d01c/tornado-6.5.7-cp39-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8d759e71906ee783f8867b93bf26a265743da4c1e2f4a018464c1ba019862972", size = 449774, upload-time = "2026-06-08T17:34:41.204Z" },
+ { url = "https://files.pythonhosted.org/packages/35/37/d434c73f4c6e014b745b9b37085f34f40c022f007efff3d7fe65991899f3/tornado-6.5.7-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a46347a18f23fb92b396beebe0fb78f61dda0cc302445202c16203d8a18848b", size = 450745, upload-time = "2026-06-08T17:34:42.531Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/2b/56b9aff361d7f1ab728a805ec7d7ea835f8807afa9f5cc690ea0e630efb9/tornado-6.5.7-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:7778b30bef919231265e91c69963ce0f49a1e9c07ac900bbe75b19ce2575ba92", size = 450578, upload-time = "2026-06-08T17:34:43.787Z" },
+ { url = "https://files.pythonhosted.org/packages/02/30/a7444fb23aa76860a14198fab96ac79f1866b0a6e19e26c4381b0938e50f/tornado-6.5.7-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:e726f0c75da7726eec023aa62751ff8878bd2737e34fbdd33b1ae5897d2200f5", size = 449985, upload-time = "2026-06-08T17:34:45.326Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/42/5f0e56c01e8d9d36f4e23f367b85ae6cae0c1ecddd5e6977d8388ad27488/tornado-6.5.7-cp39-abi3-win32.whl", hash = "sha256:f8de3bf12d3efdd0cbe7c8887868198f8a91415e3f29fcf258d9b8eb7b1d9ae4", size = 451047, upload-time = "2026-06-08T17:34:46.784Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/a4/b393076ffb21b469eec5b328a0534cf03a3b90bfc6b1f09507cdd075d938/tornado-6.5.7-cp39-abi3-win_amd64.whl", hash = "sha256:de942f843533a039ef9fa3d9c88c7cd8a7c94553fb5ad0154270989b3d99a2c4", size = 451485, upload-time = "2026-06-08T17:34:48.248Z" },
+ { url = "https://files.pythonhosted.org/packages/71/2e/7b1c769803121b809112cf9a00681c472eae1d80e32d7ec0e0bd61d0d0e1/tornado-6.5.7-cp39-abi3-win_arm64.whl", hash = "sha256:ff934fce95643af5f11efdae618eaa73d469dc588641e5c8d19295a0c65c4796", size = 450506, upload-time = "2026-06-08T17:34:49.702Z" },
+]
+
+[[package]]
+name = "tqdm"
+version = "4.67.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/a8/4b/29b4ef32e036bb34e4ab51796dd745cdba7ed47ad142a9f4a1eb8e0c744d/tqdm-4.67.1.tar.gz", hash = "sha256:f8aef9c52c08c13a65f30ea34f4e5aac3fd1a34959879d7e59e63027286627f2", size = 169737, upload-time = "2024-11-24T20:12:22.481Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d0/30/dc54f88dd4a2b5dc8a0279bdd7270e735851848b762aeb1c1184ed1f6b14/tqdm-4.67.1-py3-none-any.whl", hash = "sha256:26445eca388f82e72884e0d580d5464cd801a3ea01e63e5601bdff9ba6a48de2", size = 78540, upload-time = "2024-11-24T20:12:19.698Z" },
+]
+
+[[package]]
+name = "traitlets"
+version = "5.14.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/eb/79/72064e6a701c2183016abbbfedaba506d81e30e232a68c9f0d6f6fcd1574/traitlets-5.14.3.tar.gz", hash = "sha256:9ed0579d3502c94b4b3732ac120375cda96f923114522847de4b3bb98b96b6b7", size = 161621, upload-time = "2024-04-19T11:11:49.746Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/00/c0/8f5d070730d7836adc9c9b6408dec68c6ced86b304a9b26a14df072a6e8c/traitlets-5.14.3-py3-none-any.whl", hash = "sha256:b74e89e397b1ed28cc831db7aea759ba6640cb3de13090ca145426688ff1ac4f", size = 85359, upload-time = "2024-04-19T11:11:46.763Z" },
+]
+
+[[package]]
+name = "transformers"
+version = "5.12.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "huggingface-hub" },
+ { name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
+ { name = "numpy", version = "2.3.3", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.11'" },
+ { name = "packaging" },
+ { name = "pyyaml" },
+ { name = "regex" },
+ { name = "safetensors" },
+ { name = "tokenizers" },
+ { name = "tqdm" },
+ { name = "typer" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/aa/7c/8240f612819718100a9346dc28dea6a11370c3ca9c8c6eabadd3dea4ef29/transformers-5.12.1.tar.gz", hash = "sha256:679ee731c8225347889ad4fb3b2c926a62e9da3b7d284e9d12c791da7272466b", size = 8924054, upload-time = "2026-06-15T17:27:50.604Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/df/56/bbd60dd8668055803bf8ba55a81f9b8a8b31497f620109a9671d26a2076d/transformers-5.12.1-py3-none-any.whl", hash = "sha256:2a5e109d2021265df7098ffbb738295acaf5ad256f12cbc586db2ea4dcbb1a8a", size = 11150587, upload-time = "2026-06-15T17:27:46.679Z" },
+]
+
+[[package]]
+name = "triton"
+version = "3.7.1"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/ea/629cc37436ca5df93ce98956d09cd2ca1498bfee8ef4972d2fe48b9f958c/triton-3.7.1-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3daf64305d6cea88d3334c65ebc9bcd0c64c9564a977084366aa768d57cbcf64", size = 184551013, upload-time = "2026-06-17T20:03:37.551Z" },
+ { url = "https://files.pythonhosted.org/packages/15/76/c79c34311625227a288df3e483fc5cdf3d596624cbd4b4758c4cbdc14af3/triton-3.7.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ee89fbf782ec2ad50391dd1cf26cbea4f4467154c37f4773026da8fc31c0f58e", size = 197596267, upload-time = "2026-06-17T19:53:06.898Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/f9/19d842d06a08559534fa1eaab6ca551b1bcf40f06620bddec1babaa2772d/triton-3.7.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d4a0e1cd4c4a76370ed74a8432a53cea28716827d19e40ffc732233e35ceb3f6", size = 184664887, upload-time = "2026-06-17T20:03:42.913Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/5e/fce69606f7f240297f163e25539906732b199530d486ce67ae319877e821/triton-3.7.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6744957e9fd610a29680ec2346057d0c86948ed3812468670719f391e94b44a5", size = 197701306, upload-time = "2026-06-17T19:53:13.673Z" },
+ { url = "https://files.pythonhosted.org/packages/94/fa/f856e24deb462d5f18bd4b5a746957862ab9b6ee5834bda60605ec348366/triton-3.7.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9497f2e696ee368862a181a90b2dcc03ca978cc4f602abd67c7d81022a6988e1", size = 184692359, upload-time = "2026-06-17T20:03:48.288Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/6f/fb96d15db6f36d6eae4cafb998c2e0353bf59d7c4ea1662d7497f269134a/triton-3.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7e40869937a68206ec70d7f25bb7ec6433cb083f9135e1f36dbd318dc449a728", size = 197719725, upload-time = "2026-06-17T19:53:20.419Z" },
+ { url = "https://files.pythonhosted.org/packages/00/42/c5089d4d9327fcd1e862c599cc2927f39418f84dd11a84cb2ccff9d4787a/triton-3.7.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cdbfc09d9ec58bc5e68321525653220de7515c199e7a8097a97c85e62b52cd0a", size = 184694629, upload-time = "2026-06-17T20:03:53.444Z" },
+ { url = "https://files.pythonhosted.org/packages/07/42/2c3ac59253ae8892b6f307875263dd23dc875cdf732d3aea40d6d41fb7cb/triton-3.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:58c0e131da05134a2a4788ccbcc0c1105cf0f54c8e98f19e34cd465396dc15eb", size = 197729241, upload-time = "2026-06-17T19:53:27.801Z" },
+ { url = "https://files.pythonhosted.org/packages/40/71/e01aa7ad573883ed9456f130226babdec70b005e098c4d6226a6238e761b/triton-3.7.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fe4ea396a06171f1f1f58cbd39c70b09294398f7dd7c620939bab54ad6f934fa", size = 184705764, upload-time = "2026-06-17T20:03:59.064Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/09/5683146fda6a2b569deb78ccfd8fbfea8bfe55f726b081c0a6bb18dd6f28/triton-3.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2020153b08280415ec0da6607834e79166442147e78e144df06b508c75b186d2", size = 197729537, upload-time = "2026-06-17T19:53:35.516Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/f8/448220c3092019f9fdfab39ec47985968181d67da34b44f6a7f6280a5cbb/triton-3.7.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c58e4c61f0c73b5dba3b5d19b4a7093c32f90dc18b2a7f121a7c16ccd31107b7", size = 184814760, upload-time = "2026-06-17T20:04:04.984Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/ac/229b7d4589d2e5937310e72c6d46e89599d16a4a12b479ffa1499fee8eb8/triton-3.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:10ba85fa2cca4a2fbdeb36bf1cb082f2c252bda55bf9fccd74f65ec5bc647e68", size = 197824404, upload-time = "2026-06-17T19:53:42.772Z" },
+]
+
+[[package]]
+name = "typer"
+version = "0.24.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-doc" },
+ { name = "click" },
+ { name = "rich" },
+ { name = "shellingham" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613, upload-time = "2026-02-21T16:54:40.609Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085, upload-time = "2026-02-21T16:54:41.616Z" },
+]
+
+[[package]]
+name = "types-python-dateutil"
+version = "2.9.0.20250822"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0c/0a/775f8551665992204c756be326f3575abba58c4a3a52eef9909ef4536428/types_python_dateutil-2.9.0.20250822.tar.gz", hash = "sha256:84c92c34bd8e68b117bff742bc00b692a1e8531262d4507b33afcc9f7716cd53", size = 16084, upload-time = "2025-08-22T03:02:00.613Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ab/d9/a29dfa84363e88b053bf85a8b7f212a04f0d7343a4d24933baa45c06e08b/types_python_dateutil-2.9.0.20250822-py3-none-any.whl", hash = "sha256:849d52b737e10a6dc6621d2bd7940ec7c65fcb69e6aa2882acf4e56b2b508ddc", size = 17892, upload-time = "2025-08-22T03:01:59.436Z" },
+]
+
+[[package]]
+name = "types-requests"
+version = "2.33.0.20260518"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e0/01/c5a19253fe1ac159159ddf9a3a07cec8bb5e486ec4d9002ad2821da0e5d2/types_requests-2.33.0.20260518.tar.gz", hash = "sha256:df7bd3bfe0ca8402dfb841e7d9be714bb5578203283d66d7dc4ef69343449a5e", size = 24752, upload-time = "2026-05-18T06:07:37.966Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1c/bc/b139710a3b6018f7fb2b9508b35c8af564e61bf2bf4fa619d088f3e16f85/types_requests-2.33.0.20260518-py3-none-any.whl", hash = "sha256:626d697d1adaaff76e2044dc8c5c051d8f21abc157bdfe204a75558076fe0bf0", size = 21391, upload-time = "2026-05-18T06:07:37.044Z" },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.15.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391, upload-time = "2025-08-25T13:49:26.313Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614, upload-time = "2025-08-25T13:49:24.86Z" },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" },
+]
+
+[[package]]
+name = "uri-template"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/31/c7/0336f2bd0bcbada6ccef7aaa25e443c118a704f828a0620c6fa0207c1b64/uri-template-1.3.0.tar.gz", hash = "sha256:0e00f8eb65e18c7de20d595a14336e9f337ead580c70934141624b6d1ffdacc7", size = 21678, upload-time = "2023-06-21T01:49:05.374Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e7/00/3fca040d7cf8a32776d3d81a00c8ee7457e00f80c649f1e4a863c8321ae9/uri_template-1.3.0-py3-none-any.whl", hash = "sha256:a44a133ea12d44a0c0f06d7d42a52d71282e77e2f937d8abd5655b8d56fc1363", size = 11140, upload-time = "2023-06-21T01:49:03.467Z" },
+]
+
+[[package]]
+name = "urllib3"
+version = "2.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
+]
+
+[[package]]
+name = "uuid-utils"
+version = "0.16.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f8/5a/5da7ae85b38e3eddba0be3e8e4328f90882fe92989728e6fb552963d4c42/uuid_utils-0.16.2.tar.gz", hash = "sha256:fa637e4f314ad5b59ff6d8e809d506443d68bef30bfaecdfcfe02cce689abb2f", size = 42962, upload-time = "2026-06-18T13:36:48.735Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/41/6f/783ba3792d91b89af608c120e40285cafed6dafd9354042f7a0ea32fca5b/uuid_utils-0.16.2-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:89a627f74cb55aa508809592ab9149806649e4ee37f4bc91b60c7ec10929f0eb", size = 568338, upload-time = "2026-06-18T13:34:46.259Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/39/2def0fb3b15604afacd95aee1f65fb60bfa33293792aaaec7d9722a8eeec/uuid_utils-0.16.2-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:e92875a315f3cc4fe7a2324c17b3c7ac5e3fd0e24b14fc4deb28370431fe6a2b", size = 289111, upload-time = "2026-06-18T13:34:47.602Z" },
+ { url = "https://files.pythonhosted.org/packages/78/42/4d6202d9f7136c99fae003c73317928c1ca31d9bfae19f8d8f5d7791efad/uuid_utils-0.16.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:945e1819dde4cce6828683ce11311977e73e6d46c6cc18e5fb9fcab2051b94bb", size = 327875, upload-time = "2026-06-18T13:34:48.787Z" },
+ { url = "https://files.pythonhosted.org/packages/09/b3/843d002eafcfbc7a1812fd76d6d0633936b63b392ae728084a87e62feeea/uuid_utils-0.16.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2cd4612085e6bbf6a00b9890779023ea97fe1ee8dd1758381022f7588a06e123", size = 334553, upload-time = "2026-06-18T13:34:50.239Z" },
+ { url = "https://files.pythonhosted.org/packages/34/61/2ad178d48f7a81772bdf56f699d7b9f2727b38531b28313f730bf19a39a9/uuid_utils-0.16.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:887efa34701d197239ec3b0e89993ee8c0cea1746483b606e54746ea81c966f4", size = 450493, upload-time = "2026-06-18T13:34:51.395Z" },
+ { url = "https://files.pythonhosted.org/packages/30/17/8e8ae0f16eb4d183f43dbec12487795ad98ba875d30ffa4a97ce0b291a3e/uuid_utils-0.16.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:22446af2ae47d1054562b159bcd65714a022713e56697eef77cb5f291dc5ef13", size = 327342, upload-time = "2026-06-18T13:34:52.735Z" },
+ { url = "https://files.pythonhosted.org/packages/40/3a/21b94228241cbf9f834ac4274b0cf9d9ea169f0bfa6f4b332b215a043352/uuid_utils-0.16.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:41165aa4059e3b03605c1c8c48df6c887a16f8f6a1fc4cb2155360a61aad8666", size = 354058, upload-time = "2026-06-18T13:34:53.998Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/45/6211782355f89ec540f5bc38a50e526fd4954a92d24d6b89e2adcdc31ded/uuid_utils-0.16.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2ef60e0a91675cfd9850e8aefd0d899fe09c4afb572bbe0ac2de4f8848d7663d", size = 504750, upload-time = "2026-06-18T13:34:55.279Z" },
+ { url = "https://files.pythonhosted.org/packages/df/aa/023bac4d6eb1148b7546bfdec17328b89ff6b32fb54ed7aaaaae61a96ff9/uuid_utils-0.16.2-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:6fe3fb4bcecef69cacf3a11e182e204ce778998bd439152a173bdd2e9e8e9cfa", size = 610111, upload-time = "2026-06-18T13:34:56.549Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/7a/8fc55abdc1bf8e2fab855f323d6259d6ca64dde91bfbddad3e7f8c8d2537/uuid_utils-0.16.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:fcc212dec731aeba110953643c214982e667cab9802f7d99d066e03ba0c44c90", size = 569768, upload-time = "2026-06-18T13:34:57.797Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/c2/26cbc525269fcea4cd2e8067ddff0cd7e74fe654414f1429d3d2279b6aac/uuid_utils-0.16.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3aa5c2ebc843e85a078ec27c1ad677871c44065b3dd58748166783a3c454859f", size = 533168, upload-time = "2026-06-18T13:34:59.101Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/c8/e015346ed76c9e5ea866ade786d328dee9d96241a905a190c408550586ba/uuid_utils-0.16.2-cp310-cp310-win32.whl", hash = "sha256:dcf20151d2aa451013f2b3c2cce06958f43b7573b5f616adb91786c7b777715b", size = 169892, upload-time = "2026-06-18T13:35:00.608Z" },
+ { url = "https://files.pythonhosted.org/packages/93/72/1fbd0db90f9fea4b0c54dc20dc2f26460f3f71d4273773d672bbff5c2fdf/uuid_utils-0.16.2-cp310-cp310-win_amd64.whl", hash = "sha256:f709169579a356132f224d525ed589f88d466bbb922b9d752d8d86b1fb57ad46", size = 176414, upload-time = "2026-06-18T13:35:01.688Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/96/4023966d42fd9bbf9e2a8ce2b25930113688128b569f68bc4697cb18181d/uuid_utils-0.16.2-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:fadd23eee409237fb8637a35796a6e108873c28b40f7de89a36685f18ca055ad", size = 567776, upload-time = "2026-06-18T13:35:02.902Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/30/764d2a76e8e7688abd5577e6024787c13692095eb1230fd1936f27205cd9/uuid_utils-0.16.2-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:79c5a3bd4301257b9a524efd16baf61ea65cd0d1b60b47d80f20b151fd65a09f", size = 288938, upload-time = "2026-06-18T13:35:04.285Z" },
+ { url = "https://files.pythonhosted.org/packages/45/ef/58077250fe04eda4a3f9fba8c35be8d0937b7d3e02302ac1a6d942b77dae/uuid_utils-0.16.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90903ab7fcdfb0300390c15f5a68cb91f15139d9a1a93f134c783d7a973fa269", size = 327387, upload-time = "2026-06-18T13:35:05.406Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/fd/a9172970fa07ce0b9148ccc679a99540375c7bb32f8fbd72cf1e6cca43ef/uuid_utils-0.16.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f7a44f8250ec178c0af703c3f1b6e81865a771272ae735ca403f27c95c62f132", size = 334212, upload-time = "2026-06-18T13:35:06.611Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/58/d8fb393b44ad0b719d96a5b7809d0ee727f7e266d9e88a4da235cbfbf9f8/uuid_utils-0.16.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9e97ab941660f781a8e45f15aba9ee01b40dbb96adb5c43617c1671a4604b25b", size = 450379, upload-time = "2026-06-18T13:35:07.97Z" },
+ { url = "https://files.pythonhosted.org/packages/00/70/b3cf708e8942e6494742404a66f1586195a20c8fd235bdc79f385db383f1/uuid_utils-0.16.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a30b6a5790acb854e4b65fae7875e5d3c6f8076fa9c91dac43ff9e28380bc52", size = 327231, upload-time = "2026-06-18T13:35:09.327Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/9c/4c5b16e752a2402259a3a9d1371227025e5b85182024c82a446cbe3ed6ea/uuid_utils-0.16.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5dfc3e9e75139a84898771d31958ece6cdee8e8f127700aa8aa26a4f1a348d57", size = 353455, upload-time = "2026-06-18T13:35:10.67Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/0f/3b14c47fab1544bcfb92d28bc468160a4fc6ff342d0e6defa8ff40d5e4bd/uuid_utils-0.16.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0529b1ef0788f663e1211d221b59a38ec67f9b084f1ea5342ba84358b3d87e98", size = 504028, upload-time = "2026-06-18T13:35:12.006Z" },
+ { url = "https://files.pythonhosted.org/packages/39/79/1a133214626eb0e18c51ef196946b1263d65b578ffee432ad1b7afffa5d3/uuid_utils-0.16.2-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:cae08df8695f4b01fce2a8ab50e9e310971276d85dfc7103e977bed52d365094", size = 609803, upload-time = "2026-06-18T13:35:13.286Z" },
+ { url = "https://files.pythonhosted.org/packages/87/49/22bff932af63764b4cad9c01299ed64c60d101962988efc13964b4165345/uuid_utils-0.16.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:f69658c42411540cf58be958a47e317fd2302cc0b613ea5cff1e60d87be2846d", size = 569512, upload-time = "2026-06-18T13:35:14.661Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/98/371cc1f332f7463b9cfac0a66f984af00f4e3ada4a196b20879e35404e8b/uuid_utils-0.16.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:503f020acc7dbeb39c47fa33cf2971cf5960fa11f8394513fac461762a90c556", size = 532855, upload-time = "2026-06-18T13:35:15.99Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/06/f7ef7f6dabf68021eb6e961c09d16d517ed7587cedfff18969ba7f61798c/uuid_utils-0.16.2-cp311-cp311-win32.whl", hash = "sha256:aab7cdf28a3e2859ca4f40a3e3bf53eb35895039c80d4d8d8c5e15b90346c55c", size = 169971, upload-time = "2026-06-18T13:35:17.294Z" },
+ { url = "https://files.pythonhosted.org/packages/75/8b/1e4b51c075eaadd23828b708249374db0bc40146f7b673027942d3383f45/uuid_utils-0.16.2-cp311-cp311-win_amd64.whl", hash = "sha256:71192a59d473f3f638e2a238905046e2942006ad90ac5ec10d578e58ff9a08ce", size = 176464, upload-time = "2026-06-18T13:35:18.459Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/71/18a43b6e632adf3cb3cf5db777ea03f9d3b2b259de65de5e41419004c2a1/uuid_utils-0.16.2-cp311-cp311-win_arm64.whl", hash = "sha256:ea175649789f1e93edbf1a0440cab18c9838977703917221777691d8d988d7bf", size = 176056, upload-time = "2026-06-18T13:35:19.826Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/07/294b72a572218bf6e92355203b832b3356c58a7e1e0b92a034497d15bef9/uuid_utils-0.16.2-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:6f064dc54c6abecb09eb104d953bfb079f3c395e0d6b18899979f852d1083549", size = 560726, upload-time = "2026-06-18T13:35:21.053Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/3c/1095b6ab574a7fa69136d47bab5a43f320a8f00a0ecb96059fd49b1747b2/uuid_utils-0.16.2-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:dd7aa18db5cc826d482d876a826fee445839701f81f78567e7c74b4458d57a84", size = 288065, upload-time = "2026-06-18T13:35:22.547Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/9d/6404d48fe71def0733c9568d96043b2e1945e2e4205c4eb525db3da42ba3/uuid_utils-0.16.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cc25ad320c9b44c2d3ed33aff4f85b0b277bef4ff79b12c01ee58b52ea44be1d", size = 322946, upload-time = "2026-06-18T13:35:23.648Z" },
+ { url = "https://files.pythonhosted.org/packages/74/00/8a009762015a134aa04b5451400e0ec9832ccd598ed4845f9aecb0be6299/uuid_utils-0.16.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d0ca752d51d1004caff65fccffd44b32a26cb099b546e0512cfa09facb683d6c", size = 330186, upload-time = "2026-06-18T13:35:24.757Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/b0/1613bb98ac11234145aa5bc1de618be536818fef05dec595efb3e2b37097/uuid_utils-0.16.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:8323136bb02355c1b973492ab98b0722206dfdedfb148e4115c35fcdf3889bad", size = 444583, upload-time = "2026-06-18T13:35:25.999Z" },
+ { url = "https://files.pythonhosted.org/packages/93/66/83e62c7a152bbbb8b30ac58eaad81f3860ba2fba91a334c50f223f9ce878/uuid_utils-0.16.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9bf8bfdffb22f620635580b17fd178272f30a9841b824b19b935c8db64bf09b6", size = 323064, upload-time = "2026-06-18T13:35:27.356Z" },
+ { url = "https://files.pythonhosted.org/packages/15/37/c1b2faaf3a9d7952f321a9fee3ad74e05b25878bd9b7cd6b0398fe77f279/uuid_utils-0.16.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:61454f2139424a6cff14eca7849c28b3350f261453b74075aa20fe99592dbb16", size = 347967, upload-time = "2026-06-18T13:35:28.538Z" },
+ { url = "https://files.pythonhosted.org/packages/24/d8/cdf79b242e41ae47b7cd617ac5d48f15ce44e81da8000379c757091ae5f8/uuid_utils-0.16.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:725110434a1d482a639a9ac467a24f1cb531d84ab52e454a13fe145b10b42cae", size = 499187, upload-time = "2026-06-18T13:35:30.042Z" },
+ { url = "https://files.pythonhosted.org/packages/be/10/978d5ad82bc0fe7ff02d5be6f1eb83b090849f0a95bf8438593565273b7a/uuid_utils-0.16.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:8197870739a3094990743a80f075fa0b17beafd6c187e5f360e021d90a12a6d1", size = 605696, upload-time = "2026-06-18T13:35:31.289Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/28/e382ee44a592e35b80397b493bf3fbbdb8e30a64eaaefc7dabc246aeb253/uuid_utils-0.16.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e10a02b3a31ed44c7c9a96abde335f5fa222735e73f3081d693414377eb3b016", size = 564975, upload-time = "2026-06-18T13:35:32.419Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/d0/f6011dbe4e5d751a8494715e014019cb5b242d8cd6dbec1cfec3d3fb2e81/uuid_utils-0.16.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fd32dbca0792b9683160151dc07fad11b915020eed7c82b43faf0862c2ff06a0", size = 528462, upload-time = "2026-06-18T13:35:33.685Z" },
+ { url = "https://files.pythonhosted.org/packages/42/7f/279e6159c37f43feb9dd70218b49a26696cefddaef1db7f4b79895eaf5d5/uuid_utils-0.16.2-cp312-cp312-win32.whl", hash = "sha256:dcdfcab60562d12dd43c1a6f495b1d089e41f0e10fac37d94db285d72b678c23", size = 167047, upload-time = "2026-06-18T13:35:34.862Z" },
+ { url = "https://files.pythonhosted.org/packages/47/38/f72f7bed062601448ec2db47351e6c1faccd78fd693bbc6e067299d1fa11/uuid_utils-0.16.2-cp312-cp312-win_amd64.whl", hash = "sha256:97ee6f5e803ea571f5f6da42efc97d8c5a13f121043680177f8470529b94e855", size = 173821, upload-time = "2026-06-18T13:35:36.117Z" },
+ { url = "https://files.pythonhosted.org/packages/37/61/8a025284a31c85b7c0c5319e96868c2c09dea3fc5f676c979a4cd4baf2e7/uuid_utils-0.16.2-cp312-cp312-win_arm64.whl", hash = "sha256:72cfd9ff1e8a7c371a044687e77eb873721c4a9f4814e453439bfba595b84303", size = 172206, upload-time = "2026-06-18T13:35:37.339Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/a1/3b48859953ee74fc26628ca5d9e5f848209655a0a8c934032fc596035976/uuid_utils-0.16.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:c19b7d595d12923da682ed13d313c2333b9ebf214e65a47a24927a8a3a81b191", size = 560753, upload-time = "2026-06-18T13:35:38.531Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/1c/77635489de5454f2a25411030f78d31931dbdc0c86114da00adb9b91f120/uuid_utils-0.16.2-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:909e26fa2451c8db31b9ed1d3c8e4ecf513b6d1619db4205997fe99eb6b4ef4f", size = 288056, upload-time = "2026-06-18T13:35:39.966Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/0e/8e799537ea458abaefb0f5c3b3b05304d3faf413feb0997605a3f8ae2484/uuid_utils-0.16.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:27271b37fbc6812bb1542c4b8e22ee00223a6bf7f62b1f38d3bcf8e92f6d9acd", size = 323196, upload-time = "2026-06-18T13:35:41.534Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/92/4e5b412d4710617fb83ed77b361f5fa6247b99bde2fa6ee07ddf851b59d1/uuid_utils-0.16.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:dc4b9d96a2c689d664cf3fc7f7db46b82d2821fb2ce8a4f0798fc0a92c1569f8", size = 330858, upload-time = "2026-06-18T13:35:42.709Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/e3/8173202b7cfcfeb4a588c5f8b85d3e2b44973384eb33167ee25c5c78867f/uuid_utils-0.16.2-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c3bf41b696b0fe808df1b4091c70273a52ea033b0fe97341cd67ecd76d22bb3a", size = 444813, upload-time = "2026-06-18T13:35:43.917Z" },
+ { url = "https://files.pythonhosted.org/packages/37/0d/c3918356932ce467b11e954d0c93697fb4652cf664957e3d9521f7ece22f/uuid_utils-0.16.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fcc329be41bb6534ecb03e50596179ab76c7643ced33d13c66967d5ae1869663", size = 322828, upload-time = "2026-06-18T13:35:45.134Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/80/4020556682441b62a25b7d07798812115fca97d417a3498d5af6dce36504/uuid_utils-0.16.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4125bf6ed3ae443c05e140f8585d174b9d647295b12034d5ec94ae2ae38edefa", size = 347909, upload-time = "2026-06-18T13:35:46.364Z" },
+ { url = "https://files.pythonhosted.org/packages/48/2f/a1e87e268df98f6740af81abf225532c173a971c64df0258c84b630e35a7/uuid_utils-0.16.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:840b21e609a9b203eee06bdc73e18397154447a9814a8e78d9b68e5104d9802f", size = 499469, upload-time = "2026-06-18T13:35:47.584Z" },
+ { url = "https://files.pythonhosted.org/packages/25/75/5a1f297a09556c27d9617c44ab0510de5f3a70120df236f66b9d0fdd1976/uuid_utils-0.16.2-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:5119bec75f56bd028d97472f72b1ed723a0d60b09a48017dc70a3cb1892ed081", size = 606160, upload-time = "2026-06-18T13:35:48.963Z" },
+ { url = "https://files.pythonhosted.org/packages/7c/de/140f1d2a161320d1ac9073a03b9eb31fe35ae70f56f8971ec1fb45c14a44/uuid_utils-0.16.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:9fe600ab7d3d4eb56986e814042c917e728ac92cd8a41f099a6b59b84d8bf9e6", size = 564856, upload-time = "2026-06-18T13:35:50.244Z" },
+ { url = "https://files.pythonhosted.org/packages/01/3b/9a5fe6691f8f6d72899cdc2713ffbd845b8c6981eeeab66d98a71b721116/uuid_utils-0.16.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e44020a4532229ccfbba353138539774686350dda71cf4368e257973dd8ba403", size = 528376, upload-time = "2026-06-18T13:35:51.825Z" },
+ { url = "https://files.pythonhosted.org/packages/87/ad/47c93dcabd00f6749803a00be361c75d7079c78ad5e67077dee63d30b687/uuid_utils-0.16.2-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:280d4f1f22dd2e79c1cc31ffc7fc26dc3534ffc114dedcdd29cc8489c5ce9c98", size = 98033, upload-time = "2026-06-18T13:35:53.385Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/fd/8de85eeb8dd59354ad46e897ab0d0f0fe6bc48702239a6c9f2613f961c8e/uuid_utils-0.16.2-cp313-cp313-win32.whl", hash = "sha256:4942b26ad12c5187bac52b7fb4685040139ff0df9a19cde33e5025326f6180fc", size = 167054, upload-time = "2026-06-18T13:35:54.495Z" },
+ { url = "https://files.pythonhosted.org/packages/86/b3/b5ba393fbe5142eb9d5db23d4b9b16dde2a4e1aee6f2fcb7fadef97e419a/uuid_utils-0.16.2-cp313-cp313-win_amd64.whl", hash = "sha256:01f81c71cf2185de0707e9d2f248e17025ba50af0acd3cbf51cd8aea96c2e0be", size = 173481, upload-time = "2026-06-18T13:35:55.684Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/79/4e5d63d605b13201ae9af6fcc36ec77949cccc99486c430c016d8f8ed274/uuid_utils-0.16.2-cp313-cp313-win_arm64.whl", hash = "sha256:c1dbe65ce6d46c5f645356d64bfb2de7564e2426ca8c9b1a0a401d6f7ae5cc22", size = 172197, upload-time = "2026-06-18T13:35:56.817Z" },
+ { url = "https://files.pythonhosted.org/packages/89/3a/0e5a0c1e1e3243cf5f12efd2b88a33e63c38b6a79483d3c84b2f5e7265cf/uuid_utils-0.16.2-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:617955f4b3f649617c0388127d8a257202189d5cc3c720313f8b207df1cdb2a4", size = 566227, upload-time = "2026-06-18T13:35:57.925Z" },
+ { url = "https://files.pythonhosted.org/packages/28/b3/2b6f9d6832e939aaf2b2ba89ff70b3994cfa3ae9b14daac3329eb9202ef8/uuid_utils-0.16.2-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:0aa2569908bdb21ccb216cd6bd06cb934351ee65ea7cd5e351e19f633a99b577", size = 290301, upload-time = "2026-06-18T13:35:59.467Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/27/8bb31429884b9f340f964ed70b68bfd81cec61f6e6877633f6a014358e78/uuid_utils-0.16.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f4af7673e84e1ec6029f18d3a0408095c471c4e2691b6e46b4e1f0a2051734ba", size = 325409, upload-time = "2026-06-18T13:36:00.786Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/87/3b59aa97e788ca4fa46e2a3856ef567b51e03fd7fbf27d39ce36e46478b6/uuid_utils-0.16.2-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ecadf55ed6b8fb72e7966b52fd02919e7d7bb8e7bffeaf285803b82e774debfb", size = 332071, upload-time = "2026-06-18T13:36:02.043Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/21/8c21bf6cf3ce9447b73cee6a38ca63c9bb2f3145259422646bae8e8ddc21/uuid_utils-0.16.2-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:026b96b2f1e6b004579e030692d2f6568ccd0b29d40687213c31694abf570c78", size = 447075, upload-time = "2026-06-18T13:36:03.305Z" },
+ { url = "https://files.pythonhosted.org/packages/95/43/77e83019effe1a5ab7169a2d4bf1bd654bebd850b81c8a937b96bd6b5c9c/uuid_utils-0.16.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:273679723e88544dd2de0564ab7f2fddfa2270faf05cabfdf63c275be67ec2a1", size = 325061, upload-time = "2026-06-18T13:36:04.972Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/a6/7bf6e0165dc191c09bc4e8c011de5463d64c5a651ed38ad6698bfc552a52/uuid_utils-0.16.2-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ec5b1a338b92d1eb121e9eaf06ae3db1b9a5cd794ce318a475f6dc6f9e89c3a8", size = 350302, upload-time = "2026-06-18T13:36:06.172Z" },
+ { url = "https://files.pythonhosted.org/packages/45/66/260836aaef14b8254bc449b3163fedec06ef0a0bba0d6a999c918479b2f9/uuid_utils-0.16.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e75f9429d4533ce275c98bc68bf47fb237ae7b32c954266dabc5edab0c7d682e", size = 501834, upload-time = "2026-06-18T13:36:07.469Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/0b/84c1542bf8c465b456f742318ad83eace63551e7f603b06c817b726670af/uuid_utils-0.16.2-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:7f3cca9ca5e2c2dfd7b885f0d34c10b993a070d3593f3cdfef785195da36fb0f", size = 607406, upload-time = "2026-06-18T13:36:08.913Z" },
+ { url = "https://files.pythonhosted.org/packages/48/7f/1024c22657a0c0572c4fd5189fad3127cb46731fb26fad3be1e8a4a64972/uuid_utils-0.16.2-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:1ef8c561fdf88fec205e3d54037824cfe2addce16b509a8d2ecb69daa904cbb7", size = 567623, upload-time = "2026-06-18T13:36:10.14Z" },
+ { url = "https://files.pythonhosted.org/packages/15/0e/ad7424a6444e3e108a22781c2e164e82752da5db23ccc5cba8b4470c3164/uuid_utils-0.16.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3e3acb5e1451232381daea01645a98c69de4bb9ad88d77a1f7c1df4d83d54e62", size = 530659, upload-time = "2026-06-18T13:36:11.649Z" },
+ { url = "https://files.pythonhosted.org/packages/69/60/cf1666d0dbd6fa869b6de3b85a17254ff0ab10ed286fd59366148bf08e89/uuid_utils-0.16.2-cp314-cp314-win32.whl", hash = "sha256:b5f8e7d0bb2c6e6180176237f92d2e949626e04fcf701c49d73f128e1f64e1d1", size = 169272, upload-time = "2026-06-18T13:36:12.846Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/5e/111908bdc7287b2589e9a9f10be8e0358844fb4a0554677cbbe0ade49766/uuid_utils-0.16.2-cp314-cp314-win_amd64.whl", hash = "sha256:bf922bad7df257336b594d316a1657df569860bb5389602919001fa6fb17f06e", size = 175435, upload-time = "2026-06-18T13:36:14.114Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/5d/b3bd7415622060dd17d587545e3c037f83dc0dffb8880ac798ca7936f630/uuid_utils-0.16.2-cp314-cp314-win_arm64.whl", hash = "sha256:fad82e6482129c58ba9b00da6c247ab6e767645ab17981599229cce19d7b2ce9", size = 173553, upload-time = "2026-06-18T13:36:15.561Z" },
+ { url = "https://files.pythonhosted.org/packages/92/43/401acf6fc0e0665dd11a095a28f6d22708c6f8f148c326cfc5b0b1ae9882/uuid_utils-0.16.2-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:e0609e7e906c08386b7f33141254df05dcab24f1c4884150988dc7a287516aca", size = 567548, upload-time = "2026-06-18T13:36:16.848Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/2c/cc2bb8273d414d651acafccc3705a8843c130a541fcce65fbeaac22266ba/uuid_utils-0.16.2-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:9ad2adeb941292fe02e1e5c70b80a5746c45b1b77594506c2a1421455d8384f9", size = 291348, upload-time = "2026-06-18T13:36:18.145Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/a8/fdadd7ada0de53dbc03f719da0948cc275abd24d8013a26e42e50d3665c1/uuid_utils-0.16.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d906c00f965d5c5f4812d0086dc49bf813285ea84c97e8816405200e146f805b", size = 325495, upload-time = "2026-06-18T13:36:19.417Z" },
+ { url = "https://files.pythonhosted.org/packages/16/42/e397a1eda06b20dd3a206e3a55b346ff2caad23906586801a87359530864/uuid_utils-0.16.2-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a59205fc15463dd0f978f14df14307737e3d4e8ef4aefa29a9d0fa766d84d16b", size = 332301, upload-time = "2026-06-18T13:36:20.747Z" },
+ { url = "https://files.pythonhosted.org/packages/46/be/12d3df7bd824e3ce71630c022184a5aecfea92b0a7fa70459542b237777a/uuid_utils-0.16.2-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aac82500329ffaf2788dac36cf133e1e4e23b6d5e1118274ea6749c3b512f4f1", size = 446760, upload-time = "2026-06-18T13:36:22.198Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/10/0c5d1dd6874fa35e2cb66a8499ce303eb8678bef226951182603bd30017d/uuid_utils-0.16.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3d8257329f26905f009aed694bd3b17f334f43748b03134dc7bc99d6c5b4e371", size = 325781, upload-time = "2026-06-18T13:36:23.566Z" },
+ { url = "https://files.pythonhosted.org/packages/04/e2/9ebb8414875e5c14737fa7145a023458c9b15754f1d129cefe7824197256/uuid_utils-0.16.2-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:e04b5c10c6fcf9d9801084d1e86c9d7ada7eb48fe07ee4ae5e7fe5b1a852db8a", size = 351189, upload-time = "2026-06-18T13:36:25.09Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/5c/168d1f4d30b33c08365debfe4176c2f713a0940f1f11a64128a186d050c6/uuid_utils-0.16.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:3d4805c4739dd06d539f8f4fa94f5aaf26eca4b3ece1ef134d4ff904c6b08dcf", size = 501866, upload-time = "2026-06-18T13:36:26.31Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/8d/003865d5ed5bf82ece80bd61edb2692985f7548051749fd10f34edb16705/uuid_utils-0.16.2-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:76632d2e16e26de777851ec07961ceaea14e65167d0603a0b17fb169fa9ca37b", size = 607632, upload-time = "2026-06-18T13:36:27.704Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/52/6102f21f28323b27122a6aa3d4cea183b4fc401868c5c40767e1b9f53beb/uuid_utils-0.16.2-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:6c02f85f49c9c2abbf247a8622458c30232332a28711755aa191da5f38015af6", size = 568216, upload-time = "2026-06-18T13:36:29.377Z" },
+ { url = "https://files.pythonhosted.org/packages/68/50/644e4e55f47048d12bc20665fac85bc1fecbed9c892acfb91626abf8ad8d/uuid_utils-0.16.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:f668035ea9faa763e8f1ea42040e8439db88cf2517056d47c348a62a257a1d02", size = 531370, upload-time = "2026-06-18T13:36:30.804Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/5d/d98d99f601d70cc00287dce5aadef9c199912f0d64343962542f35e7db59/uuid_utils-0.16.2-cp314-cp314t-win32.whl", hash = "sha256:62b8841895eff1c0afbaf5f0050411667231160478c8ff9f411742abffd3b619", size = 169424, upload-time = "2026-06-18T13:36:32.246Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/af/c0d482bdd637a8a742d3274cec462b770919f032e179216f2fc2851afaf9/uuid_utils-0.16.2-cp314-cp314t-win_amd64.whl", hash = "sha256:e9064805881c30dd80a4189a0da7130e3d684de353ea36edd99c1b994bdf429e", size = 175544, upload-time = "2026-06-18T13:36:33.75Z" },
+ { url = "https://files.pythonhosted.org/packages/86/fc/aff8b0456e8a63672fa89ea9c773f7547a31ff7b596a40f226bf148921a3/uuid_utils-0.16.2-cp314-cp314t-win_arm64.whl", hash = "sha256:3324bac95084e63e28553c92fac5a0394c636a76e03e50a7dab0c0bbddf87fa5", size = 173972, upload-time = "2026-06-18T13:36:35.076Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/48/8c9fee7d75571f2f4b2386eac798fe5f826155d13797f7c86d45eb3fdc23/uuid_utils-0.16.2-pp311-pypy311_pp73-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:8b8e325e61f918caf74ca540e3384b81e6e22aea782e57f615d15fc9773b96c8", size = 571003, upload-time = "2026-06-18T13:36:36.42Z" },
+ { url = "https://files.pythonhosted.org/packages/de/78/754eaaa49509be6fdb705de61d1e3889de32002132d5f00e8c1e5d212da3/uuid_utils-0.16.2-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:9282677ebf2ea5b437c20d16e75bcd7629bdc205018f95557b33b76868d8bb5b", size = 290244, upload-time = "2026-06-18T13:36:38.066Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/e2/bfcbcf7eb9dfb17701104c569ed771eb359737bc70b7309e439610d089ef/uuid_utils-0.16.2-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2e9ca7f5e215373cc9c147172170a0b1a4ab0dee9cc62fe446d9b075f31e3241", size = 328551, upload-time = "2026-06-18T13:36:39.605Z" },
+ { url = "https://files.pythonhosted.org/packages/72/bf/bbdbc39d1421953edcee0bad13a1893521a636eccf381580f53e530a4feb/uuid_utils-0.16.2-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:43cc72a92694d08ade8faadacf928857d9cceb84b449473246ae4e4f263d7d22", size = 335468, upload-time = "2026-06-18T13:36:41Z" },
+ { url = "https://files.pythonhosted.org/packages/04/2a/e8d4e6f1f2d2e567cf6e3202d125afe7da52ad7680bba048b106c09f01b9/uuid_utils-0.16.2-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:511b5fde12d29c37a9badd399af62105bb2f4696aa10eb18be74e7b9ca84413a", size = 450984, upload-time = "2026-06-18T13:36:42.635Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/da/ddb1dcf0fe9bfcb0dfcddec8ae52c8f95e7088e44719f58477f5fb2c5586/uuid_utils-0.16.2-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:585d3adf73afa60348bf2bd529491c640a692350e76d8ff3974455e273aadfe7", size = 327940, upload-time = "2026-06-18T13:36:44.138Z" },
+ { url = "https://files.pythonhosted.org/packages/37/fb/39305fbfffee1fdaccdb88fc0499ac9dcb7289a77ebc31938dcdd933cf95/uuid_utils-0.16.2-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ae5fa2007fd26d26f7b09e76259d5ca99bec191616207ca929f8dca12da08129", size = 355368, upload-time = "2026-06-18T13:36:45.682Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/70/b708edc3b776d7624b4354f43d443f14d951d3ac4d7d8867d94f2e59c3ae/uuid_utils-0.16.2-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:9b4520521aa46a2582fe1829c535fe60b78999b89257db998df3816eb895bdf3", size = 178221, upload-time = "2026-06-18T13:36:47.291Z" },
+]
+
+[[package]]
+name = "wasabi"
+version = "1.1.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ac/f9/054e6e2f1071e963b5e746b48d1e3727470b2a490834d18ad92364929db3/wasabi-1.1.3.tar.gz", hash = "sha256:4bb3008f003809db0c3e28b4daf20906ea871a2bb43f9914197d540f4f2e0878", size = 30391, upload-time = "2024-05-31T16:56:18.99Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/06/7c/34330a89da55610daa5f245ddce5aab81244321101614751e7537f125133/wasabi-1.1.3-py3-none-any.whl", hash = "sha256:f76e16e8f7e79f8c4c8be49b4024ac725713ab10cd7f19350ad18a8e3f71728c", size = 27880, upload-time = "2024-05-31T16:56:16.699Z" },
+]
+
+[[package]]
+name = "watchdog"
+version = "6.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220, upload-time = "2024-11-01T14:07:13.037Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0c/56/90994d789c61df619bfc5ce2ecdabd5eeff564e1eb47512bd01b5e019569/watchdog-6.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d1cdb490583ebd691c012b3d6dae011000fe42edb7a82ece80965b42abd61f26", size = 96390, upload-time = "2024-11-01T14:06:24.793Z" },
+ { url = "https://files.pythonhosted.org/packages/55/46/9a67ee697342ddf3c6daa97e3a587a56d6c4052f881ed926a849fcf7371c/watchdog-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bc64ab3bdb6a04d69d4023b29422170b74681784ffb9463ed4870cf2f3e66112", size = 88389, upload-time = "2024-11-01T14:06:27.112Z" },
+ { url = "https://files.pythonhosted.org/packages/44/65/91b0985747c52064d8701e1075eb96f8c40a79df889e59a399453adfb882/watchdog-6.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c897ac1b55c5a1461e16dae288d22bb2e412ba9807df8397a635d88f671d36c3", size = 89020, upload-time = "2024-11-01T14:06:29.876Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/24/d9be5cd6642a6aa68352ded4b4b10fb0d7889cb7f45814fb92cecd35f101/watchdog-6.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c", size = 96393, upload-time = "2024-11-01T14:06:31.756Z" },
+ { url = "https://files.pythonhosted.org/packages/63/7a/6013b0d8dbc56adca7fdd4f0beed381c59f6752341b12fa0886fa7afc78b/watchdog-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2", size = 88392, upload-time = "2024-11-01T14:06:32.99Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/40/b75381494851556de56281e053700e46bff5b37bf4c7267e858640af5a7f/watchdog-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c", size = 89019, upload-time = "2024-11-01T14:06:34.963Z" },
+ { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471, upload-time = "2024-11-01T14:06:37.745Z" },
+ { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449, upload-time = "2024-11-01T14:06:39.748Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054, upload-time = "2024-11-01T14:06:41.009Z" },
+ { url = "https://files.pythonhosted.org/packages/68/98/b0345cabdce2041a01293ba483333582891a3bd5769b08eceb0d406056ef/watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c", size = 96480, upload-time = "2024-11-01T14:06:42.952Z" },
+ { url = "https://files.pythonhosted.org/packages/85/83/cdf13902c626b28eedef7ec4f10745c52aad8a8fe7eb04ed7b1f111ca20e/watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134", size = 88451, upload-time = "2024-11-01T14:06:45.084Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/c4/225c87bae08c8b9ec99030cd48ae9c4eca050a59bf5c2255853e18c87b50/watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b", size = 89057, upload-time = "2024-11-01T14:06:47.324Z" },
+ { url = "https://files.pythonhosted.org/packages/30/ad/d17b5d42e28a8b91f8ed01cb949da092827afb9995d4559fd448d0472763/watchdog-6.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c7ac31a19f4545dd92fc25d200694098f42c9a8e391bc00bdd362c5736dbf881", size = 87902, upload-time = "2024-11-01T14:06:53.119Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/ca/c3649991d140ff6ab67bfc85ab42b165ead119c9e12211e08089d763ece5/watchdog-6.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:9513f27a1a582d9808cf21a07dae516f0fab1cf2d7683a742c498b93eedabb11", size = 88380, upload-time = "2024-11-01T14:06:55.19Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079, upload-time = "2024-11-01T14:06:59.472Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078, upload-time = "2024-11-01T14:07:01.431Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076, upload-time = "2024-11-01T14:07:02.568Z" },
+ { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077, upload-time = "2024-11-01T14:07:03.893Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078, upload-time = "2024-11-01T14:07:05.189Z" },
+ { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077, upload-time = "2024-11-01T14:07:06.376Z" },
+ { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078, upload-time = "2024-11-01T14:07:07.547Z" },
+ { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065, upload-time = "2024-11-01T14:07:09.525Z" },
+ { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070, upload-time = "2024-11-01T14:07:10.686Z" },
+ { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067, upload-time = "2024-11-01T14:07:11.845Z" },
+]
+
+[[package]]
+name = "wcwidth"
+version = "0.2.14"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/24/30/6b0809f4510673dc723187aeaf24c7f5459922d01e2f794277a3dfb90345/wcwidth-0.2.14.tar.gz", hash = "sha256:4d478375d31bc5395a3c55c40ccdf3354688364cd61c4f6adacaa9215d0b3605", size = 102293, upload-time = "2025-09-22T16:29:53.023Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/af/b5/123f13c975e9f27ab9c0770f514345bd406d0e8d3b7a0723af9d43f710af/wcwidth-0.2.14-py2.py3-none-any.whl", hash = "sha256:a7bb560c8aee30f9957e5f9895805edd20602f2d7f720186dfd906e82b4982e1", size = 37286, upload-time = "2025-09-22T16:29:51.641Z" },
+]
+
+[[package]]
+name = "weasel"
+version = "1.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cloudpathlib" },
+ { name = "confection" },
+ { name = "httpx" },
+ { name = "packaging" },
+ { name = "pydantic" },
+ { name = "smart-open" },
+ { name = "srsly" },
+ { name = "typer" },
+ { name = "wasabi" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ce/e5/e272bb9a045105a1fdf4b798d8086f5932a178f4d738f17a74f5c9e0ae9a/weasel-1.0.0.tar.gz", hash = "sha256:7b129b44c90cc543b760532974ca1e4eb30dad2aa2026f57bdce66354ae610fc", size = 38682, upload-time = "2026-03-20T08:10:25.266Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0a/07/57ebf7a6798b016c064bd0ca81b4c6a99daa4dc377b898bc7b41eb6b5af0/weasel-1.0.0-py3-none-any.whl", hash = "sha256:89518acee027f49d743126c3502d35e6dd14f5768be5c37c9af47c171b6005cc", size = 50713, upload-time = "2026-03-20T08:10:23.637Z" },
+]
+
+[[package]]
+name = "webcolors"
+version = "24.11.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/7b/29/061ec845fb58521848f3739e466efd8250b4b7b98c1b6c5bf4d40b419b7e/webcolors-24.11.1.tar.gz", hash = "sha256:ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6", size = 45064, upload-time = "2024-11-11T07:43:24.224Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/60/e8/c0e05e4684d13459f93d312077a9a2efbe04d59c393bc2b8802248c908d4/webcolors-24.11.1-py3-none-any.whl", hash = "sha256:515291393b4cdf0eb19c155749a096f779f7d909f7cceea072791cb9095b92e9", size = 14934, upload-time = "2024-11-11T07:43:22.529Z" },
+]
+
+[[package]]
+name = "webencodings"
+version = "0.5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0b/02/ae6ceac1baeda530866a85075641cec12989bd8d31af6d5ab4a3e8c92f47/webencodings-0.5.1.tar.gz", hash = "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923", size = 9721, upload-time = "2017-04-05T20:21:34.189Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78", size = 11774, upload-time = "2017-04-05T20:21:32.581Z" },
+]
+
+[[package]]
+name = "websocket-client"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e6/30/fba0d96b4b5fbf5948ed3f4681f7da2f9f64512e1d303f94b4cc174c24a5/websocket_client-1.8.0.tar.gz", hash = "sha256:3239df9f44da632f96012472805d40a23281a991027ce11d2f45a6f24ac4c3da", size = 54648, upload-time = "2024-04-23T22:16:16.976Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5a/84/44687a29792a70e111c5c477230a72c4b957d88d16141199bf9acb7537a3/websocket_client-1.8.0-py3-none-any.whl", hash = "sha256:17b44cc997f5c498e809b22cdf2d9c7a9e71c02c8cc2b6c56e7c2d1239bfa526", size = 58826, upload-time = "2024-04-23T22:16:14.422Z" },
+]
+
+[[package]]
+name = "websockets"
+version = "16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/04/24/4b2031d72e840ce4c1ccb255f693b15c334757fc50023e4db9537080b8c4/websockets-16.0.tar.gz", hash = "sha256:5f6261a5e56e8d5c42a4497b364ea24d94d9563e8fbd44e78ac40879c60179b5", size = 179346, upload-time = "2026-01-10T09:23:47.181Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/20/74/221f58decd852f4b59cc3354cccaf87e8ef695fede361d03dc9a7396573b/websockets-16.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:04cdd5d2d1dacbad0a7bf36ccbcd3ccd5a30ee188f2560b7a62a30d14107b31a", size = 177343, upload-time = "2026-01-10T09:22:21.28Z" },
+ { url = "https://files.pythonhosted.org/packages/19/0f/22ef6107ee52ab7f0b710d55d36f5a5d3ef19e8a205541a6d7ffa7994e5a/websockets-16.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8ff32bb86522a9e5e31439a58addbb0166f0204d64066fb955265c4e214160f0", size = 175021, upload-time = "2026-01-10T09:22:22.696Z" },
+ { url = "https://files.pythonhosted.org/packages/10/40/904a4cb30d9b61c0e278899bf36342e9b0208eb3c470324a9ecbaac2a30f/websockets-16.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:583b7c42688636f930688d712885cf1531326ee05effd982028212ccc13e5957", size = 175320, upload-time = "2026-01-10T09:22:23.94Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/2f/4b3ca7e106bc608744b1cdae041e005e446124bebb037b18799c2d356864/websockets-16.0-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7d837379b647c0c4c2355c2499723f82f1635fd2c26510e1f587d89bc2199e72", size = 183815, upload-time = "2026-01-10T09:22:25.469Z" },
+ { url = "https://files.pythonhosted.org/packages/86/26/d40eaa2a46d4302becec8d15b0fc5e45bdde05191e7628405a19cf491ccd/websockets-16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df57afc692e517a85e65b72e165356ed1df12386ecb879ad5693be08fac65dde", size = 185054, upload-time = "2026-01-10T09:22:27.101Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/ba/6500a0efc94f7373ee8fefa8c271acdfd4dca8bd49a90d4be7ccabfc397e/websockets-16.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2b9f1e0d69bc60a4a87349d50c09a037a2607918746f07de04df9e43252c77a3", size = 184565, upload-time = "2026-01-10T09:22:28.293Z" },
+ { url = "https://files.pythonhosted.org/packages/04/b4/96bf2cee7c8d8102389374a2616200574f5f01128d1082f44102140344cc/websockets-16.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:335c23addf3d5e6a8633f9f8eda77efad001671e80b95c491dd0924587ece0b3", size = 183848, upload-time = "2026-01-10T09:22:30.394Z" },
+ { url = "https://files.pythonhosted.org/packages/02/8e/81f40fb00fd125357814e8c3025738fc4ffc3da4b6b4a4472a82ba304b41/websockets-16.0-cp310-cp310-win32.whl", hash = "sha256:37b31c1623c6605e4c00d466c9d633f9b812ea430c11c8a278774a1fde1acfa9", size = 178249, upload-time = "2026-01-10T09:22:32.083Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/5f/7e40efe8df57db9b91c88a43690ac66f7b7aa73a11aa6a66b927e44f26fa/websockets-16.0-cp310-cp310-win_amd64.whl", hash = "sha256:8e1dab317b6e77424356e11e99a432b7cb2f3ec8c5ab4dabbcee6add48f72b35", size = 178685, upload-time = "2026-01-10T09:22:33.345Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/db/de907251b4ff46ae804ad0409809504153b3f30984daf82a1d84a9875830/websockets-16.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:31a52addea25187bde0797a97d6fc3d2f92b6f72a9370792d65a6e84615ac8a8", size = 177340, upload-time = "2026-01-10T09:22:34.539Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/fa/abe89019d8d8815c8781e90d697dec52523fb8ebe308bf11664e8de1877e/websockets-16.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:417b28978cdccab24f46400586d128366313e8a96312e4b9362a4af504f3bbad", size = 175022, upload-time = "2026-01-10T09:22:36.332Z" },
+ { url = "https://files.pythonhosted.org/packages/58/5d/88ea17ed1ded2079358b40d31d48abe90a73c9e5819dbcde1606e991e2ad/websockets-16.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:af80d74d4edfa3cb9ed973a0a5ba2b2a549371f8a741e0800cb07becdd20f23d", size = 175319, upload-time = "2026-01-10T09:22:37.602Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/ae/0ee92b33087a33632f37a635e11e1d99d429d3d323329675a6022312aac2/websockets-16.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:08d7af67b64d29823fed316505a89b86705f2b7981c07848fb5e3ea3020c1abe", size = 184631, upload-time = "2026-01-10T09:22:38.789Z" },
+ { url = "https://files.pythonhosted.org/packages/c8/c5/27178df583b6c5b31b29f526ba2da5e2f864ecc79c99dae630a85d68c304/websockets-16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7be95cfb0a4dae143eaed2bcba8ac23f4892d8971311f1b06f3c6b78952ee70b", size = 185870, upload-time = "2026-01-10T09:22:39.893Z" },
+ { url = "https://files.pythonhosted.org/packages/87/05/536652aa84ddc1c018dbb7e2c4cbcd0db884580bf8e95aece7593fde526f/websockets-16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d6297ce39ce5c2e6feb13c1a996a2ded3b6832155fcfc920265c76f24c7cceb5", size = 185361, upload-time = "2026-01-10T09:22:41.016Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/e2/d5332c90da12b1e01f06fb1b85c50cfc489783076547415bf9f0a659ec19/websockets-16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1c1b30e4f497b0b354057f3467f56244c603a79c0d1dafce1d16c283c25f6e64", size = 184615, upload-time = "2026-01-10T09:22:42.442Z" },
+ { url = "https://files.pythonhosted.org/packages/77/fb/d3f9576691cae9253b51555f841bc6600bf0a983a461c79500ace5a5b364/websockets-16.0-cp311-cp311-win32.whl", hash = "sha256:5f451484aeb5cafee1ccf789b1b66f535409d038c56966d6101740c1614b86c6", size = 178246, upload-time = "2026-01-10T09:22:43.654Z" },
+ { url = "https://files.pythonhosted.org/packages/54/67/eaff76b3dbaf18dcddabc3b8c1dba50b483761cccff67793897945b37408/websockets-16.0-cp311-cp311-win_amd64.whl", hash = "sha256:8d7f0659570eefb578dacde98e24fb60af35350193e4f56e11190787bee77dac", size = 178684, upload-time = "2026-01-10T09:22:44.941Z" },
+ { url = "https://files.pythonhosted.org/packages/84/7b/bac442e6b96c9d25092695578dda82403c77936104b5682307bd4deb1ad4/websockets-16.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:71c989cbf3254fbd5e84d3bff31e4da39c43f884e64f2551d14bb3c186230f00", size = 177365, upload-time = "2026-01-10T09:22:46.787Z" },
+ { url = "https://files.pythonhosted.org/packages/b0/fe/136ccece61bd690d9c1f715baaeefd953bb2360134de73519d5df19d29ca/websockets-16.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:8b6e209ffee39ff1b6d0fa7bfef6de950c60dfb91b8fcead17da4ee539121a79", size = 175038, upload-time = "2026-01-10T09:22:47.999Z" },
+ { url = "https://files.pythonhosted.org/packages/40/1e/9771421ac2286eaab95b8575b0cb701ae3663abf8b5e1f64f1fd90d0a673/websockets-16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:86890e837d61574c92a97496d590968b23c2ef0aeb8a9bc9421d174cd378ae39", size = 175328, upload-time = "2026-01-10T09:22:49.809Z" },
+ { url = "https://files.pythonhosted.org/packages/18/29/71729b4671f21e1eaa5d6573031ab810ad2936c8175f03f97f3ff164c802/websockets-16.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:9b5aca38b67492ef518a8ab76851862488a478602229112c4b0d58d63a7a4d5c", size = 184915, upload-time = "2026-01-10T09:22:51.071Z" },
+ { url = "https://files.pythonhosted.org/packages/97/bb/21c36b7dbbafc85d2d480cd65df02a1dc93bf76d97147605a8e27ff9409d/websockets-16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e0334872c0a37b606418ac52f6ab9cfd17317ac26365f7f65e203e2d0d0d359f", size = 186152, upload-time = "2026-01-10T09:22:52.224Z" },
+ { url = "https://files.pythonhosted.org/packages/4a/34/9bf8df0c0cf88fa7bfe36678dc7b02970c9a7d5e065a3099292db87b1be2/websockets-16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a0b31e0b424cc6b5a04b8838bbaec1688834b2383256688cf47eb97412531da1", size = 185583, upload-time = "2026-01-10T09:22:53.443Z" },
+ { url = "https://files.pythonhosted.org/packages/47/88/4dd516068e1a3d6ab3c7c183288404cd424a9a02d585efbac226cb61ff2d/websockets-16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:485c49116d0af10ac698623c513c1cc01c9446c058a4e61e3bf6c19dff7335a2", size = 184880, upload-time = "2026-01-10T09:22:55.033Z" },
+ { url = "https://files.pythonhosted.org/packages/91/d6/7d4553ad4bf1c0421e1ebd4b18de5d9098383b5caa1d937b63df8d04b565/websockets-16.0-cp312-cp312-win32.whl", hash = "sha256:eaded469f5e5b7294e2bdca0ab06becb6756ea86894a47806456089298813c89", size = 178261, upload-time = "2026-01-10T09:22:56.251Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/f0/f3a17365441ed1c27f850a80b2bc680a0fa9505d733fe152fdf5e98c1c0b/websockets-16.0-cp312-cp312-win_amd64.whl", hash = "sha256:5569417dc80977fc8c2d43a86f78e0a5a22fee17565d78621b6bb264a115d4ea", size = 178693, upload-time = "2026-01-10T09:22:57.478Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/9c/baa8456050d1c1b08dd0ec7346026668cbc6f145ab4e314d707bb845bf0d/websockets-16.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:878b336ac47938b474c8f982ac2f7266a540adc3fa4ad74ae96fea9823a02cc9", size = 177364, upload-time = "2026-01-10T09:22:59.333Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/0c/8811fc53e9bcff68fe7de2bcbe75116a8d959ac699a3200f4847a8925210/websockets-16.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:52a0fec0e6c8d9a784c2c78276a48a2bdf099e4ccc2a4cad53b27718dbfd0230", size = 175039, upload-time = "2026-01-10T09:23:01.171Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/82/39a5f910cb99ec0b59e482971238c845af9220d3ab9fa76dd9162cda9d62/websockets-16.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e6578ed5b6981005df1860a56e3617f14a6c307e6a71b4fff8c48fdc50f3ed2c", size = 175323, upload-time = "2026-01-10T09:23:02.341Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/28/0a25ee5342eb5d5f297d992a77e56892ecb65e7854c7898fb7d35e9b33bd/websockets-16.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:95724e638f0f9c350bb1c2b0a7ad0e83d9cc0c9259f3ea94e40d7b02a2179ae5", size = 184975, upload-time = "2026-01-10T09:23:03.756Z" },
+ { url = "https://files.pythonhosted.org/packages/f9/66/27ea52741752f5107c2e41fda05e8395a682a1e11c4e592a809a90c6a506/websockets-16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c0204dc62a89dc9d50d682412c10b3542d748260d743500a85c13cd1ee4bde82", size = 186203, upload-time = "2026-01-10T09:23:05.01Z" },
+ { url = "https://files.pythonhosted.org/packages/37/e5/8e32857371406a757816a2b471939d51c463509be73fa538216ea52b792a/websockets-16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:52ac480f44d32970d66763115edea932f1c5b1312de36df06d6b219f6741eed8", size = 185653, upload-time = "2026-01-10T09:23:06.301Z" },
+ { url = "https://files.pythonhosted.org/packages/9b/67/f926bac29882894669368dc73f4da900fcdf47955d0a0185d60103df5737/websockets-16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6e5a82b677f8f6f59e8dfc34ec06ca6b5b48bc4fcda346acd093694cc2c24d8f", size = 184920, upload-time = "2026-01-10T09:23:07.492Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/a1/3d6ccdcd125b0a42a311bcd15a7f705d688f73b2a22d8cf1c0875d35d34a/websockets-16.0-cp313-cp313-win32.whl", hash = "sha256:abf050a199613f64c886ea10f38b47770a65154dc37181bfaff70c160f45315a", size = 178255, upload-time = "2026-01-10T09:23:09.245Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/ae/90366304d7c2ce80f9b826096a9e9048b4bb760e44d3b873bb272cba696b/websockets-16.0-cp313-cp313-win_amd64.whl", hash = "sha256:3425ac5cf448801335d6fdc7ae1eb22072055417a96cc6b31b3861f455fbc156", size = 178689, upload-time = "2026-01-10T09:23:10.483Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/1d/e88022630271f5bd349ed82417136281931e558d628dd52c4d8621b4a0b2/websockets-16.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8cc451a50f2aee53042ac52d2d053d08bf89bcb31ae799cb4487587661c038a0", size = 177406, upload-time = "2026-01-10T09:23:12.178Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/78/e63be1bf0724eeb4616efb1ae1c9044f7c3953b7957799abb5915bffd38e/websockets-16.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:daa3b6ff70a9241cf6c7fc9e949d41232d9d7d26fd3522b1ad2b4d62487e9904", size = 175085, upload-time = "2026-01-10T09:23:13.511Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/f4/d3c9220d818ee955ae390cf319a7c7a467beceb24f05ee7aaaa2414345ba/websockets-16.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:fd3cb4adb94a2a6e2b7c0d8d05cb94e6f1c81a0cf9dc2694fb65c7e8d94c42e4", size = 175328, upload-time = "2026-01-10T09:23:14.727Z" },
+ { url = "https://files.pythonhosted.org/packages/63/bc/d3e208028de777087e6fb2b122051a6ff7bbcca0d6df9d9c2bf1dd869ae9/websockets-16.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:781caf5e8eee67f663126490c2f96f40906594cb86b408a703630f95550a8c3e", size = 185044, upload-time = "2026-01-10T09:23:15.939Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/6e/9a0927ac24bd33a0a9af834d89e0abc7cfd8e13bed17a86407a66773cc0e/websockets-16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:caab51a72c51973ca21fa8a18bd8165e1a0183f1ac7066a182ff27107b71e1a4", size = 186279, upload-time = "2026-01-10T09:23:17.148Z" },
+ { url = "https://files.pythonhosted.org/packages/b9/ca/bf1c68440d7a868180e11be653c85959502efd3a709323230314fda6e0b3/websockets-16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:19c4dc84098e523fd63711e563077d39e90ec6702aff4b5d9e344a60cb3c0cb1", size = 185711, upload-time = "2026-01-10T09:23:18.372Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/f8/fdc34643a989561f217bb477cbc47a3a07212cbda91c0e4389c43c296ebf/websockets-16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a5e18a238a2b2249c9a9235466b90e96ae4795672598a58772dd806edc7ac6d3", size = 184982, upload-time = "2026-01-10T09:23:19.652Z" },
+ { url = "https://files.pythonhosted.org/packages/dd/d1/574fa27e233764dbac9c52730d63fcf2823b16f0856b3329fc6268d6ae4f/websockets-16.0-cp314-cp314-win32.whl", hash = "sha256:a069d734c4a043182729edd3e9f247c3b2a4035415a9172fd0f1b71658a320a8", size = 177915, upload-time = "2026-01-10T09:23:21.458Z" },
+ { url = "https://files.pythonhosted.org/packages/8a/f1/ae6b937bf3126b5134ce1f482365fde31a357c784ac51852978768b5eff4/websockets-16.0-cp314-cp314-win_amd64.whl", hash = "sha256:c0ee0e63f23914732c6d7e0cce24915c48f3f1512ec1d079ed01fc629dab269d", size = 178381, upload-time = "2026-01-10T09:23:22.715Z" },
+ { url = "https://files.pythonhosted.org/packages/06/9b/f791d1db48403e1f0a27577a6beb37afae94254a8c6f08be4a23e4930bc0/websockets-16.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:a35539cacc3febb22b8f4d4a99cc79b104226a756aa7400adc722e83b0d03244", size = 177737, upload-time = "2026-01-10T09:23:24.523Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/40/53ad02341fa33b3ce489023f635367a4ac98b73570102ad2cdd770dacc9a/websockets-16.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:b784ca5de850f4ce93ec85d3269d24d4c82f22b7212023c974c401d4980ebc5e", size = 175268, upload-time = "2026-01-10T09:23:25.781Z" },
+ { url = "https://files.pythonhosted.org/packages/74/9b/6158d4e459b984f949dcbbb0c5d270154c7618e11c01029b9bbd1bb4c4f9/websockets-16.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:569d01a4e7fba956c5ae4fc988f0d4e187900f5497ce46339c996dbf24f17641", size = 175486, upload-time = "2026-01-10T09:23:27.033Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/2d/7583b30208b639c8090206f95073646c2c9ffd66f44df967981a64f849ad/websockets-16.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:50f23cdd8343b984957e4077839841146f67a3d31ab0d00e6b824e74c5b2f6e8", size = 185331, upload-time = "2026-01-10T09:23:28.259Z" },
+ { url = "https://files.pythonhosted.org/packages/45/b0/cce3784eb519b7b5ad680d14b9673a31ab8dcb7aad8b64d81709d2430aa8/websockets-16.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:152284a83a00c59b759697b7f9e9cddf4e3c7861dd0d964b472b70f78f89e80e", size = 186501, upload-time = "2026-01-10T09:23:29.449Z" },
+ { url = "https://files.pythonhosted.org/packages/19/60/b8ebe4c7e89fb5f6cdf080623c9d92789a53636950f7abacfc33fe2b3135/websockets-16.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:bc59589ab64b0022385f429b94697348a6a234e8ce22544e3681b2e9331b5944", size = 186062, upload-time = "2026-01-10T09:23:31.368Z" },
+ { url = "https://files.pythonhosted.org/packages/88/a8/a080593f89b0138b6cba1b28f8df5673b5506f72879322288b031337c0b8/websockets-16.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32da954ffa2814258030e5a57bc73a3635463238e797c7375dc8091327434206", size = 185356, upload-time = "2026-01-10T09:23:32.627Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/b6/b9afed2afadddaf5ebb2afa801abf4b0868f42f8539bfe4b071b5266c9fe/websockets-16.0-cp314-cp314t-win32.whl", hash = "sha256:5a4b4cc550cb665dd8a47f868c8d04c8230f857363ad3c9caf7a0c3bf8c61ca6", size = 178085, upload-time = "2026-01-10T09:23:33.816Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/3e/28135a24e384493fa804216b79a6a6759a38cc4ff59118787b9fb693df93/websockets-16.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b14dc141ed6d2dde437cddb216004bcac6a1df0935d79656387bd41632ba0bbd", size = 178531, upload-time = "2026-01-10T09:23:35.016Z" },
+ { url = "https://files.pythonhosted.org/packages/72/07/c98a68571dcf256e74f1f816b8cc5eae6eb2d3d5cfa44d37f801619d9166/websockets-16.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:349f83cd6c9a415428ee1005cadb5c2c56f4389bc06a9af16103c3bc3dcc8b7d", size = 174947, upload-time = "2026-01-10T09:23:36.166Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/52/93e166a81e0305b33fe416338be92ae863563fe7bce446b0f687b9df5aea/websockets-16.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:4a1aba3340a8dca8db6eb5a7986157f52eb9e436b74813764241981ca4888f03", size = 175260, upload-time = "2026-01-10T09:23:37.409Z" },
+ { url = "https://files.pythonhosted.org/packages/56/0c/2dbf513bafd24889d33de2ff0368190a0e69f37bcfa19009ef819fe4d507/websockets-16.0-pp311-pypy311_pp73-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f4a32d1bd841d4bcbffdcb3d2ce50c09c3909fbead375ab28d0181af89fd04da", size = 176071, upload-time = "2026-01-10T09:23:39.158Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/8f/aea9c71cc92bf9b6cc0f7f70df8f0b420636b6c96ef4feee1e16f80f75dd/websockets-16.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0298d07ee155e2e9fda5be8a9042200dd2e3bb0b8a38482156576f863a9d457c", size = 176968, upload-time = "2026-01-10T09:23:41.031Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/3f/f70e03f40ffc9a30d817eef7da1be72ee4956ba8d7255c399a01b135902a/websockets-16.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:a653aea902e0324b52f1613332ddf50b00c06fdaf7e92624fbf8c77c78fa5767", size = 178735, upload-time = "2026-01-10T09:23:42.259Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/28/258ebab549c2bf3e64d2b0217b973467394a9cea8c42f70418ca2c5d0d2e/websockets-16.0-py3-none-any.whl", hash = "sha256:1637db62fad1dc833276dded54215f2c7fa46912301a24bd94d45d46a011ceec", size = 171598, upload-time = "2026-01-10T09:23:45.395Z" },
+]
+
+[[package]]
+name = "widgetsnbextension"
+version = "4.0.14"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/41/53/2e0253c5efd69c9656b1843892052a31c36d37ad42812b5da45c62191f7e/widgetsnbextension-4.0.14.tar.gz", hash = "sha256:a3629b04e3edb893212df862038c7232f62973373869db5084aed739b437b5af", size = 1097428, upload-time = "2025-04-10T13:01:25.628Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ca/51/5447876806d1088a0f8f71e16542bf350918128d0a69437df26047c8e46f/widgetsnbextension-4.0.14-py3-none-any.whl", hash = "sha256:4875a9eaf72fbf5079dc372a51a9f268fc38d46f767cbf85c43a36da5cb9b575", size = 2196503, upload-time = "2025-04-10T13:01:23.086Z" },
+]
+
+[[package]]
+name = "wrapt"
+version = "1.17.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/95/8f/aeb76c5b46e273670962298c23e7ddde79916cb74db802131d49a85e4b7d/wrapt-1.17.3.tar.gz", hash = "sha256:f66eb08feaa410fe4eebd17f2a2c8e2e46d3476e9f8c783daa8e09e0faa666d0", size = 55547, upload-time = "2025-08-12T05:53:21.714Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3f/23/bb82321b86411eb51e5a5db3fb8f8032fd30bd7c2d74bfe936136b2fa1d6/wrapt-1.17.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:88bbae4d40d5a46142e70d58bf664a89b6b4befaea7b2ecc14e03cedb8e06c04", size = 53482, upload-time = "2025-08-12T05:51:44.467Z" },
+ { url = "https://files.pythonhosted.org/packages/45/69/f3c47642b79485a30a59c63f6d739ed779fb4cc8323205d047d741d55220/wrapt-1.17.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e6b13af258d6a9ad602d57d889f83b9d5543acd471eee12eb51f5b01f8eb1bc2", size = 38676, upload-time = "2025-08-12T05:51:32.636Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/71/e7e7f5670c1eafd9e990438e69d8fb46fa91a50785332e06b560c869454f/wrapt-1.17.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd341868a4b6714a5962c1af0bd44f7c404ef78720c7de4892901e540417111c", size = 38957, upload-time = "2025-08-12T05:51:54.655Z" },
+ { url = "https://files.pythonhosted.org/packages/de/17/9f8f86755c191d6779d7ddead1a53c7a8aa18bccb7cea8e7e72dfa6a8a09/wrapt-1.17.3-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:f9b2601381be482f70e5d1051a5965c25fb3625455a2bf520b5a077b22afb775", size = 81975, upload-time = "2025-08-12T05:52:30.109Z" },
+ { url = "https://files.pythonhosted.org/packages/f2/15/dd576273491f9f43dd09fce517f6c2ce6eb4fe21681726068db0d0467096/wrapt-1.17.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:343e44b2a8e60e06a7e0d29c1671a0d9951f59174f3709962b5143f60a2a98bd", size = 83149, upload-time = "2025-08-12T05:52:09.316Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/c4/5eb4ce0d4814521fee7aa806264bf7a114e748ad05110441cd5b8a5c744b/wrapt-1.17.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:33486899acd2d7d3066156b03465b949da3fd41a5da6e394ec49d271baefcf05", size = 82209, upload-time = "2025-08-12T05:52:10.331Z" },
+ { url = "https://files.pythonhosted.org/packages/31/4b/819e9e0eb5c8dc86f60dfc42aa4e2c0d6c3db8732bce93cc752e604bb5f5/wrapt-1.17.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:e6f40a8aa5a92f150bdb3e1c44b7e98fb7113955b2e5394122fa5532fec4b418", size = 81551, upload-time = "2025-08-12T05:52:31.137Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/83/ed6baf89ba3a56694700139698cf703aac9f0f9eb03dab92f57551bd5385/wrapt-1.17.3-cp310-cp310-win32.whl", hash = "sha256:a36692b8491d30a8c75f1dfee65bef119d6f39ea84ee04d9f9311f83c5ad9390", size = 36464, upload-time = "2025-08-12T05:53:01.204Z" },
+ { url = "https://files.pythonhosted.org/packages/2f/90/ee61d36862340ad7e9d15a02529df6b948676b9a5829fd5e16640156627d/wrapt-1.17.3-cp310-cp310-win_amd64.whl", hash = "sha256:afd964fd43b10c12213574db492cb8f73b2f0826c8df07a68288f8f19af2ebe6", size = 38748, upload-time = "2025-08-12T05:53:00.209Z" },
+ { url = "https://files.pythonhosted.org/packages/bd/c3/cefe0bd330d389c9983ced15d326f45373f4073c9f4a8c2f99b50bfea329/wrapt-1.17.3-cp310-cp310-win_arm64.whl", hash = "sha256:af338aa93554be859173c39c85243970dc6a289fa907402289eeae7543e1ae18", size = 36810, upload-time = "2025-08-12T05:52:51.906Z" },
+ { url = "https://files.pythonhosted.org/packages/52/db/00e2a219213856074a213503fdac0511203dceefff26e1daa15250cc01a0/wrapt-1.17.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:273a736c4645e63ac582c60a56b0acb529ef07f78e08dc6bfadf6a46b19c0da7", size = 53482, upload-time = "2025-08-12T05:51:45.79Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/30/ca3c4a5eba478408572096fe9ce36e6e915994dd26a4e9e98b4f729c06d9/wrapt-1.17.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:5531d911795e3f935a9c23eb1c8c03c211661a5060aab167065896bbf62a5f85", size = 38674, upload-time = "2025-08-12T05:51:34.629Z" },
+ { url = "https://files.pythonhosted.org/packages/31/25/3e8cc2c46b5329c5957cec959cb76a10718e1a513309c31399a4dad07eb3/wrapt-1.17.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0610b46293c59a3adbae3dee552b648b984176f8562ee0dba099a56cfbe4df1f", size = 38959, upload-time = "2025-08-12T05:51:56.074Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/8f/a32a99fc03e4b37e31b57cb9cefc65050ea08147a8ce12f288616b05ef54/wrapt-1.17.3-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b32888aad8b6e68f83a8fdccbf3165f5469702a7544472bdf41f582970ed3311", size = 82376, upload-time = "2025-08-12T05:52:32.134Z" },
+ { url = "https://files.pythonhosted.org/packages/31/57/4930cb8d9d70d59c27ee1332a318c20291749b4fba31f113c2f8ac49a72e/wrapt-1.17.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cccf4f81371f257440c88faed6b74f1053eef90807b77e31ca057b2db74edb1", size = 83604, upload-time = "2025-08-12T05:52:11.663Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/f3/1afd48de81d63dd66e01b263a6fbb86e1b5053b419b9b33d13e1f6d0f7d0/wrapt-1.17.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8a210b158a34164de8bb68b0e7780041a903d7b00c87e906fb69928bf7890d5", size = 82782, upload-time = "2025-08-12T05:52:12.626Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/d7/4ad5327612173b144998232f98a85bb24b60c352afb73bc48e3e0d2bdc4e/wrapt-1.17.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:79573c24a46ce11aab457b472efd8d125e5a51da2d1d24387666cd85f54c05b2", size = 82076, upload-time = "2025-08-12T05:52:33.168Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/59/e0adfc831674a65694f18ea6dc821f9fcb9ec82c2ce7e3d73a88ba2e8718/wrapt-1.17.3-cp311-cp311-win32.whl", hash = "sha256:c31eebe420a9a5d2887b13000b043ff6ca27c452a9a22fa71f35f118e8d4bf89", size = 36457, upload-time = "2025-08-12T05:53:03.936Z" },
+ { url = "https://files.pythonhosted.org/packages/83/88/16b7231ba49861b6f75fc309b11012ede4d6b0a9c90969d9e0db8d991aeb/wrapt-1.17.3-cp311-cp311-win_amd64.whl", hash = "sha256:0b1831115c97f0663cb77aa27d381237e73ad4f721391a9bfb2fe8bc25fa6e77", size = 38745, upload-time = "2025-08-12T05:53:02.885Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/1e/c4d4f3398ec073012c51d1c8d87f715f56765444e1a4b11e5180577b7e6e/wrapt-1.17.3-cp311-cp311-win_arm64.whl", hash = "sha256:5a7b3c1ee8265eb4c8f1b7d29943f195c00673f5ab60c192eba2d4a7eae5f46a", size = 36806, upload-time = "2025-08-12T05:52:53.368Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/41/cad1aba93e752f1f9268c77270da3c469883d56e2798e7df6240dcb2287b/wrapt-1.17.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:ab232e7fdb44cdfbf55fc3afa31bcdb0d8980b9b95c38b6405df2acb672af0e0", size = 53998, upload-time = "2025-08-12T05:51:47.138Z" },
+ { url = "https://files.pythonhosted.org/packages/60/f8/096a7cc13097a1869fe44efe68dace40d2a16ecb853141394047f0780b96/wrapt-1.17.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9baa544e6acc91130e926e8c802a17f3b16fbea0fd441b5a60f5cf2cc5c3deba", size = 39020, upload-time = "2025-08-12T05:51:35.906Z" },
+ { url = "https://files.pythonhosted.org/packages/33/df/bdf864b8997aab4febb96a9ae5c124f700a5abd9b5e13d2a3214ec4be705/wrapt-1.17.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6b538e31eca1a7ea4605e44f81a48aa24c4632a277431a6ed3f328835901f4fd", size = 39098, upload-time = "2025-08-12T05:51:57.474Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/81/5d931d78d0eb732b95dc3ddaeeb71c8bb572fb01356e9133916cd729ecdd/wrapt-1.17.3-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:042ec3bb8f319c147b1301f2393bc19dba6e176b7da446853406d041c36c7828", size = 88036, upload-time = "2025-08-12T05:52:34.784Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/38/2e1785df03b3d72d34fc6252d91d9d12dc27a5c89caef3335a1bbb8908ca/wrapt-1.17.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3af60380ba0b7b5aeb329bc4e402acd25bd877e98b3727b0135cb5c2efdaefe9", size = 88156, upload-time = "2025-08-12T05:52:13.599Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/8b/48cdb60fe0603e34e05cffda0b2a4adab81fd43718e11111a4b0100fd7c1/wrapt-1.17.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0b02e424deef65c9f7326d8c19220a2c9040c51dc165cddb732f16198c168396", size = 87102, upload-time = "2025-08-12T05:52:14.56Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/51/d81abca783b58f40a154f1b2c56db1d2d9e0d04fa2d4224e357529f57a57/wrapt-1.17.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:74afa28374a3c3a11b3b5e5fca0ae03bef8450d6aa3ab3a1e2c30e3a75d023dc", size = 87732, upload-time = "2025-08-12T05:52:36.165Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/b1/43b286ca1392a006d5336412d41663eeef1ad57485f3e52c767376ba7e5a/wrapt-1.17.3-cp312-cp312-win32.whl", hash = "sha256:4da9f45279fff3543c371d5ababc57a0384f70be244de7759c85a7f989cb4ebe", size = 36705, upload-time = "2025-08-12T05:53:07.123Z" },
+ { url = "https://files.pythonhosted.org/packages/28/de/49493f962bd3c586ab4b88066e967aa2e0703d6ef2c43aa28cb83bf7b507/wrapt-1.17.3-cp312-cp312-win_amd64.whl", hash = "sha256:e71d5c6ebac14875668a1e90baf2ea0ef5b7ac7918355850c0908ae82bcb297c", size = 38877, upload-time = "2025-08-12T05:53:05.436Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/48/0f7102fe9cb1e8a5a77f80d4f0956d62d97034bbe88d33e94699f99d181d/wrapt-1.17.3-cp312-cp312-win_arm64.whl", hash = "sha256:604d076c55e2fdd4c1c03d06dc1a31b95130010517b5019db15365ec4a405fc6", size = 36885, upload-time = "2025-08-12T05:52:54.367Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/f6/759ece88472157acb55fc195e5b116e06730f1b651b5b314c66291729193/wrapt-1.17.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a47681378a0439215912ef542c45a783484d4dd82bac412b71e59cf9c0e1cea0", size = 54003, upload-time = "2025-08-12T05:51:48.627Z" },
+ { url = "https://files.pythonhosted.org/packages/4f/a9/49940b9dc6d47027dc850c116d79b4155f15c08547d04db0f07121499347/wrapt-1.17.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:54a30837587c6ee3cd1a4d1c2ec5d24e77984d44e2f34547e2323ddb4e22eb77", size = 39025, upload-time = "2025-08-12T05:51:37.156Z" },
+ { url = "https://files.pythonhosted.org/packages/45/35/6a08de0f2c96dcdd7fe464d7420ddb9a7655a6561150e5fc4da9356aeaab/wrapt-1.17.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:16ecf15d6af39246fe33e507105d67e4b81d8f8d2c6598ff7e3ca1b8a37213f7", size = 39108, upload-time = "2025-08-12T05:51:58.425Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/37/6faf15cfa41bf1f3dba80cd3f5ccc6622dfccb660ab26ed79f0178c7497f/wrapt-1.17.3-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:6fd1ad24dc235e4ab88cda009e19bf347aabb975e44fd5c2fb22a3f6e4141277", size = 88072, upload-time = "2025-08-12T05:52:37.53Z" },
+ { url = "https://files.pythonhosted.org/packages/78/f2/efe19ada4a38e4e15b6dff39c3e3f3f73f5decf901f66e6f72fe79623a06/wrapt-1.17.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ed61b7c2d49cee3c027372df5809a59d60cf1b6c2f81ee980a091f3afed6a2d", size = 88214, upload-time = "2025-08-12T05:52:15.886Z" },
+ { url = "https://files.pythonhosted.org/packages/40/90/ca86701e9de1622b16e09689fc24b76f69b06bb0150990f6f4e8b0eeb576/wrapt-1.17.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:423ed5420ad5f5529db9ce89eac09c8a2f97da18eb1c870237e84c5a5c2d60aa", size = 87105, upload-time = "2025-08-12T05:52:17.914Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/e0/d10bd257c9a3e15cbf5523025252cc14d77468e8ed644aafb2d6f54cb95d/wrapt-1.17.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e01375f275f010fcbf7f643b4279896d04e571889b8a5b3f848423d91bf07050", size = 87766, upload-time = "2025-08-12T05:52:39.243Z" },
+ { url = "https://files.pythonhosted.org/packages/e8/cf/7d848740203c7b4b27eb55dbfede11aca974a51c3d894f6cc4b865f42f58/wrapt-1.17.3-cp313-cp313-win32.whl", hash = "sha256:53e5e39ff71b3fc484df8a522c933ea2b7cdd0d5d15ae82e5b23fde87d44cbd8", size = 36711, upload-time = "2025-08-12T05:53:10.074Z" },
+ { url = "https://files.pythonhosted.org/packages/57/54/35a84d0a4d23ea675994104e667ceff49227ce473ba6a59ba2c84f250b74/wrapt-1.17.3-cp313-cp313-win_amd64.whl", hash = "sha256:1f0b2f40cf341ee8cc1a97d51ff50dddb9fcc73241b9143ec74b30fc4f44f6cb", size = 38885, upload-time = "2025-08-12T05:53:08.695Z" },
+ { url = "https://files.pythonhosted.org/packages/01/77/66e54407c59d7b02a3c4e0af3783168fff8e5d61def52cda8728439d86bc/wrapt-1.17.3-cp313-cp313-win_arm64.whl", hash = "sha256:7425ac3c54430f5fc5e7b6f41d41e704db073309acfc09305816bc6a0b26bb16", size = 36896, upload-time = "2025-08-12T05:52:55.34Z" },
+ { url = "https://files.pythonhosted.org/packages/02/a2/cd864b2a14f20d14f4c496fab97802001560f9f41554eef6df201cd7f76c/wrapt-1.17.3-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:cf30f6e3c077c8e6a9a7809c94551203c8843e74ba0c960f4a98cd80d4665d39", size = 54132, upload-time = "2025-08-12T05:51:49.864Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/46/d011725b0c89e853dc44cceb738a307cde5d240d023d6d40a82d1b4e1182/wrapt-1.17.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e228514a06843cae89621384cfe3a80418f3c04aadf8a3b14e46a7be704e4235", size = 39091, upload-time = "2025-08-12T05:51:38.935Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/9e/3ad852d77c35aae7ddebdbc3b6d35ec8013af7d7dddad0ad911f3d891dae/wrapt-1.17.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:5ea5eb3c0c071862997d6f3e02af1d055f381b1d25b286b9d6644b79db77657c", size = 39172, upload-time = "2025-08-12T05:51:59.365Z" },
+ { url = "https://files.pythonhosted.org/packages/c3/f7/c983d2762bcce2326c317c26a6a1e7016f7eb039c27cdf5c4e30f4160f31/wrapt-1.17.3-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:281262213373b6d5e4bb4353bc36d1ba4084e6d6b5d242863721ef2bf2c2930b", size = 87163, upload-time = "2025-08-12T05:52:40.965Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/0f/f673f75d489c7f22d17fe0193e84b41540d962f75fce579cf6873167c29b/wrapt-1.17.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc4a8d2b25efb6681ecacad42fca8859f88092d8732b170de6a5dddd80a1c8fa", size = 87963, upload-time = "2025-08-12T05:52:20.326Z" },
+ { url = "https://files.pythonhosted.org/packages/df/61/515ad6caca68995da2fac7a6af97faab8f78ebe3bf4f761e1b77efbc47b5/wrapt-1.17.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:373342dd05b1d07d752cecbec0c41817231f29f3a89aa8b8843f7b95992ed0c7", size = 86945, upload-time = "2025-08-12T05:52:21.581Z" },
+ { url = "https://files.pythonhosted.org/packages/d3/bd/4e70162ce398462a467bc09e768bee112f1412e563620adc353de9055d33/wrapt-1.17.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:d40770d7c0fd5cbed9d84b2c3f2e156431a12c9a37dc6284060fb4bec0b7ffd4", size = 86857, upload-time = "2025-08-12T05:52:43.043Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/b8/da8560695e9284810b8d3df8a19396a6e40e7518059584a1a394a2b35e0a/wrapt-1.17.3-cp314-cp314-win32.whl", hash = "sha256:fbd3c8319de8e1dc79d346929cd71d523622da527cca14e0c1d257e31c2b8b10", size = 37178, upload-time = "2025-08-12T05:53:12.605Z" },
+ { url = "https://files.pythonhosted.org/packages/db/c8/b71eeb192c440d67a5a0449aaee2310a1a1e8eca41676046f99ed2487e9f/wrapt-1.17.3-cp314-cp314-win_amd64.whl", hash = "sha256:e1a4120ae5705f673727d3253de3ed0e016f7cd78dc463db1b31e2463e1f3cf6", size = 39310, upload-time = "2025-08-12T05:53:11.106Z" },
+ { url = "https://files.pythonhosted.org/packages/45/20/2cda20fd4865fa40f86f6c46ed37a2a8356a7a2fde0773269311f2af56c7/wrapt-1.17.3-cp314-cp314-win_arm64.whl", hash = "sha256:507553480670cab08a800b9463bdb881b2edeed77dc677b0a5915e6106e91a58", size = 37266, upload-time = "2025-08-12T05:52:56.531Z" },
+ { url = "https://files.pythonhosted.org/packages/77/ed/dd5cf21aec36c80443c6f900449260b80e2a65cf963668eaef3b9accce36/wrapt-1.17.3-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:ed7c635ae45cfbc1a7371f708727bf74690daedc49b4dba310590ca0bd28aa8a", size = 56544, upload-time = "2025-08-12T05:51:51.109Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/96/450c651cc753877ad100c7949ab4d2e2ecc4d97157e00fa8f45df682456a/wrapt-1.17.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:249f88ed15503f6492a71f01442abddd73856a0032ae860de6d75ca62eed8067", size = 40283, upload-time = "2025-08-12T05:51:39.912Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/86/2fcad95994d9b572db57632acb6f900695a648c3e063f2cd344b3f5c5a37/wrapt-1.17.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5a03a38adec8066d5a37bea22f2ba6bbf39fcdefbe2d91419ab864c3fb515454", size = 40366, upload-time = "2025-08-12T05:52:00.693Z" },
+ { url = "https://files.pythonhosted.org/packages/64/0e/f4472f2fdde2d4617975144311f8800ef73677a159be7fe61fa50997d6c0/wrapt-1.17.3-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5d4478d72eb61c36e5b446e375bbc49ed002430d17cdec3cecb36993398e1a9e", size = 108571, upload-time = "2025-08-12T05:52:44.521Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/01/9b85a99996b0a97c8a17484684f206cbb6ba73c1ce6890ac668bcf3838fb/wrapt-1.17.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:223db574bb38637e8230eb14b185565023ab624474df94d2af18f1cdb625216f", size = 113094, upload-time = "2025-08-12T05:52:22.618Z" },
+ { url = "https://files.pythonhosted.org/packages/25/02/78926c1efddcc7b3aa0bc3d6b33a822f7d898059f7cd9ace8c8318e559ef/wrapt-1.17.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e405adefb53a435f01efa7ccdec012c016b5a1d3f35459990afc39b6be4d5056", size = 110659, upload-time = "2025-08-12T05:52:24.057Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/ee/c414501ad518ac3e6fe184753632fe5e5ecacdcf0effc23f31c1e4f7bfcf/wrapt-1.17.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:88547535b787a6c9ce4086917b6e1d291aa8ed914fdd3a838b3539dc95c12804", size = 106946, upload-time = "2025-08-12T05:52:45.976Z" },
+ { url = "https://files.pythonhosted.org/packages/be/44/a1bd64b723d13bb151d6cc91b986146a1952385e0392a78567e12149c7b4/wrapt-1.17.3-cp314-cp314t-win32.whl", hash = "sha256:41b1d2bc74c2cac6f9074df52b2efbef2b30bdfe5f40cb78f8ca22963bc62977", size = 38717, upload-time = "2025-08-12T05:53:15.214Z" },
+ { url = "https://files.pythonhosted.org/packages/79/d9/7cfd5a312760ac4dd8bf0184a6ee9e43c33e47f3dadc303032ce012b8fa3/wrapt-1.17.3-cp314-cp314t-win_amd64.whl", hash = "sha256:73d496de46cd2cdbdbcce4ae4bcdb4afb6a11234a1df9c085249d55166b95116", size = 41334, upload-time = "2025-08-12T05:53:14.178Z" },
+ { url = "https://files.pythonhosted.org/packages/46/78/10ad9781128ed2f99dbc474f43283b13fea8ba58723e98844367531c18e9/wrapt-1.17.3-cp314-cp314t-win_arm64.whl", hash = "sha256:f38e60678850c42461d4202739f9bf1e3a737c7ad283638251e79cc49effb6b6", size = 38471, upload-time = "2025-08-12T05:52:57.784Z" },
+ { url = "https://files.pythonhosted.org/packages/1f/f6/a933bd70f98e9cf3e08167fc5cd7aaaca49147e48411c0bd5ae701bb2194/wrapt-1.17.3-py3-none-any.whl", hash = "sha256:7171ae35d2c33d326ac19dd8facb1e82e5fd04ef8c6c0e394d7af55a55051c22", size = 23591, upload-time = "2025-08-12T05:53:20.674Z" },
+]
+
+[[package]]
+name = "xxhash"
+version = "3.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/02/84/30869e01909fb37a6cc7e18688ee8bf1e42d57e7e0777636bd47524c43c7/xxhash-3.6.0.tar.gz", hash = "sha256:f0162a78b13a0d7617b2845b90c763339d1f1d82bb04a4b07f4ab535cc5e05d6", size = 85160, upload-time = "2025-10-02T14:37:08.097Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/34/ee/f9f1d656ad168681bb0f6b092372c1e533c4416b8069b1896a175c46e484/xxhash-3.6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:87ff03d7e35c61435976554477a7f4cd1704c3596a89a8300d5ce7fc83874a71", size = 32845, upload-time = "2025-10-02T14:33:51.573Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/b1/93508d9460b292c74a09b83d16750c52a0ead89c51eea9951cb97a60d959/xxhash-3.6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f572dfd3d0e2eb1a57511831cf6341242f5a9f8298a45862d085f5b93394a27d", size = 30807, upload-time = "2025-10-02T14:33:52.964Z" },
+ { url = "https://files.pythonhosted.org/packages/07/55/28c93a3662f2d200c70704efe74aab9640e824f8ce330d8d3943bf7c9b3c/xxhash-3.6.0-cp310-cp310-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:89952ea539566b9fed2bbd94e589672794b4286f342254fad28b149f9615fef8", size = 193786, upload-time = "2025-10-02T14:33:54.272Z" },
+ { url = "https://files.pythonhosted.org/packages/c1/96/fec0be9bb4b8f5d9c57d76380a366f31a1781fb802f76fc7cda6c84893c7/xxhash-3.6.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48e6f2ffb07a50b52465a1032c3cf1f4a5683f944acaca8a134a2f23674c2058", size = 212830, upload-time = "2025-10-02T14:33:55.706Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/a0/c706845ba77b9611f81fd2e93fad9859346b026e8445e76f8c6fd057cc6d/xxhash-3.6.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b5b848ad6c16d308c3ac7ad4ba6bede80ed5df2ba8ed382f8932df63158dd4b2", size = 211606, upload-time = "2025-10-02T14:33:57.133Z" },
+ { url = "https://files.pythonhosted.org/packages/67/1e/164126a2999e5045f04a69257eea946c0dc3e86541b400d4385d646b53d7/xxhash-3.6.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a034590a727b44dd8ac5914236a7b8504144447a9682586c3327e935f33ec8cc", size = 444872, upload-time = "2025-10-02T14:33:58.446Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/4b/55ab404c56cd70a2cf5ecfe484838865d0fea5627365c6c8ca156bd09c8f/xxhash-3.6.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8a8f1972e75ebdd161d7896743122834fe87378160c20e97f8b09166213bf8cc", size = 193217, upload-time = "2025-10-02T14:33:59.724Z" },
+ { url = "https://files.pythonhosted.org/packages/45/e6/52abf06bac316db33aa269091ae7311bd53cfc6f4b120ae77bac1b348091/xxhash-3.6.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:ee34327b187f002a596d7b167ebc59a1b729e963ce645964bbc050d2f1b73d07", size = 210139, upload-time = "2025-10-02T14:34:02.041Z" },
+ { url = "https://files.pythonhosted.org/packages/34/37/db94d490b8691236d356bc249c08819cbcef9273a1a30acf1254ff9ce157/xxhash-3.6.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:339f518c3c7a850dd033ab416ea25a692759dc7478a71131fe8869010d2b75e4", size = 197669, upload-time = "2025-10-02T14:34:03.664Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/36/c4f219ef4a17a4f7a64ed3569bc2b5a9c8311abdb22249ac96093625b1a4/xxhash-3.6.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:bf48889c9630542d4709192578aebbd836177c9f7a4a2778a7d6340107c65f06", size = 210018, upload-time = "2025-10-02T14:34:05.325Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/06/bfac889a374fc2fc439a69223d1750eed2e18a7db8514737ab630534fa08/xxhash-3.6.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:5576b002a56207f640636056b4160a378fe36a58db73ae5c27a7ec8db35f71d4", size = 413058, upload-time = "2025-10-02T14:34:06.925Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/d1/555d8447e0dd32ad0930a249a522bb2e289f0d08b6b16204cfa42c1f5a0c/xxhash-3.6.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:af1f3278bd02814d6dedc5dec397993b549d6f16c19379721e5a1d31e132c49b", size = 190628, upload-time = "2025-10-02T14:34:08.669Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/15/8751330b5186cedc4ed4b597989882ea05e0408b53fa47bcb46a6125bfc6/xxhash-3.6.0-cp310-cp310-win32.whl", hash = "sha256:aed058764db109dc9052720da65fafe84873b05eb8b07e5e653597951af57c3b", size = 30577, upload-time = "2025-10-02T14:34:10.234Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/cc/53f87e8b5871a6eb2ff7e89c48c66093bda2be52315a8161ddc54ea550c4/xxhash-3.6.0-cp310-cp310-win_amd64.whl", hash = "sha256:e82da5670f2d0d98950317f82a0e4a0197150ff19a6df2ba40399c2a3b9ae5fb", size = 31487, upload-time = "2025-10-02T14:34:11.618Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/00/60f9ea3bb697667a14314d7269956f58bf56bb73864f8f8d52a3c2535e9a/xxhash-3.6.0-cp310-cp310-win_arm64.whl", hash = "sha256:4a082ffff8c6ac07707fb6b671caf7c6e020c75226c561830b73d862060f281d", size = 27863, upload-time = "2025-10-02T14:34:12.619Z" },
+ { url = "https://files.pythonhosted.org/packages/17/d4/cc2f0400e9154df4b9964249da78ebd72f318e35ccc425e9f403c392f22a/xxhash-3.6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b47bbd8cf2d72797f3c2772eaaac0ded3d3af26481a26d7d7d41dc2d3c46b04a", size = 32844, upload-time = "2025-10-02T14:34:14.037Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/ec/1cc11cd13e26ea8bc3cb4af4eaadd8d46d5014aebb67be3f71fb0b68802a/xxhash-3.6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2b6821e94346f96db75abaa6e255706fb06ebd530899ed76d32cd99f20dc52fa", size = 30809, upload-time = "2025-10-02T14:34:15.484Z" },
+ { url = "https://files.pythonhosted.org/packages/04/5f/19fe357ea348d98ca22f456f75a30ac0916b51c753e1f8b2e0e6fb884cce/xxhash-3.6.0-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d0a9751f71a1a65ce3584e9cae4467651c7e70c9d31017fa57574583a4540248", size = 194665, upload-time = "2025-10-02T14:34:16.541Z" },
+ { url = "https://files.pythonhosted.org/packages/90/3b/d1f1a8f5442a5fd8beedae110c5af7604dc37349a8e16519c13c19a9a2de/xxhash-3.6.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8b29ee68625ab37b04c0b40c3fafdf24d2f75ccd778333cfb698f65f6c463f62", size = 213550, upload-time = "2025-10-02T14:34:17.878Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ef/3a9b05eb527457d5db13a135a2ae1a26c80fecd624d20f3e8dcc4cb170f3/xxhash-3.6.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6812c25fe0d6c36a46ccb002f40f27ac903bf18af9f6dd8f9669cb4d176ab18f", size = 212384, upload-time = "2025-10-02T14:34:19.182Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/18/ccc194ee698c6c623acbf0f8c2969811a8a4b6185af5e824cd27b9e4fd3e/xxhash-3.6.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4ccbff013972390b51a18ef1255ef5ac125c92dc9143b2d1909f59abc765540e", size = 445749, upload-time = "2025-10-02T14:34:20.659Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/86/cf2c0321dc3940a7aa73076f4fd677a0fb3e405cb297ead7d864fd90847e/xxhash-3.6.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:297b7fbf86c82c550e12e8fb71968b3f033d27b874276ba3624ea868c11165a8", size = 193880, upload-time = "2025-10-02T14:34:22.431Z" },
+ { url = "https://files.pythonhosted.org/packages/82/fb/96213c8560e6f948a1ecc9a7613f8032b19ee45f747f4fca4eb31bb6d6ed/xxhash-3.6.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:dea26ae1eb293db089798d3973a5fc928a18fdd97cc8801226fae705b02b14b0", size = 210912, upload-time = "2025-10-02T14:34:23.937Z" },
+ { url = "https://files.pythonhosted.org/packages/40/aa/4395e669b0606a096d6788f40dbdf2b819d6773aa290c19e6e83cbfc312f/xxhash-3.6.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7a0b169aafb98f4284f73635a8e93f0735f9cbde17bd5ec332480484241aaa77", size = 198654, upload-time = "2025-10-02T14:34:25.644Z" },
+ { url = "https://files.pythonhosted.org/packages/67/74/b044fcd6b3d89e9b1b665924d85d3f400636c23590226feb1eb09e1176ce/xxhash-3.6.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:08d45aef063a4531b785cd72de4887766d01dc8f362a515693df349fdb825e0c", size = 210867, upload-time = "2025-10-02T14:34:27.203Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/fd/3ce73bf753b08cb19daee1eb14aa0d7fe331f8da9c02dd95316ddfe5275e/xxhash-3.6.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:929142361a48ee07f09121fe9e96a84950e8d4df3bb298ca5d88061969f34d7b", size = 414012, upload-time = "2025-10-02T14:34:28.409Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/b3/5a4241309217c5c876f156b10778f3ab3af7ba7e3259e6d5f5c7d0129eb2/xxhash-3.6.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:51312c768403d8540487dbbfb557454cfc55589bbde6424456951f7fcd4facb3", size = 191409, upload-time = "2025-10-02T14:34:29.696Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/01/99bfbc15fb9abb9a72b088c1d95219fc4782b7d01fc835bd5744d66dd0b8/xxhash-3.6.0-cp311-cp311-win32.whl", hash = "sha256:d1927a69feddc24c987b337ce81ac15c4720955b667fe9b588e02254b80446fd", size = 30574, upload-time = "2025-10-02T14:34:31.028Z" },
+ { url = "https://files.pythonhosted.org/packages/65/79/9d24d7f53819fe301b231044ea362ce64e86c74f6e8c8e51320de248b3e5/xxhash-3.6.0-cp311-cp311-win_amd64.whl", hash = "sha256:26734cdc2d4ffe449b41d186bbeac416f704a482ed835d375a5c0cb02bc63fef", size = 31481, upload-time = "2025-10-02T14:34:32.062Z" },
+ { url = "https://files.pythonhosted.org/packages/30/4e/15cd0e3e8772071344eab2961ce83f6e485111fed8beb491a3f1ce100270/xxhash-3.6.0-cp311-cp311-win_arm64.whl", hash = "sha256:d72f67ef8bf36e05f5b6c65e8524f265bd61071471cd4cf1d36743ebeeeb06b7", size = 27861, upload-time = "2025-10-02T14:34:33.555Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/07/d9412f3d7d462347e4511181dea65e47e0d0e16e26fbee2ea86a2aefb657/xxhash-3.6.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:01362c4331775398e7bb34e3ab403bc9ee9f7c497bc7dee6272114055277dd3c", size = 32744, upload-time = "2025-10-02T14:34:34.622Z" },
+ { url = "https://files.pythonhosted.org/packages/79/35/0429ee11d035fc33abe32dca1b2b69e8c18d236547b9a9b72c1929189b9a/xxhash-3.6.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b7b2df81a23f8cb99656378e72501b2cb41b1827c0f5a86f87d6b06b69f9f204", size = 30816, upload-time = "2025-10-02T14:34:36.043Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/f2/57eb99aa0f7d98624c0932c5b9a170e1806406cdbcdb510546634a1359e0/xxhash-3.6.0-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:dc94790144e66b14f67b10ac8ed75b39ca47536bf8800eb7c24b50271ea0c490", size = 194035, upload-time = "2025-10-02T14:34:37.354Z" },
+ { url = "https://files.pythonhosted.org/packages/4c/ed/6224ba353690d73af7a3f1c7cdb1fc1b002e38f783cb991ae338e1eb3d79/xxhash-3.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:93f107c673bccf0d592cdba077dedaf52fe7f42dcd7676eba1f6d6f0c3efffd2", size = 212914, upload-time = "2025-10-02T14:34:38.6Z" },
+ { url = "https://files.pythonhosted.org/packages/38/86/fb6b6130d8dd6b8942cc17ab4d90e223653a89aa32ad2776f8af7064ed13/xxhash-3.6.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2aa5ee3444c25b69813663c9f8067dcfaa2e126dc55e8dddf40f4d1c25d7effa", size = 212163, upload-time = "2025-10-02T14:34:39.872Z" },
+ { url = "https://files.pythonhosted.org/packages/ee/dc/e84875682b0593e884ad73b2d40767b5790d417bde603cceb6878901d647/xxhash-3.6.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f7f99123f0e1194fa59cc69ad46dbae2e07becec5df50a0509a808f90a0f03f0", size = 445411, upload-time = "2025-10-02T14:34:41.569Z" },
+ { url = "https://files.pythonhosted.org/packages/11/4f/426f91b96701ec2f37bb2b8cec664eff4f658a11f3fa9d94f0a887ea6d2b/xxhash-3.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:49e03e6fe2cac4a1bc64952dd250cf0dbc5ef4ebb7b8d96bce82e2de163c82a2", size = 193883, upload-time = "2025-10-02T14:34:43.249Z" },
+ { url = "https://files.pythonhosted.org/packages/53/5a/ddbb83eee8e28b778eacfc5a85c969673e4023cdeedcfcef61f36731610b/xxhash-3.6.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bd17fede52a17a4f9a7bc4472a5867cb0b160deeb431795c0e4abe158bc784e9", size = 210392, upload-time = "2025-10-02T14:34:45.042Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/c2/ff69efd07c8c074ccdf0a4f36fcdd3d27363665bcdf4ba399abebe643465/xxhash-3.6.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:6fb5f5476bef678f69db04f2bd1efbed3030d2aba305b0fc1773645f187d6a4e", size = 197898, upload-time = "2025-10-02T14:34:46.302Z" },
+ { url = "https://files.pythonhosted.org/packages/58/ca/faa05ac19b3b622c7c9317ac3e23954187516298a091eb02c976d0d3dd45/xxhash-3.6.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:843b52f6d88071f87eba1631b684fcb4b2068cd2180a0224122fe4ef011a9374", size = 210655, upload-time = "2025-10-02T14:34:47.571Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/7a/06aa7482345480cc0cb597f5c875b11a82c3953f534394f620b0be2f700c/xxhash-3.6.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:7d14a6cfaf03b1b6f5f9790f76880601ccc7896aff7ab9cd8978a939c1eb7e0d", size = 414001, upload-time = "2025-10-02T14:34:49.273Z" },
+ { url = "https://files.pythonhosted.org/packages/23/07/63ffb386cd47029aa2916b3d2f454e6cc5b9f5c5ada3790377d5430084e7/xxhash-3.6.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:418daf3db71e1413cfe211c2f9a528456936645c17f46b5204705581a45390ae", size = 191431, upload-time = "2025-10-02T14:34:50.798Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/93/14fde614cadb4ddf5e7cebf8918b7e8fac5ae7861c1875964f17e678205c/xxhash-3.6.0-cp312-cp312-win32.whl", hash = "sha256:50fc255f39428a27299c20e280d6193d8b63b8ef8028995323bf834a026b4fbb", size = 30617, upload-time = "2025-10-02T14:34:51.954Z" },
+ { url = "https://files.pythonhosted.org/packages/13/5d/0d125536cbe7565a83d06e43783389ecae0c0f2ed037b48ede185de477c0/xxhash-3.6.0-cp312-cp312-win_amd64.whl", hash = "sha256:c0f2ab8c715630565ab8991b536ecded9416d615538be8ecddce43ccf26cbc7c", size = 31534, upload-time = "2025-10-02T14:34:53.276Z" },
+ { url = "https://files.pythonhosted.org/packages/54/85/6ec269b0952ec7e36ba019125982cf11d91256a778c7c3f98a4c5043d283/xxhash-3.6.0-cp312-cp312-win_arm64.whl", hash = "sha256:eae5c13f3bc455a3bbb68bdc513912dc7356de7e2280363ea235f71f54064829", size = 27876, upload-time = "2025-10-02T14:34:54.371Z" },
+ { url = "https://files.pythonhosted.org/packages/33/76/35d05267ac82f53ae9b0e554da7c5e281ee61f3cad44c743f0fcd354f211/xxhash-3.6.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:599e64ba7f67472481ceb6ee80fa3bd828fd61ba59fb11475572cc5ee52b89ec", size = 32738, upload-time = "2025-10-02T14:34:55.839Z" },
+ { url = "https://files.pythonhosted.org/packages/31/a8/3fbce1cd96534a95e35d5120637bf29b0d7f5d8fa2f6374e31b4156dd419/xxhash-3.6.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7d8b8aaa30fca4f16f0c84a5c8d7ddee0e25250ec2796c973775373257dde8f1", size = 30821, upload-time = "2025-10-02T14:34:57.219Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/ea/d387530ca7ecfa183cb358027f1833297c6ac6098223fd14f9782cd0015c/xxhash-3.6.0-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:d597acf8506d6e7101a4a44a5e428977a51c0fadbbfd3c39650cca9253f6e5a6", size = 194127, upload-time = "2025-10-02T14:34:59.21Z" },
+ { url = "https://files.pythonhosted.org/packages/ba/0c/71435dcb99874b09a43b8d7c54071e600a7481e42b3e3ce1eb5226a5711a/xxhash-3.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:858dc935963a33bc33490128edc1c12b0c14d9c7ebaa4e387a7869ecc4f3e263", size = 212975, upload-time = "2025-10-02T14:35:00.816Z" },
+ { url = "https://files.pythonhosted.org/packages/84/7a/c2b3d071e4bb4a90b7057228a99b10d51744878f4a8a6dd643c8bd897620/xxhash-3.6.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ba284920194615cb8edf73bf52236ce2e1664ccd4a38fdb543506413529cc546", size = 212241, upload-time = "2025-10-02T14:35:02.207Z" },
+ { url = "https://files.pythonhosted.org/packages/81/5f/640b6eac0128e215f177df99eadcd0f1b7c42c274ab6a394a05059694c5a/xxhash-3.6.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4b54219177f6c6674d5378bd862c6aedf64725f70dd29c472eaae154df1a2e89", size = 445471, upload-time = "2025-10-02T14:35:03.61Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/1e/3c3d3ef071b051cc3abbe3721ffb8365033a172613c04af2da89d5548a87/xxhash-3.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:42c36dd7dbad2f5238950c377fcbf6811b1cdb1c444fab447960030cea60504d", size = 193936, upload-time = "2025-10-02T14:35:05.013Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/bd/4a5f68381939219abfe1c22a9e3a5854a4f6f6f3c4983a87d255f21f2e5d/xxhash-3.6.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f22927652cba98c44639ffdc7aaf35828dccf679b10b31c4ad72a5b530a18eb7", size = 210440, upload-time = "2025-10-02T14:35:06.239Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/37/b80fe3d5cfb9faff01a02121a0f4d565eb7237e9e5fc66e73017e74dcd36/xxhash-3.6.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b45fad44d9c5c119e9c6fbf2e1c656a46dc68e280275007bbfd3d572b21426db", size = 197990, upload-time = "2025-10-02T14:35:07.735Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/fd/2c0a00c97b9e18f72e1f240ad4e8f8a90fd9d408289ba9c7c495ed7dc05c/xxhash-3.6.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:6f2580ffab1a8b68ef2b901cde7e55fa8da5e4be0977c68f78fc80f3c143de42", size = 210689, upload-time = "2025-10-02T14:35:09.438Z" },
+ { url = "https://files.pythonhosted.org/packages/93/86/5dd8076a926b9a95db3206aba20d89a7fc14dd5aac16e5c4de4b56033140/xxhash-3.6.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:40c391dd3cd041ebc3ffe6f2c862f402e306eb571422e0aa918d8070ba31da11", size = 414068, upload-time = "2025-10-02T14:35:11.162Z" },
+ { url = "https://files.pythonhosted.org/packages/af/3c/0bb129170ee8f3650f08e993baee550a09593462a5cddd8e44d0011102b1/xxhash-3.6.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:f205badabde7aafd1a31e8ca2a3e5a763107a71c397c4481d6a804eb5063d8bd", size = 191495, upload-time = "2025-10-02T14:35:12.971Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/3a/6797e0114c21d1725e2577508e24006fd7ff1d8c0c502d3b52e45c1771d8/xxhash-3.6.0-cp313-cp313-win32.whl", hash = "sha256:2577b276e060b73b73a53042ea5bd5203d3e6347ce0d09f98500f418a9fcf799", size = 30620, upload-time = "2025-10-02T14:35:14.129Z" },
+ { url = "https://files.pythonhosted.org/packages/86/15/9bc32671e9a38b413a76d24722a2bf8784a132c043063a8f5152d390b0f9/xxhash-3.6.0-cp313-cp313-win_amd64.whl", hash = "sha256:757320d45d2fbcce8f30c42a6b2f47862967aea7bf458b9625b4bbe7ee390392", size = 31542, upload-time = "2025-10-02T14:35:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/39/c5/cc01e4f6188656e56112d6a8e0dfe298a16934b8c47a247236549a3f7695/xxhash-3.6.0-cp313-cp313-win_arm64.whl", hash = "sha256:457b8f85dec5825eed7b69c11ae86834a018b8e3df5e77783c999663da2f96d6", size = 27880, upload-time = "2025-10-02T14:35:16.315Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/30/25e5321c8732759e930c555176d37e24ab84365482d257c3b16362235212/xxhash-3.6.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a42e633d75cdad6d625434e3468126c73f13f7584545a9cf34e883aa1710e702", size = 32956, upload-time = "2025-10-02T14:35:17.413Z" },
+ { url = "https://files.pythonhosted.org/packages/9f/3c/0573299560d7d9f8ab1838f1efc021a280b5ae5ae2e849034ef3dee18810/xxhash-3.6.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:568a6d743219e717b07b4e03b0a828ce593833e498c3b64752e0f5df6bfe84db", size = 31072, upload-time = "2025-10-02T14:35:18.844Z" },
+ { url = "https://files.pythonhosted.org/packages/7a/1c/52d83a06e417cd9d4137722693424885cc9878249beb3a7c829e74bf7ce9/xxhash-3.6.0-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:bec91b562d8012dae276af8025a55811b875baace6af510412a5e58e3121bc54", size = 196409, upload-time = "2025-10-02T14:35:20.31Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/8e/c6d158d12a79bbd0b878f8355432075fc82759e356ab5a111463422a239b/xxhash-3.6.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:78e7f2f4c521c30ad5e786fdd6bae89d47a32672a80195467b5de0480aa97b1f", size = 215736, upload-time = "2025-10-02T14:35:21.616Z" },
+ { url = "https://files.pythonhosted.org/packages/bc/68/c4c80614716345d55071a396cf03d06e34b5f4917a467faf43083c995155/xxhash-3.6.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3ed0df1b11a79856df5ffcab572cbd6b9627034c1c748c5566fa79df9048a7c5", size = 214833, upload-time = "2025-10-02T14:35:23.32Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/e9/ae27c8ffec8b953efa84c7c4a6c6802c263d587b9fc0d6e7cea64e08c3af/xxhash-3.6.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0e4edbfc7d420925b0dd5e792478ed393d6e75ff8fc219a6546fb446b6a417b1", size = 448348, upload-time = "2025-10-02T14:35:25.111Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/6b/33e21afb1b5b3f46b74b6bd1913639066af218d704cc0941404ca717fc57/xxhash-3.6.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fba27a198363a7ef87f8c0f6b171ec36b674fe9053742c58dd7e3201c1ab30ee", size = 196070, upload-time = "2025-10-02T14:35:26.586Z" },
+ { url = "https://files.pythonhosted.org/packages/96/b6/fcabd337bc5fa624e7203aa0fa7d0c49eed22f72e93229431752bddc83d9/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:794fe9145fe60191c6532fa95063765529770edcdd67b3d537793e8004cabbfd", size = 212907, upload-time = "2025-10-02T14:35:28.087Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/d3/9ee6160e644d660fcf176c5825e61411c7f62648728f69c79ba237250143/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:6105ef7e62b5ac73a837778efc331a591d8442f8ef5c7e102376506cb4ae2729", size = 200839, upload-time = "2025-10-02T14:35:29.857Z" },
+ { url = "https://files.pythonhosted.org/packages/0d/98/e8de5baa5109394baf5118f5e72ab21a86387c4f89b0e77ef3e2f6b0327b/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:f01375c0e55395b814a679b3eea205db7919ac2af213f4a6682e01220e5fe292", size = 213304, upload-time = "2025-10-02T14:35:31.222Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/1d/71056535dec5c3177eeb53e38e3d367dd1d16e024e63b1cee208d572a033/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:d706dca2d24d834a4661619dcacf51a75c16d65985718d6a7d73c1eeeb903ddf", size = 416930, upload-time = "2025-10-02T14:35:32.517Z" },
+ { url = "https://files.pythonhosted.org/packages/dc/6c/5cbde9de2cd967c322e651c65c543700b19e7ae3e0aae8ece3469bf9683d/xxhash-3.6.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:5f059d9faeacd49c0215d66f4056e1326c80503f51a1532ca336a385edadd033", size = 193787, upload-time = "2025-10-02T14:35:33.827Z" },
+ { url = "https://files.pythonhosted.org/packages/19/fa/0172e350361d61febcea941b0cc541d6e6c8d65d153e85f850a7b256ff8a/xxhash-3.6.0-cp313-cp313t-win32.whl", hash = "sha256:1244460adc3a9be84731d72b8e80625788e5815b68da3da8b83f78115a40a7ec", size = 30916, upload-time = "2025-10-02T14:35:35.107Z" },
+ { url = "https://files.pythonhosted.org/packages/ad/e6/e8cf858a2b19d6d45820f072eff1bea413910592ff17157cabc5f1227a16/xxhash-3.6.0-cp313-cp313t-win_amd64.whl", hash = "sha256:b1e420ef35c503869c4064f4a2f2b08ad6431ab7b229a05cce39d74268bca6b8", size = 31799, upload-time = "2025-10-02T14:35:36.165Z" },
+ { url = "https://files.pythonhosted.org/packages/56/15/064b197e855bfb7b343210e82490ae672f8bc7cdf3ddb02e92f64304ee8a/xxhash-3.6.0-cp313-cp313t-win_arm64.whl", hash = "sha256:ec44b73a4220623235f67a996c862049f375df3b1052d9899f40a6382c32d746", size = 28044, upload-time = "2025-10-02T14:35:37.195Z" },
+ { url = "https://files.pythonhosted.org/packages/7e/5e/0138bc4484ea9b897864d59fce9be9086030825bc778b76cb5a33a906d37/xxhash-3.6.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:a40a3d35b204b7cc7643cbcf8c9976d818cb47befcfac8bbefec8038ac363f3e", size = 32754, upload-time = "2025-10-02T14:35:38.245Z" },
+ { url = "https://files.pythonhosted.org/packages/18/d7/5dac2eb2ec75fd771957a13e5dda560efb2176d5203f39502a5fc571f899/xxhash-3.6.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a54844be970d3fc22630b32d515e79a90d0a3ddb2644d8d7402e3c4c8da61405", size = 30846, upload-time = "2025-10-02T14:35:39.6Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/71/8bc5be2bb00deb5682e92e8da955ebe5fa982da13a69da5a40a4c8db12fb/xxhash-3.6.0-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:016e9190af8f0a4e3741343777710e3d5717427f175adfdc3e72508f59e2a7f3", size = 194343, upload-time = "2025-10-02T14:35:40.69Z" },
+ { url = "https://files.pythonhosted.org/packages/e7/3b/52badfb2aecec2c377ddf1ae75f55db3ba2d321c5e164f14461c90837ef3/xxhash-3.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4f6f72232f849eb9d0141e2ebe2677ece15adfd0fa599bc058aad83c714bb2c6", size = 213074, upload-time = "2025-10-02T14:35:42.29Z" },
+ { url = "https://files.pythonhosted.org/packages/a2/2b/ae46b4e9b92e537fa30d03dbc19cdae57ed407e9c26d163895e968e3de85/xxhash-3.6.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:63275a8aba7865e44b1813d2177e0f5ea7eadad3dd063a21f7cf9afdc7054063", size = 212388, upload-time = "2025-10-02T14:35:43.929Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/80/49f88d3afc724b4ac7fbd664c8452d6db51b49915be48c6982659e0e7942/xxhash-3.6.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3cd01fa2aa00d8b017c97eb46b9a794fbdca53fc14f845f5a328c71254b0abb7", size = 445614, upload-time = "2025-10-02T14:35:45.216Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/ba/603ce3961e339413543d8cd44f21f2c80e2a7c5cfe692a7b1f2cccf58f3c/xxhash-3.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0226aa89035b62b6a86d3c68df4d7c1f47a342b8683da2b60cedcddb46c4d95b", size = 194024, upload-time = "2025-10-02T14:35:46.959Z" },
+ { url = "https://files.pythonhosted.org/packages/78/d1/8e225ff7113bf81545cfdcd79eef124a7b7064a0bba53605ff39590b95c2/xxhash-3.6.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c6e193e9f56e4ca4923c61238cdaced324f0feac782544eb4c6d55ad5cc99ddd", size = 210541, upload-time = "2025-10-02T14:35:48.301Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/58/0f89d149f0bad89def1a8dd38feb50ccdeb643d9797ec84707091d4cb494/xxhash-3.6.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:9176dcaddf4ca963d4deb93866d739a343c01c969231dbe21680e13a5d1a5bf0", size = 198305, upload-time = "2025-10-02T14:35:49.584Z" },
+ { url = "https://files.pythonhosted.org/packages/11/38/5eab81580703c4df93feb5f32ff8fa7fe1e2c51c1f183ee4e48d4bb9d3d7/xxhash-3.6.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:c1ce4009c97a752e682b897aa99aef84191077a9433eb237774689f14f8ec152", size = 210848, upload-time = "2025-10-02T14:35:50.877Z" },
+ { url = "https://files.pythonhosted.org/packages/5e/6b/953dc4b05c3ce678abca756416e4c130d2382f877a9c30a20d08ee6a77c0/xxhash-3.6.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:8cb2f4f679b01513b7adbb9b1b2f0f9cdc31b70007eaf9d59d0878809f385b11", size = 414142, upload-time = "2025-10-02T14:35:52.15Z" },
+ { url = "https://files.pythonhosted.org/packages/08/a9/238ec0d4e81a10eb5026d4a6972677cbc898ba6c8b9dbaec12ae001b1b35/xxhash-3.6.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:653a91d7c2ab54a92c19ccf43508b6a555440b9be1bc8be553376778be7f20b5", size = 191547, upload-time = "2025-10-02T14:35:53.547Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/ee/3cf8589e06c2164ac77c3bf0aa127012801128f1feebf2a079272da5737c/xxhash-3.6.0-cp314-cp314-win32.whl", hash = "sha256:a756fe893389483ee8c394d06b5ab765d96e68fbbfe6fde7aa17e11f5720559f", size = 31214, upload-time = "2025-10-02T14:35:54.746Z" },
+ { url = "https://files.pythonhosted.org/packages/02/5d/a19552fbc6ad4cb54ff953c3908bbc095f4a921bc569433d791f755186f1/xxhash-3.6.0-cp314-cp314-win_amd64.whl", hash = "sha256:39be8e4e142550ef69629c9cd71b88c90e9a5db703fecbcf265546d9536ca4ad", size = 32290, upload-time = "2025-10-02T14:35:55.791Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/11/dafa0643bc30442c887b55baf8e73353a344ee89c1901b5a5c54a6c17d39/xxhash-3.6.0-cp314-cp314-win_arm64.whl", hash = "sha256:25915e6000338999236f1eb68a02a32c3275ac338628a7eaa5a269c401995679", size = 28795, upload-time = "2025-10-02T14:35:57.162Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/db/0e99732ed7f64182aef4a6fb145e1a295558deec2a746265dcdec12d191e/xxhash-3.6.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c5294f596a9017ca5a3e3f8884c00b91ab2ad2933cf288f4923c3fd4346cf3d4", size = 32955, upload-time = "2025-10-02T14:35:58.267Z" },
+ { url = "https://files.pythonhosted.org/packages/55/f4/2a7c3c68e564a099becfa44bb3d398810cc0ff6749b0d3cb8ccb93f23c14/xxhash-3.6.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1cf9dcc4ab9cff01dfbba78544297a3a01dafd60f3bde4e2bfd016cf7e4ddc67", size = 31072, upload-time = "2025-10-02T14:35:59.382Z" },
+ { url = "https://files.pythonhosted.org/packages/c6/d9/72a29cddc7250e8a5819dad5d466facb5dc4c802ce120645630149127e73/xxhash-3.6.0-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:01262da8798422d0685f7cef03b2bd3f4f46511b02830861df548d7def4402ad", size = 196579, upload-time = "2025-10-02T14:36:00.838Z" },
+ { url = "https://files.pythonhosted.org/packages/63/93/b21590e1e381040e2ca305a884d89e1c345b347404f7780f07f2cdd47ef4/xxhash-3.6.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:51a73fb7cb3a3ead9f7a8b583ffd9b8038e277cdb8cb87cf890e88b3456afa0b", size = 215854, upload-time = "2025-10-02T14:36:02.207Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/b8/edab8a7d4fa14e924b29be877d54155dcbd8b80be85ea00d2be3413a9ed4/xxhash-3.6.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:b9c6df83594f7df8f7f708ce5ebeacfc69f72c9fbaaababf6cf4758eaada0c9b", size = 214965, upload-time = "2025-10-02T14:36:03.507Z" },
+ { url = "https://files.pythonhosted.org/packages/27/67/dfa980ac7f0d509d54ea0d5a486d2bb4b80c3f1bb22b66e6a05d3efaf6c0/xxhash-3.6.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:627f0af069b0ea56f312fd5189001c24578868643203bca1abbc2c52d3a6f3ca", size = 448484, upload-time = "2025-10-02T14:36:04.828Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/63/8ffc2cc97e811c0ca5d00ab36604b3ea6f4254f20b7bc658ca825ce6c954/xxhash-3.6.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:aa912c62f842dfd013c5f21a642c9c10cd9f4c4e943e0af83618b4a404d9091a", size = 196162, upload-time = "2025-10-02T14:36:06.182Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/77/07f0e7a3edd11a6097e990f6e5b815b6592459cb16dae990d967693e6ea9/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:b465afd7909db30168ab62afe40b2fcf79eedc0b89a6c0ab3123515dc0df8b99", size = 213007, upload-time = "2025-10-02T14:36:07.733Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/d8/bc5fa0d152837117eb0bef6f83f956c509332ce133c91c63ce07ee7c4873/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:a881851cf38b0a70e7c4d3ce81fc7afd86fbc2a024f4cfb2a97cf49ce04b75d3", size = 200956, upload-time = "2025-10-02T14:36:09.106Z" },
+ { url = "https://files.pythonhosted.org/packages/26/a5/d749334130de9411783873e9b98ecc46688dad5db64ca6e04b02acc8b473/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:9b3222c686a919a0f3253cfc12bb118b8b103506612253b5baeaac10d8027cf6", size = 213401, upload-time = "2025-10-02T14:36:10.585Z" },
+ { url = "https://files.pythonhosted.org/packages/89/72/abed959c956a4bfc72b58c0384bb7940663c678127538634d896b1195c10/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:c5aa639bc113e9286137cec8fadc20e9cd732b2cc385c0b7fa673b84fc1f2a93", size = 417083, upload-time = "2025-10-02T14:36:12.276Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/b3/62fd2b586283b7d7d665fb98e266decadf31f058f1cf6c478741f68af0cb/xxhash-3.6.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5c1343d49ac102799905e115aee590183c3921d475356cb24b4de29a4bc56518", size = 193913, upload-time = "2025-10-02T14:36:14.025Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/c19c42c5b3f5a4aad748a6d5b4f23df3bed7ee5445accc65a0fb3ff03953/xxhash-3.6.0-cp314-cp314t-win32.whl", hash = "sha256:5851f033c3030dd95c086b4a36a2683c2ff4a799b23af60977188b057e467119", size = 31586, upload-time = "2025-10-02T14:36:15.603Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d6/4cc450345be9924fd5dc8c590ceda1db5b43a0a889587b0ae81a95511360/xxhash-3.6.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0444e7967dac37569052d2409b00a8860c2135cff05502df4da80267d384849f", size = 32526, upload-time = "2025-10-02T14:36:16.708Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/c9/7243eb3f9eaabd1a88a5a5acadf06df2d83b100c62684b7425c6a11bcaa8/xxhash-3.6.0-cp314-cp314t-win_arm64.whl", hash = "sha256:bb79b1e63f6fd84ec778a4b1916dfe0a7c3fdb986c06addd5db3a0d413819d95", size = 28898, upload-time = "2025-10-02T14:36:17.843Z" },
+ { url = "https://files.pythonhosted.org/packages/93/1e/8aec23647a34a249f62e2398c42955acd9b4c6ed5cf08cbea94dc46f78d2/xxhash-3.6.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:0f7b7e2ec26c1666ad5fc9dbfa426a6a3367ceaf79db5dd76264659d509d73b0", size = 30662, upload-time = "2025-10-02T14:37:01.743Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/0b/b14510b38ba91caf43006209db846a696ceea6a847a0c9ba0a5b1adc53d6/xxhash-3.6.0-pp311-pypy311_pp73-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:5dc1e14d14fa0f5789ec29a7062004b5933964bb9b02aae6622b8f530dc40296", size = 41056, upload-time = "2025-10-02T14:37:02.879Z" },
+ { url = "https://files.pythonhosted.org/packages/50/55/15a7b8a56590e66ccd374bbfa3f9ffc45b810886c8c3b614e3f90bd2367c/xxhash-3.6.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:881b47fc47e051b37d94d13e7455131054b56749b91b508b0907eb07900d1c13", size = 36251, upload-time = "2025-10-02T14:37:04.44Z" },
+ { url = "https://files.pythonhosted.org/packages/62/b2/5ac99a041a29e58e95f907876b04f7067a0242cb85b5f39e726153981503/xxhash-3.6.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c6dc31591899f5e5666f04cc2e529e69b4072827085c1ef15294d91a004bc1bd", size = 32481, upload-time = "2025-10-02T14:37:05.869Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/d9/8d95e906764a386a3d3b596f3c68bb63687dfca806373509f51ce8eea81f/xxhash-3.6.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:15e0dac10eb9309508bfc41f7f9deaa7755c69e35af835db9cb10751adebc35d", size = 31565, upload-time = "2025-10-02T14:37:06.966Z" },
+]
+
+[[package]]
+name = "zstandard"
+version = "0.25.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fd/aa/3e0508d5a5dd96529cdc5a97011299056e14c6505b678fd58938792794b1/zstandard-0.25.0.tar.gz", hash = "sha256:7713e1179d162cf5c7906da876ec2ccb9c3a9dcbdffef0cc7f70c3667a205f0b", size = 711513, upload-time = "2025-09-14T22:15:54.002Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/56/7a/28efd1d371f1acd037ac64ed1c5e2b41514a6cc937dd6ab6a13ab9f0702f/zstandard-0.25.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e59fdc271772f6686e01e1b3b74537259800f57e24280be3f29c8a0deb1904dd", size = 795256, upload-time = "2025-09-14T22:15:56.415Z" },
+ { url = "https://files.pythonhosted.org/packages/96/34/ef34ef77f1ee38fc8e4f9775217a613b452916e633c4f1d98f31db52c4a5/zstandard-0.25.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:4d441506e9b372386a5271c64125f72d5df6d2a8e8a2a45a0ae09b03cb781ef7", size = 640565, upload-time = "2025-09-14T22:15:58.177Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/1b/4fdb2c12eb58f31f28c4d28e8dc36611dd7205df8452e63f52fb6261d13e/zstandard-0.25.0-cp310-cp310-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:ab85470ab54c2cb96e176f40342d9ed41e58ca5733be6a893b730e7af9c40550", size = 5345306, upload-time = "2025-09-14T22:16:00.165Z" },
+ { url = "https://files.pythonhosted.org/packages/73/28/a44bdece01bca027b079f0e00be3b6bd89a4df180071da59a3dd7381665b/zstandard-0.25.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:e05ab82ea7753354bb054b92e2f288afb750e6b439ff6ca78af52939ebbc476d", size = 5055561, upload-time = "2025-09-14T22:16:02.22Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/74/68341185a4f32b274e0fc3410d5ad0750497e1acc20bd0f5b5f64ce17785/zstandard-0.25.0-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:78228d8a6a1c177a96b94f7e2e8d012c55f9c760761980da16ae7546a15a8e9b", size = 5402214, upload-time = "2025-09-14T22:16:04.109Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/67/f92e64e748fd6aaffe01e2b75a083c0c4fd27abe1c8747fee4555fcee7dd/zstandard-0.25.0-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:2b6bd67528ee8b5c5f10255735abc21aa106931f0dbaf297c7be0c886353c3d0", size = 5449703, upload-time = "2025-09-14T22:16:06.312Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/e5/6d36f92a197c3c17729a2125e29c169f460538a7d939a27eaaa6dcfcba8e/zstandard-0.25.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4b6d83057e713ff235a12e73916b6d356e3084fd3d14ced499d84240f3eecee0", size = 5556583, upload-time = "2025-09-14T22:16:08.457Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/83/41939e60d8d7ebfe2b747be022d0806953799140a702b90ffe214d557638/zstandard-0.25.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:9174f4ed06f790a6869b41cba05b43eeb9a35f8993c4422ab853b705e8112bbd", size = 5045332, upload-time = "2025-09-14T22:16:10.444Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/87/d3ee185e3d1aa0133399893697ae91f221fda79deb61adbe998a7235c43f/zstandard-0.25.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:25f8f3cd45087d089aef5ba3848cd9efe3ad41163d3400862fb42f81a3a46701", size = 5572283, upload-time = "2025-09-14T22:16:12.128Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/1d/58635ae6104df96671076ac7d4ae7816838ce7debd94aecf83e30b7121b0/zstandard-0.25.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3756b3e9da9b83da1796f8809dd57cb024f838b9eeafde28f3cb472012797ac1", size = 4959754, upload-time = "2025-09-14T22:16:14.225Z" },
+ { url = "https://files.pythonhosted.org/packages/75/d6/57e9cb0a9983e9a229dd8fd2e6e96593ef2aa82a3907188436f22b111ccd/zstandard-0.25.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:81dad8d145d8fd981b2962b686b2241d3a1ea07733e76a2f15435dfb7fb60150", size = 5266477, upload-time = "2025-09-14T22:16:16.343Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/a9/ee891e5edf33a6ebce0a028726f0bbd8567effe20fe3d5808c42323e8542/zstandard-0.25.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:a5a419712cf88862a45a23def0ae063686db3d324cec7edbe40509d1a79a0aab", size = 5440914, upload-time = "2025-09-14T22:16:18.453Z" },
+ { url = "https://files.pythonhosted.org/packages/58/08/a8522c28c08031a9521f27abc6f78dbdee7312a7463dd2cfc658b813323b/zstandard-0.25.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:e7360eae90809efd19b886e59a09dad07da4ca9ba096752e61a2e03c8aca188e", size = 5819847, upload-time = "2025-09-14T22:16:20.559Z" },
+ { url = "https://files.pythonhosted.org/packages/6f/11/4c91411805c3f7b6f31c60e78ce347ca48f6f16d552fc659af6ec3b73202/zstandard-0.25.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:75ffc32a569fb049499e63ce68c743155477610532da1eb38e7f24bf7cd29e74", size = 5363131, upload-time = "2025-09-14T22:16:22.206Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/d6/8c4bd38a3b24c4c7676a7a3d8de85d6ee7a983602a734b9f9cdefb04a5d6/zstandard-0.25.0-cp310-cp310-win32.whl", hash = "sha256:106281ae350e494f4ac8a80470e66d1fe27e497052c8d9c3b95dc4cf1ade81aa", size = 436469, upload-time = "2025-09-14T22:16:25.002Z" },
+ { url = "https://files.pythonhosted.org/packages/93/90/96d50ad417a8ace5f841b3228e93d1bb13e6ad356737f42e2dde30d8bd68/zstandard-0.25.0-cp310-cp310-win_amd64.whl", hash = "sha256:ea9d54cc3d8064260114a0bbf3479fc4a98b21dffc89b3459edd506b69262f6e", size = 506100, upload-time = "2025-09-14T22:16:23.569Z" },
+ { url = "https://files.pythonhosted.org/packages/2a/83/c3ca27c363d104980f1c9cee1101cc8ba724ac8c28a033ede6aab89585b1/zstandard-0.25.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:933b65d7680ea337180733cf9e87293cc5500cc0eb3fc8769f4d3c88d724ec5c", size = 795254, upload-time = "2025-09-14T22:16:26.137Z" },
+ { url = "https://files.pythonhosted.org/packages/ac/4d/e66465c5411a7cf4866aeadc7d108081d8ceba9bc7abe6b14aa21c671ec3/zstandard-0.25.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a3f79487c687b1fc69f19e487cd949bf3aae653d181dfb5fde3bf6d18894706f", size = 640559, upload-time = "2025-09-14T22:16:27.973Z" },
+ { url = "https://files.pythonhosted.org/packages/12/56/354fe655905f290d3b147b33fe946b0f27e791e4b50a5f004c802cb3eb7b/zstandard-0.25.0-cp311-cp311-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:0bbc9a0c65ce0eea3c34a691e3c4b6889f5f3909ba4822ab385fab9057099431", size = 5348020, upload-time = "2025-09-14T22:16:29.523Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/13/2b7ed68bd85e69a2069bcc72141d378f22cae5a0f3b353a2c8f50ef30c1b/zstandard-0.25.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:01582723b3ccd6939ab7b3a78622c573799d5d8737b534b86d0e06ac18dbde4a", size = 5058126, upload-time = "2025-09-14T22:16:31.811Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/dd/fdaf0674f4b10d92cb120ccff58bbb6626bf8368f00ebfd2a41ba4a0dc99/zstandard-0.25.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:5f1ad7bf88535edcf30038f6919abe087f606f62c00a87d7e33e7fc57cb69fcc", size = 5405390, upload-time = "2025-09-14T22:16:33.486Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/67/354d1555575bc2490435f90d67ca4dd65238ff2f119f30f72d5cde09c2ad/zstandard-0.25.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:06acb75eebeedb77b69048031282737717a63e71e4ae3f77cc0c3b9508320df6", size = 5452914, upload-time = "2025-09-14T22:16:35.277Z" },
+ { url = "https://files.pythonhosted.org/packages/bb/1f/e9cfd801a3f9190bf3e759c422bbfd2247db9d7f3d54a56ecde70137791a/zstandard-0.25.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:9300d02ea7c6506f00e627e287e0492a5eb0371ec1670ae852fefffa6164b072", size = 5559635, upload-time = "2025-09-14T22:16:37.141Z" },
+ { url = "https://files.pythonhosted.org/packages/21/88/5ba550f797ca953a52d708c8e4f380959e7e3280af029e38fbf47b55916e/zstandard-0.25.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:bfd06b1c5584b657a2892a6014c2f4c20e0db0208c159148fa78c65f7e0b0277", size = 5048277, upload-time = "2025-09-14T22:16:38.807Z" },
+ { url = "https://files.pythonhosted.org/packages/46/c0/ca3e533b4fa03112facbe7fbe7779cb1ebec215688e5df576fe5429172e0/zstandard-0.25.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f373da2c1757bb7f1acaf09369cdc1d51d84131e50d5fa9863982fd626466313", size = 5574377, upload-time = "2025-09-14T22:16:40.523Z" },
+ { url = "https://files.pythonhosted.org/packages/12/9b/3fb626390113f272abd0799fd677ea33d5fc3ec185e62e6be534493c4b60/zstandard-0.25.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6c0e5a65158a7946e7a7affa6418878ef97ab66636f13353b8502d7ea03c8097", size = 4961493, upload-time = "2025-09-14T22:16:43.3Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/d3/23094a6b6a4b1343b27ae68249daa17ae0651fcfec9ed4de09d14b940285/zstandard-0.25.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:c8e167d5adf59476fa3e37bee730890e389410c354771a62e3c076c86f9f7778", size = 5269018, upload-time = "2025-09-14T22:16:45.292Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/a7/bb5a0c1c0f3f4b5e9d5b55198e39de91e04ba7c205cc46fcb0f95f0383c1/zstandard-0.25.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:98750a309eb2f020da61e727de7d7ba3c57c97cf6213f6f6277bb7fb42a8e065", size = 5443672, upload-time = "2025-09-14T22:16:47.076Z" },
+ { url = "https://files.pythonhosted.org/packages/27/22/503347aa08d073993f25109c36c8d9f029c7d5949198050962cb568dfa5e/zstandard-0.25.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:22a086cff1b6ceca18a8dd6096ec631e430e93a8e70a9ca5efa7561a00f826fa", size = 5822753, upload-time = "2025-09-14T22:16:49.316Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/be/94267dc6ee64f0f8ba2b2ae7c7a2df934a816baaa7291db9e1aa77394c3c/zstandard-0.25.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:72d35d7aa0bba323965da807a462b0966c91608ef3a48ba761678cb20ce5d8b7", size = 5366047, upload-time = "2025-09-14T22:16:51.328Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/a3/732893eab0a3a7aecff8b99052fecf9f605cf0fb5fb6d0290e36beee47a4/zstandard-0.25.0-cp311-cp311-win32.whl", hash = "sha256:f5aeea11ded7320a84dcdd62a3d95b5186834224a9e55b92ccae35d21a8b63d4", size = 436484, upload-time = "2025-09-14T22:16:55.005Z" },
+ { url = "https://files.pythonhosted.org/packages/43/a3/c6155f5c1cce691cb80dfd38627046e50af3ee9ddc5d0b45b9b063bfb8c9/zstandard-0.25.0-cp311-cp311-win_amd64.whl", hash = "sha256:daab68faadb847063d0c56f361a289c4f268706b598afbf9ad113cbe5c38b6b2", size = 506183, upload-time = "2025-09-14T22:16:52.753Z" },
+ { url = "https://files.pythonhosted.org/packages/8c/3e/8945ab86a0820cc0e0cdbf38086a92868a9172020fdab8a03ac19662b0e5/zstandard-0.25.0-cp311-cp311-win_arm64.whl", hash = "sha256:22a06c5df3751bb7dc67406f5374734ccee8ed37fc5981bf1ad7041831fa1137", size = 462533, upload-time = "2025-09-14T22:16:53.878Z" },
+ { url = "https://files.pythonhosted.org/packages/82/fc/f26eb6ef91ae723a03e16eddb198abcfce2bc5a42e224d44cc8b6765e57e/zstandard-0.25.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7b3c3a3ab9daa3eed242d6ecceead93aebbb8f5f84318d82cee643e019c4b73b", size = 795738, upload-time = "2025-09-14T22:16:56.237Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/1c/d920d64b22f8dd028a8b90e2d756e431a5d86194caa78e3819c7bf53b4b3/zstandard-0.25.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:913cbd31a400febff93b564a23e17c3ed2d56c064006f54efec210d586171c00", size = 640436, upload-time = "2025-09-14T22:16:57.774Z" },
+ { url = "https://files.pythonhosted.org/packages/53/6c/288c3f0bd9fcfe9ca41e2c2fbfd17b2097f6af57b62a81161941f09afa76/zstandard-0.25.0-cp312-cp312-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:011d388c76b11a0c165374ce660ce2c8efa8e5d87f34996aa80f9c0816698b64", size = 5343019, upload-time = "2025-09-14T22:16:59.302Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/15/efef5a2f204a64bdb5571e6161d49f7ef0fffdbca953a615efbec045f60f/zstandard-0.25.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6dffecc361d079bb48d7caef5d673c88c8988d3d33fb74ab95b7ee6da42652ea", size = 5063012, upload-time = "2025-09-14T22:17:01.156Z" },
+ { url = "https://files.pythonhosted.org/packages/b7/37/a6ce629ffdb43959e92e87ebdaeebb5ac81c944b6a75c9c47e300f85abdf/zstandard-0.25.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7149623bba7fdf7e7f24312953bcf73cae103db8cae49f8154dd1eadc8a29ecb", size = 5394148, upload-time = "2025-09-14T22:17:03.091Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/79/2bf870b3abeb5c070fe2d670a5a8d1057a8270f125ef7676d29ea900f496/zstandard-0.25.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6a573a35693e03cf1d67799fd01b50ff578515a8aeadd4595d2a7fa9f3ec002a", size = 5451652, upload-time = "2025-09-14T22:17:04.979Z" },
+ { url = "https://files.pythonhosted.org/packages/53/60/7be26e610767316c028a2cbedb9a3beabdbe33e2182c373f71a1c0b88f36/zstandard-0.25.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5a56ba0db2d244117ed744dfa8f6f5b366e14148e00de44723413b2f3938a902", size = 5546993, upload-time = "2025-09-14T22:17:06.781Z" },
+ { url = "https://files.pythonhosted.org/packages/85/c7/3483ad9ff0662623f3648479b0380d2de5510abf00990468c286c6b04017/zstandard-0.25.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:10ef2a79ab8e2974e2075fb984e5b9806c64134810fac21576f0668e7ea19f8f", size = 5046806, upload-time = "2025-09-14T22:17:08.415Z" },
+ { url = "https://files.pythonhosted.org/packages/08/b3/206883dd25b8d1591a1caa44b54c2aad84badccf2f1de9e2d60a446f9a25/zstandard-0.25.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:aaf21ba8fb76d102b696781bddaa0954b782536446083ae3fdaa6f16b25a1c4b", size = 5576659, upload-time = "2025-09-14T22:17:10.164Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/31/76c0779101453e6c117b0ff22565865c54f48f8bd807df2b00c2c404b8e0/zstandard-0.25.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:1869da9571d5e94a85a5e8d57e4e8807b175c9e4a6294e3b66fa4efb074d90f6", size = 4953933, upload-time = "2025-09-14T22:17:11.857Z" },
+ { url = "https://files.pythonhosted.org/packages/18/e1/97680c664a1bf9a247a280a053d98e251424af51f1b196c6d52f117c9720/zstandard-0.25.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:809c5bcb2c67cd0ed81e9229d227d4ca28f82d0f778fc5fea624a9def3963f91", size = 5268008, upload-time = "2025-09-14T22:17:13.627Z" },
+ { url = "https://files.pythonhosted.org/packages/1e/73/316e4010de585ac798e154e88fd81bb16afc5c5cb1a72eeb16dd37e8024a/zstandard-0.25.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:f27662e4f7dbf9f9c12391cb37b4c4c3cb90ffbd3b1fb9284dadbbb8935fa708", size = 5433517, upload-time = "2025-09-14T22:17:16.103Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/60/dd0f8cfa8129c5a0ce3ea6b7f70be5b33d2618013a161e1ff26c2b39787c/zstandard-0.25.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:99c0c846e6e61718715a3c9437ccc625de26593fea60189567f0118dc9db7512", size = 5814292, upload-time = "2025-09-14T22:17:17.827Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/5f/75aafd4b9d11b5407b641b8e41a57864097663699f23e9ad4dbb91dc6bfe/zstandard-0.25.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:474d2596a2dbc241a556e965fb76002c1ce655445e4e3bf38e5477d413165ffa", size = 5360237, upload-time = "2025-09-14T22:17:19.954Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/8d/0309daffea4fcac7981021dbf21cdb2e3427a9e76bafbcdbdf5392ff99a4/zstandard-0.25.0-cp312-cp312-win32.whl", hash = "sha256:23ebc8f17a03133b4426bcc04aabd68f8236eb78c3760f12783385171b0fd8bd", size = 436922, upload-time = "2025-09-14T22:17:24.398Z" },
+ { url = "https://files.pythonhosted.org/packages/79/3b/fa54d9015f945330510cb5d0b0501e8253c127cca7ebe8ba46a965df18c5/zstandard-0.25.0-cp312-cp312-win_amd64.whl", hash = "sha256:ffef5a74088f1e09947aecf91011136665152e0b4b359c42be3373897fb39b01", size = 506276, upload-time = "2025-09-14T22:17:21.429Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/6b/8b51697e5319b1f9ac71087b0af9a40d8a6288ff8025c36486e0c12abcc4/zstandard-0.25.0-cp312-cp312-win_arm64.whl", hash = "sha256:181eb40e0b6a29b3cd2849f825e0fa34397f649170673d385f3598ae17cca2e9", size = 462679, upload-time = "2025-09-14T22:17:23.147Z" },
+ { url = "https://files.pythonhosted.org/packages/35/0b/8df9c4ad06af91d39e94fa96cc010a24ac4ef1378d3efab9223cc8593d40/zstandard-0.25.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec996f12524f88e151c339688c3897194821d7f03081ab35d31d1e12ec975e94", size = 795735, upload-time = "2025-09-14T22:17:26.042Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/06/9ae96a3e5dcfd119377ba33d4c42a7d89da1efabd5cb3e366b156c45ff4d/zstandard-0.25.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a1a4ae2dec3993a32247995bdfe367fc3266da832d82f8438c8570f989753de1", size = 640440, upload-time = "2025-09-14T22:17:27.366Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/14/933d27204c2bd404229c69f445862454dcc101cd69ef8c6068f15aaec12c/zstandard-0.25.0-cp313-cp313-manylinux2010_i686.manylinux2014_i686.manylinux_2_12_i686.manylinux_2_17_i686.whl", hash = "sha256:e96594a5537722fdfb79951672a2a63aec5ebfb823e7560586f7484819f2a08f", size = 5343070, upload-time = "2025-09-14T22:17:28.896Z" },
+ { url = "https://files.pythonhosted.org/packages/6d/db/ddb11011826ed7db9d0e485d13df79b58586bfdec56e5c84a928a9a78c1c/zstandard-0.25.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:bfc4e20784722098822e3eee42b8e576b379ed72cca4a7cb856ae733e62192ea", size = 5063001, upload-time = "2025-09-14T22:17:31.044Z" },
+ { url = "https://files.pythonhosted.org/packages/db/00/87466ea3f99599d02a5238498b87bf84a6348290c19571051839ca943777/zstandard-0.25.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:457ed498fc58cdc12fc48f7950e02740d4f7ae9493dd4ab2168a47c93c31298e", size = 5394120, upload-time = "2025-09-14T22:17:32.711Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/95/fc5531d9c618a679a20ff6c29e2b3ef1d1f4ad66c5e161ae6ff847d102a9/zstandard-0.25.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:fd7a5004eb1980d3cefe26b2685bcb0b17989901a70a1040d1ac86f1d898c551", size = 5451230, upload-time = "2025-09-14T22:17:34.41Z" },
+ { url = "https://files.pythonhosted.org/packages/63/4b/e3678b4e776db00f9f7b2fe58e547e8928ef32727d7a1ff01dea010f3f13/zstandard-0.25.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8e735494da3db08694d26480f1493ad2cf86e99bdd53e8e9771b2752a5c0246a", size = 5547173, upload-time = "2025-09-14T22:17:36.084Z" },
+ { url = "https://files.pythonhosted.org/packages/4e/d5/ba05ed95c6b8ec30bd468dfeab20589f2cf709b5c940483e31d991f2ca58/zstandard-0.25.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:3a39c94ad7866160a4a46d772e43311a743c316942037671beb264e395bdd611", size = 5046736, upload-time = "2025-09-14T22:17:37.891Z" },
+ { url = "https://files.pythonhosted.org/packages/50/d5/870aa06b3a76c73eced65c044b92286a3c4e00554005ff51962deef28e28/zstandard-0.25.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:172de1f06947577d3a3005416977cce6168f2261284c02080e7ad0185faeced3", size = 5576368, upload-time = "2025-09-14T22:17:40.206Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/35/398dc2ffc89d304d59bc12f0fdd931b4ce455bddf7038a0a67733a25f550/zstandard-0.25.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:3c83b0188c852a47cd13ef3bf9209fb0a77fa5374958b8c53aaa699398c6bd7b", size = 4954022, upload-time = "2025-09-14T22:17:41.879Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/5c/36ba1e5507d56d2213202ec2b05e8541734af5f2ce378c5d1ceaf4d88dc4/zstandard-0.25.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:1673b7199bbe763365b81a4f3252b8e80f44c9e323fc42940dc8843bfeaf9851", size = 5267889, upload-time = "2025-09-14T22:17:43.577Z" },
+ { url = "https://files.pythonhosted.org/packages/70/e8/2ec6b6fb7358b2ec0113ae202647ca7c0e9d15b61c005ae5225ad0995df5/zstandard-0.25.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:0be7622c37c183406f3dbf0cba104118eb16a4ea7359eeb5752f0794882fc250", size = 5433952, upload-time = "2025-09-14T22:17:45.271Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/01/b5f4d4dbc59ef193e870495c6f1275f5b2928e01ff5a81fecb22a06e22fb/zstandard-0.25.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:5f5e4c2a23ca271c218ac025bd7d635597048b366d6f31f420aaeb715239fc98", size = 5814054, upload-time = "2025-09-14T22:17:47.08Z" },
+ { url = "https://files.pythonhosted.org/packages/b2/e5/fbd822d5c6f427cf158316d012c5a12f233473c2f9c5fe5ab1ae5d21f3d8/zstandard-0.25.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4f187a0bb61b35119d1926aee039524d1f93aaf38a9916b8c4b78ac8514a0aaf", size = 5360113, upload-time = "2025-09-14T22:17:48.893Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/e0/69a553d2047f9a2c7347caa225bb3a63b6d7704ad74610cb7823baa08ed7/zstandard-0.25.0-cp313-cp313-win32.whl", hash = "sha256:7030defa83eef3e51ff26f0b7bfb229f0204b66fe18e04359ce3474ac33cbc09", size = 436936, upload-time = "2025-09-14T22:17:52.658Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/82/b9c06c870f3bd8767c201f1edbdf9e8dc34be5b0fbc5682c4f80fe948475/zstandard-0.25.0-cp313-cp313-win_amd64.whl", hash = "sha256:1f830a0dac88719af0ae43b8b2d6aef487d437036468ef3c2ea59c51f9d55fd5", size = 506232, upload-time = "2025-09-14T22:17:50.402Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/57/60c3c01243bb81d381c9916e2a6d9e149ab8627c0c7d7abb2d73384b3c0c/zstandard-0.25.0-cp313-cp313-win_arm64.whl", hash = "sha256:85304a43f4d513f5464ceb938aa02c1e78c2943b29f44a750b48b25ac999a049", size = 462671, upload-time = "2025-09-14T22:17:51.533Z" },
+ { url = "https://files.pythonhosted.org/packages/3d/5c/f8923b595b55fe49e30612987ad8bf053aef555c14f05bb659dd5dbe3e8a/zstandard-0.25.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:e29f0cf06974c899b2c188ef7f783607dbef36da4c242eb6c82dcd8b512855e3", size = 795887, upload-time = "2025-09-14T22:17:54.198Z" },
+ { url = "https://files.pythonhosted.org/packages/8d/09/d0a2a14fc3439c5f874042dca72a79c70a532090b7ba0003be73fee37ae2/zstandard-0.25.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:05df5136bc5a011f33cd25bc9f506e7426c0c9b3f9954f056831ce68f3b6689f", size = 640658, upload-time = "2025-09-14T22:17:55.423Z" },
+ { url = "https://files.pythonhosted.org/packages/5d/7c/8b6b71b1ddd517f68ffb55e10834388d4f793c49c6b83effaaa05785b0b4/zstandard-0.25.0-cp314-cp314-manylinux2010_i686.manylinux_2_12_i686.manylinux_2_28_i686.whl", hash = "sha256:f604efd28f239cc21b3adb53eb061e2a205dc164be408e553b41ba2ffe0ca15c", size = 5379849, upload-time = "2025-09-14T22:17:57.372Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/86/a48e56320d0a17189ab7a42645387334fba2200e904ee47fc5a26c1fd8ca/zstandard-0.25.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:223415140608d0f0da010499eaa8ccdb9af210a543fac54bce15babbcfc78439", size = 5058095, upload-time = "2025-09-14T22:17:59.498Z" },
+ { url = "https://files.pythonhosted.org/packages/f8/ad/eb659984ee2c0a779f9d06dbfe45e2dc39d99ff40a319895df2d3d9a48e5/zstandard-0.25.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2e54296a283f3ab5a26fc9b8b5d4978ea0532f37b231644f367aa588930aa043", size = 5551751, upload-time = "2025-09-14T22:18:01.618Z" },
+ { url = "https://files.pythonhosted.org/packages/61/b3/b637faea43677eb7bd42ab204dfb7053bd5c4582bfe6b1baefa80ac0c47b/zstandard-0.25.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ca54090275939dc8ec5dea2d2afb400e0f83444b2fc24e07df7fdef677110859", size = 6364818, upload-time = "2025-09-14T22:18:03.769Z" },
+ { url = "https://files.pythonhosted.org/packages/31/dc/cc50210e11e465c975462439a492516a73300ab8caa8f5e0902544fd748b/zstandard-0.25.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e09bb6252b6476d8d56100e8147b803befa9a12cea144bbe629dd508800d1ad0", size = 5560402, upload-time = "2025-09-14T22:18:05.954Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/ae/56523ae9c142f0c08efd5e868a6da613ae76614eca1305259c3bf6a0ed43/zstandard-0.25.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a9ec8c642d1ec73287ae3e726792dd86c96f5681eb8df274a757bf62b750eae7", size = 4955108, upload-time = "2025-09-14T22:18:07.68Z" },
+ { url = "https://files.pythonhosted.org/packages/98/cf/c899f2d6df0840d5e384cf4c4121458c72802e8bda19691f3b16619f51e9/zstandard-0.25.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a4089a10e598eae6393756b036e0f419e8c1d60f44a831520f9af41c14216cf2", size = 5269248, upload-time = "2025-09-14T22:18:09.753Z" },
+ { url = "https://files.pythonhosted.org/packages/1b/c0/59e912a531d91e1c192d3085fc0f6fb2852753c301a812d856d857ea03c6/zstandard-0.25.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:f67e8f1a324a900e75b5e28ffb152bcac9fbed1cc7b43f99cd90f395c4375344", size = 5430330, upload-time = "2025-09-14T22:18:11.966Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/1d/7e31db1240de2df22a58e2ea9a93fc6e38cc29353e660c0272b6735d6669/zstandard-0.25.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:9654dbc012d8b06fc3d19cc825af3f7bf8ae242226df5f83936cb39f5fdc846c", size = 5811123, upload-time = "2025-09-14T22:18:13.907Z" },
+ { url = "https://files.pythonhosted.org/packages/f6/49/fac46df5ad353d50535e118d6983069df68ca5908d4d65b8c466150a4ff1/zstandard-0.25.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:4203ce3b31aec23012d3a4cf4a2ed64d12fea5269c49aed5e4c3611b938e4088", size = 5359591, upload-time = "2025-09-14T22:18:16.465Z" },
+ { url = "https://files.pythonhosted.org/packages/c2/38/f249a2050ad1eea0bb364046153942e34abba95dd5520af199aed86fbb49/zstandard-0.25.0-cp314-cp314-win32.whl", hash = "sha256:da469dc041701583e34de852d8634703550348d5822e66a0c827d39b05365b12", size = 444513, upload-time = "2025-09-14T22:18:20.61Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/43/241f9615bcf8ba8903b3f0432da069e857fc4fd1783bd26183db53c4804b/zstandard-0.25.0-cp314-cp314-win_amd64.whl", hash = "sha256:c19bcdd826e95671065f8692b5a4aa95c52dc7a02a4c5a0cac46deb879a017a2", size = 516118, upload-time = "2025-09-14T22:18:17.849Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/ef/da163ce2450ed4febf6467d77ccb4cd52c4c30ab45624bad26ca0a27260c/zstandard-0.25.0-cp314-cp314-win_arm64.whl", hash = "sha256:d7541afd73985c630bafcd6338d2518ae96060075f9463d7dc14cfb33514383d", size = 476940, upload-time = "2025-09-14T22:18:19.088Z" },
+]
diff --git a/western_ai/usa/meta-llama/.github/ISSUE_TEMPLATE/bug_report.md b/western_ai/usa/meta-llama/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000000000000000000000000000000000000..3bd896df829b20f1e724f2519cd9034ebadeb376
--- /dev/null
+++ b/western_ai/usa/meta-llama/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,38 @@
+---
+name: Bug report
+about: Create a report to help us reproduce and fix the issue
+title: ''
+labels: ''
+assignees: ''
+
+---
+
+**Before submitting a bug, please make sure the issue hasn't been already addressed by searching through the [FAQs](https://ai.meta.com/llama/faq/) and [existing/past issues](https://github.com/facebookresearch/llama/issues)**
+
+## Describe the bug
+
+
+### Minimal reproducible example
+
+
+```python
+# sample code to repro the bug
+```
+
+### Output
+
+
+```
+
+```
+
+## Runtime Environment
+- Model: [eg: `llama-2-7b-chat`]
+- Using via huggingface?: [yes/no]
+- OS: [eg. Linux/Ubuntu, Windows]
+- GPU VRAM:
+- Number of GPUs:
+- GPU Make: [eg: Nvidia, AMD, Intel]
+
+**Additional context**
+Add any other context about the problem or environment here.
diff --git a/western_ai/usa/meta-llama/.gitignore b/western_ai/usa/meta-llama/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..ca4f2a7016d88eb74014a2ede92a16ec3f095b0a
--- /dev/null
+++ b/western_ai/usa/meta-llama/.gitignore
@@ -0,0 +1,160 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+share/python-wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+MANIFEST
+
+# PyInstaller
+# Usually these files are written by a python script from a template
+# before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.nox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+*.py,cover
+.hypothesis/
+.pytest_cache/
+cover/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+db.sqlite3
+db.sqlite3-journal
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+.pybuilder/
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# IPython
+profile_default/
+ipython_config.py
+
+# pyenv
+# For a library or package, you might want to ignore these files since the code is
+# intended to run in multiple environments; otherwise, check them in:
+# .python-version
+
+# pipenv
+# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
+# However, in case of collaboration, if having platform-specific dependencies or dependencies
+# having no cross-platform support, pipenv may install dependencies that don't work, or not
+# install all needed dependencies.
+#Pipfile.lock
+
+# poetry
+# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
+# This is especially recommended for binary packages to ensure reproducibility, and is more
+# commonly ignored for libraries.
+# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
+#poetry.lock
+
+# pdm
+# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
+#pdm.lock
+# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
+# in version control.
+# https://pdm.fming.dev/#use-with-ide
+.pdm.toml
+
+# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
+__pypackages__/
+
+# Celery stuff
+celerybeat-schedule
+celerybeat.pid
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
+.dmypy.json
+dmypy.json
+
+# Pyre type checker
+.pyre/
+
+# pytype static type analyzer
+.pytype/
+
+# Cython debug symbols
+cython_debug/
+
+# PyCharm
+# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
+# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
+# and can be added to the global gitignore or merged into this file. For a more nuclear
+# option (not recommended) you can uncomment the following to ignore the entire idea folder.
+#.idea/
\ No newline at end of file
diff --git a/western_ai/usa/meta-llama/CODE_OF_CONDUCT.md b/western_ai/usa/meta-llama/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000000000000000000000000000000000000..40aa9bdbb33955943a05af843c597210fae5e17b
--- /dev/null
+++ b/western_ai/usa/meta-llama/CODE_OF_CONDUCT.md
@@ -0,0 +1,80 @@
+# Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to make participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, sex characteristics, gender identity and expression,
+level of experience, education, socio-economic status, nationality, personal
+appearance, race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or
+reject comments, commits, code, wiki edits, issues, and other contributions
+that are not aligned to this Code of Conduct, or to ban temporarily or
+permanently any contributor for other behaviors that they deem inappropriate,
+threatening, offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies within all project spaces, and it also applies when
+an individual is representing the project or its community in public spaces.
+Examples of representing a project or community include using an official
+project e-mail address, posting via an official social media account, or acting
+as an appointed representative at an online or offline event. Representation of
+a project may be further defined and clarified by project maintainers.
+
+This Code of Conduct also applies outside the project spaces when there is a
+reasonable belief that an individual's behavior may have a negative impact on
+the project or its community.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported by contacting the project team at . All
+complaints will be reviewed and investigated and will result in a response that
+is deemed necessary and appropriate to the circumstances. The project team is
+obligated to maintain confidentiality with regard to the reporter of an incident.
+Further details of specific enforcement policies may be posted separately.
+
+Project maintainers who do not follow or enforce the Code of Conduct in good
+faith may face temporary or permanent repercussions as determined by other
+members of the project's leadership.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
+available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
+
+[homepage]: https://www.contributor-covenant.org
+
+For answers to common questions about this code of conduct, see
+https://www.contributor-covenant.org/faq
\ No newline at end of file
diff --git a/western_ai/usa/meta-llama/CONTRIBUTING.md b/western_ai/usa/meta-llama/CONTRIBUTING.md
new file mode 100644
index 0000000000000000000000000000000000000000..563cda8362604dbbe12812e7333b3c964c126db2
--- /dev/null
+++ b/western_ai/usa/meta-llama/CONTRIBUTING.md
@@ -0,0 +1,37 @@
+# Contributing to Llama
+We want to make contributing to this project as easy and transparent as
+possible.
+
+## Pull Requests
+We welcome your pull requests.
+
+### For requests regarding bug-fixes or improvements to the core model:
+
+1. Fork the repo and create your branch from `main`.
+2. If you've added code that should be tested, add tests.
+3. If you've changed APIs, update the documentation.
+4. Ensure the test suite passes.
+5. Make sure your code lints.
+6. If you haven't already, complete the Contributor License Agreement ("CLA").
+
+### For requests regarding new feature support, adding additional platform support and model use cases, please contribute to the [llama-recipes repo](https://github.com/facebookresearch/llama-recipes).
+
+
+
+## Contributor License Agreement ("CLA")
+In order to accept your pull request, we need you to submit a CLA. You only need
+to do this once to work on any of Meta's open source projects.
+
+Complete your CLA here:
+
+## Issues
+We use GitHub issues to track public bugs. Please ensure your description is
+clear and has sufficient instructions to be able to reproduce the issue.
+
+Meta has a [bounty program](https://www.facebook.com/whitehat/) for the safe
+disclosure of security bugs. In those cases, please go through the process
+outlined on that page and do not file a public issue.
+
+## License
+By contributing to Llama, you agree that your contributions will be licensed
+under the LICENSE file in the root directory of this source tree.
\ No newline at end of file
diff --git a/western_ai/usa/meta-llama/LICENSE b/western_ai/usa/meta-llama/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..70dc16001064dcebf2ee1b1e2dcd063546b189e7
--- /dev/null
+++ b/western_ai/usa/meta-llama/LICENSE
@@ -0,0 +1,126 @@
+LLAMA 2 COMMUNITY LICENSE AGREEMENT
+Llama 2 Version Release Date: July 18, 2023
+
+"Agreement" means the terms and conditions for use, reproduction, distribution and
+modification of the Llama Materials set forth herein.
+
+"Documentation" means the specifications, manuals and documentation
+accompanying Llama 2 distributed by Meta at ai.meta.com/resources/models-and-
+libraries/llama-downloads/.
+
+"Licensee" or "you" means you, or your employer or any other person or entity (if
+you are entering into this Agreement on such person or entity's behalf), of the age
+required under applicable laws, rules or regulations to provide legal consent and that
+has legal authority to bind your employer or such other person or entity if you are
+entering in this Agreement on their behalf.
+
+"Llama 2" means the foundational large language models and software and
+algorithms, including machine-learning model code, trained model weights,
+inference-enabling code, training-enabling code, fine-tuning enabling code and other
+elements of the foregoing distributed by Meta at ai.meta.com/resources/models-and-
+libraries/llama-downloads/.
+
+"Llama Materials" means, collectively, Meta's proprietary Llama 2 and
+Documentation (and any portion thereof) made available under this Agreement.
+
+"Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or, if you
+are an entity, your principal place of business is in the EEA or Switzerland) and Meta
+Platforms, Inc. (if you are located outside of the EEA or Switzerland).
+
+By clicking "I Accept" below or by using or distributing any portion or element of the
+Llama Materials, you agree to be bound by this Agreement.
+
+1. License Rights and Redistribution.
+
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-
+transferable and royalty-free limited license under Meta's intellectual property or
+other rights owned by Meta embodied in the Llama Materials to use, reproduce,
+distribute, copy, create derivative works of, and make modifications to the Llama
+Materials.
+
+ b. Redistribution and Use.
+
+ i. If you distribute or make the Llama Materials, or any derivative works
+thereof, available to a third party, you shall provide a copy of this Agreement to such
+third party.
+ ii. If you receive Llama Materials, or any derivative works thereof, from
+a Licensee as part of an integrated end user product, then Section 2 of this
+Agreement will not apply to you.
+
+ iii. You must retain in all copies of the Llama Materials that you
+distribute the following attribution notice within a "Notice" text file distributed as a
+part of such copies: "Llama 2 is licensed under the LLAMA 2 Community License,
+Copyright (c) Meta Platforms, Inc. All Rights Reserved."
+
+ iv. Your use of the Llama Materials must comply with applicable laws
+and regulations (including trade compliance laws and regulations) and adhere to the
+Acceptable Use Policy for the Llama Materials (available at
+https://ai.meta.com/llama/use-policy), which is hereby incorporated by reference into
+this Agreement.
+
+ v. You will not use the Llama Materials or any output or results of the
+Llama Materials to improve any other large language model (excluding Llama 2 or
+derivative works thereof).
+
+2. Additional Commercial Terms. If, on the Llama 2 version release date, the
+monthly active users of the products or services made available by or for Licensee,
+or Licensee's affiliates, is greater than 700 million monthly active users in the
+preceding calendar month, you must request a license from Meta, which Meta may
+grant to you in its sole discretion, and you are not authorized to exercise any of the
+rights under this Agreement unless or until Meta otherwise expressly grants you
+such rights.
+
+3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE
+LLAMA MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE
+PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
+EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY
+WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR
+FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE
+FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING
+THE LLAMA MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR
+USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND RESULTS.
+
+4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE
+LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT,
+NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS
+AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL,
+CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN
+IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF
+ANY OF THE FOREGOING.
+
+5. Intellectual Property.
+
+ a. No trademark licenses are granted under this Agreement, and in
+connection with the Llama Materials, neither Meta nor Licensee may use any name
+or mark owned by or associated with the other or any of its affiliates, except as
+required for reasonable and customary use in describing and redistributing the
+Llama Materials.
+
+ b. Subject to Meta's ownership of Llama Materials and derivatives made by or
+for Meta, with respect to any derivative works and modifications of the Llama
+Materials that are made by you, as between you and Meta, you are and will be the
+owner of such derivative works and modifications.
+
+ c. If you institute litigation or other proceedings against Meta or any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging that the Llama
+Materials or Llama 2 outputs or results, or any portion of any of the foregoing,
+constitutes an infringement of intellectual property or other rights owned or licensable
+by you, then any licenses granted to you under this Agreement shall terminate as of
+the date such litigation or claim is filed or instituted. You will indemnify and hold
+harmless Meta from and against any claim by any third party arising out of or related
+to your use or distribution of the Llama Materials.
+
+6. Term and Termination. The term of this Agreement will commence upon your
+acceptance of this Agreement or access to the Llama Materials and will continue in
+full force and effect until terminated in accordance with the terms and conditions
+herein. Meta may terminate this Agreement if you are in breach of any term or
+condition of this Agreement. Upon termination of this Agreement, you shall delete
+and cease use of the Llama Materials. Sections 3, 4 and 7 shall survive the
+termination of this Agreement.
+
+7. Governing Law and Jurisdiction. This Agreement will be governed and
+construed under the laws of the State of California without regard to choice of law
+principles, and the UN Convention on Contracts for the International Sale of Goods
+does not apply to this Agreement. The courts of California shall have exclusive
+jurisdiction of any dispute arising out of this Agreement.
+
diff --git a/western_ai/usa/meta-llama/MODEL_CARD.md b/western_ai/usa/meta-llama/MODEL_CARD.md
new file mode 100644
index 0000000000000000000000000000000000000000..815c7bfd1ca54f93116467ebfac8417edc2ae96e
--- /dev/null
+++ b/western_ai/usa/meta-llama/MODEL_CARD.md
@@ -0,0 +1,100 @@
+# **Model Details**
+
+Meta developed and released the Llama 2 family of large language models (LLMs), a collection of pretrained and fine-tuned generative text models ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama-2-Chat, are optimized for dialogue use cases. Llama-2-Chat models outperform open-source chat models on most benchmarks we tested, and in our human evaluations for helpfulness and safety, are on par with some popular closed-source models like ChatGPT and PaLM.
+
+**Model Developers** Meta
+
+**Variations** Llama 2 comes in a range of parameter sizes — 7B, 13B, and 70B — as well as pretrained and fine-tuned variations.
+
+**Input** Models input text only.
+
+**Output** Models generate text only.
+
+**Model Architecture** Llama 2 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for helpfulness and safety.
+
+||Training Data|Params|Context Length|GQA|Tokens|LR|
+|---|---|---|---|---|---|---|
+Llama 2|*A new mix of publicly available online data*|7B|4k|✗|2.0T|3.0 x 10-4
+Llama 2|*A new mix of publicly available online data*|13B|4k|✗|2.0T|3.0 x 10-4
+Llama 2|*A new mix of publicly available online data*|70B|4k|✔|2.0T|1.5 x 10-4
+
+**Llama 2 family of models.** Token counts refer to pretraining data only. All models are trained with a global batch-size of 4M tokens. The 70B version uses Grouped-Query Attention (GQA) for improved inference scalability.
+
+**Model Dates** Llama 2 was trained between January 2023 and July 2023.
+
+**Status** This is a static model trained on an offline dataset. Future versions of the tuned models will be released as we improve model safety with community feedback.
+
+**License** A custom commercial license is available at: [https://ai.meta.com/resources/models-and-libraries/llama-downloads/](https://ai.meta.com/resources/models-and-libraries/llama-downloads/)
+
+**Research Paper** More information can be found in the paper "Llama-2: Open Foundation and Fine-tuned Chat Models", available at https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/.
+
+**Where to send questions or comments about the model** Instructions on how to provide feedback or comments on the model can be found in the model [README](README.md).
+
+# **Intended Use**
+**Intended Use Cases** Llama 2 is intended for commercial and research use in English. Tuned models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks.
+
+**Out-of-scope Uses** Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in any other way that is prohibited by the Acceptable Use Policy and Llama 2 Community License. Use in languages other than English**.
+
+**Note: Developers may fine-tune Llama 2 models for languages beyond English provided they comply with the Llama 2 Community License and the Acceptable Use Policy.
+
+# **Hardware and Software**
+**Training Factors** We used custom training libraries, Meta's Research Super Cluster, and production clusters for pretraining. Fine-tuning, annotation, and evaluation were also performed on third-party cloud compute.
+
+**Carbon Footprint** Pretraining utilized a cumulative 3.3M GPU hours of computation on hardware of type A100-80GB (TDP of 350-400W). Estimated total emissions were 539 tCO2eq, 100% of which were offset by Meta’s sustainability program.
+
+||Time (GPU hours)|Power Consumption (W)|Carbon Emitted(tCO2 eq)|
+|---|---|---|---|
+|Llama 2 7B|184320|400|31.22|
+|Llama 2 13B|368640|400|62.44|
+|Llama 2 70B|1720320|400|291.42|
+|Total|3311616||539.00|
+
+**CO2 emissions during pretraining.** Time: total GPU time required for training each model. Power Consumption: peak power capacity per GPU device for the GPUs used adjusted for power usage efficiency. 100% of the emissions are directly offset by Meta's sustainability program, and because we are openly releasing these models, the pretraining costs do not need to be incurred by others.
+
+# **Training Data**
+**Overview** Llama 2 was pretrained on 2 trillion tokens of data from publicly available sources. The fine-tuning data includes publicly available instruction datasets, as well as over one million new human-annotated examples. Neither the pretraining nor the fine-tuning datasets include Meta user data.
+
+**Data Freshness** The pretraining data has a cutoff of September 2022, but some tuning data is more recent, up to July 2023.
+
+# **Evaluation Results**
+
+In this section, we report the results for the Llama 1 and Llama 2 models on standard academic benchmarks.
+For all the evaluations, we use our internal evaluations library.
+
+|Model|Size|Code|Commonsense Reasoning|World Knowledge|Reading Comprehension|Math|MMLU|BBH|AGI Eval|
+|---|---|---|---|---|---|---|---|---|---|
+|Llama 1|7B|14.1|60.8|46.2|58.5|6.95|35.1|30.3|23.9|
+|Llama 1|13B|18.9|66.1|52.6|62.3|10.9|46.9|37.0|33.9|
+|Llama 1|33B|26.0|70.0|58.4|67.6|21.4|57.8|39.8|41.7|
+|Llama 1|65B|30.7|70.7|60.5|68.6|30.8|63.4|43.5|47.6|
+|Llama 2|7B|16.8|63.9|48.9|61.3|14.6|45.3|32.6|29.3|
+|Llama 2|13B|24.5|66.9|55.4|65.8|28.7|54.8|39.4|39.1|
+|Llama 2|70B|**37.5**|**71.9**|**63.6**|**69.4**|**35.2**|**68.9**|**51.2**|**54.2**|
+
+**Overall performance on grouped academic benchmarks.** *Code:* We report the average pass@1 scores of our models on HumanEval and MBPP. *Commonsense Reasoning:* We report the average of PIQA, SIQA, HellaSwag, WinoGrande, ARC easy and challenge, OpenBookQA, and CommonsenseQA. We report 7-shot results for CommonSenseQA and 0-shot results for all other benchmarks. *World Knowledge:* We evaluate the 5-shot performance on NaturalQuestions and TriviaQA and report the average. *Reading Comprehension:* For reading comprehension, we report the 0-shot average on SQuAD, QuAC, and BoolQ. *MATH:* We report the average of the GSM8K (8 shot) and MATH (4 shot) benchmarks at the top 1.
+
+|||TruthfulQA|Toxigen|
+|---|---|---|---|
+|Llama 1|7B|27.42|23.00|
+|Llama 1|13B|41.74|23.08|
+|Llama 1|33B|44.19|22.57|
+|Llama 1|65B|48.71|21.77|
+|Llama 2|7B|33.29|**21.25**|
+|Llama 2|13B|41.86|26.10|
+|Llama 2|70B|**50.18**|24.60|
+
+**Evaluation of pretrained LLMs on automatic safety benchmarks.** For TruthfulQA, we present the percentage of generations that are both truthful and informative (the higher the better). For ToxiGen, we present the percentage of toxic generations (the smaller the better).
+
+
+|||TruthfulQA|Toxigen|
+|---|---|---|---|
+|Llama-2-Chat|7B|57.04|**0.00**|
+|Llama-2-Chat|13B|62.18|**0.00**|
+|Llama-2-Chat|70B|**64.14**|0.01|
+
+**Evaluation of fine-tuned LLMs on different safety datasets.** Same metric definitions as above.
+
+# **Ethical Considerations and Limitations**
+Llama 2 is a new technology that carries risks with use. Testing conducted to date has been in English, and has not covered, nor could it cover all scenarios. For these reasons, as with all LLMs, Llama 2’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 2, developers should perform safety testing and tuning tailored to their specific applications of the model.
+
+Please see the Responsible Use Guide available at [https://ai.meta.com/llama/responsible-use-guide/](https://ai.meta.com/llama/responsible-use-guide/)
diff --git a/western_ai/usa/meta-llama/README.md b/western_ai/usa/meta-llama/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..ab1d30b9ebdcb760075b61a0889f33bf59522766
--- /dev/null
+++ b/western_ai/usa/meta-llama/README.md
@@ -0,0 +1,142 @@
+## **Note of deprecation**
+
+Thank you for developing with Llama models. As part of the Llama 3.1 release, we’ve consolidated GitHub repos and added some additional repos as we’ve expanded Llama’s functionality into being an e2e Llama Stack. Please use the following repos going forward:
+- [llama-models](https://github.com/meta-llama/llama-models) - Central repo for the foundation models including basic utilities, model cards, license and use policies
+- [PurpleLlama](https://github.com/meta-llama/PurpleLlama) - Key component of Llama Stack focusing on safety risks and inference time mitigations
+- [llama-toolchain](https://github.com/meta-llama/llama-toolchain) - Model development (inference/fine-tuning/safety shields/synthetic data generation) interfaces and canonical implementations
+- [llama-agentic-system](https://github.com/meta-llama/llama-agentic-system) - E2E standalone Llama Stack system, along with opinionated underlying interface, that enables creation of agentic applications
+- [llama-cookbook](https://github.com/meta-llama/llama-recipes) - Community driven scripts and integrations
+
+If you have any questions, please feel free to file an issue on any of the above repos and we will do our best to respond in a timely manner.
+
+Thank you!
+
+
+# (Deprecated) Llama 2
+
+We are unlocking the power of large language models. Llama 2 is now accessible to individuals, creators, researchers, and businesses of all sizes so that they can experiment, innovate, and scale their ideas responsibly.
+
+This release includes model weights and starting code for pre-trained and fine-tuned Llama language models — ranging from 7B to 70B parameters.
+
+This repository is intended as a minimal example to load [Llama 2](https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/) models and run inference. For more detailed examples leveraging Hugging Face, see [llama-cookbook](https://github.com/facebookresearch/llama-recipes/).
+
+## Updates post-launch
+
+See [UPDATES.md](UPDATES.md). Also for a running list of frequently asked questions, see [here](https://ai.meta.com/llama/faq/).
+
+## Download
+
+In order to download the model weights and tokenizer, please visit the [Meta website](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) and accept our License.
+
+Once your request is approved, you will receive a signed URL over email. Then run the download.sh script, passing the URL provided when prompted to start the download.
+
+Pre-requisites: Make sure you have `wget` and `md5sum` installed. Then run the script: `./download.sh`.
+
+Keep in mind that the links expire after 24 hours and a certain amount of downloads. If you start seeing errors such as `403: Forbidden`, you can always re-request a link.
+
+### Access to Hugging Face
+
+We are also providing downloads on [Hugging Face](https://huggingface.co/meta-llama). You can request access to the models by acknowledging the license and filling the form in the model card of a repo. After doing so, you should get access to all the Llama models of a version (Code Llama, Llama 2, or Llama Guard) within 1 hour.
+
+## Quick Start
+
+You can follow the steps below to quickly get up and running with Llama 2 models. These steps will let you run quick inference locally. For more examples, see the [Llama 2 cookbook repository](https://github.com/facebookresearch/llama-recipes).
+
+1. In a conda env with PyTorch / CUDA available clone and download this repository.
+
+2. In the top-level directory run:
+ ```bash
+ pip install -e .
+ ```
+3. Visit the [Meta website](https://ai.meta.com/resources/models-and-libraries/llama-downloads/) and register to download the model/s.
+
+4. Once registered, you will get an email with a URL to download the models. You will need this URL when you run the download.sh script.
+
+5. Once you get the email, navigate to your downloaded llama repository and run the download.sh script.
+ - Make sure to grant execution permissions to the download.sh script
+ - During this process, you will be prompted to enter the URL from the email.
+ - Do not use the “Copy Link” option but rather make sure to manually copy the link from the email.
+
+6. Once the model/s you want have been downloaded, you can run the model locally using the command below:
+```bash
+torchrun --nproc_per_node 1 example_chat_completion.py \
+ --ckpt_dir llama-2-7b-chat/ \
+ --tokenizer_path tokenizer.model \
+ --max_seq_len 512 --max_batch_size 6
+```
+**Note**
+- Replace `llama-2-7b-chat/` with the path to your checkpoint directory and `tokenizer.model` with the path to your tokenizer model.
+- The `–nproc_per_node` should be set to the [MP](#inference) value for the model you are using.
+- Adjust the `max_seq_len` and `max_batch_size` parameters as needed.
+- This example runs the [example_chat_completion.py](example_chat_completion.py) found in this repository but you can change that to a different .py file.
+
+## Inference
+
+Different models require different model-parallel (MP) values:
+
+| Model | MP |
+|--------|----|
+| 7B | 1 |
+| 13B | 2 |
+| 70B | 8 |
+
+All models support sequence length up to 4096 tokens, but we pre-allocate the cache according to `max_seq_len` and `max_batch_size` values. So set those according to your hardware.
+
+### Pretrained Models
+
+These models are not finetuned for chat or Q&A. They should be prompted so that the expected answer is the natural continuation of the prompt.
+
+See `example_text_completion.py` for some examples. To illustrate, see the command below to run it with the llama-2-7b model (`nproc_per_node` needs to be set to the `MP` value):
+
+```
+torchrun --nproc_per_node 1 example_text_completion.py \
+ --ckpt_dir llama-2-7b/ \
+ --tokenizer_path tokenizer.model \
+ --max_seq_len 128 --max_batch_size 4
+```
+
+### Fine-tuned Chat Models
+
+The fine-tuned models were trained for dialogue applications. To get the expected features and performance for them, a specific formatting defined in [`chat_completion`](https://github.com/facebookresearch/llama/blob/main/llama/generation.py#L212)
+needs to be followed, including the `INST` and `<>` tags, `BOS` and `EOS` tokens, and the whitespaces and breaklines in between (we recommend calling `strip()` on inputs to avoid double-spaces).
+
+You can also deploy additional classifiers for filtering out inputs and outputs that are deemed unsafe. See the llama-cookbook repo for [an example](https://github.com/facebookresearch/llama-recipes/blob/main/examples/inference.py) of how to add a safety checker to the inputs and outputs of your inference code.
+
+Examples using llama-2-7b-chat:
+
+```
+torchrun --nproc_per_node 1 example_chat_completion.py \
+ --ckpt_dir llama-2-7b-chat/ \
+ --tokenizer_path tokenizer.model \
+ --max_seq_len 512 --max_batch_size 6
+```
+
+Llama 2 is a new technology that carries potential risks with use. Testing conducted to date has not — and could not — cover all scenarios.
+In order to help developers address these risks, we have created the [Responsible Use Guide](Responsible-Use-Guide.pdf). More details can be found in our research paper as well.
+
+## Issues
+
+Please report any software “bug”, or other problems with the models through one of the following means:
+- Reporting issues with the model: [github.com/facebookresearch/llama](http://github.com/facebookresearch/llama)
+- Reporting risky content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
+- Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info)
+
+## Model Card
+See [MODEL_CARD.md](MODEL_CARD.md).
+
+## License
+
+Our model and weights are licensed for both researchers and commercial entities, upholding the principles of openness. Our mission is to empower individuals, and industry through this opportunity, while fostering an environment of discovery and ethical AI advancements.
+
+See the [LICENSE](LICENSE) file, as well as our accompanying [Acceptable Use Policy](USE_POLICY.md)
+
+## References
+
+1. [Research Paper](https://ai.meta.com/research/publications/llama-2-open-foundation-and-fine-tuned-chat-models/)
+2. [Llama 2 technical overview](https://ai.meta.com/resources/models-and-libraries/llama)
+3. [Open Innovation AI Research Community](https://ai.meta.com/llama/open-innovation-ai-research-community/)
+
+For common questions, the FAQ can be found [here](https://ai.meta.com/llama/faq/) which will be kept up to date over time as new questions arise.
+
+## Original Llama
+The repo for the original llama release is in the [`llama_v1`](https://github.com/facebookresearch/llama/tree/llama_v1) branch.
diff --git a/western_ai/usa/meta-llama/Responsible-Use-Guide.pdf b/western_ai/usa/meta-llama/Responsible-Use-Guide.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..7094c658d83a4bc9f43ac12d2a800c8901443968
--- /dev/null
+++ b/western_ai/usa/meta-llama/Responsible-Use-Guide.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:525dc349d71fe257fce4098c146446df6fef4247174f351381e4c3214af126f0
+size 1253223
diff --git a/western_ai/usa/meta-llama/UPDATES.md b/western_ai/usa/meta-llama/UPDATES.md
new file mode 100644
index 0000000000000000000000000000000000000000..1a438d52276dfab7f8cc022123858c8cb8b5d1d1
--- /dev/null
+++ b/western_ai/usa/meta-llama/UPDATES.md
@@ -0,0 +1,21 @@
+# 8/7/23 Updates
+
+## System Prompt Update
+
+### Observed Issue
+We received feedback from the community on our prompt template and we are providing an update to reduce the false refusal rates seen. False refusals occur when the model incorrectly refuses to answer a question that it should, for example due to overly broad instructions to be cautious in how it provides responses.
+
+### Updated approach
+Based on evaluation and analysis, we recommend the removal of the system prompt as the default setting. Pull request [#626](https://github.com/facebookresearch/llama/pull/626) removes the system prompt as the default option, but still provides an example to help enable experimentation for those using it.
+
+## Token Sanitization Update
+
+### Observed Issue
+The PyTorch scripts currently provided for tokenization and model inference allow for direct prompt injection via string concatenation. Prompt injections allow for the addition of special system and instruction prompt strings from user-provided prompts.
+
+As noted in the documentation, these strings are required to use the fine-tuned chat models. However, prompt injections have also been used for manipulating or abusing models by bypassing their safeguards, allowing for the creation of content or behaviors otherwise outside the bounds of acceptable use.
+
+### Updated approach
+We recommend sanitizing [these strings](https://github.com/facebookresearch/llama#fine-tuned-chat-models) from any user provided prompts. Sanitization of user prompts mitigates malicious or accidental abuse of these strings. The provided scripts have been updated to do this.
+
+Note: even with this update safety classifiers should still be applied to catch unsafe behaviors or content produced by the model. An [example](https://github.com/facebookresearch/llama-recipes/blob/main/inference/inference.py) of how to deploy such a classifier can be found in the llama-recipes repository.
diff --git a/western_ai/usa/meta-llama/USE_POLICY.md b/western_ai/usa/meta-llama/USE_POLICY.md
new file mode 100644
index 0000000000000000000000000000000000000000..d82ae0d60befefb1fdd4750fe84a4a6fd35d3389
--- /dev/null
+++ b/western_ai/usa/meta-llama/USE_POLICY.md
@@ -0,0 +1,50 @@
+# Llama 2 Acceptable Use Policy
+
+Meta is committed to promoting safe and fair use of its tools and features, including Llama 2. If you access or use Llama 2, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of this policy can be found at [ai.meta.com/llama/use-policy](http://ai.meta.com/llama/use-policy).
+
+## Prohibited Uses
+We want everyone to use Llama 2 safely and responsibly. You agree you will not use, or allow others to use, Llama 2 to:
+
+1. Violate the law or others’ rights, including to:
+ 1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
+ 1. Violence or terrorism
+ 2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
+ 3. Human trafficking, exploitation, and sexual violence
+ 4. The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials.
+ 5. Sexual solicitation
+ 6. Any other criminal activity
+ 2. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
+ 3. Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services
+ 4. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
+ 5. Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws
+ 6. Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any products or services using the Llama 2 Materials
+ 7. Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system
+
+
+
+2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of Llama 2 related to the following:
+ 1. Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State
+ 2. Guns and illegal weapons (including weapon development)
+ 3. Illegal drugs and regulated/controlled substances
+ 4. Operation of critical infrastructure, transportation technologies, or heavy machinery
+ 5. Self-harm or harm to others, including suicide, cutting, and eating disorders
+ 6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
+
+
+
+3. Intentionally deceive or mislead others, including use of Llama 2 related to the following:
+ 1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
+ 2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
+ 3. Generating, promoting, or further distributing spam
+ 4. Impersonating another individual without consent, authorization, or legal right
+ 5. Representing that the use of Llama 2 or outputs are human-generated
+ 6. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
+4. Fail to appropriately disclose to end users any known dangers of your AI system
+
+Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation of this Policy through one of the following means:
+
+* Reporting issues with the model: [github.com/facebookresearch/llama](http://github.com/facebookresearch/llama)
+* Reporting risky content generated by the model: [developers.facebook.com/llama_output_feedback](http://developers.facebook.com/llama_output_feedback)
+* Reporting bugs and security concerns: [facebook.com/whitehat/info](http://facebook.com/whitehat/info)
+* Reporting violations of the Acceptable Use Policy or unlicensed uses of Llama: [LlamaUseReport@meta.com](mailto:LlamaUseReport@meta.com)
+
diff --git a/western_ai/usa/meta-llama/download.sh b/western_ai/usa/meta-llama/download.sh
new file mode 100644
index 0000000000000000000000000000000000000000..99b184055c62a34437585ef943f7b9a463778895
--- /dev/null
+++ b/western_ai/usa/meta-llama/download.sh
@@ -0,0 +1,71 @@
+#!/usr/bin/env bash
+
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+set -e
+
+read -p "Enter the URL from email: " PRESIGNED_URL
+echo ""
+read -p "Enter the list of models to download without spaces (7B,13B,70B,7B-chat,13B-chat,70B-chat), or press Enter for all: " MODEL_SIZE
+TARGET_FOLDER="." # where all files should end up
+mkdir -p ${TARGET_FOLDER}
+
+if [[ $MODEL_SIZE == "" ]]; then
+ MODEL_SIZE="7B,13B,70B,7B-chat,13B-chat,70B-chat"
+fi
+
+echo "Downloading LICENSE and Acceptable Usage Policy"
+wget --continue ${PRESIGNED_URL/'*'/"LICENSE"} -O ${TARGET_FOLDER}"/LICENSE"
+wget --continue ${PRESIGNED_URL/'*'/"USE_POLICY.md"} -O ${TARGET_FOLDER}"/USE_POLICY.md"
+
+echo "Downloading tokenizer"
+wget --continue ${PRESIGNED_URL/'*'/"tokenizer.model"} -O ${TARGET_FOLDER}"/tokenizer.model"
+wget --continue ${PRESIGNED_URL/'*'/"tokenizer_checklist.chk"} -O ${TARGET_FOLDER}"/tokenizer_checklist.chk"
+CPU_ARCH=$(uname -m)
+ if [ "$CPU_ARCH" = "arm64" ]; then
+ (cd ${TARGET_FOLDER} && md5 tokenizer_checklist.chk)
+ else
+ (cd ${TARGET_FOLDER} && md5sum -c tokenizer_checklist.chk)
+ fi
+
+for m in ${MODEL_SIZE//,/ }
+do
+ if [[ $m == "7B" ]]; then
+ SHARD=0
+ MODEL_PATH="llama-2-7b"
+ elif [[ $m == "7B-chat" ]]; then
+ SHARD=0
+ MODEL_PATH="llama-2-7b-chat"
+ elif [[ $m == "13B" ]]; then
+ SHARD=1
+ MODEL_PATH="llama-2-13b"
+ elif [[ $m == "13B-chat" ]]; then
+ SHARD=1
+ MODEL_PATH="llama-2-13b-chat"
+ elif [[ $m == "70B" ]]; then
+ SHARD=7
+ MODEL_PATH="llama-2-70b"
+ elif [[ $m == "70B-chat" ]]; then
+ SHARD=7
+ MODEL_PATH="llama-2-70b-chat"
+ fi
+
+ echo "Downloading ${MODEL_PATH}"
+ mkdir -p ${TARGET_FOLDER}"/${MODEL_PATH}"
+
+ for s in $(seq -f "0%g" 0 ${SHARD})
+ do
+ wget --continue ${PRESIGNED_URL/'*'/"${MODEL_PATH}/consolidated.${s}.pth"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/consolidated.${s}.pth"
+ done
+
+ wget --continue ${PRESIGNED_URL/'*'/"${MODEL_PATH}/params.json"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/params.json"
+ wget --continue ${PRESIGNED_URL/'*'/"${MODEL_PATH}/checklist.chk"} -O ${TARGET_FOLDER}"/${MODEL_PATH}/checklist.chk"
+ echo "Checking checksums"
+ CPU_ARCH=$(uname -m)
+ if [[ "$CPU_ARCH" == "arm64" ]]; then
+ (cd ${TARGET_FOLDER}"/${MODEL_PATH}" && md5 checklist.chk)
+ else
+ (cd ${TARGET_FOLDER}"/${MODEL_PATH}" && md5sum -c checklist.chk)
+ fi
+done
diff --git a/western_ai/usa/meta-llama/example_chat_completion.py b/western_ai/usa/meta-llama/example_chat_completion.py
new file mode 100644
index 0000000000000000000000000000000000000000..6d4b2319347218a7426902ba00f29292c28541b1
--- /dev/null
+++ b/western_ai/usa/meta-llama/example_chat_completion.py
@@ -0,0 +1,104 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+from typing import List, Optional
+
+import fire
+
+from llama import Llama, Dialog
+
+
+def main(
+ ckpt_dir: str,
+ tokenizer_path: str,
+ temperature: float = 0.6,
+ top_p: float = 0.9,
+ max_seq_len: int = 512,
+ max_batch_size: int = 8,
+ max_gen_len: Optional[int] = None,
+):
+ """
+ Entry point of the program for generating text using a pretrained model.
+
+ Args:
+ ckpt_dir (str): The directory containing checkpoint files for the pretrained model.
+ tokenizer_path (str): The path to the tokenizer model used for text encoding/decoding.
+ temperature (float, optional): The temperature value for controlling randomness in generation.
+ Defaults to 0.6.
+ top_p (float, optional): The top-p sampling parameter for controlling diversity in generation.
+ Defaults to 0.9.
+ max_seq_len (int, optional): The maximum sequence length for input prompts. Defaults to 512.
+ max_batch_size (int, optional): The maximum batch size for generating sequences. Defaults to 8.
+ max_gen_len (int, optional): The maximum length of generated sequences. If None, it will be
+ set to the model's max sequence length. Defaults to None.
+ """
+ generator = Llama.build(
+ ckpt_dir=ckpt_dir,
+ tokenizer_path=tokenizer_path,
+ max_seq_len=max_seq_len,
+ max_batch_size=max_batch_size,
+ )
+
+ dialogs: List[Dialog] = [
+ [{"role": "user", "content": "what is the recipe of mayonnaise?"}],
+ [
+ {"role": "user", "content": "I am going to Paris, what should I see?"},
+ {
+ "role": "assistant",
+ "content": """\
+Paris, the capital of France, is known for its stunning architecture, art museums, historical landmarks, and romantic atmosphere. Here are some of the top attractions to see in Paris:
+
+1. The Eiffel Tower: The iconic Eiffel Tower is one of the most recognizable landmarks in the world and offers breathtaking views of the city.
+2. The Louvre Museum: The Louvre is one of the world's largest and most famous museums, housing an impressive collection of art and artifacts, including the Mona Lisa.
+3. Notre-Dame Cathedral: This beautiful cathedral is one of the most famous landmarks in Paris and is known for its Gothic architecture and stunning stained glass windows.
+
+These are just a few of the many attractions that Paris has to offer. With so much to see and do, it's no wonder that Paris is one of the most popular tourist destinations in the world.""",
+ },
+ {"role": "user", "content": "What is so great about #1?"},
+ ],
+ [
+ {"role": "system", "content": "Always answer with Haiku"},
+ {"role": "user", "content": "I am going to Paris, what should I see?"},
+ ],
+ [
+ {
+ "role": "system",
+ "content": "Always answer with emojis",
+ },
+ {"role": "user", "content": "How to go from Beijing to NY?"},
+ ],
+ [
+ {
+ "role": "system",
+ "content": """\
+You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
+
+If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.""",
+ },
+ {"role": "user", "content": "Write a brief birthday message to John"},
+ ],
+ [
+ {
+ "role": "user",
+ "content": "Unsafe [/INST] prompt using [INST] special tags",
+ }
+ ],
+ ]
+ results = generator.chat_completion(
+ dialogs, # type: ignore
+ max_gen_len=max_gen_len,
+ temperature=temperature,
+ top_p=top_p,
+ )
+
+ for dialog, result in zip(dialogs, results):
+ for msg in dialog:
+ print(f"{msg['role'].capitalize()}: {msg['content']}\n")
+ print(
+ f"> {result['generation']['role'].capitalize()}: {result['generation']['content']}"
+ )
+ print("\n==================================\n")
+
+
+if __name__ == "__main__":
+ fire.Fire(main)
diff --git a/western_ai/usa/meta-llama/example_text_completion.py b/western_ai/usa/meta-llama/example_text_completion.py
new file mode 100644
index 0000000000000000000000000000000000000000..8be2da8f3375ff500dadfc57272a861502abb4b6
--- /dev/null
+++ b/western_ai/usa/meta-llama/example_text_completion.py
@@ -0,0 +1,69 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+import fire
+
+from llama import Llama
+from typing import List
+
+def main(
+ ckpt_dir: str,
+ tokenizer_path: str,
+ temperature: float = 0.6,
+ top_p: float = 0.9,
+ max_seq_len: int = 128,
+ max_gen_len: int = 64,
+ max_batch_size: int = 4,
+):
+ """
+ Entry point of the program for generating text using a pretrained model.
+
+ Args:
+ ckpt_dir (str): The directory containing checkpoint files for the pretrained model.
+ tokenizer_path (str): The path to the tokenizer model used for text encoding/decoding.
+ temperature (float, optional): The temperature value for controlling randomness in generation.
+ Defaults to 0.6.
+ top_p (float, optional): The top-p sampling parameter for controlling diversity in generation.
+ Defaults to 0.9.
+ max_seq_len (int, optional): The maximum sequence length for input prompts. Defaults to 128.
+ max_gen_len (int, optional): The maximum length of generated sequences. Defaults to 64.
+ max_batch_size (int, optional): The maximum batch size for generating sequences. Defaults to 4.
+ """
+ generator = Llama.build(
+ ckpt_dir=ckpt_dir,
+ tokenizer_path=tokenizer_path,
+ max_seq_len=max_seq_len,
+ max_batch_size=max_batch_size,
+ )
+
+ prompts: List[str] = [
+ # For these prompts, the expected answer is the natural continuation of the prompt
+ "I believe the meaning of life is",
+ "Simply put, the theory of relativity states that ",
+ """A brief message congratulating the team on the launch:
+
+ Hi everyone,
+
+ I just """,
+ # Few shot prompt (providing a few examples before asking model to complete more);
+ """Translate English to French:
+
+ sea otter => loutre de mer
+ peppermint => menthe poivrée
+ plush girafe => girafe peluche
+ cheese =>""",
+ ]
+ results = generator.text_completion(
+ prompts,
+ max_gen_len=max_gen_len,
+ temperature=temperature,
+ top_p=top_p,
+ )
+ for prompt, result in zip(prompts, results):
+ print(prompt)
+ print(f"> {result['generation']}")
+ print("\n==================================\n")
+
+
+if __name__ == "__main__":
+ fire.Fire(main)
diff --git a/western_ai/usa/meta-llama/llama/__init__.py b/western_ai/usa/meta-llama/llama/__init__.py
new file mode 100644
index 0000000000000000000000000000000000000000..b35e214a56d13722c4022fef7014ae9afbed01ee
--- /dev/null
+++ b/western_ai/usa/meta-llama/llama/__init__.py
@@ -0,0 +1,6 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+from .generation import Llama, Dialog
+from .model import ModelArgs, Transformer
+from .tokenizer import Tokenizer
diff --git a/western_ai/usa/meta-llama/llama/generation.py b/western_ai/usa/meta-llama/llama/generation.py
new file mode 100644
index 0000000000000000000000000000000000000000..bfc16385db287f0be7d86324a7fd9ef659b605f8
--- /dev/null
+++ b/western_ai/usa/meta-llama/llama/generation.py
@@ -0,0 +1,421 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+import json
+import os
+import sys
+import time
+from pathlib import Path
+from typing import List, Literal, Optional, Tuple, TypedDict
+
+import torch
+import torch.nn.functional as F
+from fairscale.nn.model_parallel.initialize import (
+ get_model_parallel_rank,
+ initialize_model_parallel,
+ model_parallel_is_initialized,
+)
+
+from llama.model import ModelArgs, Transformer
+from llama.tokenizer import Tokenizer
+
+Role = Literal["system", "user", "assistant"]
+
+
+class Message(TypedDict):
+ role: Role
+ content: str
+
+
+class CompletionPrediction(TypedDict, total=False):
+ generation: str
+ tokens: List[str] # not required
+ logprobs: List[float] # not required
+
+
+class ChatPrediction(TypedDict, total=False):
+ generation: Message
+ tokens: List[str] # not required
+ logprobs: List[float] # not required
+
+
+Dialog = List[Message]
+
+B_INST, E_INST = "[INST]", "[/INST]"
+B_SYS, E_SYS = "<>\n", "\n< >\n\n"
+
+SPECIAL_TAGS = [B_INST, E_INST, "<>", "< >"]
+UNSAFE_ERROR = "Error: special tags are not allowed as part of the prompt."
+
+
+class Llama:
+ @staticmethod
+ def build(
+ ckpt_dir: str,
+ tokenizer_path: str,
+ max_seq_len: int,
+ max_batch_size: int,
+ model_parallel_size: Optional[int] = None,
+ seed: int = 1,
+ ) -> "Llama":
+ """
+ Build a Llama instance by initializing and loading a pre-trained model.
+
+ Args:
+ ckpt_dir (str): Path to the directory containing checkpoint files.
+ tokenizer_path (str): Path to the tokenizer file.
+ max_seq_len (int): Maximum sequence length for input text.
+ max_batch_size (int): Maximum batch size for inference.
+ model_parallel_size (Optional[int], optional): Number of model parallel processes.
+ If not provided, it's determined from the environment. Defaults to None.
+
+ Returns:
+ Llama: An instance of the Llama class with the loaded model and tokenizer.
+
+ Raises:
+ AssertionError: If there are no checkpoint files in the specified directory,
+ or if the model parallel size does not match the number of checkpoint files.
+
+ Note:
+ This method initializes the distributed process group, sets the device to CUDA,
+ and loads the pre-trained model and tokenizer.
+
+ """
+ if not torch.distributed.is_initialized():
+ torch.distributed.init_process_group("nccl")
+ if not model_parallel_is_initialized():
+ if model_parallel_size is None:
+ model_parallel_size = int(os.environ.get("WORLD_SIZE", 1))
+ initialize_model_parallel(model_parallel_size)
+
+ local_rank = int(os.environ.get("LOCAL_RANK", 0))
+ torch.cuda.set_device(local_rank)
+
+ # seed must be the same in all processes
+ torch.manual_seed(seed)
+
+ if local_rank > 0:
+ sys.stdout = open(os.devnull, "w")
+
+ start_time = time.time()
+ checkpoints = sorted(Path(ckpt_dir).glob("*.pth"))
+ assert len(checkpoints) > 0, f"no checkpoint files found in {ckpt_dir}"
+ assert model_parallel_size == len(
+ checkpoints
+ ), f"Loading a checkpoint for MP={len(checkpoints)} but world size is {model_parallel_size}"
+ ckpt_path = checkpoints[get_model_parallel_rank()]
+ checkpoint = torch.load(ckpt_path, map_location="cpu")
+ with open(Path(ckpt_dir) / "params.json", "r") as f:
+ params = json.loads(f.read())
+
+ model_args: ModelArgs = ModelArgs(
+ max_seq_len=max_seq_len,
+ max_batch_size=max_batch_size,
+ **params,
+ )
+ tokenizer = Tokenizer(model_path=tokenizer_path)
+ model_args.vocab_size = tokenizer.n_words
+ torch.set_default_tensor_type(torch.cuda.HalfTensor)
+ model = Transformer(model_args)
+ model.load_state_dict(checkpoint, strict=False)
+ print(f"Loaded in {time.time() - start_time:.2f} seconds")
+
+ return Llama(model, tokenizer)
+
+ def __init__(self, model: Transformer, tokenizer: Tokenizer):
+ self.model = model
+ self.tokenizer = tokenizer
+
+ @torch.inference_mode()
+ def generate(
+ self,
+ prompt_tokens: List[List[int]],
+ max_gen_len: int,
+ temperature: float = 0.6,
+ top_p: float = 0.9,
+ logprobs: bool = False,
+ echo: bool = False,
+ ) -> Tuple[List[List[int]], Optional[List[List[float]]]]:
+ """
+ Generate text sequences based on provided prompts using the language generation model.
+
+ Args:
+ prompt_tokens (List[List[int]]): List of tokenized prompts, where each prompt is represented as a list of integers.
+ max_gen_len (int): Maximum length of the generated text sequence.
+ temperature (float, optional): Temperature value for controlling randomness in sampling. Defaults to 0.6.
+ top_p (float, optional): Top-p probability threshold for nucleus sampling. Defaults to 0.9.
+ logprobs (bool, optional): Flag indicating whether to compute token log probabilities. Defaults to False.
+ echo (bool, optional): Flag indicating whether to include prompt tokens in the generated output. Defaults to False.
+
+ Returns:
+ Tuple[List[List[int]], Optional[List[List[float]]]]: A tuple containing generated token sequences and, if logprobs is True, corresponding token log probabilities.
+
+ Note:
+ This method uses the provided prompts as a basis for generating text. It employs nucleus sampling to produce text with controlled randomness.
+ If logprobs is True, token log probabilities are computed for each generated token.
+
+ """
+ params = self.model.params
+ bsz = len(prompt_tokens)
+ assert bsz <= params.max_batch_size, (bsz, params.max_batch_size)
+
+ min_prompt_len = min(len(t) for t in prompt_tokens)
+ max_prompt_len = max(len(t) for t in prompt_tokens)
+ assert max_prompt_len <= params.max_seq_len
+ total_len = min(params.max_seq_len, max_gen_len + max_prompt_len)
+
+ pad_id = self.tokenizer.pad_id
+ tokens = torch.full((bsz, total_len), pad_id, dtype=torch.long, device="cuda")
+ for k, t in enumerate(prompt_tokens):
+ tokens[k, : len(t)] = torch.tensor(t, dtype=torch.long, device="cuda")
+ if logprobs:
+ token_logprobs = torch.zeros_like(tokens, dtype=torch.float)
+
+ prev_pos = 0
+ eos_reached = torch.tensor([False] * bsz, device="cuda")
+ input_text_mask = tokens != pad_id
+ if min_prompt_len == total_len:
+ logits = self.model.forward(tokens, prev_pos)
+ token_logprobs = -F.cross_entropy(
+ input=logits.transpose(1, 2),
+ target=tokens,
+ reduction="none",
+ ignore_index=pad_id,
+ )
+
+ for cur_pos in range(min_prompt_len, total_len):
+ logits = self.model.forward(tokens[:, prev_pos:cur_pos], prev_pos)
+ if temperature > 0:
+ probs = torch.softmax(logits[:, -1] / temperature, dim=-1)
+ next_token = sample_top_p(probs, top_p)
+ else:
+ next_token = torch.argmax(logits[:, -1], dim=-1)
+
+ next_token = next_token.reshape(-1)
+ # only replace token if prompt has already been generated
+ next_token = torch.where(
+ input_text_mask[:, cur_pos], tokens[:, cur_pos], next_token
+ )
+ tokens[:, cur_pos] = next_token
+ if logprobs:
+ token_logprobs[:, prev_pos + 1 : cur_pos + 1] = -F.cross_entropy(
+ input=logits.transpose(1, 2),
+ target=tokens[:, prev_pos + 1 : cur_pos + 1],
+ reduction="none",
+ ignore_index=pad_id,
+ )
+ eos_reached |= (~input_text_mask[:, cur_pos]) & (
+ next_token == self.tokenizer.eos_id
+ )
+ prev_pos = cur_pos
+ if all(eos_reached):
+ break
+
+ if logprobs:
+ token_logprobs = token_logprobs.tolist()
+ out_tokens, out_logprobs = [], []
+ for i, toks in enumerate(tokens.tolist()):
+ # cut to max gen len
+ start = 0 if echo else len(prompt_tokens[i])
+ toks = toks[start : len(prompt_tokens[i]) + max_gen_len]
+ probs = None
+ if logprobs:
+ probs = token_logprobs[i][start : len(prompt_tokens[i]) + max_gen_len]
+ # cut to eos tok if any
+ if self.tokenizer.eos_id in toks:
+ eos_idx = toks.index(self.tokenizer.eos_id)
+ toks = toks[:eos_idx]
+ probs = probs[:eos_idx] if logprobs else None
+ out_tokens.append(toks)
+ out_logprobs.append(probs)
+ return (out_tokens, out_logprobs if logprobs else None)
+
+ def text_completion(
+ self,
+ prompts: List[str],
+ temperature: float = 0.6,
+ top_p: float = 0.9,
+ max_gen_len: Optional[int] = None,
+ logprobs: bool = False,
+ echo: bool = False,
+ ) -> List[CompletionPrediction]:
+ """
+ Perform text completion for a list of prompts using the language generation model.
+
+ Args:
+ prompts (List[str]): List of text prompts for completion.
+ temperature (float, optional): Temperature value for controlling randomness in sampling. Defaults to 0.6.
+ top_p (float, optional): Top-p probability threshold for nucleus sampling. Defaults to 0.9.
+ max_gen_len (Optional[int], optional): Maximum length of the generated completion sequence.
+ If not provided, it's set to the model's maximum sequence length minus 1.
+ logprobs (bool, optional): Flag indicating whether to compute token log probabilities. Defaults to False.
+ echo (bool, optional): Flag indicating whether to include prompt tokens in the generated output. Defaults to False.
+
+ Returns:
+ List[CompletionPrediction]: List of completion predictions, each containing the generated text completion.
+
+ Note:
+ This method generates text completions for the provided prompts, employing nucleus sampling to introduce controlled randomness.
+ If logprobs is True, token log probabilities are computed for each generated token.
+
+ """
+ if max_gen_len is None:
+ max_gen_len = self.model.params.max_seq_len - 1
+ prompt_tokens = [self.tokenizer.encode(x, bos=True, eos=False) for x in prompts]
+ generation_tokens, generation_logprobs = self.generate(
+ prompt_tokens=prompt_tokens,
+ max_gen_len=max_gen_len,
+ temperature=temperature,
+ top_p=top_p,
+ logprobs=logprobs,
+ echo=echo,
+ )
+ if logprobs:
+ return [
+ {
+ "generation": self.tokenizer.decode(t),
+ "tokens": [self.tokenizer.decode(x) for x in t],
+ "logprobs": logprobs_i,
+ }
+ for t, logprobs_i in zip(generation_tokens, generation_logprobs)
+ ]
+ return [{"generation": self.tokenizer.decode(t)} for t in generation_tokens]
+
+ def chat_completion(
+ self,
+ dialogs: List[Dialog],
+ temperature: float = 0.6,
+ top_p: float = 0.9,
+ max_gen_len: Optional[int] = None,
+ logprobs: bool = False,
+ ) -> List[ChatPrediction]:
+ """
+ Generate assistant responses for a list of conversational dialogs using the language generation model.
+
+ Args:
+ dialogs (List[Dialog]): List of conversational dialogs, where each dialog is a list of messages.
+ temperature (float, optional): Temperature value for controlling randomness in sampling. Defaults to 0.6.
+ top_p (float, optional): Top-p probability threshold for nucleus sampling. Defaults to 0.9.
+ max_gen_len (Optional[int], optional): Maximum length of the generated response sequence.
+ If not provided, it's set to the model's maximum sequence length minus 1.
+ logprobs (bool, optional): Flag indicating whether to compute token log probabilities. Defaults to False.
+
+ Returns:
+ List[ChatPrediction]: List of chat predictions, each containing the assistant's generated response.
+
+ Raises:
+ AssertionError: If the last message in a dialog is not from the user.
+ AssertionError: If the dialog roles are not in the required 'user', 'assistant', and optional 'system' order.
+
+ Note:
+ This method generates assistant responses for the provided conversational dialogs.
+ It employs nucleus sampling to introduce controlled randomness in text generation.
+ If logprobs is True, token log probabilities are computed for each generated token.
+
+ """
+ if max_gen_len is None:
+ max_gen_len = self.model.params.max_seq_len - 1
+ prompt_tokens = []
+ unsafe_requests = []
+ for dialog in dialogs:
+ unsafe_requests.append(
+ any([tag in msg["content"] for tag in SPECIAL_TAGS for msg in dialog])
+ )
+ if dialog[0]["role"] == "system":
+ dialog = [
+ {
+ "role": dialog[1]["role"],
+ "content": B_SYS
+ + dialog[0]["content"]
+ + E_SYS
+ + dialog[1]["content"],
+ }
+ ] + dialog[2:]
+ assert all([msg["role"] == "user" for msg in dialog[::2]]) and all(
+ [msg["role"] == "assistant" for msg in dialog[1::2]]
+ ), (
+ "model only supports 'system', 'user' and 'assistant' roles, "
+ "starting with 'system', then 'user' and alternating (u/a/u/a/u...)"
+ )
+ dialog_tokens: List[int] = sum(
+ [
+ self.tokenizer.encode(
+ f"{B_INST} {(prompt['content']).strip()} {E_INST} {(answer['content']).strip()} ",
+ bos=True,
+ eos=True,
+ )
+ for prompt, answer in zip(
+ dialog[::2],
+ dialog[1::2],
+ )
+ ],
+ [],
+ )
+ assert (
+ dialog[-1]["role"] == "user"
+ ), f"Last message must be from user, got {dialog[-1]['role']}"
+ dialog_tokens += self.tokenizer.encode(
+ f"{B_INST} {(dialog[-1]['content']).strip()} {E_INST}",
+ bos=True,
+ eos=False,
+ )
+ prompt_tokens.append(dialog_tokens)
+
+ generation_tokens, generation_logprobs = self.generate(
+ prompt_tokens=prompt_tokens,
+ max_gen_len=max_gen_len,
+ temperature=temperature,
+ top_p=top_p,
+ logprobs=logprobs,
+ )
+ if logprobs:
+ return [
+ {
+ "generation": {
+ "role": "assistant",
+ "content": self.tokenizer.decode(t)
+ if not unsafe
+ else UNSAFE_ERROR,
+ },
+ "tokens": [self.tokenizer.decode(x) for x in t],
+ "logprobs": logprobs_i,
+ }
+ for t, logprobs_i, unsafe in zip(
+ generation_tokens, generation_logprobs, unsafe_requests
+ )
+ ]
+ return [
+ {
+ "generation": {
+ "role": "assistant",
+ "content": self.tokenizer.decode(t) if not unsafe else UNSAFE_ERROR,
+ }
+ }
+ for t, unsafe in zip(generation_tokens, unsafe_requests)
+ ]
+
+
+def sample_top_p(probs, p):
+ """
+ Perform top-p (nucleus) sampling on a probability distribution.
+
+ Args:
+ probs (torch.Tensor): Probability distribution tensor.
+ p (float): Probability threshold for top-p sampling.
+
+ Returns:
+ torch.Tensor: Sampled token indices.
+
+ Note:
+ Top-p sampling selects the smallest set of tokens whose cumulative probability mass
+ exceeds the threshold p. The distribution is renormalized based on the selected tokens.
+
+ """
+ probs_sort, probs_idx = torch.sort(probs, dim=-1, descending=True)
+ probs_sum = torch.cumsum(probs_sort, dim=-1)
+ mask = probs_sum - probs_sort > p
+ probs_sort[mask] = 0.0
+ probs_sort.div_(probs_sort.sum(dim=-1, keepdim=True))
+ next_token = torch.multinomial(probs_sort, num_samples=1)
+ next_token = torch.gather(probs_idx, -1, next_token)
+ return next_token
diff --git a/western_ai/usa/meta-llama/llama/model.py b/western_ai/usa/meta-llama/llama/model.py
new file mode 100644
index 0000000000000000000000000000000000000000..e373049beae913884d0416e0aa6f4b4d16ca926b
--- /dev/null
+++ b/western_ai/usa/meta-llama/llama/model.py
@@ -0,0 +1,495 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+import math
+from dataclasses import dataclass
+from typing import Optional, Tuple
+
+import fairscale.nn.model_parallel.initialize as fs_init
+import torch
+import torch.nn.functional as F
+from fairscale.nn.model_parallel.layers import (
+ ColumnParallelLinear,
+ ParallelEmbedding,
+ RowParallelLinear,
+)
+from torch import nn
+
+
+@dataclass
+class ModelArgs:
+ dim: int = 4096
+ n_layers: int = 32
+ n_heads: int = 32
+ n_kv_heads: Optional[int] = None
+ vocab_size: int = -1 # defined later by tokenizer
+ multiple_of: int = 256 # make SwiGLU hidden layer size multiple of large power of 2
+ ffn_dim_multiplier: Optional[float] = None
+ norm_eps: float = 1e-5
+
+ max_batch_size: int = 32
+ max_seq_len: int = 2048
+
+
+class RMSNorm(torch.nn.Module):
+ def __init__(self, dim: int, eps: float = 1e-6):
+ """
+ Initialize the RMSNorm normalization layer.
+
+ Args:
+ dim (int): The dimension of the input tensor.
+ eps (float, optional): A small value added to the denominator for numerical stability. Default is 1e-6.
+
+ Attributes:
+ eps (float): A small value added to the denominator for numerical stability.
+ weight (nn.Parameter): Learnable scaling parameter.
+
+ """
+ super().__init__()
+ self.eps = eps
+ self.weight = nn.Parameter(torch.ones(dim))
+
+ def _norm(self, x):
+ """
+ Apply the RMSNorm normalization to the input tensor.
+
+ Args:
+ x (torch.Tensor): The input tensor.
+
+ Returns:
+ torch.Tensor: The normalized tensor.
+
+ """
+ return x * torch.rsqrt(x.pow(2).mean(-1, keepdim=True) + self.eps)
+
+ def forward(self, x):
+ """
+ Forward pass through the RMSNorm layer.
+
+ Args:
+ x (torch.Tensor): The input tensor.
+
+ Returns:
+ torch.Tensor: The output tensor after applying RMSNorm.
+
+ """
+ output = self._norm(x.float()).type_as(x)
+ return output * self.weight
+
+
+def precompute_freqs_cis(dim: int, end: int, theta: float = 10000.0):
+ """
+ Precompute the frequency tensor for complex exponentials (cis) with given dimensions.
+
+ This function calculates a frequency tensor with complex exponentials using the given dimension 'dim'
+ and the end index 'end'. The 'theta' parameter scales the frequencies.
+ The returned tensor contains complex values in complex64 data type.
+
+ Args:
+ dim (int): Dimension of the frequency tensor.
+ end (int): End index for precomputing frequencies.
+ theta (float, optional): Scaling factor for frequency computation. Defaults to 10000.0.
+
+ Returns:
+ torch.Tensor: Precomputed frequency tensor with complex exponentials.
+
+
+
+
+ """
+ freqs = 1.0 / (theta ** (torch.arange(0, dim, 2)[: (dim // 2)].float() / dim))
+ t = torch.arange(end, device=freqs.device) # type: ignore
+ freqs = torch.outer(t, freqs).float() # type: ignore
+ freqs_cis = torch.polar(torch.ones_like(freqs), freqs) # complex64
+ return freqs_cis
+
+
+def reshape_for_broadcast(freqs_cis: torch.Tensor, x: torch.Tensor):
+ """
+ Reshape frequency tensor for broadcasting it with another tensor.
+
+ This function reshapes the frequency tensor to have the same shape as the target tensor 'x'
+ for the purpose of broadcasting the frequency tensor during element-wise operations.
+
+ Args:
+ freqs_cis (torch.Tensor): Frequency tensor to be reshaped.
+ x (torch.Tensor): Target tensor for broadcasting compatibility.
+
+ Returns:
+ torch.Tensor: Reshaped frequency tensor.
+
+ Raises:
+ AssertionError: If the frequency tensor doesn't match the expected shape.
+ AssertionError: If the target tensor 'x' doesn't have the expected number of dimensions.
+ """
+ ndim = x.ndim
+ assert 0 <= 1 < ndim
+ assert freqs_cis.shape == (x.shape[1], x.shape[-1])
+ shape = [d if i == 1 or i == ndim - 1 else 1 for i, d in enumerate(x.shape)]
+ return freqs_cis.view(*shape)
+
+
+def apply_rotary_emb(
+ xq: torch.Tensor,
+ xk: torch.Tensor,
+ freqs_cis: torch.Tensor,
+) -> Tuple[torch.Tensor, torch.Tensor]:
+ """
+ Apply rotary embeddings to input tensors using the given frequency tensor.
+
+ This function applies rotary embeddings to the given query 'xq' and key 'xk' tensors using the provided
+ frequency tensor 'freqs_cis'. The input tensors are reshaped as complex numbers, and the frequency tensor
+ is reshaped for broadcasting compatibility. The resulting tensors contain rotary embeddings and are
+ returned as real tensors.
+
+ Args:
+ xq (torch.Tensor): Query tensor to apply rotary embeddings.
+ xk (torch.Tensor): Key tensor to apply rotary embeddings.
+ freqs_cis (torch.Tensor): Precomputed frequency tensor for complex exponentials.
+
+ Returns:
+ Tuple[torch.Tensor, torch.Tensor]: Tuple of modified query tensor and key tensor with rotary embeddings.
+
+
+
+ """
+ xq_ = torch.view_as_complex(xq.float().reshape(*xq.shape[:-1], -1, 2))
+ xk_ = torch.view_as_complex(xk.float().reshape(*xk.shape[:-1], -1, 2))
+ freqs_cis = reshape_for_broadcast(freqs_cis, xq_)
+ xq_out = torch.view_as_real(xq_ * freqs_cis).flatten(3)
+ xk_out = torch.view_as_real(xk_ * freqs_cis).flatten(3)
+ return xq_out.type_as(xq), xk_out.type_as(xk)
+
+
+def repeat_kv(x: torch.Tensor, n_rep: int) -> torch.Tensor:
+ """torch.repeat_interleave(x, dim=2, repeats=n_rep)"""
+ bs, slen, n_kv_heads, head_dim = x.shape
+ if n_rep == 1:
+ return x
+ return (
+ x[:, :, :, None, :]
+ .expand(bs, slen, n_kv_heads, n_rep, head_dim)
+ .reshape(bs, slen, n_kv_heads * n_rep, head_dim)
+ )
+
+
+class Attention(nn.Module):
+ """Multi-head attention module."""
+ def __init__(self, args: ModelArgs):
+ """
+ Initialize the Attention module.
+
+ Args:
+ args (ModelArgs): Model configuration parameters.
+
+ Attributes:
+ n_kv_heads (int): Number of key and value heads.
+ n_local_heads (int): Number of local query heads.
+ n_local_kv_heads (int): Number of local key and value heads.
+ n_rep (int): Number of repetitions for local heads.
+ head_dim (int): Dimension size of each attention head.
+ wq (ColumnParallelLinear): Linear transformation for queries.
+ wk (ColumnParallelLinear): Linear transformation for keys.
+ wv (ColumnParallelLinear): Linear transformation for values.
+ wo (RowParallelLinear): Linear transformation for output.
+ cache_k (torch.Tensor): Cached keys for attention.
+ cache_v (torch.Tensor): Cached values for attention.
+
+ """
+ super().__init__()
+ self.n_kv_heads = args.n_heads if args.n_kv_heads is None else args.n_kv_heads
+ model_parallel_size = fs_init.get_model_parallel_world_size()
+ self.n_local_heads = args.n_heads // model_parallel_size
+ self.n_local_kv_heads = self.n_kv_heads // model_parallel_size
+ self.n_rep = self.n_local_heads // self.n_local_kv_heads
+ self.head_dim = args.dim // args.n_heads
+
+ self.wq = ColumnParallelLinear(
+ args.dim,
+ args.n_heads * self.head_dim,
+ bias=False,
+ gather_output=False,
+ init_method=lambda x: x,
+ )
+ self.wk = ColumnParallelLinear(
+ args.dim,
+ self.n_kv_heads * self.head_dim,
+ bias=False,
+ gather_output=False,
+ init_method=lambda x: x,
+ )
+ self.wv = ColumnParallelLinear(
+ args.dim,
+ self.n_kv_heads * self.head_dim,
+ bias=False,
+ gather_output=False,
+ init_method=lambda x: x,
+ )
+ self.wo = RowParallelLinear(
+ args.n_heads * self.head_dim,
+ args.dim,
+ bias=False,
+ input_is_parallel=True,
+ init_method=lambda x: x,
+ )
+
+ self.cache_k = torch.zeros(
+ (
+ args.max_batch_size,
+ args.max_seq_len,
+ self.n_local_kv_heads,
+ self.head_dim,
+ )
+ ).cuda()
+ self.cache_v = torch.zeros(
+ (
+ args.max_batch_size,
+ args.max_seq_len,
+ self.n_local_kv_heads,
+ self.head_dim,
+ )
+ ).cuda()
+
+ def forward(
+ self,
+ x: torch.Tensor,
+ start_pos: int,
+ freqs_cis: torch.Tensor,
+ mask: Optional[torch.Tensor],
+ ):
+ """
+ Forward pass of the attention module.
+
+ Args:
+ x (torch.Tensor): Input tensor.
+ start_pos (int): Starting position for caching.
+ freqs_cis (torch.Tensor): Precomputed frequency tensor.
+ mask (torch.Tensor, optional): Attention mask tensor.
+
+ Returns:
+ torch.Tensor: Output tensor after attention.
+
+ """
+ bsz, seqlen, _ = x.shape
+ xq, xk, xv = self.wq(x), self.wk(x), self.wv(x)
+
+ xq = xq.view(bsz, seqlen, self.n_local_heads, self.head_dim)
+ xk = xk.view(bsz, seqlen, self.n_local_kv_heads, self.head_dim)
+ xv = xv.view(bsz, seqlen, self.n_local_kv_heads, self.head_dim)
+
+ xq, xk = apply_rotary_emb(xq, xk, freqs_cis=freqs_cis)
+
+ self.cache_k = self.cache_k.to(xq)
+ self.cache_v = self.cache_v.to(xq)
+
+ self.cache_k[:bsz, start_pos : start_pos + seqlen] = xk
+ self.cache_v[:bsz, start_pos : start_pos + seqlen] = xv
+
+ keys = self.cache_k[:bsz, : start_pos + seqlen]
+ values = self.cache_v[:bsz, : start_pos + seqlen]
+
+ # repeat k/v heads if n_kv_heads < n_heads
+ keys = repeat_kv(keys, self.n_rep) # (bs, cache_len + seqlen, n_local_heads, head_dim)
+ values = repeat_kv(values, self.n_rep) # (bs, cache_len + seqlen, n_local_heads, head_dim)
+
+ xq = xq.transpose(1, 2) # (bs, n_local_heads, seqlen, head_dim)
+ keys = keys.transpose(1, 2) # (bs, n_local_heads, cache_len + seqlen, head_dim)
+ values = values.transpose(1, 2) # (bs, n_local_heads, cache_len + seqlen, head_dim)
+ scores = torch.matmul(xq, keys.transpose(2, 3)) / math.sqrt(self.head_dim)
+ if mask is not None:
+ scores = scores + mask # (bs, n_local_heads, seqlen, cache_len + seqlen)
+ scores = F.softmax(scores.float(), dim=-1).type_as(xq)
+ output = torch.matmul(scores, values) # (bs, n_local_heads, seqlen, head_dim)
+ output = output.transpose(1, 2).contiguous().view(bsz, seqlen, -1)
+ return self.wo(output)
+
+
+class FeedForward(nn.Module):
+ def __init__(
+ self,
+ dim: int,
+ hidden_dim: int,
+ multiple_of: int,
+ ffn_dim_multiplier: Optional[float],
+ ):
+ """
+ Initialize the FeedForward module.
+
+ Args:
+ dim (int): Input dimension.
+ hidden_dim (int): Hidden dimension of the feedforward layer.
+ multiple_of (int): Value to ensure hidden dimension is a multiple of this value.
+ ffn_dim_multiplier (float, optional): Custom multiplier for hidden dimension. Defaults to None.
+
+ Attributes:
+ w1 (ColumnParallelLinear): Linear transformation for the first layer.
+ w2 (RowParallelLinear): Linear transformation for the second layer.
+ w3 (ColumnParallelLinear): Linear transformation for the third layer.
+
+ """
+ super().__init__()
+ hidden_dim = int(2 * hidden_dim / 3)
+ # custom dim factor multiplier
+ if ffn_dim_multiplier is not None:
+ hidden_dim = int(ffn_dim_multiplier * hidden_dim)
+ hidden_dim = multiple_of * ((hidden_dim + multiple_of - 1) // multiple_of)
+
+ self.w1 = ColumnParallelLinear(
+ dim, hidden_dim, bias=False, gather_output=False, init_method=lambda x: x
+ )
+ self.w2 = RowParallelLinear(
+ hidden_dim, dim, bias=False, input_is_parallel=True, init_method=lambda x: x
+ )
+ self.w3 = ColumnParallelLinear(
+ dim, hidden_dim, bias=False, gather_output=False, init_method=lambda x: x
+ )
+
+ def forward(self, x):
+ return self.w2(F.silu(self.w1(x)) * self.w3(x))
+
+
+class TransformerBlock(nn.Module):
+ def __init__(self, layer_id: int, args: ModelArgs):
+ """
+ Initialize a TransformerBlock.
+
+ Args:
+ layer_id (int): Identifier for the layer.
+ args (ModelArgs): Model configuration parameters.
+
+ Attributes:
+ n_heads (int): Number of attention heads.
+ dim (int): Dimension size of the model.
+ head_dim (int): Dimension size of each attention head.
+ attention (Attention): Attention module.
+ feed_forward (FeedForward): FeedForward module.
+ layer_id (int): Identifier for the layer.
+ attention_norm (RMSNorm): Layer normalization for attention output.
+ ffn_norm (RMSNorm): Layer normalization for feedforward output.
+
+ """
+ super().__init__()
+ self.n_heads = args.n_heads
+ self.dim = args.dim
+ self.head_dim = args.dim // args.n_heads
+ self.attention = Attention(args)
+ self.feed_forward = FeedForward(
+ dim=args.dim,
+ hidden_dim=4 * args.dim,
+ multiple_of=args.multiple_of,
+ ffn_dim_multiplier=args.ffn_dim_multiplier,
+ )
+ self.layer_id = layer_id
+ self.attention_norm = RMSNorm(args.dim, eps=args.norm_eps)
+ self.ffn_norm = RMSNorm(args.dim, eps=args.norm_eps)
+
+ def forward(
+ self,
+ x: torch.Tensor,
+ start_pos: int,
+ freqs_cis: torch.Tensor,
+ mask: Optional[torch.Tensor],
+ ):
+ """
+ Perform a forward pass through the TransformerBlock.
+
+ Args:
+ x (torch.Tensor): Input tensor.
+ start_pos (int): Starting position for attention caching.
+ freqs_cis (torch.Tensor): Precomputed cosine and sine frequencies.
+ mask (torch.Tensor, optional): Masking tensor for attention. Defaults to None.
+
+ Returns:
+ torch.Tensor: Output tensor after applying attention and feedforward layers.
+
+ """
+ h = x + self.attention(
+ self.attention_norm(x), start_pos, freqs_cis, mask
+ )
+ out = h + self.feed_forward(self.ffn_norm(h))
+ return out
+
+
+class Transformer(nn.Module):
+ def __init__(self, params: ModelArgs):
+ """
+ Initialize a Transformer model.
+
+ Args:
+ params (ModelArgs): Model configuration parameters.
+
+ Attributes:
+ params (ModelArgs): Model configuration parameters.
+ vocab_size (int): Vocabulary size.
+ n_layers (int): Number of layers in the model.
+ tok_embeddings (ParallelEmbedding): Token embeddings.
+ layers (torch.nn.ModuleList): List of Transformer blocks.
+ norm (RMSNorm): Layer normalization for the model output.
+ output (ColumnParallelLinear): Linear layer for final output.
+ freqs_cis (torch.Tensor): Precomputed cosine and sine frequencies.
+
+ """
+ super().__init__()
+ self.params = params
+ self.vocab_size = params.vocab_size
+ self.n_layers = params.n_layers
+
+ self.tok_embeddings = ParallelEmbedding(
+ params.vocab_size, params.dim, init_method=lambda x: x
+ )
+
+ self.layers = torch.nn.ModuleList()
+ for layer_id in range(params.n_layers):
+ self.layers.append(TransformerBlock(layer_id, params))
+
+ self.norm = RMSNorm(params.dim, eps=params.norm_eps)
+ self.output = ColumnParallelLinear(
+ params.dim, params.vocab_size, bias=False, init_method=lambda x: x
+ )
+
+ self.freqs_cis = precompute_freqs_cis(
+ # Note that self.params.max_seq_len is multiplied by 2 because the token limit for the Llama 2 generation of models is 4096.
+ # Adding this multiplier instead of using 4096 directly allows for dynamism of token lengths while training or fine-tuning.
+ self.params.dim // self.params.n_heads, self.params.max_seq_len * 2
+ )
+
+ @torch.inference_mode()
+ def forward(self, tokens: torch.Tensor, start_pos: int):
+ """
+ Perform a forward pass through the Transformer model.
+
+ Args:
+ tokens (torch.Tensor): Input token indices.
+ start_pos (int): Starting position for attention caching.
+
+ Returns:
+ torch.Tensor: Output logits after applying the Transformer model.
+
+ """
+ _bsz, seqlen = tokens.shape
+ h = self.tok_embeddings(tokens)
+ self.freqs_cis = self.freqs_cis.to(h.device)
+ freqs_cis = self.freqs_cis[start_pos : start_pos + seqlen]
+
+ mask = None
+ if seqlen > 1:
+ mask = torch.full(
+ (seqlen, seqlen), float("-inf"), device=tokens.device
+ )
+
+ mask = torch.triu(mask, diagonal=1)
+
+ # When performing key-value caching, we compute the attention scores
+ # only for the new sequence. Thus, the matrix of scores is of size
+ # (seqlen, cache_len + seqlen), and the only masked entries are (i, j) for
+ # j > cache_len + i, since row i corresponds to token cache_len + i.
+ mask = torch.hstack([
+ torch.zeros((seqlen, start_pos), device=tokens.device),
+ mask
+ ]).type_as(h)
+
+ for layer in self.layers:
+ h = layer(h, start_pos, freqs_cis, mask)
+ h = self.norm(h)
+ output = self.output(h).float()
+ return output
diff --git a/western_ai/usa/meta-llama/llama/tokenizer.py b/western_ai/usa/meta-llama/llama/tokenizer.py
new file mode 100644
index 0000000000000000000000000000000000000000..618e14ef5e83cfc17075008ae0a85c9fb86e8677
--- /dev/null
+++ b/western_ai/usa/meta-llama/llama/tokenizer.py
@@ -0,0 +1,68 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+import os
+from logging import getLogger
+from typing import List
+
+from sentencepiece import SentencePieceProcessor
+
+
+logger = getLogger()
+
+
+class Tokenizer:
+ """tokenizing and encoding/decoding text using SentencePiece."""
+ def __init__(self, model_path: str):
+ """
+ Initializes the Tokenizer with a SentencePiece model.
+
+ Args:
+ model_path (str): The path to the SentencePiece model file.
+ """
+ # reload tokenizer
+ assert os.path.isfile(model_path), model_path
+ self.sp_model = SentencePieceProcessor(model_file=model_path)
+ logger.info(f"Reloaded SentencePiece model from {model_path}")
+
+ # BOS / EOS token IDs
+ self.n_words: int = self.sp_model.vocab_size()
+ self.bos_id: int = self.sp_model.bos_id()
+ self.eos_id: int = self.sp_model.eos_id()
+ self.pad_id: int = self.sp_model.pad_id()
+ logger.info(
+ f"#words: {self.n_words} - BOS ID: {self.bos_id} - EOS ID: {self.eos_id}"
+ )
+ assert self.sp_model.vocab_size() == self.sp_model.get_piece_size()
+
+ def encode(self, s: str, bos: bool, eos: bool) -> List[int]:
+ """
+ Encodes a string into a list of token IDs.
+
+ Args:
+ s (str): The input string to be encoded.
+ bos (bool): Whether to prepend the beginning-of-sequence token.
+ eos (bool): Whether to append the end-of-sequence token.
+
+ Returns:
+ List[int]: A list of token IDs.
+ """
+ assert type(s) is str
+ t = self.sp_model.encode(s)
+ if bos:
+ t = [self.bos_id] + t
+ if eos:
+ t = t + [self.eos_id]
+ return t
+
+ def decode(self, t: List[int]) -> str:
+ """
+ Decodes a list of token IDs into a string.
+
+ Args:
+ t (List[int]): The list of token IDs to be decoded.
+
+ Returns:
+ str: The decoded string.
+ """
+ return self.sp_model.decode(t)
diff --git a/western_ai/usa/meta-llama/requirements.txt b/western_ai/usa/meta-llama/requirements.txt
new file mode 100644
index 0000000000000000000000000000000000000000..168b78326fd8d93ec0bdd6865b68afe990947896
--- /dev/null
+++ b/western_ai/usa/meta-llama/requirements.txt
@@ -0,0 +1,4 @@
+torch
+fairscale
+fire
+sentencepiece
diff --git a/western_ai/usa/meta-llama/setup.py b/western_ai/usa/meta-llama/setup.py
new file mode 100644
index 0000000000000000000000000000000000000000..2b8d9ba22663adcc8f6652474186873bfab195ec
--- /dev/null
+++ b/western_ai/usa/meta-llama/setup.py
@@ -0,0 +1,16 @@
+# Copyright (c) Meta Platforms, Inc. and affiliates.
+# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
+
+from setuptools import find_packages, setup
+
+
+def get_requirements(path: str):
+ return [l.strip() for l in open(path)]
+
+
+setup(
+ name="llama",
+ version="0.0.1",
+ packages=find_packages(),
+ install_requires=get_requirements("requirements.txt"),
+)
diff --git a/western_ai/usa/ollama/.dockerignore b/western_ai/usa/ollama/.dockerignore
new file mode 100644
index 0000000000000000000000000000000000000000..b350f21acb4b5512d3f1c2011c2ef996b188a9de
--- /dev/null
+++ b/western_ai/usa/ollama/.dockerignore
@@ -0,0 +1,11 @@
+.vscode
+ollama
+app
+macapp
+dist
+build
+.env
+.cache
+test_data
+.git
+
diff --git a/western_ai/usa/ollama/.gitattributes b/western_ai/usa/ollama/.gitattributes
new file mode 100644
index 0000000000000000000000000000000000000000..4d47c4cfc757c5b0050b458c6a7821302c6c5862
--- /dev/null
+++ b/western_ai/usa/ollama/.gitattributes
@@ -0,0 +1,28 @@
+llama/**/*.cpp linguist-vendored
+llama/**/*.hpp linguist-vendored
+llama/**/*.h linguist-vendored
+llama/**/*.c linguist-vendored
+llama/**/*.cu linguist-vendored
+llama/**/*.cuh linguist-vendored
+llama/**/*.m linguist-vendored
+llama/**/*.metal linguist-vendored
+
+ml/backend/**/*.c linguist-vendored
+ml/backend/**/*.h linguist-vendored
+ml/backend/**/*.cpp linguist-vendored
+ml/backend/**/*.hpp linguist-vendored
+ml/backend/**/*.cu linguist-vendored
+ml/backend/**/*.cuh linguist-vendored
+ml/backend/**/*.m linguist-vendored
+ml/backend/**/*.metal linguist-vendored
+ml/backend/**/*.comp linguist-vendored
+ml/backend/**/*.glsl linguist-vendored
+ml/backend/**/CMakeLists.txt linguist-vendored
+
+app/webview linguist-vendored
+
+llama/build-info.cpp linguist-generated
+ml/backend/ggml/ggml/src/ggml-metal/ggml-metal-embed.s linguist-generated
+
+* text=auto
+*.go text eol=lf
diff --git a/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/10_bug_report.yml b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/10_bug_report.yml
new file mode 100644
index 0000000000000000000000000000000000000000..b94463478effd00a424ee4ba2f879888ec7de8ff
--- /dev/null
+++ b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/10_bug_report.yml
@@ -0,0 +1,68 @@
+name: Bug report
+labels: [bug]
+description: Something isn't working right.
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: What is the issue?
+ description: What happened? What did you expect to happen?
+ validations:
+ required: true
+ - type: textarea
+ id: logs
+ attributes:
+ label: Relevant log output
+ description: Please copy and paste any relevant log output. See [Troubleshooting Guide](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.mdx#how-to-troubleshoot-issues) for details.
+ render: shell
+ validations:
+ required: false
+ - type: dropdown
+ id: os
+ attributes:
+ label: OS
+ description: Which operating system are you using?
+ multiple: true
+ options:
+ - Linux
+ - macOS
+ - Windows
+ - Docker
+ - WSL2
+ validations:
+ required: false
+ - type: dropdown
+ id: gpu
+ attributes:
+ label: GPU
+ description: Which GPU are you using?
+ multiple: true
+ options:
+ - Nvidia
+ - AMD
+ - Intel
+ - Apple
+ - Other
+ validations:
+ required: false
+ - type: dropdown
+ id: cpu
+ attributes:
+ label: CPU
+ description: Which CPU are you using?
+ multiple: true
+ options:
+ - Intel
+ - AMD
+ - Apple
+ - Other
+ validations:
+ required: false
+ - type: input
+ id: version
+ attributes:
+ label: Ollama version
+ description: What version of Ollama are you using? (`ollama --version`)
+ placeholder: e.g., 0.1.32
+ validations:
+ required: false
diff --git a/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/20_feature_request.md b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/20_feature_request.md
new file mode 100644
index 0000000000000000000000000000000000000000..044e52dcd812d6dc807cf2659444be0824176284
--- /dev/null
+++ b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/20_feature_request.md
@@ -0,0 +1,6 @@
+---
+name: Feature request
+about: Request a new feature
+labels: feature request
+---
+
diff --git a/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/30_model_request.md b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/30_model_request.md
new file mode 100644
index 0000000000000000000000000000000000000000..7a28b28229a707eedc9b2c0e9e09ff441abc0f38
--- /dev/null
+++ b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/30_model_request.md
@@ -0,0 +1,5 @@
+---
+name: Model request
+about: Request support for a new model to be added to Ollama
+labels: model request
+---
\ No newline at end of file
diff --git a/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/config.yml b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000000000000000000000000000000000000..3c72f03b508ebccddd8d95cbe49ce3ec32537a62
--- /dev/null
+++ b/western_ai/usa/ollama/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,8 @@
+blank_issues_enabled: true
+contact_links:
+ - name: Help
+ url: https://discord.com/invite/ollama
+ about: Please join our Discord server for help using Ollama
+ - name: Troubleshooting
+ url: https://github.com/ollama/ollama/blob/main/docs/faq.md#faq
+ about: See the FAQ for common issues and solutions
diff --git a/western_ai/usa/ollama/.github/workflows/latest.yaml b/western_ai/usa/ollama/.github/workflows/latest.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c1d0079f69e5e3047126caac58c469cc4fcee59f
--- /dev/null
+++ b/western_ai/usa/ollama/.github/workflows/latest.yaml
@@ -0,0 +1,24 @@
+name: latest
+
+on:
+ release:
+ types: [released]
+
+jobs:
+ update-latest:
+ environment: release
+ runs-on: linux
+ steps:
+ - uses: actions/checkout@v4
+ - name: Login to Docker Hub
+ uses: docker/login-action@v3
+ with:
+ username: ${{ vars.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
+ - name: Tag images as latest
+ env:
+ PUSH: "1"
+ shell: bash
+ run: |
+ export "VERSION=${GITHUB_REF_NAME#v}"
+ ./scripts/tag_latest.sh
diff --git a/western_ai/usa/ollama/.github/workflows/release.yaml b/western_ai/usa/ollama/.github/workflows/release.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..de1f909ed376a16e1ee2385eda8e1fe3ef374f26
--- /dev/null
+++ b/western_ai/usa/ollama/.github/workflows/release.yaml
@@ -0,0 +1,776 @@
+name: release
+
+on:
+ push:
+ tags:
+ - 'v*'
+
+env:
+ CGO_CFLAGS: '-O3'
+ CGO_CXXFLAGS: '-O3'
+
+jobs:
+ setup-environment:
+ runs-on: ubuntu-latest
+ environment: release
+ outputs:
+ GOFLAGS: ${{ steps.goflags.outputs.GOFLAGS }}
+ VERSION: ${{ steps.goflags.outputs.VERSION }}
+ vendorsha: ${{ steps.goflags.outputs.vendorsha }}
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set environment
+ id: goflags
+ run: |
+ echo GOFLAGS="'-ldflags=-w -s \"-X=github.com/ollama/ollama/version.Version=${GITHUB_REF_NAME#v}\" \"-X=github.com/ollama/ollama/server.mode=release\"'" | tee -a $GITHUB_OUTPUT
+ echo VERSION="${GITHUB_REF_NAME#v}" | tee -a $GITHUB_OUTPUT
+ echo vendorsha=$(cat LLAMA_CPP_VERSION)-$(cat MLX_VERSION)-$(cat MLX_C_VERSION) | tee -a $GITHUB_OUTPUT
+
+ darwin-build:
+ runs-on: macos-26-xlarge
+ environment: release
+ needs: setup-environment
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY }}
+ APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
+ APPLE_TEAM_ID: ${{ vars.APPLE_TEAM_ID }}
+ APPLE_ID: ${{ vars.APPLE_ID }}
+ MACOS_SIGNING_KEY: ${{ secrets.MACOS_SIGNING_KEY }}
+ MACOS_SIGNING_KEY_PASSWORD: ${{ secrets.MACOS_SIGNING_KEY_PASSWORD }}
+ DEVELOPER_DIR: /Applications/Xcode_26.4.1.app/Contents/Developer
+ CGO_CFLAGS: '-mmacosx-version-min=14.0 -O3'
+ CGO_CXXFLAGS: '-mmacosx-version-min=14.0 -O3'
+ CGO_LDFLAGS: '-mmacosx-version-min=14.0 -O3'
+ steps:
+ - uses: actions/checkout@v4
+ - name: Select Xcode 26.4.1
+ shell: bash
+ run: |
+ set -euo pipefail
+ if [ ! -d "${DEVELOPER_DIR}" ]; then
+ echo "Missing ${DEVELOPER_DIR}"
+ ls -1 /Applications | grep '^Xcode' || true
+ exit 1
+ fi
+
+ sudo xcode-select -s "${DEVELOPER_DIR}"
+ sw_vers
+ xcodebuild -version
+ xcrun --sdk macosx --show-sdk-version
+ xcrun --find metal
+ - run: |
+ echo $MACOS_SIGNING_KEY | base64 --decode > certificate.p12
+ security create-keychain -p password build.keychain
+ security default-keychain -s build.keychain
+ security unlock-keychain -p password build.keychain
+ security import certificate.p12 -k build.keychain -P $MACOS_SIGNING_KEY_PASSWORD -T /usr/bin/codesign
+ security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k password build.keychain
+ security set-keychain-settings -lut 3600 build.keychain
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - run: |
+ ./scripts/build_darwin.sh
+ - name: Log build results
+ run: |
+ ls -l dist/
+ - uses: actions/upload-artifact@v4
+ with:
+ name: bundles-darwin
+ path: |
+ dist/*.tgz
+ dist/*.tar.zst
+ dist/*.zip
+ dist/*.dmg
+
+ windows-depends:
+ needs: setup-environment
+ strategy:
+ matrix:
+ os: [windows]
+ arch: [amd64]
+ preset: ['CPU']
+ build-steps: ['cpu cpuArm64']
+ include:
+ - os: windows
+ arch: amd64
+ preset: 'CUDA 12'
+ build-steps: cuda12
+ install: https://developer.download.nvidia.com/compute/cuda/12.8.0/local_installers/cuda_12.8.0_571.96_windows.exe
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ cuda-version: '12.8'
+ - os: windows
+ arch: amd64
+ preset: 'CUDA 13'
+ build-steps: cuda13
+ install: https://developer.download.nvidia.com/compute/cuda/13.0.0/local_installers/cuda_13.0.0_windows.exe
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ - '"crt"'
+ - '"nvvm"'
+ - '"nvptxcompiler"'
+ cuda-version: '13.0'
+ - os: windows
+ arch: amd64
+ preset: 'ROCm 7'
+ build-steps: rocm7
+ install: https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-26.Q1-Win11-For-HIP.exe
+ rocm-version: '7.1'
+ - os: windows
+ arch: amd64
+ preset: Vulkan
+ build-steps: vulkan
+ install: https://sdk.lunarg.com/sdk/download/1.4.321.1/windows/vulkansdk-windows-X64-1.4.321.1.exe
+ - os: windows
+ arch: amd64
+ preset: 'MLX CUDA 13'
+ build-steps: mlxCuda13
+ build-parallel: '16'
+ cmake-cuda-flags: '-t 6'
+ install: https://developer.download.nvidia.com/compute/cuda/13.0.0/local_installers/cuda_13.0.0_windows.exe
+ cudnn-install: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/windows-x86_64/cudnn-windows-x86_64-9.18.1.3_cuda13-archive.zip
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ - '"cufft"'
+ - '"cufft_dev"'
+ - '"nvrtc"'
+ - '"nvrtc_dev"'
+ - '"crt"'
+ - '"nvvm"'
+ - '"nvptxcompiler"'
+ cuda-version: '13.0'
+ runs-on: ${{ matrix.arch == 'arm64' && format('{0}-{1}', matrix.os, matrix.arch) || matrix.os }}
+ environment: release
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ steps:
+ - if: startsWith(matrix.preset, 'MLX ')
+ name: Increase pagefile to 200 GB
+ uses: al-cheb/configure-pagefile-action@v1.5
+ with:
+ minimum-size: 16GB
+ maximum-size: 200GB
+ disk-root: "D:"
+ - name: Install system dependencies
+ run: |
+ choco install -y --no-progress ccache ninja
+ if (Get-Command ccache -ErrorAction SilentlyContinue) {
+ ccache -o cache_dir=${{ github.workspace }}\.ccache
+ }
+ - if: matrix.preset == 'CPU'
+ name: Install Windows ARM64 cross compiler
+ run: |
+ Invoke-WebRequest -Uri "https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-x86_64.zip" -OutFile "${{ runner.temp }}\llvm-mingw-ucrt.zip"
+ Expand-Archive -Path ${{ runner.temp }}\llvm-mingw-ucrt.zip -DestinationPath "C:\Program Files\"
+ $installPath=(Resolve-Path -Path "C:\Program Files\llvm-mingw-*-ucrt-x86_64").path
+ if (!(Test-Path "$installPath\bin\aarch64-w64-mingw32-gcc.exe")) {
+ throw "llvm-mingw x86_64 package is missing the aarch64 cross compiler"
+ }
+ - if: startsWith(matrix.preset, 'CUDA ') || startsWith(matrix.preset, 'ROCm ') || startsWith(matrix.preset, 'Vulkan') || startsWith(matrix.preset, 'MLX ')
+ id: cache-install
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ C:\Program Files\NVIDIA\CUDNN
+ key: ${{ matrix.install }}-${{ matrix.cudnn-install }}
+ - if: startsWith(matrix.preset, 'CUDA ') || startsWith(matrix.preset, 'MLX ')
+ name: Install CUDA ${{ matrix.cuda-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ $subpackages = @(${{ join(matrix.cuda-components, ', ') }}) | Foreach-Object {"${_}_${{ matrix.cuda-version }}"}
+ Start-Process -FilePath .\install.exe -ArgumentList (@("-s") + $subpackages) -NoNewWindow -Wait
+ }
+
+ $cudaPath = (Resolve-Path "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\*").path
+ echo "$cudaPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - if: startsWith(matrix.preset, 'ROCm')
+ name: Install ROCm ${{ matrix.rocm-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList '-install' -NoNewWindow -Wait
+ }
+
+ $hipPath = (Resolve-Path "C:\Program Files\AMD\ROCm\*").path
+ echo "$hipPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "CC=$hipPath\bin\clang.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIPCXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIP_PLATFORM=amd" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CMAKE_PREFIX_PATH=$hipPath" | Out-File -FilePath $env:GITHUB_ENV -Append
+ - if: matrix.preset == 'Vulkan'
+ name: Install Vulkan ${{ matrix.rocm-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList "-c","--am","--al","in" -NoNewWindow -Wait
+ }
+
+ $vulkanPath = (Resolve-Path "C:\VulkanSDK\*").path
+ $vulkanRuntime = Join-Path $vulkanPath "Helpers\VulkanRT.exe"
+ if (Test-Path $vulkanRuntime) {
+ Start-Process -FilePath $vulkanRuntime -ArgumentList "/s" -NoNewWindow -Wait
+ }
+ echo "$vulkanPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "VULKAN_SDK=$vulkanPath" >> $env:GITHUB_ENV
+ - if: startsWith(matrix.preset, 'MLX ')
+ name: Install cuDNN for MLX
+ run: |
+ $ErrorActionPreference = "Stop"
+ $cudnnRoot = "C:\Program Files\NVIDIA\CUDNN"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.cudnn-install }}" -OutFile "cudnn.zip"
+ Expand-Archive -Path cudnn.zip -DestinationPath cudnn-extracted
+ $cudnnDir = (Get-ChildItem -Path cudnn-extracted -Directory)[0].FullName
+ New-Item -ItemType Directory -Force -Path $cudnnRoot
+ Copy-Item -Path "$cudnnDir\*" -Destination "$cudnnRoot\" -Recurse
+ }
+
+ echo "CUDNN_ROOT_DIR=$cudnnRoot" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CUDNN_INCLUDE_PATH=$cudnnRoot\include" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CUDNN_LIBRARY_PATH=$cudnnRoot\lib\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "$cudnnRoot\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - if: ${{ !cancelled() && steps.cache-install.outputs.cache-hit != 'true' }}
+ uses: actions/cache/save@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ C:\Program Files\NVIDIA\CUDNN
+ key: ${{ matrix.install }}-${{ matrix.cudnn-install }}
+ - uses: actions/checkout@v4
+ - uses: actions/cache@v4
+ with:
+ path: ${{ github.workspace }}\.ccache
+ key: ccache-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.preset }}-${{ needs.setup-environment.outputs.vendorsha }}
+ - name: Build Windows dependencies
+ run: |
+ Import-Module 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
+ Enter-VsDevShell -VsInstallPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -no_logo'
+ $steps = "${{ matrix.build-steps }}".Split(' ', [System.StringSplitOptions]::RemoveEmptyEntries)
+ ./scripts/build_windows.ps1 @steps
+ env:
+ CMAKE_GENERATOR: Ninja
+ OLLAMA_BUILD_PARALLEL: ${{ matrix.build-parallel || '' }}
+ OLLAMA_CMAKE_CUDA_FLAGS: ${{ matrix.cmake-cuda-flags || '' }}
+ - name: Log build results
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - if: matrix.preset == 'CPU'
+ name: Verify Windows CPU payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/lib/ollama/llama-server.exe \
+ dist/windows-arm64/lib/ollama/llama-server.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - uses: actions/upload-artifact@v4
+ with:
+ name: depends-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.preset }}
+ path: dist\*
+
+ windows-build:
+ runs-on: windows
+ environment: release
+ needs: [setup-environment]
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ steps:
+ - name: Install clang and gcc-compat
+ run: |
+ $ErrorActionPreference = "Stop"
+ Set-ExecutionPolicy Bypass -Scope Process -Force
+ Invoke-WebRequest -Uri "https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-x86_64.zip" -OutFile "${{ runner.temp }}\llvm-mingw-ucrt.zip"
+ Expand-Archive -Path ${{ runner.temp }}\llvm-mingw-ucrt.zip -DestinationPath "C:\Program Files\"
+ $installPath=(Resolve-Path -Path "C:\Program Files\llvm-mingw-*-ucrt-x86_64").path
+ echo "$installPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ if (!(Test-Path "$installPath\bin\aarch64-w64-mingw32-gcc.exe")) {
+ throw "llvm-mingw x86_64 package is missing the aarch64 cross compiler"
+ }
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - name: Verify gcc is actually clang
+ run: |
+ $ErrorActionPreference='Continue'
+ $version=& gcc -v 2>&1
+ $version=$version -join "`n"
+ echo "gcc is $version"
+ if ($version -notmatch 'clang') {
+ echo "ERROR: GCC must be clang for proper utf16 handling"
+ exit 1
+ }
+ $ErrorActionPreference='Stop'
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: "20"
+ - run: |
+ ./scripts/build_windows ollama ollamaArm64 app appArm64
+ - name: Verify Windows build payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/ollama.exe \
+ dist/windows-arm64/ollama.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - name: Log build results
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - uses: actions/upload-artifact@v4
+ with:
+ name: build-windows-amd64
+ path: |
+ dist\*
+
+ windows-app:
+ runs-on: windows
+ environment: release
+ needs: [setup-environment, windows-build, windows-depends]
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ KEY_CONTAINER: ${{ vars.KEY_CONTAINER }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: google-github-actions/auth@v2
+ with:
+ project_id: ollama
+ credentials_json: ${{ secrets.GOOGLE_SIGNING_CREDENTIALS }}
+ - run: |
+ $ErrorActionPreference = "Stop"
+ Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/p/?LinkId=323507" -OutFile "${{ runner.temp }}\sdksetup.exe"
+ Start-Process "${{ runner.temp }}\sdksetup.exe" -ArgumentList @("/q") -NoNewWindow -Wait
+
+ Invoke-WebRequest -Uri "https://github.com/GoogleCloudPlatform/kms-integrations/releases/download/cng-v1.0/kmscng-1.0-windows-amd64.zip" -OutFile "${{ runner.temp }}\plugin.zip"
+ Expand-Archive -Path "${{ runner.temp }}\plugin.zip" -DestinationPath "${{ runner.temp }}\plugin\"
+ & "${{ runner.temp }}\plugin\*\kmscng.msi" /quiet
+
+ echo "${{ vars.OLLAMA_CERT }}" >ollama_inc.crt
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: depends-windows*
+ path: dist
+ merge-multiple: true
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: build-windows*
+ path: dist
+ merge-multiple: true
+ - name: Log dist contents after download
+ run: |
+ gci -path .\dist -recurse
+ - name: Verify Windows package inputs
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/ollama.exe \
+ dist/windows-amd64/lib/ollama/llama-server.exe \
+ dist/windows-arm64/ollama.exe \
+ dist/windows-arm64/lib/ollama/llama-server.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - run: |
+ ./scripts/build_windows.ps1 deps sign installer zip
+ - name: Log contents after build
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - uses: actions/upload-artifact@v4
+ with:
+ name: bundles-windows
+ path: |
+ dist/*.zip
+ dist/*.ps1
+ dist/OllamaSetup.exe
+
+ linux-depends:
+ strategy:
+ matrix:
+ include:
+ - arch: amd64
+ target: llama-server-cpu
+ - arch: amd64
+ target: llama-server-cuda_v12
+ - arch: amd64
+ target: llama-server-cuda_v13
+ - arch: amd64
+ target: mlx
+ - arch: amd64
+ target: llama-server-rocm_v7_2
+ - arch: amd64
+ target: llama-server-vulkan
+ - arch: arm64
+ target: llama-server-cpu
+ - arch: arm64
+ target: llama-server-cuda_v12
+ - arch: arm64
+ target: llama-server-cuda_v13
+ - arch: arm64
+ target: jetpack-5
+ - arch: arm64
+ target: jetpack-6
+ runs-on: ${{ matrix.arch == 'arm64' && 'linux-arm64' || 'linux' }}
+ environment: release
+ needs: setup-environment
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/login-action@v3
+ with:
+ username: ${{ vars.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
+ - if: matrix.target == 'mlx'
+ name: Increase Linux swap to 200 GB
+ shell: bash
+ run: |
+ set -e
+ SWAP_PATH=/swapfile-mlx
+ SWAP_SIZE_GB=200
+ if [ -f "$SWAP_PATH" ]; then
+ sudo swapoff "$SWAP_PATH" 2>/dev/null || true
+ sudo rm -f "$SWAP_PATH"
+ fi
+ if ! sudo fallocate -l ${SWAP_SIZE_GB}G "$SWAP_PATH" 2>/dev/null; then
+ echo "fallocate unsupported, falling back to dd"
+ sudo dd if=/dev/zero of="$SWAP_PATH" bs=1M count=$((SWAP_SIZE_GB * 1024))
+ fi
+ sudo chmod 600 "$SWAP_PATH"
+ sudo mkswap "$SWAP_PATH"
+ sudo swapon "$SWAP_PATH"
+ swapon --show
+ free -h
+ - uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: linux/${{ matrix.arch }}
+ target: ${{ matrix.target }}
+ provenance: false
+ sbom: false
+ build-args: |
+ GOFLAGS=${{ env.GOFLAGS }}
+ CGO_CFLAGS=${{ env.CGO_CFLAGS }}
+ CGO_CXXFLAGS=${{ env.CGO_CXXFLAGS }}
+ OLLAMA_MLX_BUILD_JOBS=16
+ OLLAMA_MLX_NVCC_THREADS=6
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ cache-from: |
+ type=registry,ref=ollama/release:cache-${{ matrix.arch }}-${{ matrix.target }}
+ type=registry,ref=${{ vars.DOCKER_REPO }}:latest
+ cache-to: type=registry,ref=ollama/release:cache-${{ matrix.arch }}-${{ matrix.target }},mode=max
+
+ # Build each Docker variant (OS, arch, and flavor) separately. Using QEMU is unreliable and slower.
+ # Heavy stages were pre-built by linux-depends; this job is cache-hit-only for those layers
+ # and just assembles, runs the Go build, pushes the final image, and extracts release bundles.
+ docker-build-push:
+ strategy:
+ matrix:
+ include:
+ - os: linux
+ arch: arm64
+ archive-target: archive
+ build-args: |
+ CGO_CFLAGS
+ CGO_CXXFLAGS
+ GOFLAGS
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ OLLAMA_MLX_BUILD_JOBS=16
+ OLLAMA_MLX_NVCC_THREADS=6
+ cache-from: |
+ type=registry,ref=ollama/release:cache-arm64-llama-server-cpu
+ type=registry,ref=ollama/release:cache-arm64-llama-server-cuda_v12
+ type=registry,ref=ollama/release:cache-arm64-llama-server-cuda_v13
+ type=registry,ref=ollama/release:cache-arm64-jetpack-5
+ type=registry,ref=ollama/release:cache-arm64-jetpack-6
+ type=registry,ref=${{ vars.DOCKER_REPO }}:latest
+ - os: linux
+ arch: amd64
+ archive-target: archive
+ build-args: |
+ CGO_CFLAGS
+ CGO_CXXFLAGS
+ GOFLAGS
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ OLLAMA_MLX_BUILD_JOBS=16
+ OLLAMA_MLX_NVCC_THREADS=6
+ cache-from: |
+ type=registry,ref=ollama/release:cache-amd64-llama-server-cpu
+ type=registry,ref=ollama/release:cache-amd64-llama-server-cuda_v12
+ type=registry,ref=ollama/release:cache-amd64-llama-server-cuda_v13
+ type=registry,ref=ollama/release:cache-amd64-mlx
+ type=registry,ref=ollama/release:cache-amd64-llama-server-rocm_v7_2
+ type=registry,ref=ollama/release:cache-amd64-llama-server-vulkan
+ type=registry,ref=${{ vars.DOCKER_REPO }}:latest
+ - os: linux
+ arch: amd64
+ suffix: '-rocm'
+ archive-target: image-archive
+ build-args: |
+ CGO_CFLAGS
+ CGO_CXXFLAGS
+ GOFLAGS
+ FLAVOR=rocm
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ OLLAMA_MLX_BUILD_JOBS=16
+ OLLAMA_MLX_NVCC_THREADS=6
+ cache-from: |
+ type=registry,ref=ollama/release:cache-amd64-llama-server-cpu
+ type=registry,ref=ollama/release:cache-amd64-llama-server-rocm_v7_2
+ type=registry,ref=${{ vars.DOCKER_REPO }}:latest
+ runs-on: ${{ matrix.arch == 'arm64' && format('{0}-{1}', matrix.os, matrix.arch) || matrix.os }}
+ environment: release
+ needs: [setup-environment, linux-depends]
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/login-action@v3
+ with:
+ username: ${{ vars.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
+ - id: build-push
+ uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: ${{ matrix.os }}/${{ matrix.arch }}
+ provenance: false
+ sbom: false
+ build-args: ${{ matrix.build-args }}
+ outputs: type=image,name=${{ vars.DOCKER_REPO }},push-by-digest=true,name-canonical=true,push=true
+ cache-from: ${{ matrix.cache-from }}
+ cache-to: type=inline
+ - run: |
+ mkdir -p ${{ matrix.os }}-${{ matrix.arch }}
+ echo "${{ steps.build-push.outputs.digest }}" >${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.suffix }}.txt
+ working-directory: ${{ runner.temp }}
+ - uses: actions/upload-artifact@v4
+ with:
+ name: digest-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.suffix }}
+ path: |
+ ${{ runner.temp }}/${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.suffix }}.txt
+ - uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: ${{ matrix.os }}/${{ matrix.arch }}
+ target: ${{ matrix.archive-target }}
+ provenance: false
+ sbom: false
+ build-args: ${{ matrix.build-args }}
+ outputs: type=local,dest=dist/${{ matrix.os }}-${{ matrix.arch }}
+ cache-from: ${{ matrix.cache-from }}
+ - name: Deduplicate CUDA libraries
+ run: |
+ ./scripts/deduplicate_cuda_libs.sh dist/${{ matrix.os }}-${{ matrix.arch }}
+ - name: Verify Linux build payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ base="dist/${{ matrix.os }}-${{ matrix.arch }}"
+ for payload in \
+ "$base/bin/ollama" \
+ "$base/lib/ollama/llama-server"
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - run: |
+ for COMPONENT in bin/* lib/ollama/*; do
+ case "$COMPONENT" in
+ bin/ollama*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/*.so*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/llama-server*|lib/ollama/llama-quantize*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/cuda_v*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/vulkan*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/mlx*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-mlx.tar.in ;;
+ lib/ollama/include*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-mlx.tar.in ;;
+ lib/ollama/cuda_jetpack5) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-jetpack5.tar.in ;;
+ lib/ollama/cuda_jetpack6) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-jetpack6.tar.in ;;
+ lib/ollama/rocm_v*) echo $COMPONENT >>ollama-${{ matrix.os }}-${{ matrix.arch }}-rocm.tar.in ;;
+ esac
+ done
+ working-directory: dist/${{ matrix.os }}-${{ matrix.arch }}
+ - if: matrix.suffix == '-rocm'
+ run: rm -f dist/${{ matrix.os }}-${{ matrix.arch }}/ollama-${{ matrix.os }}-${{ matrix.arch }}.tar.in
+ - run: |
+ echo "Manifests"
+ for ARCHIVE in dist/${{ matrix.os }}-${{ matrix.arch }}/*.tar.in ; do
+ echo $ARCHIVE
+ cat $ARCHIVE
+ done
+ - run: |
+ for ARCHIVE in dist/${{ matrix.os }}-${{ matrix.arch }}/*.tar.in; do
+ tar c -C dist/${{ matrix.os }}-${{ matrix.arch }} -T $ARCHIVE --owner 0 --group 0 | zstd -19 -T0 >$(basename ${ARCHIVE//.*/}.tar.zst) &
+ done
+ wait
+ - uses: actions/upload-artifact@v4
+ with:
+ name: bundles-${{ matrix.os }}-${{ matrix.arch }}${{ matrix.suffix }}
+ path: |
+ *.tar.zst
+
+ # Merge Docker images for the same flavor into a single multi-arch manifest
+ docker-merge-push:
+ strategy:
+ matrix:
+ suffix: ['', '-rocm']
+ runs-on: linux
+ environment: release
+ needs: [docker-build-push]
+ steps:
+ - uses: docker/login-action@v3
+ with:
+ username: ${{ vars.DOCKER_USER }}
+ password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
+ - id: metadata
+ uses: docker/metadata-action@v4
+ with:
+ flavor: |
+ latest=false
+ suffix=${{ matrix.suffix }}
+ images: |
+ ${{ vars.DOCKER_REPO }}
+ tags: |
+ type=ref,enable=true,priority=600,prefix=pr-,event=pr
+ type=semver,pattern={{version}}
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: digest-*
+ path: ${{ runner.temp }}
+ merge-multiple: true
+ - run: |
+ docker buildx imagetools create $(echo '${{ steps.metadata.outputs.json }}' | jq -cr '.tags | map("-t", .) | join(" ")') $(cat *-${{ matrix.suffix }}.txt | xargs printf '${{ vars.DOCKER_REPO }}@%s ')
+ docker buildx imagetools inspect ${{ vars.DOCKER_REPO }}:${{ steps.metadata.outputs.version }}
+ working-directory: ${{ runner.temp }}
+
+ # Final release process
+ release:
+ runs-on: ubuntu-latest
+ environment: release
+ needs: [darwin-build, windows-app, docker-build-push]
+ permissions:
+ contents: write
+ env:
+ GH_TOKEN: ${{ github.token }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: bundles-*
+ path: dist
+ merge-multiple: true
+ - name: Log dist contents
+ run: |
+ ls -l dist/
+ - name: Copy install scripts to dist
+ run: |
+ cp scripts/install.sh dist/install.sh
+ - name: Verify release artifacts
+ run: |
+ required=(
+ dist/OllamaSetup.exe
+ dist/install.ps1
+ dist/install.sh
+ dist/ollama-windows-amd64.zip
+ dist/ollama-windows-arm64.zip
+ )
+ for payload in "${required[@]}"; do
+ if [ ! -f "$payload" ]; then
+ echo "::error::Missing expected release artifact: $payload"
+ exit 1
+ fi
+ done
+ - name: Generate checksum file
+ run: find . -type f -not -name 'sha256sum.txt' | xargs sha256sum | tee sha256sum.txt
+ working-directory: dist
+ - name: Create or update Release for tag
+ run: |
+ RELEASE_VERSION="$(echo ${GITHUB_REF_NAME} | cut -f1 -d-)"
+ echo "Looking for existing release for ${RELEASE_VERSION}"
+ OLD_TAG=$(gh release ls --json name,tagName | jq -r ".[] | select(.name == \"${RELEASE_VERSION}\") | .tagName")
+ if [ -n "$OLD_TAG" ]; then
+ echo "Updating release ${RELEASE_VERSION} to point to new tag ${GITHUB_REF_NAME}"
+ gh release edit ${OLD_TAG} --tag ${GITHUB_REF_NAME}
+ else
+ echo "Creating new release ${RELEASE_VERSION} pointing to tag ${GITHUB_REF_NAME}"
+ gh release create ${GITHUB_REF_NAME} \
+ --title ${RELEASE_VERSION} \
+ --draft \
+ --generate-notes \
+ --prerelease
+ fi
+ - name: Upload release artifacts
+ run: |
+ pids=()
+ for payload in dist/*.txt dist/*.zip dist/*.tgz dist/*.tar.zst dist/*.exe dist/*.dmg dist/*.ps1 dist/*.sh ; do
+ echo "Uploading $payload"
+ gh release upload ${GITHUB_REF_NAME} $payload --clobber &
+ pids+=($!)
+ sleep 1
+ done
+ echo "Waiting for uploads to complete"
+ failed=0
+ for pid in "${pids[@]}"; do
+ if ! wait $pid; then
+ echo "::error::Upload failed (pid $pid)"
+ failed=1
+ fi
+ done
+ if [ $failed -ne 0 ]; then
+ echo "One or more uploads failed"
+ exit 1
+ fi
+ echo "done"
diff --git a/western_ai/usa/ollama/.github/workflows/test-install.yaml b/western_ai/usa/ollama/.github/workflows/test-install.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..1d9ba837961c6269ddeef3797796570a8890cf4b
--- /dev/null
+++ b/western_ai/usa/ollama/.github/workflows/test-install.yaml
@@ -0,0 +1,22 @@
+name: test-install
+
+on:
+ pull_request:
+ paths:
+ - 'scripts/install.sh'
+ - '.github/workflows/test-install.yaml'
+
+jobs:
+ test:
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ - name: Run install script
+ run: sh ./scripts/install.sh
+ env:
+ OLLAMA_NO_START: 1 # do not start app
+ - name: Verify ollama is available
+ run: ollama --version
diff --git a/western_ai/usa/ollama/.github/workflows/test-llamacpp-update.yaml b/western_ai/usa/ollama/.github/workflows/test-llamacpp-update.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..71ac153519844b21de995362e19cabf2f18d4b39
--- /dev/null
+++ b/western_ai/usa/ollama/.github/workflows/test-llamacpp-update.yaml
@@ -0,0 +1,596 @@
+name: test-llamacpp-update
+
+# PR validation artifacts from this workflow are intentionally unsigned and not
+# notarized. They are for llama.cpp update testing only and must not be
+# published as release artifacts.
+
+on:
+ pull_request:
+ paths:
+ - 'LLAMA_CPP_VERSION'
+
+permissions:
+ contents: read
+
+env:
+ CGO_CFLAGS: '-O3'
+ CGO_CXXFLAGS: '-O3'
+
+jobs:
+ setup-environment:
+ runs-on: ubuntu-latest
+ outputs:
+ GOFLAGS: ${{ steps.goflags.outputs.GOFLAGS }}
+ VERSION: ${{ steps.goflags.outputs.VERSION }}
+ vendorsha: ${{ steps.goflags.outputs.vendorsha }}
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set environment
+ id: goflags
+ shell: bash
+ run: |
+ set -euo pipefail
+ VERSION="0.0.0-llamacpp-${GITHUB_SHA::7}"
+ {
+ echo "GOFLAGS='-ldflags=-w -s \"-X=github.com/ollama/ollama/version.Version=${VERSION}\" \"-X=github.com/ollama/ollama/server.mode=release\"'"
+ echo "VERSION=${VERSION}"
+ echo "vendorsha=$(cat LLAMA_CPP_VERSION)-$(cat MLX_VERSION)-$(cat MLX_C_VERSION)"
+ } >>"${GITHUB_OUTPUT}"
+
+ darwin-build:
+ runs-on: macos-26-xlarge
+ needs: setup-environment
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ CGO_CFLAGS: '-mmacosx-version-min=14.0 -O3'
+ CGO_CXXFLAGS: '-mmacosx-version-min=14.0 -O3'
+ CGO_LDFLAGS: '-mmacosx-version-min=14.0 -O3'
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - name: Build unsigned Darwin runtime
+ run: ./scripts/build_darwin.sh build package
+ - name: Log build results
+ run: ls -l dist/
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ollama-darwin.tgz
+ path: dist/ollama-darwin.tgz
+ compression-level: 0
+
+ # Build payload export stages independently and combine the exported
+ # filesystem artifacts below. This preserves parallelism without Docker
+ # registry credentials or oversized GitHub layer caches.
+ linux-payloads:
+ runs-on: ${{ matrix.arch == 'arm64' && 'linux-arm64' || 'linux' }}
+ needs: setup-environment
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - arch: amd64
+ target: publish-llama-server-cpu
+ payload: cpu
+ - arch: amd64
+ target: publish-llama-server-cuda_v12
+ payload: cuda_v12
+ - arch: amd64
+ target: publish-llama-server-cuda_v13
+ payload: cuda_v13
+ - arch: amd64
+ target: publish-llama-server-rocm_v7_2
+ payload: rocm_v7_2
+ - arch: amd64
+ target: publish-llama-server-vulkan
+ payload: vulkan
+ - arch: arm64
+ target: publish-llama-server-cpu
+ payload: cpu
+ - arch: arm64
+ target: publish-llama-server-cuda_v12
+ payload: cuda_v12
+ - arch: arm64
+ target: publish-llama-server-cuda_v13
+ payload: cuda_v13
+ - arch: arm64
+ target: publish-llama-server-cuda_jetpack5
+ payload: cuda_jetpack5
+ - arch: arm64
+ target: publish-llama-server-cuda_jetpack6
+ payload: cuda_jetpack6
+ steps:
+ - uses: actions/checkout@v4
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: linux/${{ matrix.arch }}
+ target: ${{ matrix.target }}
+ provenance: false
+ sbom: false
+ build-args: |
+ GOFLAGS=${{ needs.setup-environment.outputs.GOFLAGS }}
+ CGO_CFLAGS=${{ env.CGO_CFLAGS }}
+ CGO_CXXFLAGS=${{ env.CGO_CXXFLAGS }}
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ outputs: type=local,dest=${{ runner.temp }}/payload
+ - name: Pack Linux payload
+ shell: bash
+ run: |
+ set -euo pipefail
+ tar -C "${{ runner.temp }}/payload" -cf - . | zstd -9 -T0 >"${{ runner.temp }}/linux-payload-${{ matrix.arch }}-${{ matrix.payload }}.tar.zst"
+ - uses: actions/upload-artifact@v4
+ with:
+ name: linux-payload-${{ matrix.arch }}-${{ matrix.payload }}
+ path: ${{ runner.temp }}/linux-payload-${{ matrix.arch }}-${{ matrix.payload }}.tar.zst
+ compression-level: 0
+
+ linux-go:
+ runs-on: ${{ matrix.arch == 'arm64' && 'linux-arm64' || 'linux' }}
+ needs: setup-environment
+ strategy:
+ fail-fast: false
+ matrix:
+ arch: [amd64, arm64]
+ steps:
+ - uses: actions/checkout@v4
+ - uses: docker/setup-buildx-action@v3
+ - uses: docker/build-push-action@v6
+ with:
+ context: .
+ platforms: linux/${{ matrix.arch }}
+ target: publish-go
+ provenance: false
+ sbom: false
+ build-args: |
+ GOFLAGS=${{ needs.setup-environment.outputs.GOFLAGS }}
+ CGO_CFLAGS=${{ env.CGO_CFLAGS }}
+ CGO_CXXFLAGS=${{ env.CGO_CXXFLAGS }}
+ APT_MIRROR=http://azure.archive.ubuntu.com/ubuntu
+ APT_PORTS_MIRROR=http://azure.ports.ubuntu.com/ubuntu-ports
+ outputs: type=local,dest=${{ runner.temp }}/payload
+ - name: Pack Linux Go payload
+ shell: bash
+ run: |
+ set -euo pipefail
+ tar -C "${{ runner.temp }}/payload" -cf - . | zstd -9 -T0 >"${{ runner.temp }}/linux-payload-${{ matrix.arch }}-go.tar.zst"
+ - uses: actions/upload-artifact@v4
+ with:
+ name: linux-payload-${{ matrix.arch }}-go
+ path: ${{ runner.temp }}/linux-payload-${{ matrix.arch }}-go.tar.zst
+ compression-level: 0
+
+ # MLX payloads are intentionally excluded from this workflow; the Dockerfile
+ # still exposes publish-mlx for a separate MLX-specific workflow.
+ linux-bundles:
+ runs-on: ${{ matrix.arch == 'arm64' && 'linux-arm64' || 'linux' }}
+ needs: [linux-payloads, linux-go]
+ strategy:
+ fail-fast: false
+ matrix:
+ arch: [amd64, arm64]
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: linux-payload-${{ matrix.arch }}-*
+ path: ${{ runner.temp }}/payloads
+ merge-multiple: true
+ - name: Assemble Linux payload tree
+ shell: bash
+ run: |
+ set -euo pipefail
+ src="${{ runner.temp }}/payloads"
+ arch="${{ matrix.arch }}"
+ dest="dist/linux-${arch}"
+ copy_payload() {
+ local name="$1"
+ local payload="${src}/linux-payload-${arch}-${name}.tar.zst"
+ if [ ! -f "${payload}" ]; then
+ echo "missing payload ${payload}"
+ exit 1
+ fi
+ zstd -d <"${payload}" | tar -C "${dest}" -xf -
+ }
+
+ mkdir -p "${dest}"
+ copy_payload go
+ copy_payload cpu
+ copy_payload cuda_v12
+ copy_payload cuda_v13
+ if [ "${arch}" = "amd64" ]; then
+ copy_payload vulkan
+ copy_payload rocm_v7_2
+ else
+ copy_payload cuda_jetpack5
+ copy_payload cuda_jetpack6
+ fi
+
+ ./scripts/deduplicate_cuda_libs.sh "${dest}"
+ - name: Verify Linux build payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ base="dist/linux-${{ matrix.arch }}"
+ for payload in \
+ "${base}/bin/ollama" \
+ "${base}/lib/ollama/llama-server"
+ do
+ [ -f "${payload}" ] || { echo "missing ${payload}"; exit 1; }
+ done
+ - name: Create archive input lists
+ shell: bash
+ run: |
+ set -euo pipefail
+ for COMPONENT in bin/* lib/ollama/*; do
+ case "${COMPONENT}" in
+ bin/ollama*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/*.so*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/llama-server*|lib/ollama/llama-quantize*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/cuda_v*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/vulkan*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}.tar.in ;;
+ lib/ollama/mlx*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}-mlx.tar.in ;;
+ lib/ollama/include*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}-mlx.tar.in ;;
+ lib/ollama/cuda_jetpack5) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}-jetpack5.tar.in ;;
+ lib/ollama/cuda_jetpack6) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}-jetpack6.tar.in ;;
+ lib/ollama/rocm_v*) echo "${COMPONENT}" >>ollama-linux-${{ matrix.arch }}-rocm.tar.in ;;
+ esac
+ done
+ working-directory: dist/linux-${{ matrix.arch }}
+ - name: Log archive input lists
+ shell: bash
+ run: |
+ set -euo pipefail
+ for ARCHIVE in dist/linux-${{ matrix.arch }}/*.tar.in; do
+ echo "${ARCHIVE}"
+ cat "${ARCHIVE}"
+ done
+ - name: Create Linux archives
+ shell: bash
+ run: |
+ set -euo pipefail
+ for ARCHIVE in dist/linux-${{ matrix.arch }}/*.tar.in; do
+ tar c -C dist/linux-${{ matrix.arch }} -T "${ARCHIVE}" --owner 0 --group 0 | zstd -19 -T0 >"$(basename "${ARCHIVE//.*/}.tar.zst")" &
+ done
+ wait
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ollama-linux-${{ matrix.arch }}.tar.zst
+ path: ollama-linux-${{ matrix.arch }}.tar.zst
+ compression-level: 0
+ - if: matrix.arch == 'amd64'
+ uses: actions/upload-artifact@v4
+ with:
+ name: ollama-linux-amd64-rocm.tar.zst
+ path: ollama-linux-amd64-rocm.tar.zst
+ compression-level: 0
+ - if: matrix.arch == 'arm64'
+ uses: actions/upload-artifact@v4
+ with:
+ name: ollama-linux-arm64-jetpack5.tar.zst
+ path: ollama-linux-arm64-jetpack5.tar.zst
+ compression-level: 0
+ - if: matrix.arch == 'arm64'
+ uses: actions/upload-artifact@v4
+ with:
+ name: ollama-linux-arm64-jetpack6.tar.zst
+ path: ollama-linux-arm64-jetpack6.tar.zst
+ compression-level: 0
+
+ windows-depends:
+ needs: setup-environment
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [windows]
+ arch: [amd64]
+ preset: ['CPU']
+ build-steps: ['cpu cpuArm64']
+ include:
+ - os: windows
+ arch: amd64
+ preset: 'CUDA 12'
+ build-steps: cuda12
+ install: https://developer.download.nvidia.com/compute/cuda/12.8.0/local_installers/cuda_12.8.0_571.96_windows.exe
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ cuda-version: '12.8'
+ - os: windows
+ arch: amd64
+ preset: 'CUDA 13'
+ build-steps: cuda13
+ install: https://developer.download.nvidia.com/compute/cuda/13.0.0/local_installers/cuda_13.0.0_windows.exe
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ - '"crt"'
+ - '"nvvm"'
+ - '"nvptxcompiler"'
+ cuda-version: '13.0'
+ - os: windows
+ arch: amd64
+ preset: 'ROCm 7'
+ build-steps: rocm7
+ install: https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-26.Q1-Win11-For-HIP.exe
+ rocm-version: '7.1'
+ - os: windows
+ arch: amd64
+ preset: Vulkan
+ build-steps: vulkan
+ install: https://sdk.lunarg.com/sdk/download/1.4.321.1/windows/vulkansdk-windows-X64-1.4.321.1.exe
+ runs-on: ${{ matrix.arch == 'arm64' && format('{0}-{1}', matrix.os, matrix.arch) || matrix.os }}
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ steps:
+ - name: Install system dependencies
+ run: |
+ choco install -y --no-progress ccache ninja
+ if (Get-Command ccache -ErrorAction SilentlyContinue) {
+ ccache -o cache_dir=${{ github.workspace }}\.ccache
+ }
+ - if: matrix.preset == 'CPU'
+ name: Install Windows ARM64 cross compiler
+ run: |
+ Invoke-WebRequest -Uri "https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-x86_64.zip" -OutFile "${{ runner.temp }}\llvm-mingw-ucrt.zip"
+ Expand-Archive -Path ${{ runner.temp }}\llvm-mingw-ucrt.zip -DestinationPath "C:\Program Files\"
+ $installPath=(Resolve-Path -Path "C:\Program Files\llvm-mingw-*-ucrt-x86_64").path
+ if (!(Test-Path "$installPath\bin\aarch64-w64-mingw32-gcc.exe")) {
+ throw "llvm-mingw x86_64 package is missing the aarch64 cross compiler"
+ }
+ - if: startsWith(matrix.preset, 'CUDA ') || startsWith(matrix.preset, 'ROCm ') || startsWith(matrix.preset, 'Vulkan')
+ id: cache-install
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ key: ${{ matrix.install }}
+ - if: startsWith(matrix.preset, 'CUDA ')
+ name: Install CUDA ${{ matrix.cuda-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ $subpackages = @(${{ join(matrix.cuda-components, ', ') }}) | Foreach-Object {"${_}_${{ matrix.cuda-version }}"}
+ Start-Process -FilePath .\install.exe -ArgumentList (@("-s") + $subpackages) -NoNewWindow -Wait
+ }
+
+ $cudaPath = (Resolve-Path "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\*").path
+ echo "$cudaPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - if: startsWith(matrix.preset, 'ROCm')
+ name: Install ROCm ${{ matrix.rocm-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList '-install' -NoNewWindow -Wait
+ }
+
+ $hipPath = (Resolve-Path "C:\Program Files\AMD\ROCm\*").path
+ echo "$hipPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "CC=$hipPath\bin\clang.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIPCXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIP_PLATFORM=amd" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CMAKE_PREFIX_PATH=$hipPath" | Out-File -FilePath $env:GITHUB_ENV -Append
+ - if: matrix.preset == 'Vulkan'
+ name: Install Vulkan
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList "-c","--am","--al","in" -NoNewWindow -Wait
+ }
+
+ $vulkanPath = (Resolve-Path "C:\VulkanSDK\*").path
+ $vulkanRuntime = Join-Path $vulkanPath "Helpers\VulkanRT.exe"
+ if (Test-Path $vulkanRuntime) {
+ Start-Process -FilePath $vulkanRuntime -ArgumentList "/s" -NoNewWindow -Wait
+ }
+ echo "$vulkanPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "VULKAN_SDK=$vulkanPath" >> $env:GITHUB_ENV
+ - if: ${{ !cancelled() && matrix.preset != 'CPU' && steps.cache-install.outputs.cache-hit != 'true' }}
+ uses: actions/cache/save@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ key: ${{ matrix.install }}
+ - uses: actions/checkout@v4
+ - uses: actions/cache@v4
+ with:
+ path: ${{ github.workspace }}\.ccache
+ key: ccache-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.preset }}-${{ needs.setup-environment.outputs.vendorsha }}
+ - name: Build Windows dependencies
+ run: |
+ Import-Module 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
+ Enter-VsDevShell -VsInstallPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -no_logo'
+ $steps = "${{ matrix.build-steps }}".Split(' ', [System.StringSplitOptions]::RemoveEmptyEntries)
+ ./scripts/build_windows.ps1 @steps
+ env:
+ CMAKE_GENERATOR: Ninja
+ - name: Log build results
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - if: matrix.preset == 'CPU'
+ name: Verify Windows CPU payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/lib/ollama/llama-server.exe \
+ dist/windows-arm64/lib/ollama/llama-server.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - uses: actions/upload-artifact@v4
+ with:
+ name: depends-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.preset }}
+ path: dist\*
+ compression-level: 0
+
+ windows-build:
+ runs-on: windows
+ needs: setup-environment
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ steps:
+ - name: Install clang and gcc-compat
+ run: |
+ $ErrorActionPreference = "Stop"
+ Set-ExecutionPolicy Bypass -Scope Process -Force
+ Invoke-WebRequest -Uri "https://github.com/mstorsjo/llvm-mingw/releases/download/20240619/llvm-mingw-20240619-ucrt-x86_64.zip" -OutFile "${{ runner.temp }}\llvm-mingw-ucrt.zip"
+ Expand-Archive -Path ${{ runner.temp }}\llvm-mingw-ucrt.zip -DestinationPath "C:\Program Files\"
+ $installPath=(Resolve-Path -Path "C:\Program Files\llvm-mingw-*-ucrt-x86_64").path
+ echo "$installPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ if (!(Test-Path "$installPath\bin\aarch64-w64-mingw32-gcc.exe")) {
+ throw "llvm-mingw x86_64 package is missing the aarch64 cross compiler"
+ }
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - name: Verify gcc is actually clang
+ run: |
+ $ErrorActionPreference='Continue'
+ $version=& gcc -v 2>&1
+ $version=$version -join "`n"
+ echo "gcc is $version"
+ if ($version -notmatch 'clang') {
+ echo "ERROR: GCC must be clang for proper utf16 handling"
+ exit 1
+ }
+ $ErrorActionPreference='Stop'
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: "20"
+ - name: Build Windows binaries and app launchers
+ run: ./scripts/build_windows.ps1 ollama ollamaArm64 app appArm64
+ - name: Verify Windows build payloads
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/ollama.exe \
+ dist/windows-arm64/ollama.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - name: Log build results
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - uses: actions/upload-artifact@v4
+ with:
+ name: build-windows-amd64
+ path: dist\*
+ compression-level: 0
+
+ windows-package:
+ runs-on: windows
+ needs: [setup-environment, windows-build, windows-depends]
+ env:
+ GOFLAGS: ${{ needs.setup-environment.outputs.GOFLAGS }}
+ VERSION: ${{ needs.setup-environment.outputs.VERSION }}
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: go.mod
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: depends-windows*
+ path: dist
+ merge-multiple: true
+ - uses: actions/download-artifact@v4
+ with:
+ pattern: build-windows*
+ path: dist
+ merge-multiple: true
+ - name: Copy unsigned install script
+ run: Copy-Item -Path .\scripts\install.ps1 -Destination .\dist\install.ps1 -ErrorAction Stop
+ - name: Log dist contents after download
+ run: gci -path .\dist -recurse
+ - name: Verify Windows package inputs
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/windows-amd64/ollama.exe \
+ dist/windows-amd64/lib/ollama/llama-server.exe \
+ dist/windows-arm64/ollama.exe \
+ dist/windows-arm64/lib/ollama/llama-server.exe
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - name: Build unsigned Windows installer and zips
+ run: ./scripts/build_windows.ps1 deps installer zip
+ - name: Log contents after build
+ run: |
+ gci -path .\dist -Recurse -File | ForEach-Object { get-filehash -path $_.FullName -Algorithm SHA256 } | format-list
+ - name: Verify Windows package outputs
+ shell: bash
+ run: |
+ set -euo pipefail
+ for payload in \
+ dist/ollama-windows-amd64.zip \
+ dist/ollama-windows-arm64.zip \
+ dist/ollama-windows-amd64-rocm.zip \
+ dist/OllamaSetup.exe \
+ dist/install.ps1
+ do
+ [ -f "$payload" ] || { echo "missing $payload"; exit 1; }
+ done
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ollama-windows-amd64.zip
+ path: dist/ollama-windows-amd64.zip
+ compression-level: 0
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ollama-windows-arm64.zip
+ path: dist/ollama-windows-arm64.zip
+ compression-level: 0
+ - uses: actions/upload-artifact@v4
+ with:
+ name: ollama-windows-amd64-rocm.zip
+ path: dist/ollama-windows-amd64-rocm.zip
+ compression-level: 0
+ - uses: actions/upload-artifact@v4
+ with:
+ name: OllamaSetup.exe
+ path: dist/OllamaSetup.exe
+ compression-level: 0
+ - uses: actions/upload-artifact@v4
+ with:
+ name: install.ps1
+ path: dist/install.ps1
+ compression-level: 0
diff --git a/western_ai/usa/ollama/.github/workflows/test.yaml b/western_ai/usa/ollama/.github/workflows/test.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7748df6658f2e8e84b5e7ceb9247a8ccbd8a1c5c
--- /dev/null
+++ b/western_ai/usa/ollama/.github/workflows/test.yaml
@@ -0,0 +1,420 @@
+name: test
+
+concurrency:
+ # For PRs, later CI runs preempt previous ones. e.g. a force push on a PR
+ # cancels running CI jobs and starts all new ones.
+ #
+ # For non-PR pushes, concurrency.group needs to be unique for every distinct
+ # CI run we want to have happen. Use run_id, which in practice means all
+ # non-PR CI runs will be allowed to run without preempting each other.
+ group: ${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}
+ cancel-in-progress: true
+
+on:
+ pull_request:
+ paths:
+ - '**/*'
+ - '!docs/**'
+ - '!README.md'
+
+jobs:
+ changes:
+ runs-on: ubuntu-latest
+ outputs:
+ changed: ${{ steps.changes.outputs.changed }}
+ app_changed: ${{ steps.changes.outputs.app_changed }}
+ enginehash: ${{ steps.changes.outputs.enginehash }}
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - id: changes
+ run: |
+ changed() {
+ local BASE=${{ github.event.pull_request.base.sha }}
+ local HEAD=${{ github.event.pull_request.head.sha }}
+ local MERGE_BASE=$(git merge-base $BASE $HEAD)
+ git diff-tree -r --no-commit-id --name-only "$MERGE_BASE" "$HEAD" \
+ | xargs python3 -c "import sys; from pathlib import Path; print(any(Path(x).match(glob) for x in sys.argv[1:] for glob in '$*'.split(' ')))"
+ }
+
+ echo changed=$(changed \
+ 'CMakeLists.txt' \
+ 'CMakePresets.json' \
+ 'cmake/**' \
+ 'cmake/**/*' \
+ 'llama/server/**/*' \
+ 'llama/compat/**/*' \
+ 'LLAMA_CPP_VERSION' \
+ 'MLX_VERSION' \
+ 'MLX_C_VERSION' \
+ 'llama/llama.cpp/**/*' \
+ 'ml/backend/ggml/ggml/**/*' \
+ 'x/imagegen/mlx/**' \
+ 'x/imagegen/mlx/**/*' \
+ '.github/**/*') | tee -a $GITHUB_OUTPUT
+ echo app_changed=$(changed 'app/**' 'app/**/*') | tee -a $GITHUB_OUTPUT
+ echo enginehash=$(cat LLAMA_CPP_VERSION)-$(cat MLX_VERSION)-$(cat MLX_C_VERSION) | tee -a $GITHUB_OUTPUT
+
+ patches:
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ - name: Verify patches apply cleanly
+ shell: bash
+ run: |
+ cmake -S llama/server -B "$RUNNER_TEMP/llama-server-patch-check" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_SHARED_LIBS=ON \
+ -DGGML_BACKEND_DL=ON \
+ -DGGML_NATIVE=OFF \
+ -DGGML_OPENMP=OFF \
+ -DGGML_CPU_ALL_VARIANTS=ON \
+ -DOLLAMA_RUNNER_DIR=
+
+ linux:
+ needs: [changes]
+ if: needs.changes.outputs.changed == 'True'
+ strategy:
+ matrix:
+ include:
+ - preset: CPU
+ superbuild_target: ollama-local
+ superbuild_dir: build/local-superbuild
+ superbuild_args: ''
+ expected_payload: lib/ollama/llama-server
+ install-go: true
+ - preset: CUDA
+ container: nvidia/cuda:13.0.0-devel-ubuntu22.04
+ superbuild_target: ollama-llama-server-cuda_v13
+ superbuild_dir: build/local-superbuild-cuda_v13
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=cuda_v13 -DCMAKE_CUDA_ARCHITECTURES=87'
+ expected_payload: lib/ollama/cuda_v13/libggml-cuda.so
+ - preset: ROCm
+ container: rocm/dev-ubuntu-22.04:7.2.1
+ extra-packages: rocm-libs
+ superbuild_target: ollama-llama-server-rocm_v7_2
+ superbuild_dir: build/local-superbuild-rocm_v7_2
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=rocm_v7_2 -DAMDGPU_TARGETS=gfx1010 -DCMAKE_PREFIX_PATH=/opt/rocm'
+ expected_payload: lib/ollama/rocm_v7_2/libggml-hip.so
+ - preset: Vulkan
+ container: ubuntu:22.04
+ extra-packages: >
+ mesa-vulkan-drivers vulkan-tools
+ libvulkan1 libvulkan-dev
+ vulkan-sdk spirv-headers cmake ccache g++ make
+ superbuild_target: ollama-llama-server-vulkan
+ superbuild_dir: build/local-superbuild-vulkan
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=vulkan'
+ expected_payload: lib/ollama/vulkan/libggml-vulkan.so
+ - preset: 'MLX CUDA 13'
+ container: nvidia/cuda:13.0.0-devel-ubuntu22.04
+ extra-packages: libcudnn9-dev-cuda-13 libopenblas-dev liblapack-dev liblapacke-dev git curl
+ superbuild_target: ollama-mlx-cuda_v13
+ superbuild_dir: build/local-superbuild-mlx-cuda_v13
+ superbuild_args: '-DOLLAMA_MLX_BACKENDS=cuda_v13 -DCMAKE_CUDA_ARCHITECTURES=87 -DMLX_CUDA_ARCHITECTURES=80-virtual -DBLAS_INCLUDE_DIRS=/usr/include/x86_64-linux-gnu -DLAPACK_INCLUDE_DIRS=/usr/include/x86_64-linux-gnu'
+ expected_payload: lib/ollama/mlx_cuda_v13/libmlx.so
+ install-go: true
+ runs-on: linux
+ container: ${{ matrix.container }}
+ steps:
+ - uses: actions/checkout@v4
+ - run: |
+ [ -n "${{ matrix.container }}" ] || sudo=sudo
+ $sudo apt-get update
+ # Add LunarG Vulkan SDK apt repo for Ubuntu 22.04
+ if [ "${{ matrix.preset }}" = "Vulkan" ]; then
+ $sudo apt-get install -y --no-install-recommends wget gnupg ca-certificates software-properties-common
+ wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | $sudo gpg --dearmor -o /usr/share/keyrings/lunarg-archive-keyring.gpg
+ # Use signed-by to bind the repo to the installed keyring to avoid NO_PUBKEY
+ echo "deb [signed-by=/usr/share/keyrings/lunarg-archive-keyring.gpg] https://packages.lunarg.com/vulkan/1.4.313 jammy main" | $sudo tee /etc/apt/sources.list.d/lunarg-vulkan-1.4.313-jammy.list > /dev/null
+ $sudo apt-get update
+ fi
+ $sudo apt-get install -y cmake ccache curl git ${{ matrix.extra-packages }}
+ # Use a current CMake for upstream llama.cpp and Vulkan dependency discovery.
+ curl -fsSL https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2-linux-$(uname -m).tar.gz | $sudo tar xz -C /usr/local --strip-components 1
+ # Export VULKAN_SDK if provided by LunarG package (defensive)
+ if [ -d "/usr/lib/x86_64-linux-gnu/vulkan" ] && [ "${{ matrix.preset }}" = "Vulkan" ]; then
+ echo "VULKAN_SDK=/usr" >> $GITHUB_ENV
+ fi
+ env:
+ DEBIAN_FRONTEND: noninteractive
+ - if: matrix.install-go
+ name: Install Go
+ run: |
+ [ -n "${{ matrix.container }}" ] || sudo=sudo
+ GO_VERSION=$(awk '/^go / { print $2 }' go.mod)
+ curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-$(dpkg --print-architecture).tar.gz" | $sudo tar xz -C /usr/local
+ echo "/usr/local/go/bin" >> $GITHUB_PATH
+ - uses: actions/cache@v4
+ with:
+ path: /github/home/.cache/ccache
+ key: ccache-${{ runner.os }}-${{ runner.arch }}-${{ matrix.preset }}-${{ needs.changes.outputs.enginehash }}
+ - name: Build native superbuild
+ if: matrix.superbuild_target
+ run: |
+ cmake -S . -B "${{ matrix.superbuild_dir }}" ${{ matrix.superbuild_args }}
+ CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) cmake --build "${{ matrix.superbuild_dir }}" --target "${{ matrix.superbuild_target }}" -- -l $(nproc)
+ test -e "${{ matrix.superbuild_dir }}/${{ matrix.expected_payload }}"
+ - name: Verify local superbuild install
+ if: matrix.superbuild_target == 'ollama-local'
+ run: |
+ ./ollama --version
+ "${{ matrix.superbuild_dir }}/lib/ollama/llama-server" --version
+ test -x "${{ matrix.superbuild_dir }}/lib/ollama/llama-quantize"
+ cmake --install "${{ matrix.superbuild_dir }}" --component ollama-local --prefix "$RUNNER_TEMP/ollama-local"
+ "$RUNNER_TEMP/ollama-local/bin/ollama" --version
+ "$RUNNER_TEMP/ollama-local/lib/ollama/llama-server" --version
+ test -x "$RUNNER_TEMP/ollama-local/lib/ollama/llama-quantize"
+ windows:
+ needs: [changes]
+ if: needs.changes.outputs.changed == 'True'
+ strategy:
+ matrix:
+ include:
+ - preset: CPU
+ superbuild_target: ollama-local
+ superbuild_dir: build\local-superbuild
+ superbuild_args: ''
+ expected_payload: lib\ollama\llama-server.exe
+ - preset: CUDA
+ install: https://developer.download.nvidia.com/compute/cuda/13.0.0/local_installers/cuda_13.0.0_windows.exe
+ superbuild_target: ollama-llama-server-cuda_v13
+ superbuild_dir: build\local-superbuild-cuda_v13
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=cuda_v13 -DCMAKE_CUDA_ARCHITECTURES=80'
+ expected_payload: lib\ollama\cuda_v13\ggml-cuda.dll
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ - '"crt"'
+ - '"nvvm"'
+ - '"nvptxcompiler"'
+ cuda-version: '13.0'
+ - preset: ROCm
+ install: https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-26.Q1-Win11-For-HIP.exe
+ rocm-version: '7.1'
+ superbuild_target: ollama-llama-server-rocm_v7_1
+ superbuild_dir: build\local-superbuild-rocm_v7_1
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=rocm_v7_1 -DAMDGPU_TARGETS=gfx1010'
+ expected_payload: lib\ollama\rocm_v7_1\ggml-hip.dll
+ - preset: Vulkan
+ install: https://sdk.lunarg.com/sdk/download/1.4.321.1/windows/vulkansdk-windows-X64-1.4.321.1.exe
+ superbuild_target: ollama-llama-server-vulkan
+ superbuild_dir: build\local-superbuild-vulkan
+ superbuild_args: '-DOLLAMA_LLAMA_BACKENDS=vulkan'
+ expected_payload: lib\ollama\vulkan\ggml-vulkan.dll
+ - preset: 'MLX CUDA 13'
+ install: https://developer.download.nvidia.com/compute/cuda/13.0.0/local_installers/cuda_13.0.0_windows.exe
+ cudnn-install: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/windows-x86_64/cudnn-windows-x86_64-9.18.1.3_cuda13-archive.zip
+ superbuild_target: ollama-mlx-cuda_v13
+ superbuild_dir: build\local-superbuild-mlx-cuda_v13
+ superbuild_args: '-DOLLAMA_MLX_BACKENDS=cuda_v13 -DCMAKE_CUDA_ARCHITECTURES=80 -DMLX_CUDA_ARCHITECTURES=80-virtual'
+ expected_payload: lib\ollama\mlx_cuda_v13\mlx.dll
+ install-go: true
+ cuda-components:
+ - '"cudart"'
+ - '"nvcc"'
+ - '"cublas"'
+ - '"cublas_dev"'
+ - '"cufft"'
+ - '"cufft_dev"'
+ - '"nvrtc"'
+ - '"nvrtc_dev"'
+ - '"crt"'
+ - '"nvvm"'
+ - '"nvptxcompiler"'
+ cuda-version: '13.0'
+ runs-on: windows
+ steps:
+ - run: |
+ choco install -y --no-progress ccache ninja
+ if (Get-Command ccache -ErrorAction SilentlyContinue) {
+ ccache -o cache_dir=${{ github.workspace }}\.ccache
+ }
+ - if: matrix.preset == 'CUDA' || matrix.preset == 'ROCm' || matrix.preset == 'Vulkan' || matrix.preset == 'MLX CUDA 13'
+ id: cache-install
+ uses: actions/cache/restore@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ C:\Program Files\NVIDIA\CUDNN
+ key: ${{ matrix.install }}-${{ matrix.cudnn-install }}
+ - if: matrix.preset == 'CUDA' || matrix.preset == 'MLX CUDA 13'
+ name: Install CUDA ${{ matrix.cuda-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ $subpackages = @(${{ join(matrix.cuda-components, ', ') }}) | Foreach-Object {"${_}_${{ matrix.cuda-version }}"}
+ Start-Process -FilePath .\install.exe -ArgumentList (@("-s") + $subpackages) -NoNewWindow -Wait
+ }
+
+ $cudaPath = (Resolve-Path "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\*").path
+ echo "$cudaPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - if: matrix.preset == 'ROCm'
+ name: Install ROCm ${{ matrix.rocm-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList '-install' -NoNewWindow -Wait
+ }
+
+ $hipPath = (Resolve-Path "C:\Program Files\AMD\ROCm\*").path
+ echo "$hipPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "CC=$hipPath\bin\clang.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIPCXX=$hipPath\bin\clang++.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "HIP_PLATFORM=amd" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CMAKE_PREFIX_PATH=$hipPath" | Out-File -FilePath $env:GITHUB_ENV -Append
+ - if: matrix.preset == 'Vulkan'
+ name: Install Vulkan ${{ matrix.rocm-version }}
+ run: |
+ $ErrorActionPreference = "Stop"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.install }}" -OutFile "install.exe"
+ Start-Process -FilePath .\install.exe -ArgumentList "-c","--am","--al","in" -NoNewWindow -Wait
+ }
+
+ $vulkanPath = (Resolve-Path "C:\VulkanSDK\*").path
+ $vulkanRuntime = Join-Path $vulkanPath "Helpers\VulkanRT.exe"
+ if (Test-Path $vulkanRuntime) {
+ Start-Process -FilePath $vulkanRuntime -ArgumentList "/s" -NoNewWindow -Wait
+ }
+ echo "$vulkanPath\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ echo "VULKAN_SDK=$vulkanPath" >> $env:GITHUB_ENV
+ - if: matrix.preset == 'MLX CUDA 13'
+ name: Install cuDNN for MLX
+ run: |
+ $ErrorActionPreference = "Stop"
+ $cudnnRoot = "C:\Program Files\NVIDIA\CUDNN"
+ if ("${{ steps.cache-install.outputs.cache-hit }}" -ne 'true') {
+ Invoke-WebRequest -Uri "${{ matrix.cudnn-install }}" -OutFile "cudnn.zip"
+ Expand-Archive -Path cudnn.zip -DestinationPath cudnn-extracted
+ $cudnnDir = (Get-ChildItem -Path cudnn-extracted -Directory)[0].FullName
+ New-Item -ItemType Directory -Force -Path $cudnnRoot
+ Copy-Item -Path "$cudnnDir\*" -Destination "$cudnnRoot\" -Recurse
+ }
+
+ echo "CUDNN_ROOT_DIR=$cudnnRoot" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CUDNN_INCLUDE_PATH=$cudnnRoot\include" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "CUDNN_LIBRARY_PATH=$cudnnRoot\lib\x64" | Out-File -FilePath $env:GITHUB_ENV -Append
+ echo "$cudnnRoot\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+ - if: ${{ !cancelled() && steps.cache-install.outputs.cache-hit != 'true' }}
+ uses: actions/cache/save@v4
+ with:
+ path: |
+ C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
+ C:\Program Files\AMD\ROCm
+ C:\VulkanSDK
+ C:\Program Files\NVIDIA\CUDNN
+ key: ${{ matrix.install }}-${{ matrix.cudnn-install }}
+ - uses: actions/checkout@v4
+ - if: matrix.superbuild_target == 'ollama-local' || matrix.install-go
+ uses: actions/setup-go@v5
+ with:
+ go-version-file: 'go.mod'
+ - uses: actions/cache@v4
+ with:
+ path: ${{ github.workspace }}\.ccache
+ key: ccache-${{ runner.os }}-${{ runner.arch }}-${{ matrix.preset }}-${{ needs.changes.outputs.enginehash }}
+ - name: Build native superbuild
+ if: matrix.superbuild_target
+ run: |
+ $ErrorActionPreference = "Stop"
+ Import-Module 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll'
+ Enter-VsDevShell -VsInstallPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' -SkipAutomaticLocation -DevCmdArguments '-arch=x64 -no_logo'
+ cmake -S . -B "${{ matrix.superbuild_dir }}" ${{ matrix.superbuild_args }}
+ $env:CMAKE_BUILD_PARALLEL_LEVEL = [Environment]::ProcessorCount
+ cmake --build "${{ matrix.superbuild_dir }}" --target "${{ matrix.superbuild_target }}" -- -l $([Environment]::ProcessorCount)
+ if (!(Test-Path "${{ matrix.superbuild_dir }}\${{ matrix.expected_payload }}")) {
+ throw "missing ${{ matrix.expected_payload }}"
+ }
+ env:
+ CMAKE_GENERATOR: Ninja
+ - name: Verify local superbuild install
+ if: matrix.superbuild_target == 'ollama-local'
+ run: |
+ $ErrorActionPreference = "Stop"
+ & ".\ollama.exe" --version
+ & "${{ matrix.superbuild_dir }}\lib\ollama\llama-server.exe" --version
+ if (!(Test-Path "${{ matrix.superbuild_dir }}\lib\ollama\llama-quantize.exe")) {
+ throw "missing llama-quantize.exe"
+ }
+ $installPrefix = Join-Path $env:RUNNER_TEMP "ollama-local"
+ cmake --install "${{ matrix.superbuild_dir }}" --component ollama-local --prefix "$installPrefix"
+ & "$installPrefix\bin\ollama.exe" --version
+ & "$installPrefix\lib\ollama\llama-server.exe" --version
+ if (!(Test-Path "$installPrefix\lib\ollama\llama-quantize.exe")) {
+ throw "missing installed llama-quantize.exe"
+ }
+ go_mod_tidy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: check that 'go mod tidy' is clean
+ run: go mod tidy --diff || (echo "Please run 'go mod tidy'." && exit 1)
+
+ test:
+ needs: [changes]
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ runs-on: ${{ matrix.os }}
+ env:
+ CGO_ENABLED: '1'
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version-file: 'go.mod'
+ cache-dependency-path: |
+ go.sum
+ LLAMA_CPP_VERSION
+ MLX_VERSION
+ MLX_C_VERSION
+ - uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+ - name: Install UI dependencies
+ working-directory: ./app/ui/app
+ run: npm ci
+ - name: Install tscriptify
+ run: |
+ go install github.com/tkrajina/typescriptify-golang-structs/tscriptify@latest
+ - name: Run UI tests
+ if: ${{ startsWith(matrix.os, 'ubuntu') }}
+ working-directory: ./app/ui/app
+ run: npm test
+ - name: Verify MLX generated files are current
+ if: ${{ startsWith(matrix.os, 'ubuntu') }}
+ run: |
+ cmake -S . -B build/mlx-generate -DOLLAMA_MLX_BACKENDS=cuda_v13
+ cmake --build build/mlx-generate --target ollama-mlx-generate-wrappers
+ git diff --exit-code -- \
+ x/imagegen/mlx/mlx.h \
+ x/imagegen/mlx/mlx.c \
+ x/mlxrunner/mlx/generated.h \
+ x/mlxrunner/mlx/generated.c \
+ x/mlxrunner/mlx/include/mlx/c
+ - name: Run go generate
+ run: go generate ./...
+
+ - name: go test
+ if: always()
+ run: go test -count=1 -benchtime=1x ./...
+
+ - name: go test app with live updater tag
+ if: ${{ needs.changes.outputs.app_changed == 'True' && contains(fromJSON('["macos-latest","windows-latest"]'), matrix.os) }}
+ run: go test -count=1 -tags updater_live ./app/...
+
+ - uses: golangci/golangci-lint-action@v9
+ with:
+ only-new-issues: true
diff --git a/western_ai/usa/ollama/.gitignore b/western_ai/usa/ollama/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..9536c9cc90c863ef192d0240ae95b1808dc11c53
--- /dev/null
+++ b/western_ai/usa/ollama/.gitignore
@@ -0,0 +1,18 @@
+.DS_Store
+.vscode
+.env
+.venv
+.swp
+dist
+build
+.cache
+.gocache
+*.exe
+.idea
+test_data
+*.crt
+__debug_bin*
+llama/build
+llama/vendor
+/ollama
+integration/testdata/models/
diff --git a/western_ai/usa/ollama/.golangci.yaml b/western_ai/usa/ollama/.golangci.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..3baa2f68a09bb3e5793915f7e3a85c051411c4aa
--- /dev/null
+++ b/western_ai/usa/ollama/.golangci.yaml
@@ -0,0 +1,51 @@
+version: "2"
+linters:
+ enable:
+ - asasalint
+ - bidichk
+ - bodyclose
+ - containedctx
+ - gocheckcompilerdirectives
+ - intrange
+ - makezero
+ - misspell
+ - nilerr
+ - nolintlint
+ - nosprintfhostport
+ - unconvert
+ - usetesting
+ - wastedassign
+ - whitespace
+ disable:
+ - errcheck
+ - usestdlibvars
+ settings:
+ govet:
+ disable:
+ - unusedresult
+ staticcheck:
+ checks:
+ - all
+ - -QF* # disable quick fix suggestions
+ - -SA1019
+ - -ST1000 # package comment format
+ - -ST1003 # underscores in package names
+ - -ST1005 # error strings should not be capitalized
+ - -ST1012 # error var naming (ErrFoo)
+ - -ST1016 # receiver name consistency
+ - -ST1020 # comment on exported function format
+ - -ST1021 # comment on exported type format
+ - -ST1022 # comment on exported var format
+ - -ST1023 # omit type from declaration
+severity:
+ default: error
+ rules:
+ - linters:
+ - gofmt
+ - goimports
+ - intrange
+ severity: info
+formatters:
+ enable:
+ - gofmt
+ - gofumpt
diff --git a/western_ai/usa/ollama/AGENTS.md b/western_ai/usa/ollama/AGENTS.md
new file mode 100644
index 0000000000000000000000000000000000000000..b0ec655728eabb626643b4cb46d7bc48fcd4e4c0
--- /dev/null
+++ b/western_ai/usa/ollama/AGENTS.md
@@ -0,0 +1,21 @@
+# AGENTS.md
+
+## Building
+
+For a full build from the repository root:
+
+```sh
+cmake -B build .
+cmake --build build --parallel 8
+./ollama serve
+```
+
+For quick Go-only iteration against an existing native payload:
+
+```sh
+go build .
+go run . serve
+```
+
+See `docs/development.md` for prerequisites, platform notes, GPU backends, and
+the full development workflow.
diff --git a/western_ai/usa/ollama/agent/compactor.go b/western_ai/usa/ollama/agent/compactor.go
new file mode 100644
index 0000000000000000000000000000000000000000..63af87fd06b01ecadffbb4ea20c3581d49126e4e
--- /dev/null
+++ b/western_ai/usa/ollama/agent/compactor.go
@@ -0,0 +1,629 @@
+package agent
+
+import (
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "net/http"
+ "strings"
+
+ "github.com/ollama/ollama/api"
+)
+
+// Compaction wire-format. These constants and helpers are the single canonical
+// definition of how a compacted turn is represented in message history.
+const (
+ CompactionSummaryMessagePrefix = "Conversation summary:\n"
+ CompactionToolName = "summary"
+ CompactionToolCallID = "ollama_compaction"
+ CompactionContinueInstruction = "continue the task in progress. the history has been compacted, do not mention compaction to the user"
+)
+
+const (
+ defaultCompactionContextWindowTokens = 32768
+ defaultCompactionKeepUserTurns = 3
+ defaultCompactionThreshold = 0.8
+ compactOnlySummaryContextTokens = 16000
+
+ maxCompactionSummaryBytes = 16 * 1024
+ compactionSummaryTruncated = "\n\n[summary truncated]"
+
+ compactionSystemPrompt = "Summarize the archived part of an Ollama agent conversation. Preserve user goals, decisions, files, commands, tool results, and unresolved tasks needed to continue. Omit private reasoning and return only the summary."
+)
+
+type Compactor interface {
+ MaybeCompact(context.Context, CompactionRequest) (CompactionResult, error)
+}
+
+type CompactionOptions struct {
+ ContextWindowTokens int
+ KeepUserTurns int
+ Threshold float64
+}
+
+type CompactionRequest struct {
+ ChatID string
+ Model string
+ SystemPrompt string
+ Messages []api.Message
+ Tools api.Tools
+ Format string
+ Latest api.ChatResponse
+ Options map[string]any
+ KeepAlive *api.Duration
+ Think *api.ThinkValue
+ Force bool
+ ContinueTask bool
+ KeepUserTurns *int
+ Progress func(CompactionProgress)
+}
+
+type CompactionProgress struct {
+ Tokens int
+}
+
+type CompactionResult struct {
+ Messages []api.Message
+ Compacted bool
+ Due bool
+ Summary string
+ Reason string
+}
+
+type SimpleCompactor struct {
+ Client ChatClient
+ Options CompactionOptions
+}
+
+func (c *SimpleCompactor) MaybeCompact(ctx context.Context, req CompactionRequest) (CompactionResult, error) {
+ result := CompactionResult{Messages: req.Messages}
+ if c == nil {
+ return result, nil
+ }
+
+ result.Due = req.Force || c.shouldCompact(req)
+ if !result.Due {
+ return result, nil
+ }
+ if c.Client == nil {
+ result.Reason = "compaction is unavailable"
+ return result, nil
+ }
+
+ keepUserTurns := c.keepUserTurns(req.Options)
+ if req.KeepUserTurns != nil {
+ keepUserTurns = *req.KeepUserTurns
+ }
+ prefix, previousSummary, archive, suffix, _, ok := splitCompactionMessages(req.Messages, keepUserTurns)
+ if !ok || len(archive) == 0 {
+ result.Reason = "nothing to compact"
+ return result, nil
+ }
+
+ summary, err := c.summarize(ctx, req, previousSummary, archive)
+ if err != nil {
+ result.Reason = err.Error()
+ return result, err
+ }
+ summary = truncateCompactionSummary(strings.TrimSpace(summary))
+ if summary == "" {
+ summary, err = c.summarizeEmptyFallback(ctx, req, previousSummary, archive)
+ if err != nil {
+ result.Reason = err.Error()
+ return result, err
+ }
+ summary = truncateCompactionSummary(strings.TrimSpace(summary))
+ }
+ if summary == "" {
+ result.Reason = "summary was empty"
+ return result, nil
+ }
+
+ compacted := make([]api.Message, 0, len(prefix)+len(suffix)+2)
+ compacted = append(compacted, prefix...)
+ compacted = append(compacted, CompactionSummaryMessages(summary, req.ContinueTask)...)
+ compacted = append(compacted, suffix...)
+ result.Messages = compacted
+ result.Compacted = true
+ result.Summary = summary
+ return result, nil
+}
+
+func (c *SimpleCompactor) shouldCompact(req CompactionRequest) bool {
+ contextWindow := c.contextWindowTokens(req.Options)
+ threshold := int(float64(contextWindow) * c.threshold())
+ if threshold <= 0 {
+ return false
+ }
+ if req.Latest.PromptEvalCount > 0 && req.Latest.PromptEvalCount >= threshold {
+ return true
+ }
+ return estimateCompactionRequestTokens(req) >= threshold
+}
+
+func (c *SimpleCompactor) contextWindowTokens(options map[string]any) int {
+ return ResolveContextWindowTokens(options, c.Options.ContextWindowTokens)
+}
+
+func (c *SimpleCompactor) keepUserTurns(options map[string]any) int {
+ contextWindow := c.contextWindowTokens(options)
+ if contextWindow > 0 && contextWindow < compactOnlySummaryContextTokens {
+ return 0
+ }
+ if c.Options.KeepUserTurns > 0 {
+ return c.Options.KeepUserTurns
+ }
+ return defaultCompactionKeepUserTurns
+}
+
+func (c *SimpleCompactor) threshold() float64 {
+ return ResolveCompactionThreshold(c.Options.Threshold)
+}
+
+func ResolveContextWindowTokens(options map[string]any, configured int) int {
+ if n := intOption(options, "num_ctx"); n > 0 {
+ return n
+ }
+ if configured > 0 {
+ return configured
+ }
+ return defaultCompactionContextWindowTokens
+}
+
+func ResolveCompactionThreshold(configured float64) float64 {
+ if configured > 0 {
+ return configured
+ }
+ return defaultCompactionThreshold
+}
+
+func (c *SimpleCompactor) summarize(ctx context.Context, req CompactionRequest, previousSummary string, archive []api.Message) (string, error) {
+ body, err := compactionPrompt(previousSummary, archive, c.compactionPromptBodyBudgetTokens(req.Options))
+ if err != nil {
+ return "", err
+ }
+
+ chatReq := &api.ChatRequest{
+ Model: req.Model,
+ Messages: []api.Message{
+ {
+ Role: "system",
+ Content: compactionSystemPrompt,
+ },
+ {
+ Role: "user",
+ Content: body,
+ },
+ },
+ Options: req.Options,
+ Think: req.Think,
+ }
+ if req.KeepAlive != nil {
+ chatReq.KeepAlive = req.KeepAlive
+ }
+
+ var summary strings.Builder
+ if err := c.Client.Chat(ctx, chatReq, func(response api.ChatResponse) error {
+ summary.WriteString(response.Message.Content)
+ if req.Progress != nil {
+ tokens := response.EvalCount
+ if tokens <= 0 {
+ tokens = estimateCompactionTokens(summary.String())
+ }
+ req.Progress(CompactionProgress{Tokens: tokens})
+ }
+ return nil
+ }); err != nil {
+ return "", err
+ }
+ return summary.String(), nil
+}
+
+func (c *SimpleCompactor) summarizeEmptyFallback(ctx context.Context, req CompactionRequest, previousSummary string, archive []api.Message) (string, error) {
+ retry := req
+ retry.Think = &api.ThinkValue{Value: false}
+ summary, err := c.summarize(ctx, retry, previousSummary, archive)
+ if err == nil {
+ return summary, nil
+ }
+ if !isUnsupportedCompactionThinkError(err) {
+ return "", err
+ }
+ if req.Think == nil {
+ return "", nil
+ }
+ retry.Think = nil
+ return c.summarize(ctx, retry, previousSummary, archive)
+}
+
+func isUnsupportedCompactionThinkError(err error) bool {
+ if err == nil {
+ return false
+ }
+ text := strings.ToLower(err.Error())
+ if !strings.Contains(text, "think") {
+ return false
+ }
+ var statusErr api.StatusError
+ if errors.As(err, &statusErr) && statusErr.StatusCode != 0 {
+ return statusErr.StatusCode == http.StatusBadRequest
+ }
+ return strings.Contains(text, "does not support") || strings.Contains(text, "not supported") || strings.Contains(text, "unsupported")
+}
+
+// compactionSummaryMessageForTask renders a compaction summary as the content
+// string stored on the synthetic tool-result message.
+func compactionSummaryMessageForTask(summary string, continueTask bool) string {
+ content := CompactionSummaryMessagePrefix + strings.TrimSpace(summary)
+ if continueTask {
+ content = strings.TrimSpace(content) + "\n\n" + CompactionContinueInstruction
+ }
+ return content
+}
+
+// CompactionSummaryMessages renders a compaction summary as the assistant
+// tool-call plus tool-result pair that represents a compacted turn in the
+// message history.
+func CompactionSummaryMessages(summary string, continueTask bool) []api.Message {
+ return []api.Message{
+ {
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{{
+ ID: CompactionToolCallID,
+ Function: api.ToolCallFunction{
+ Name: CompactionToolName,
+ },
+ }},
+ },
+ {
+ Role: "tool",
+ ToolName: CompactionToolName,
+ ToolCallID: CompactionToolCallID,
+ Content: compactionSummaryMessageForTask(summary, continueTask),
+ },
+ }
+}
+
+func (c *SimpleCompactor) compactionPromptBodyBudgetTokens(options map[string]any) int {
+ contextWindow := c.contextWindowTokens(options)
+ threshold := int(float64(contextWindow) * c.threshold())
+ if threshold <= 0 {
+ return 0
+ }
+ systemTokens := estimateCompactionTokens("system") + estimateCompactionTokens(compactionSystemPrompt)
+ userRoleTokens := estimateCompactionTokens("user")
+ budget := threshold - systemTokens - userRoleTokens
+ if budget <= 0 {
+ return 0
+ }
+ return budget
+}
+
+func truncateCompactionSummary(summary string) string {
+ if len(summary) <= maxCompactionSummaryBytes {
+ return summary
+ }
+ limit := maxCompactionSummaryBytes - len(compactionSummaryTruncated)
+ if limit < 0 {
+ limit = 0
+ }
+ var b strings.Builder
+ for _, r := range summary {
+ if b.Len()+len(string(r)) > limit {
+ break
+ }
+ b.WriteRune(r)
+ }
+ return strings.TrimSpace(b.String()) + compactionSummaryTruncated
+}
+
+func estimateCompactionTokens(text string) int {
+ text = strings.TrimSpace(text)
+ if text == "" {
+ return 0
+ }
+ return max(1, (len([]rune(text))+3)/4)
+}
+
+func estimateMessagesTokens(messages []api.Message) int {
+ var total int
+ for _, msg := range messages {
+ total += estimateCompactionTokens(msg.Role)
+ total += estimateCompactionTokens(msg.Content)
+ total += estimateCompactionTokens(msg.Thinking)
+ total += estimateCompactionTokens(msg.ToolName)
+ total += estimateCompactionTokens(msg.ToolCallID)
+ for _, call := range msg.ToolCalls {
+ total += estimateCompactionTokens(call.Function.Name)
+ total += estimateCompactionTokens(call.Function.Arguments.String())
+ }
+ }
+ return total
+}
+
+func estimateCompactionRequestTokens(req CompactionRequest) int {
+ requestMessages := sanitizeMessagesForEstimate(req.Messages)
+ if strings.TrimSpace(req.SystemPrompt) != "" {
+ requestMessages = make([]api.Message, 0, len(req.Messages)+1)
+ requestMessages = append(requestMessages, api.Message{Role: "system", Content: strings.TrimSpace(req.SystemPrompt)})
+ requestMessages = append(requestMessages, sanitizeMessagesForEstimate(req.Messages)...)
+ }
+
+ payload := struct {
+ Messages []api.Message `json:"messages,omitempty"`
+ Tools api.Tools `json:"tools,omitempty"`
+ Format json.RawMessage `json:"format,omitempty"`
+ }{
+ Messages: requestMessages,
+ Tools: req.Tools,
+ }
+ if rawFormat, ok := compactionFormatForEstimate(req.Format); ok {
+ payload.Format = rawFormat
+ }
+ if data, err := json.Marshal(payload); err == nil {
+ return estimateCompactionTokens(string(data))
+ }
+
+ total := estimateMessagesTokens(requestMessages)
+ total += estimateCompactionTokens(req.Tools.String())
+ total += estimateCompactionTokens(req.Format)
+ return total
+}
+
+func (s *Session) estimateRunPromptTokens(opts RunOptions, messages []api.Message) int {
+ return estimateCompactionRequestTokens(CompactionRequest{
+ SystemPrompt: opts.SystemPrompt,
+ Messages: messages,
+ Tools: s.availableTools(),
+ Format: opts.Format,
+ Options: opts.Options,
+ })
+}
+
+func (s *Session) checkPreflightPromptBudget(opts RunOptions, messages []api.Message) error {
+ contextWindow := s.contextWindowTokens(opts)
+ if contextWindow <= 0 {
+ return nil
+ }
+ estimated := s.estimateRunPromptTokens(opts, messages)
+ if estimated < contextWindow {
+ return nil
+ }
+ return fmt.Errorf("prompt is too large for the current context (~%d/%d tokens). Reduce the system prompt or message history, compact the conversation, or use a model with a larger context", estimated, contextWindow)
+}
+
+func (s *Session) checkPostCompactionPromptBudget(opts RunOptions, messages []api.Message) error {
+ contextWindow := s.contextWindowTokens(opts)
+ if contextWindow <= 0 {
+ return nil
+ }
+ estimated := s.estimateRunPromptTokens(opts, messages)
+ if estimated < contextWindow {
+ return nil
+ }
+ return fmt.Errorf("history is still too large after compaction (~%d/%d tokens). Start a fresh request, reduce the system prompt or history, or use a model with a larger context", estimated, contextWindow)
+}
+
+func sanitizeMessagesForEstimate(messages []api.Message) []api.Message {
+ requestMessages := sanitizeMessagesForRequest(messages)
+ for i := range requestMessages {
+ // Image token accounting is model-specific. Without the active model's
+ // tokenizer and vision accounting, raw image bytes/base64 make the
+ // estimate look much larger than the prompt the model actually sees.
+ requestMessages[i].Images = nil
+ }
+ return requestMessages
+}
+
+func compactionFormatForEstimate(format string) (json.RawMessage, bool) {
+ format = strings.TrimSpace(format)
+ if format == "" {
+ return nil, false
+ }
+ if format == "json" {
+ return json.RawMessage(`"json"`), true
+ }
+ if !json.Valid([]byte(format)) {
+ return nil, false
+ }
+ return json.RawMessage(format), true
+}
+
+func compactionPrompt(previousSummary string, archive []api.Message, maxTokens int) (string, error) {
+ messages := make([]api.Message, 0, len(archive))
+ for _, msg := range archive {
+ msg.Thinking = ""
+ msg.Images = nil
+ messages = append(messages, msg)
+ }
+ return renderCompactionPrompt(previousSummary, fitCompactionMessagesToBudget(previousSummary, messages, maxTokens))
+}
+
+func renderCompactionPrompt(previousSummary string, messages []api.Message) (string, error) {
+ payload, err := json.MarshalIndent(messages, "", " ")
+ if err != nil {
+ return "", fmt.Errorf("marshal compaction messages: %w", err)
+ }
+
+ var b strings.Builder
+ if strings.TrimSpace(previousSummary) != "" {
+ b.WriteString("Previous summary:\n")
+ b.WriteString(strings.TrimSpace(previousSummary))
+ b.WriteString("\n\n")
+ }
+ b.WriteString("Messages to archive as JSON:\n")
+ b.Write(payload)
+ return b.String(), nil
+}
+
+func fitCompactionMessagesToBudget(previousSummary string, messages []api.Message, maxTokens int) []api.Message {
+ if maxTokens <= 0 {
+ return messages
+ }
+ fitted := append([]api.Message(nil), messages...)
+ for range 16 {
+ body, err := renderCompactionPrompt(previousSummary, fitted)
+ if err != nil || estimateCompactionTokens(body) <= maxTokens {
+ return fitted
+ }
+
+ idx := largestCompactionContentMessage(fitted)
+ if idx < 0 {
+ return fitted
+ }
+ overageTokens := estimateCompactionTokens(body) - maxTokens
+ currentRunes := len([]rune(fitted[idx].Content))
+ nextRunes := currentRunes - overageTokens*4 - 256
+ if nextRunes >= currentRunes {
+ nextRunes = currentRunes / 2
+ }
+ fitted[idx].Content = truncateToolResultContentTo(fitted[idx].Content, nextRunes)
+ }
+ return fitted
+}
+
+func largestCompactionContentMessage(messages []api.Message) int {
+ idx := -1
+ size := 0
+ for i, msg := range messages {
+ n := len([]rune(msg.Content))
+ if n > size {
+ idx = i
+ size = n
+ }
+ }
+ return idx
+}
+
+func splitCompactionMessages(messages []api.Message, keepUserTurns int) (prefix []api.Message, previousSummary string, archive []api.Message, suffix []api.Message, keptUserTurns int, ok bool) {
+ if keepUserTurns < 0 {
+ keepUserTurns = defaultCompactionKeepUserTurns
+ }
+
+ start := 0
+ for start < len(messages) && messages[start].Role == "system" && !isCompactionSummary(messages[start]) {
+ prefix = append(prefix, messages[start])
+ start++
+ }
+
+ candidates := make([]api.Message, 0, len(messages)-start)
+ for i := start; i < len(messages); i++ {
+ msg := messages[i]
+ if isCompactionSummary(msg) {
+ previousSummary = CompactionSummaryText(msg.Content)
+ continue
+ }
+ if isCompactionToolCall(msg) {
+ if i+1 < len(messages) && isCompactionSummary(messages[i+1]) {
+ previousSummary = CompactionSummaryText(messages[i+1].Content)
+ i++
+ }
+ continue
+ }
+ candidates = append(candidates, msg)
+ }
+
+ userTurnIndexes := make([]int, 0, keepUserTurns)
+ for i := len(candidates) - 1; i >= 0; i-- {
+ if candidates[i].Role == "user" {
+ userTurnIndexes = append(userTurnIndexes, i)
+ }
+ }
+ keptUserTurns = keepUserTurns
+ if len(userTurnIndexes) <= keptUserTurns {
+ keptUserTurns = len(userTurnIndexes) - 1
+ }
+ if keptUserTurns < 0 {
+ keptUserTurns = 0
+ }
+
+ suffixStart := len(candidates)
+ if keptUserTurns > 0 {
+ suffixStart = userTurnIndexes[keptUserTurns-1]
+ }
+ if suffixStart <= 0 || len(candidates[:suffixStart]) == 0 {
+ return prefix, previousSummary, nil, nil, keptUserTurns, false
+ }
+
+ return prefix, previousSummary, candidates[:suffixStart], candidates[suffixStart:], keptUserTurns, true
+}
+
+func isCompactionToolName(name string) bool {
+ return name == CompactionToolName
+}
+
+func isCompactionSummary(msg api.Message) bool {
+ return (msg.Role == "user" || msg.Role == "system" || (msg.Role == "tool" && isCompactionToolName(msg.ToolName))) &&
+ strings.HasPrefix(msg.Content, CompactionSummaryMessagePrefix)
+}
+
+// IsCompactionSummary reports whether msg uses the canonical compaction
+// summary message representation.
+func IsCompactionSummary(msg api.Message) bool {
+ return isCompactionSummary(msg)
+}
+
+// CompactionSummaryContent returns the user-visible summary from msg when it
+// is a canonical compaction summary.
+func CompactionSummaryContent(msg api.Message) (string, bool) {
+ if !isCompactionSummary(msg) {
+ return "", false
+ }
+ return CompactionSummaryText(msg.Content), true
+}
+
+// IsCompactionToolResult reports whether msg is the synthetic tool result used
+// to represent compaction in message history.
+func IsCompactionToolResult(msg api.Message) bool {
+ return msg.Role == "tool" && (isCompactionToolName(msg.ToolName) || msg.ToolCallID == CompactionToolCallID)
+}
+
+// IsCompactionToolCall reports whether msg is the synthetic assistant tool
+// call paired with a compaction summary result.
+func IsCompactionToolCall(msg api.Message) bool {
+ return isCompactionToolCall(msg)
+}
+
+func isCompactionToolCall(msg api.Message) bool {
+ if msg.Role != "assistant" {
+ return false
+ }
+ for _, call := range msg.ToolCalls {
+ if isCompactionToolName(call.Function.Name) {
+ return true
+ }
+ }
+ return false
+}
+
+// CompactionSummaryText reverses CompactionSummaryMessages, returning the
+// user-visible summary text with the prefix and any continuation instruction
+// removed.
+func CompactionSummaryText(content string) string {
+ return strings.TrimSpace(strings.TrimSuffix(
+ strings.TrimSpace(strings.TrimPrefix(content, CompactionSummaryMessagePrefix)),
+ CompactionContinueInstruction,
+ ))
+}
+
+func intOption(options map[string]any, key string) int {
+ if options == nil {
+ return 0
+ }
+ switch v := options[key].(type) {
+ case int:
+ return v
+ case int64:
+ return int(v)
+ case float64:
+ return int(v)
+ case float32:
+ return int(v)
+ case json.Number:
+ n, _ := v.Int64()
+ return int(n)
+ default:
+ return 0
+ }
+}
diff --git a/western_ai/usa/ollama/agent/compactor_test.go b/western_ai/usa/ollama/agent/compactor_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..31437f4058b9ce6477c4bfe8059fa544ddd49b74
--- /dev/null
+++ b/western_ai/usa/ollama/agent/compactor_test.go
@@ -0,0 +1,773 @@
+package agent
+
+import (
+ "context"
+ "net/http"
+ "strings"
+ "testing"
+
+ "github.com/ollama/ollama/api"
+)
+
+type scriptedCompactionClient struct {
+ responses [][]api.ChatResponse
+ errs []error
+ requests []*api.ChatRequest
+}
+
+func (c *scriptedCompactionClient) Chat(_ context.Context, req *api.ChatRequest, fn api.ChatResponseFunc) error {
+ c.requests = append(c.requests, req)
+ i := len(c.requests) - 1
+ if i < len(c.responses) {
+ for _, response := range c.responses[i] {
+ if err := fn(response); err != nil {
+ return err
+ }
+ }
+ }
+ if i < len(c.errs) {
+ return c.errs[i]
+ }
+ return nil
+}
+
+func assertCompactionSummaryPair(t *testing.T, messages []api.Message) {
+ t.Helper()
+ if len(messages) != 2 {
+ t.Fatalf("compaction summary pair len = %d, want 2: %#v", len(messages), messages)
+ }
+ if messages[0].Role != "assistant" || len(messages[0].ToolCalls) != 1 || messages[0].ToolCalls[0].Function.Name != CompactionToolName {
+ t.Fatalf("compaction assistant message = %#v", messages[0])
+ }
+ if messages[0].ToolCalls[0].Function.Arguments.Len() != 0 {
+ t.Fatalf("compaction summary tool call should not have arguments: %#v", messages[0].ToolCalls[0].Function.Arguments.ToMap())
+ }
+ if messages[1].Role != "tool" || messages[1].ToolName != CompactionToolName || messages[1].ToolCallID != messages[0].ToolCalls[0].ID {
+ t.Fatalf("compaction tool result = %#v", messages[1])
+ }
+ if !strings.HasPrefix(messages[1].Content, CompactionSummaryMessagePrefix) {
+ t.Fatalf("compaction tool result missing summary prefix: %#v", messages[1])
+ }
+}
+
+func TestSimpleCompactorSummarizesOldMessages(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 16000,
+ KeepUserTurns: 2,
+ Threshold: 0.5,
+ }}
+
+ messages := []api.Message{
+ {Role: "system", Content: "stay pinned"},
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer", Thinking: "hidden"},
+ {Role: "user", Content: "recent one"},
+ {Role: "assistant", Content: "recent answer"},
+ {Role: "user", Content: "recent two"},
+ }
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ Messages: messages,
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ compacted := result.Messages
+ if len(compacted) != 6 {
+ t.Fatalf("compacted messages = %d, want 6", len(compacted))
+ }
+ if compacted[0].Content != "stay pinned" {
+ t.Fatalf("first message = %#v", compacted[0])
+ }
+ if result.Summary != "summary" {
+ t.Fatalf("result summary = %q", result.Summary)
+ }
+ assertCompactionSummaryPair(t, compacted[1:3])
+ if compacted[3].Content != "recent one" || compacted[5].Content != "recent two" {
+ t.Fatalf("recent turns were not kept: %#v", compacted)
+ }
+ if len(client.requests) != 1 {
+ t.Fatalf("summary requests = %d, want 1", len(client.requests))
+ }
+ if strings.Contains(client.requests[0].Messages[1].Content, "hidden") {
+ t.Fatal("compaction prompt should omit thinking")
+ }
+}
+
+func TestSimpleCompactorKeepsOnlySummaryForSmallContext(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "small context summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: compactOnlySummaryContextTokens - 1,
+ KeepUserTurns: 3,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ ContinueTask: true,
+ Messages: []api.Message{
+ {Role: "system", Content: "pinned"},
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "latest request"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if len(result.Messages) != 3 {
+ t.Fatalf("messages = %#v, want system plus compaction summary pair", result.Messages)
+ }
+ if result.Messages[0].Content != "pinned" {
+ t.Fatalf("leading system message not kept: %#v", result.Messages)
+ }
+ assertCompactionSummaryPair(t, result.Messages[1:])
+ if !strings.Contains(result.Messages[2].Content, CompactionContinueInstruction) {
+ t.Fatalf("tool result missing continue instruction: %q", result.Messages[2].Content)
+ }
+}
+
+func TestSimpleCompactorAddsContinueTaskInstructionOnlyToToolResult(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ ContinueTask: true,
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent request"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 75}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Summary != "summary" {
+ t.Fatalf("result summary = %q", result.Summary)
+ }
+ content := result.Messages[1].Content
+ if !strings.Contains(content, CompactionContinueInstruction) {
+ t.Fatalf("tool result missing continue instruction: %q", content)
+ }
+ if got := CompactionSummaryText(content); got != "summary" {
+ t.Fatalf("visible summary text = %q", got)
+ }
+}
+
+func TestSimpleCompactorTruncatesOversizedSummary(t *testing.T) {
+ longSummary := strings.Repeat("x", maxCompactionSummaryBytes+1024)
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: longSummary}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old one"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent one"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 75}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if len(result.Summary) > maxCompactionSummaryBytes {
+ t.Fatalf("summary bytes = %d, want <= %d", len(result.Summary), maxCompactionSummaryBytes)
+ }
+ if !strings.HasSuffix(result.Summary, compactionSummaryTruncated) {
+ t.Fatalf("summary missing truncation marker")
+ }
+ if !strings.Contains(result.Messages[1].Content, compactionSummaryTruncated) {
+ t.Fatalf("compacted message missing truncation marker: %#v", result.Messages)
+ }
+}
+
+func TestSimpleCompactorRetriesEmptySummaryWithThinkFalse(t *testing.T) {
+ client := &scriptedCompactionClient{
+ responses: [][]api.ChatResponse{
+ {{Message: api.Message{Role: "assistant", Thinking: "internal summary plan"}}},
+ {{Message: api.Message{Role: "assistant", Content: "fallback summary"}}},
+ },
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent request"},
+ },
+ Force: true,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted || result.Summary != "fallback summary" {
+ t.Fatalf("compaction result = %#v", result)
+ }
+ if len(client.requests) != 2 {
+ t.Fatalf("summary requests = %d, want 2", len(client.requests))
+ }
+ if client.requests[0].Think != nil {
+ t.Fatalf("first summary request think = %#v, want nil", client.requests[0].Think)
+ }
+ if client.requests[1].Think == nil || client.requests[1].Think.Value != false {
+ t.Fatalf("fallback summary request think = %#v, want false", client.requests[1].Think)
+ }
+}
+
+func TestSimpleCompactorIgnoresUnsupportedThinkFalseFallback(t *testing.T) {
+ client := &scriptedCompactionClient{
+ responses: [][]api.ChatResponse{
+ {{Message: api.Message{Role: "assistant", Thinking: "internal summary plan"}}},
+ nil,
+ },
+ errs: []error{
+ nil,
+ api.StatusError{StatusCode: http.StatusBadRequest, ErrorMessage: "model does not support thinking"},
+ },
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent request"},
+ },
+ Force: true,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Compacted || result.Reason != "summary was empty" {
+ t.Fatalf("compaction result = %#v", result)
+ }
+ if len(client.requests) != 2 {
+ t.Fatalf("summary requests = %d, want 2", len(client.requests))
+ }
+ if client.requests[1].Think == nil || client.requests[1].Think.Value != false {
+ t.Fatalf("fallback summary request think = %#v, want false", client.requests[1].Think)
+ }
+}
+
+func TestSimpleCompactorFallsBackToUnsetThinkWhenThinkFalseUnsupported(t *testing.T) {
+ client := &scriptedCompactionClient{
+ responses: [][]api.ChatResponse{
+ {{Message: api.Message{Role: "assistant", Thinking: "internal summary plan"}}},
+ nil,
+ {{Message: api.Message{Role: "assistant", Content: "unset think summary"}}},
+ },
+ errs: []error{
+ nil,
+ api.StatusError{StatusCode: http.StatusBadRequest, ErrorMessage: "think level is not supported"},
+ nil,
+ },
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+ thinkHigh := &api.ThinkValue{Value: "high"}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent request"},
+ },
+ Think: thinkHigh,
+ Force: true,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted || result.Summary != "unset think summary" {
+ t.Fatalf("compaction result = %#v", result)
+ }
+ if len(client.requests) != 3 {
+ t.Fatalf("summary requests = %d, want 3", len(client.requests))
+ }
+ if client.requests[0].Think != thinkHigh {
+ t.Fatalf("first summary request think = %#v, want original", client.requests[0].Think)
+ }
+ if client.requests[1].Think == nil || client.requests[1].Think.Value != false {
+ t.Fatalf("fallback summary request think = %#v, want false", client.requests[1].Think)
+ }
+ if client.requests[2].Think != nil {
+ t.Fatalf("unsupported fallback retry think = %#v, want nil", client.requests[2].Think)
+ }
+}
+
+func TestSimpleCompactorKeepsFewerTurnsForShortChats(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "short summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 16000,
+ KeepUserTurns: 3,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "latest request"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if len(result.Messages) != 3 {
+ t.Fatalf("messages = %#v, want compaction tool pair plus latest request", result.Messages)
+ }
+ assertCompactionSummaryPair(t, result.Messages[:2])
+ if result.Messages[2].Content != "latest request" {
+ t.Fatalf("latest turn was not kept: %#v", result.Messages)
+ }
+}
+
+func TestSimpleCompactorCanArchiveWholeShortChat(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "whole summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 3,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "only request"},
+ {Role: "assistant", Content: "only answer"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 75}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if len(result.Messages) != 2 {
+ t.Fatalf("messages = %#v, want only compaction tool pair", result.Messages)
+ }
+ assertCompactionSummaryPair(t, result.Messages)
+}
+
+func TestSimpleCompactorSkipsBelowThreshold(t *testing.T) {
+ client := &fakeClient{}
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ Threshold: 0.8,
+ }}
+
+ messages := []api.Message{
+ {Role: "user", Content: "one"},
+ {Role: "user", Content: "two"},
+ {Role: "user", Content: "three"},
+ {Role: "user", Content: "four"},
+ {Role: "user", Content: "five"},
+ }
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: messages,
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 50}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Compacted {
+ t.Fatal("did not expect compaction")
+ }
+ if result.Due {
+ t.Fatal("below-threshold compaction should not be due")
+ }
+ if len(result.Messages) != len(messages) {
+ t.Fatalf("messages changed below threshold: %#v", result.Messages)
+ }
+ if len(client.requests) != 0 {
+ t.Fatalf("summary requests = %d, want 0", len(client.requests))
+ }
+}
+
+func TestSimpleCompactorUsesEstimatedMessagesWhenPromptEvalMissing(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "estimated summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.8,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old request"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "read large output"},
+ {Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "read",
+ },
+ }}},
+ {Role: "tool", ToolName: "read", ToolCallID: "call-1", Content: strings.Repeat("x", 360)},
+ },
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Due || !result.Compacted {
+ t.Fatalf("expected estimate-driven compaction, got %#v", result)
+ }
+ if result.Summary != "estimated summary" {
+ t.Fatalf("summary = %q", result.Summary)
+ }
+}
+
+func TestSimpleCompactorEstimateIncludesRequestPreamble(t *testing.T) {
+ compactor := &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ Threshold: 0.8,
+ }}
+
+ if !compactor.shouldCompact(CompactionRequest{
+ SystemPrompt: strings.Repeat("system ", 360),
+ Messages: []api.Message{{Role: "user", Content: "tiny"}},
+ }) {
+ t.Fatal("system prompt should count toward compaction estimate")
+ }
+
+ if !compactor.shouldCompact(CompactionRequest{
+ Messages: []api.Message{{Role: "user", Content: "tiny"}},
+ Tools: api.Tools{{
+ Type: "function",
+ Function: api.ToolFunction{
+ Name: "verbose_tool",
+ Description: strings.Repeat("description ", 360),
+ },
+ }},
+ }) {
+ t.Fatal("tool definitions should count toward compaction estimate")
+ }
+}
+
+func TestCompactionPromptFitsBudgetByTruncatingLargeToolOutput(t *testing.T) {
+ largeToolOutput := strings.Repeat("x", 10_000)
+ body, err := compactionPrompt("", []api.Message{
+ {Role: "user", Content: "what changed?"},
+ {Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "bash",
+ },
+ }}},
+ {Role: "tool", ToolName: "bash", ToolCallID: "call-1", Content: largeToolOutput},
+ }, 300)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if estimateCompactionTokens(body) > 300 {
+ t.Fatalf("compaction prompt tokens = %d, want <= 300", estimateCompactionTokens(body))
+ }
+ if strings.Count(body, "x") >= len(largeToolOutput) {
+ t.Fatal("large tool output was not truncated")
+ }
+ if !strings.Contains(body, "[tool output truncated: showing first ~") {
+ t.Fatalf("truncation marker missing from compaction prompt: %q", body)
+ }
+}
+
+func TestCompactionPromptRetruncatesAlreadyTruncatedToolOutput(t *testing.T) {
+ alreadyTruncated := strings.Repeat("x", 7000) + "\n\n[tool output truncated: showing first ~100 tokens and last ~100 tokens; omitted ~99999 tokens. Use a narrower command, line range, or search query if more detail is needed.]\n\n" + strings.Repeat("y", 7000)
+ body, err := compactionPrompt("", []api.Message{
+ {Role: "user", Content: "what changed?"},
+ {Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "bash",
+ },
+ }}},
+ {Role: "tool", ToolName: "bash", ToolCallID: "call-1", Content: alreadyTruncated},
+ }, 300)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if estimateCompactionTokens(body) > 300 {
+ t.Fatalf("compaction prompt tokens = %d, want <= 300", estimateCompactionTokens(body))
+ }
+ if strings.Count(body, "x")+strings.Count(body, "y") >= 14_000 {
+ t.Fatal("already-truncated tool output was not truncated again")
+ }
+ if !strings.Contains(body, "[tool output truncated: showing first ~") {
+ t.Fatalf("truncation marker missing from compaction prompt: %q", body)
+ }
+}
+
+func TestCompactionSummaryTextStripsPrefix(t *testing.T) {
+ content := compactionSummaryMessageForTask("worked on branch changes", false)
+ if got := CompactionSummaryText(content); got != "worked on branch changes" {
+ t.Fatalf("summary text = %q", got)
+ }
+}
+
+func TestCompactionSummaryCanTellModelToContinueTask(t *testing.T) {
+ content := compactionSummaryMessageForTask("worked on branch changes", true)
+ if !strings.Contains(content, CompactionContinueInstruction) {
+ t.Fatalf("summary message missing continue instruction: %q", content)
+ }
+ if got := CompactionSummaryText(content); got != "worked on branch changes" {
+ t.Fatalf("summary text = %q", got)
+ }
+}
+
+func TestResolveContextWindowTokensPrefersExplicitNumCtx(t *testing.T) {
+ tests := []struct {
+ name string
+ options map[string]any
+ configured int
+ want int
+ }{
+ {
+ name: "explicit smaller num ctx",
+ options: map[string]any{"num_ctx": 4096},
+ configured: 8192,
+ want: 4096,
+ },
+ {
+ name: "explicit num ctx can exceed configured metadata",
+ options: map[string]any{"num_ctx": 131072},
+ configured: 8192,
+ want: 131072,
+ },
+ {
+ name: "metadata without explicit num ctx",
+ configured: 32768,
+ want: 32768,
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ if got := ResolveContextWindowTokens(tt.options, tt.configured); got != tt.want {
+ t.Fatalf("ResolveContextWindowTokens() = %d, want %d", got, tt.want)
+ }
+ })
+ }
+}
+
+func TestSimpleCompactorForceCompactsWithoutPromptEvalCount(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "forced summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ KeepUserTurns: 1,
+ Threshold: 0.8,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent"},
+ },
+ Force: true,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Due || !result.Compacted {
+ t.Fatalf("forced compaction result = %#v", result)
+ }
+ if result.Summary != "forced summary" {
+ t.Fatalf("summary = %q", result.Summary)
+ }
+}
+
+func TestSimpleCompactorDefaultsToKeepingThreeUserTurns(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 16000,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ ChatID: "chat-1",
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "user", Content: "old"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "one"},
+ {Role: "assistant", Content: "one answer"},
+ {Role: "user", Content: "two"},
+ {Role: "assistant", Content: "two answer"},
+ {Role: "user", Content: "three"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ assertCompactionSummaryPair(t, result.Messages[:2])
+ if got := result.Messages[2].Content; got != "one" {
+ t.Fatalf("first kept turn = %q, want one", got)
+ }
+}
+
+func TestSimpleCompactorCarriesPreviousSummary(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "new summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 16000,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: []api.Message{
+ {Role: "system", Content: CompactionSummaryMessagePrefix + "old summary"},
+ {Role: "user", Content: "old"},
+ {Role: "assistant", Content: "old answer"},
+ {Role: "user", Content: "recent"},
+ },
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if !strings.Contains(client.requests[0].Messages[1].Content, "Previous summary:\nold summary") {
+ t.Fatalf("previous summary missing from request: %q", client.requests[0].Messages[1].Content)
+ }
+}
+
+func TestSimpleCompactorCarriesPreviousToolSummaryAndPlacesNewSummaryBeforeKeptSuffix(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "new summary"}},
+ }},
+ }
+ compactor := &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 16000,
+ KeepUserTurns: 1,
+ Threshold: 0.5,
+ }}
+
+ messages := []api.Message{
+ {Role: "user", Content: "kept before old summary"},
+ CompactionSummaryMessages("old summary", false)[0],
+ CompactionSummaryMessages("old summary", false)[1],
+ {Role: "user", Content: "latest request"},
+ }
+ result, err := compactor.MaybeCompact(context.Background(), CompactionRequest{
+ Model: "model",
+ Messages: messages,
+ Latest: api.ChatResponse{Metrics: api.Metrics{PromptEvalCount: 12000}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !result.Compacted {
+ t.Fatal("expected compaction")
+ }
+ if !strings.Contains(client.requests[0].Messages[1].Content, "Previous summary:\nold summary") {
+ t.Fatalf("previous summary missing from request: %q", client.requests[0].Messages[1].Content)
+ }
+ if len(result.Messages) != 3 {
+ t.Fatalf("messages = %#v, want compaction pair plus latest request", result.Messages)
+ }
+ assertCompactionSummaryPair(t, result.Messages[:2])
+ if result.Messages[2].Content != "latest request" {
+ t.Fatalf("kept suffix = %#v", result.Messages)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/events.go b/western_ai/usa/ollama/agent/events.go
new file mode 100644
index 0000000000000000000000000000000000000000..88f050a6ec5414f0b80d9c217f0c4f73bb3acedb
--- /dev/null
+++ b/western_ai/usa/ollama/agent/events.go
@@ -0,0 +1,79 @@
+package agent
+
+import (
+ "context"
+
+ "github.com/ollama/ollama/api"
+)
+
+type EventType string
+
+const (
+ EventMessageDelta EventType = "message_delta"
+ EventThinkingDelta EventType = "thinking_delta"
+ EventToolCallDetected EventType = "tool_call_detected"
+ EventToolStarted EventType = "tool_started"
+ EventToolFinished EventType = "tool_finished"
+ EventCompactionStarted EventType = "compaction_started"
+ EventCompactionProgress EventType = "compaction_progress"
+ EventCompacted EventType = "compacted"
+ EventCompactionSkipped EventType = "compaction_skipped"
+ EventRunFinished EventType = "run_finished"
+ EventError EventType = "error"
+)
+
+type Event struct {
+ Type EventType `json:"type"`
+ RunID string `json:"runId,omitempty"`
+ ChatID string `json:"chatId,omitempty"`
+ Model string `json:"model,omitempty"`
+ Status string `json:"status,omitempty"`
+ ToolCallID string `json:"toolCallId,omitempty"`
+ ToolName string `json:"toolName,omitempty"`
+ WorkingDir string `json:"workingDir,omitempty"`
+ Content string `json:"content,omitempty"`
+ Thinking string `json:"thinking,omitempty"`
+ ToolCalls []api.ToolCall `json:"toolCalls,omitempty"`
+ Messages []api.Message `json:"messages,omitempty"`
+ Args map[string]any `json:"args,omitempty"`
+ Tokens int `json:"tokens,omitempty"`
+ Error string `json:"error,omitempty"`
+}
+
+type EventSink interface {
+ Emit(Event) error
+}
+
+type EventSinkFunc func(Event) error
+
+func (fn EventSinkFunc) Emit(event Event) error {
+ if fn == nil {
+ return nil
+ }
+ return fn(event)
+}
+
+func (s *Session) emit(event Event) error {
+ if s == nil {
+ return nil
+ }
+ var firstErr error
+ for _, sink := range s.EventSinks {
+ if sink == nil {
+ continue
+ }
+ if err := sink.Emit(event); err != nil && firstErr == nil {
+ firstErr = err
+ }
+ }
+ return firstErr
+}
+
+func (s *Session) emitIgnoringCanceled(ctx context.Context, event Event) error {
+ err := s.emit(event)
+ if err != nil && ctx != nil && ctx.Err() != nil {
+ //nolint:nilerr // Event sinks may close during cancellation; cancellation is not a user-facing emit failure.
+ return nil
+ }
+ return err
+}
diff --git a/western_ai/usa/ollama/agent/registry.go b/western_ai/usa/ollama/agent/registry.go
new file mode 100644
index 0000000000000000000000000000000000000000..1882e2fe383fd4128a2d9a0b2dd16e4fd5c375ad
--- /dev/null
+++ b/western_ai/usa/ollama/agent/registry.go
@@ -0,0 +1,94 @@
+package agent
+
+import (
+ "context"
+ "fmt"
+ "sort"
+
+ "github.com/ollama/ollama/api"
+)
+
+type ToolContext struct {
+ WorkingDir string
+}
+
+type ToolResult struct {
+ Content string
+ WorkingDir string
+}
+
+type Tool interface {
+ Name() string
+ Description() string
+ Schema() api.ToolFunction
+ Execute(context.Context, ToolContext, map[string]any) (ToolResult, error)
+}
+
+type ApprovalRequired interface {
+ RequiresApproval(map[string]any) bool
+}
+
+type Registry struct {
+ tools map[string]Tool
+}
+
+func (r *Registry) Register(tool Tool) {
+ if r == nil || tool == nil {
+ return
+ }
+ if r.tools == nil {
+ r.tools = make(map[string]Tool)
+ }
+ r.tools[tool.Name()] = tool
+}
+
+func (r *Registry) Get(name string) (Tool, bool) {
+ if r == nil {
+ return nil, false
+ }
+ tool, ok := r.tools[name]
+ return tool, ok
+}
+
+func (r *Registry) Names() []string {
+ if r == nil {
+ return nil
+ }
+ names := make([]string, 0, len(r.tools))
+ for name := range r.tools {
+ names = append(names, name)
+ }
+ sort.Strings(names)
+ return names
+}
+
+func (r *Registry) Tools() api.Tools {
+ names := r.Names()
+ apiTools := make(api.Tools, 0, len(names))
+ for _, name := range names {
+ tool := r.tools[name]
+ apiTools = append(apiTools, api.Tool{
+ Type: "function",
+ Function: tool.Schema(),
+ })
+ }
+ return apiTools
+}
+
+func (r *Registry) Execute(ctx context.Context, toolCtx ToolContext, call api.ToolCall) (ToolResult, error) {
+ tool, ok := r.Get(call.Function.Name)
+ if !ok {
+ return ToolResult{}, fmt.Errorf("unknown tool: %s", call.Function.Name)
+ }
+ return tool.Execute(ctx, toolCtx, call.Function.Arguments.ToMap())
+}
+
+func ToolRequiresApproval(tool Tool, args map[string]any) bool {
+ if tool == nil {
+ return false
+ }
+ if t, ok := tool.(ApprovalRequired); ok {
+ return t.RequiresApproval(args)
+ }
+ return false
+}
diff --git a/western_ai/usa/ollama/agent/session.go b/western_ai/usa/ollama/agent/session.go
new file mode 100644
index 0000000000000000000000000000000000000000..3d6b1ca2e8daff54d1472ee65a02409b553da620
--- /dev/null
+++ b/western_ai/usa/ollama/agent/session.go
@@ -0,0 +1,1024 @@
+package agent
+
+import (
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "os"
+ "path/filepath"
+ "strings"
+
+ "github.com/google/uuid"
+
+ "github.com/ollama/ollama/api"
+)
+
+type ChatClient interface {
+ Chat(context.Context, *api.ChatRequest, api.ChatResponseFunc) error
+}
+
+type ApprovalRequest struct {
+ WorkingDir string
+ Calls []ApprovalToolCall
+}
+
+type ApprovalToolCall struct {
+ ToolCallID string
+ ToolName string
+ Args map[string]any
+}
+
+type Approval struct {
+ Allow bool
+ AllowAll bool
+ Reason string
+}
+
+type ApprovalPrompter interface {
+ PromptApproval(context.Context, ApprovalRequest) (Approval, error)
+}
+
+type Session struct {
+ Client ChatClient
+ EventSinks []EventSink
+ Tools *Registry
+ ApprovalPrompter ApprovalPrompter
+ AllowAllTools bool
+ WorkingDir string
+ Compactor Compactor
+}
+
+type RunOptions struct {
+ ChatID string
+ Model string
+ SystemPrompt string
+ Messages []api.Message
+ NewMessages []api.Message
+ Format string
+ Options map[string]any
+ Think *api.ThinkValue
+ KeepAlive *api.Duration
+ // MaxToolRounds limits consecutive model/tool cycles.
+ // Zero uses the default guard; negative disables the guard for tests or
+ // special callers.
+ MaxToolRounds int
+}
+
+type RunResult struct {
+ Messages []api.Message
+ Latest api.ChatResponse
+ WorkingDir string
+}
+
+const (
+ defaultMaxToolRounds = 100
+ maxToolResultRunes = 60000
+ smallContextToolResultRunes = 6000
+ tinyContextToolResultRunes = 3200
+ smallContextToolResultTokenWindow = 8192
+ tinyContextToolResultTokenWindow = 4096
+ toolTruncationMarkerReserveTokens = 64
+ toolOutputFullOmissionPrefix = "[tool output truncated: output omitted because the context is full;"
+)
+
+type toolOutputOverflow struct {
+ toolName string
+ toolCallID string
+ content string
+}
+
+type toolBatchResult struct {
+ messages []api.Message
+ stop toolExecutionStop
+ overflows []toolOutputOverflow
+}
+
+type toolExecutionStop string
+
+const (
+ toolExecutionDenied toolExecutionStop = "denied"
+ toolExecutionCanceled toolExecutionStop = "canceled"
+)
+
+type runPhase int
+
+const (
+ runPhaseModel runPhase = iota
+ runPhaseTools
+ runPhaseCompact
+ runPhaseDone
+)
+
+type runState struct {
+ runID string
+ opts RunOptions
+
+ phase runPhase
+
+ messages []api.Message
+ latest api.ChatResponse
+
+ assistant api.Message
+ pendingToolCalls []api.ToolCall
+ canceled bool
+
+ toolBatch *toolBatchResult
+
+ consecutiveModelErrors int
+ toolRounds int
+ maxToolRounds int
+ compactionSkipNotified bool
+
+ finish runFinish
+}
+
+type runFinish struct {
+ status string
+ ignoreCanceled bool
+ err error
+}
+
+func (st *runState) finishDone() {
+ st.finish = runFinish{status: "done"}
+ st.phase = runPhaseDone
+}
+
+func (st *runState) finishDenied() {
+ st.finish = runFinish{status: "denied"}
+ st.phase = runPhaseDone
+}
+
+func (st *runState) finishCanceled() {
+ st.finish = runFinish{status: "canceled", ignoreCanceled: true}
+ st.phase = runPhaseDone
+}
+
+func (st *runState) finishError(err error) {
+ st.finish = runFinish{err: err}
+ st.phase = runPhaseDone
+}
+
+func (s *Session) Run(ctx context.Context, opts RunOptions) (*RunResult, error) {
+ if s == nil {
+ return nil, errors.New("nil session")
+ }
+ if s.Client == nil {
+ return nil, errors.New("agent session requires a chat client")
+ }
+ if opts.Model == "" {
+ return nil, errors.New("agent session requires a model")
+ }
+ runID := uuid.NewString()
+ messages := make([]api.Message, 0, len(opts.Messages)+len(opts.NewMessages))
+ for _, msg := range opts.Messages {
+ messages = append(messages, sanitizeMessageForRun(msg))
+ }
+ for _, msg := range opts.NewMessages {
+ msg = sanitizeMessageForRun(msg)
+ messages = append(messages, msg)
+ }
+
+ if err := s.checkPreflightPromptBudget(opts, messages); err != nil {
+ s.emit(Event{Type: EventError, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Error: err.Error()})
+ return nil, err
+ }
+
+ st := runState{
+ runID: runID,
+ opts: opts,
+ phase: runPhaseModel,
+ messages: messages,
+ maxToolRounds: resolvedMaxToolRounds(opts.MaxToolRounds),
+ }
+ for {
+ switch st.phase {
+ case runPhaseModel:
+ if err := s.runModelStep(ctx, &st); err != nil {
+ return nil, err
+ }
+ case runPhaseTools:
+ if err := s.runToolStep(ctx, &st); err != nil {
+ return nil, err
+ }
+ case runPhaseCompact:
+ if err := s.runCompactionStep(ctx, &st); err != nil {
+ return &RunResult{Messages: st.messages, Latest: st.latest, WorkingDir: s.WorkingDir}, err
+ }
+ case runPhaseDone:
+ return s.finishRun(ctx, &st)
+ }
+ }
+}
+
+func (s *Session) runModelStep(ctx context.Context, st *runState) error {
+ opts := st.opts
+
+ assistant, pendingToolCalls, canceled, err := s.chatRound(ctx, st.runID, opts, st.messages, &st.latest)
+ if err != nil {
+ var statusErr api.StatusError
+ if errors.As(err, &statusErr) && statusErr.StatusCode >= 500 && st.consecutiveModelErrors < 2 {
+ st.consecutiveModelErrors++
+ st.messages = append(st.messages, api.Message{
+ Role: "user",
+ Content: fmt.Sprintf("Your previous response caused an error: %s\n\nPlease try again with a valid response.", statusErr.ErrorMessage),
+ })
+ return nil
+ }
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: opts.ChatID, Model: opts.Model, Error: err.Error()})
+ return err
+ }
+ st.consecutiveModelErrors = 0
+ st.assistant = assistant
+ st.pendingToolCalls = pendingToolCalls
+ st.canceled = canceled
+
+ if !messageEmpty(assistant) {
+ st.messages = append(st.messages, assistant)
+ }
+
+ if len(pendingToolCalls) == 0 {
+ st.toolBatch = nil
+ st.phase = runPhaseCompact
+ return nil
+ }
+
+ if canceled {
+ skipped, skipErr := s.skipToolCalls(ctx, st.runID, opts, pendingToolCalls, "Tool execution skipped because the run was canceled.")
+ if skipErr != nil {
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: opts.ChatID, Model: opts.Model, Error: skipErr.Error()})
+ return skipErr
+ }
+ st.messages = append(st.messages, skipped...)
+ st.finishCanceled()
+ return nil
+ }
+
+ if s.Tools == nil {
+ st.finishDone()
+ return nil
+ }
+
+ if st.maxToolRounds >= 0 && st.toolRounds >= st.maxToolRounds {
+ content := fmt.Sprintf("Tool execution skipped because the max tool-round limit of %d was reached. Send another message to continue.", st.maxToolRounds)
+ toolMessages, skipErr := s.skipToolCalls(ctx, st.runID, opts, pendingToolCalls, content)
+ if skipErr != nil {
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: opts.ChatID, Model: opts.Model, Error: skipErr.Error()})
+ return skipErr
+ }
+ st.messages = append(st.messages, toolMessages...)
+ err := fmt.Errorf("tool round limit reached after %d rounds; send another message to continue", st.maxToolRounds)
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: opts.ChatID, Model: opts.Model, Error: err.Error()})
+ st.finishError(err)
+ return nil
+ }
+
+ st.phase = runPhaseTools
+ return nil
+}
+
+func (s *Session) runToolStep(ctx context.Context, st *runState) error {
+ batch, err := s.executeToolCalls(ctx, st.runID, st.opts, st.messages, st.pendingToolCalls)
+ if err != nil {
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: st.opts.ChatID, Model: st.opts.Model, Error: err.Error()})
+ return err
+ }
+
+ st.messages = append(st.messages, batch.messages...)
+ st.toolBatch = &batch
+ st.phase = runPhaseCompact
+ return nil
+}
+
+func (s *Session) runCompactionStep(ctx context.Context, st *runState) error {
+ opts := st.opts
+ var err error
+ if st.toolBatch != nil && len(st.toolBatch.overflows) > 0 {
+ st.messages, st.compactionSkipNotified, err = s.compactForToolOutputOverflow(ctx, st.runID, opts, st.messages, st.latest, st.assistant, st.toolBatch.messages, st.toolBatch.overflows, st.compactionSkipNotified)
+ } else {
+ st.messages, st.compactionSkipNotified, err = s.maybeCompact(ctx, st.runID, opts, st.messages, st.latest, st.compactionSkipNotified)
+ }
+ if err != nil {
+ s.emit(Event{Type: EventError, RunID: st.runID, ChatID: opts.ChatID, Model: opts.Model, Error: err.Error()})
+ return err
+ }
+
+ if st.toolBatch == nil {
+ if st.canceled {
+ st.finishCanceled()
+ } else {
+ st.finishDone()
+ }
+ return nil
+ }
+
+ switch st.toolBatch.stop {
+ case toolExecutionDenied:
+ st.finishDenied()
+ case toolExecutionCanceled:
+ st.finishCanceled()
+ default:
+ st.toolRounds++
+ st.assistant = api.Message{}
+ st.pendingToolCalls = nil
+ st.toolBatch = nil
+ st.phase = runPhaseModel
+ }
+ return nil
+}
+
+func (s *Session) finishRun(ctx context.Context, st *runState) (*RunResult, error) {
+ if st.finish.status != "" {
+ event := Event{Type: EventRunFinished, RunID: st.runID, ChatID: st.opts.ChatID, Model: st.opts.Model, Status: st.finish.status}
+ var err error
+ if st.finish.ignoreCanceled {
+ err = s.emitIgnoringCanceled(ctx, event)
+ } else {
+ err = s.emit(event)
+ }
+ if err != nil {
+ return nil, err
+ }
+ }
+ return &RunResult{Messages: st.messages, Latest: st.latest, WorkingDir: s.WorkingDir}, st.finish.err
+}
+
+func (s *Session) chatRound(ctx context.Context, runID string, opts RunOptions, messages []api.Message, latest *api.ChatResponse) (api.Message, []api.ToolCall, bool, error) {
+ requestMessages := sanitizeMessagesForRequest(messages)
+ if strings.TrimSpace(opts.SystemPrompt) != "" {
+ withSystem := make([]api.Message, 0, len(requestMessages)+1)
+ withSystem = append(withSystem, api.Message{Role: "system", Content: opts.SystemPrompt})
+ requestMessages = append(withSystem, requestMessages...)
+ }
+
+ format := opts.Format
+ if format == "json" {
+ format = `"` + format + `"`
+ }
+
+ req := api.ChatRequest{
+ Model: opts.Model,
+ Messages: requestMessages,
+ Format: json.RawMessage(format),
+ Options: opts.Options,
+ Think: opts.Think,
+ }
+ if opts.KeepAlive != nil {
+ req.KeepAlive = opts.KeepAlive
+ }
+ if tools := s.availableTools(); len(tools) > 0 {
+ req.Tools = tools
+ }
+
+ assistant := api.Message{Role: "assistant"}
+ var pendingToolCalls []api.ToolCall
+
+ err := s.Client.Chat(ctx, &req, func(response api.ChatResponse) error {
+ if response.Message.Role != "" {
+ assistant.Role = response.Message.Role
+ }
+
+ if response.Message.Content == "" && response.Message.Thinking == "" && len(response.Message.ToolCalls) == 0 {
+ *latest = response
+ return nil
+ }
+
+ if response.Message.Thinking != "" {
+ assistant.Thinking += response.Message.Thinking
+ if err := s.emit(Event{Type: EventThinkingDelta, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Thinking: response.Message.Thinking}); err != nil {
+ return err
+ }
+ }
+
+ if response.Message.Content != "" {
+ assistant.Content += response.Message.Content
+ if err := s.emit(Event{Type: EventMessageDelta, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Content: response.Message.Content}); err != nil {
+ return err
+ }
+ }
+
+ if len(response.Message.ToolCalls) > 0 {
+ assistant.ToolCalls = append(assistant.ToolCalls, response.Message.ToolCalls...)
+ pendingToolCalls = append(pendingToolCalls, response.Message.ToolCalls...)
+ if err := s.emit(Event{Type: EventToolCallDetected, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, ToolCalls: response.Message.ToolCalls}); err != nil {
+ return err
+ }
+ }
+
+ *latest = response
+ return nil
+ })
+ if err != nil {
+ if isContextCanceledError(ctx, err) {
+ return assistant, pendingToolCalls, true, nil
+ }
+ return assistant, pendingToolCalls, false, err
+ }
+
+ return assistant, pendingToolCalls, false, nil
+}
+
+func (s *Session) executeToolCalls(ctx context.Context, runID string, opts RunOptions, messages []api.Message, calls []api.ToolCall) (toolBatchResult, error) {
+ batch := toolBatchResult{
+ messages: make([]api.Message, 0, len(calls)),
+ }
+ projectedMessages := append([]api.Message(nil), messages...)
+
+ type plannedToolCall struct {
+ call api.ToolCall
+ tool Tool
+ toolName string
+ args map[string]any
+ workingDir string
+ }
+ plans := make([]plannedToolCall, 0, len(calls))
+ batchWorkingDir := s.currentWorkingDir()
+ approvalReq := ApprovalRequest{WorkingDir: batchWorkingDir}
+ for _, call := range calls {
+ toolName := call.Function.Name
+ args := call.Function.Arguments.ToMap()
+ tool, ok := s.Tools.Get(toolName)
+ plans = append(plans, plannedToolCall{
+ call: call,
+ tool: tool,
+ toolName: toolName,
+ args: args,
+ workingDir: batchWorkingDir,
+ })
+ if ok && ToolRequiresApproval(tool, args) {
+ approvalReq.Calls = append(approvalReq.Calls, ApprovalToolCall{
+ ToolCallID: call.ID,
+ ToolName: toolName,
+ Args: args,
+ })
+ }
+ }
+
+ if len(approvalReq.Calls) > 0 {
+ approvalResult, err := s.authorizeToolCalls(ctx, approvalReq)
+ if err != nil {
+ if ctx.Err() != nil {
+ skipped, skipErr := s.skipToolCalls(ctx, runID, opts, calls, "Tool execution skipped because the run was canceled.")
+ if skipErr != nil {
+ return toolBatchResult{}, skipErr
+ }
+ batch.messages = append(batch.messages, skipped...)
+ batch.stop = toolExecutionCanceled
+ return batch, nil
+ }
+ return toolBatchResult{}, err
+ }
+ if !approvalResult.Allow {
+ content := approvalResult.Reason
+ if content == "" {
+ content = "Tool execution denied."
+ }
+ for _, plan := range plans {
+ msg := s.toolMessageForContext(plan.toolName, plan.call.ID, content, opts, projectedMessages)
+ batch.messages = append(batch.messages, msg)
+ projectedMessages = append(projectedMessages, msg)
+ deniedContent := msg.Content
+ if emitErr := s.emit(Event{Type: EventToolFinished, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "denied", ToolCallID: plan.call.ID, ToolName: plan.toolName, Args: plan.args, Content: deniedContent, Error: deniedContent}); emitErr != nil {
+ return toolBatchResult{}, emitErr
+ }
+ }
+ batch.stop = toolExecutionDenied
+ return batch, nil
+ }
+ }
+
+ for i, plan := range plans {
+ call := plan.call
+ toolName := plan.toolName
+ args := plan.args
+ if ctx.Err() != nil {
+ skipped, skipErr := s.skipToolCalls(ctx, runID, opts, calls[i:], "Tool execution skipped because the run was canceled.")
+ if skipErr != nil {
+ return toolBatchResult{}, skipErr
+ }
+ batch.messages = append(batch.messages, skipped...)
+ batch.stop = toolExecutionCanceled
+ return batch, nil
+ }
+ if plan.tool == nil {
+ content := fmt.Sprintf("Error: unknown tool: %s", toolName)
+ msg := s.toolMessageForContext(toolName, call.ID, content, opts, projectedMessages)
+ batch.messages = append(batch.messages, msg)
+ projectedMessages = append(projectedMessages, msg)
+ content = msg.Content
+ if toolOutputFullyOmitted(content) {
+ batch.overflows = append(batch.overflows, toolOutputOverflow{toolName: toolName, toolCallID: call.ID, content: fmt.Sprintf("Error: unknown tool: %s", toolName)})
+ }
+ if emitErr := s.emit(Event{Type: EventToolFinished, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "failed", ToolCallID: call.ID, ToolName: toolName, Args: args, Content: content, Error: fmt.Sprintf("unknown tool: %s", toolName)}); emitErr != nil {
+ return toolBatchResult{}, emitErr
+ }
+ continue
+ }
+
+ if err := s.emit(Event{Type: EventToolStarted, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "running", ToolCallID: call.ID, ToolName: toolName, WorkingDir: plan.workingDir, Args: args}); err != nil {
+ return toolBatchResult{}, err
+ }
+
+ result, err := s.Tools.Execute(ctx, ToolContext{WorkingDir: plan.workingDir}, call)
+ if err != nil {
+ rawContent := fmt.Sprintf("Error: %v", err)
+ msg := s.toolMessageForContext(toolName, call.ID, rawContent, opts, projectedMessages)
+ batch.messages = append(batch.messages, msg)
+ projectedMessages = append(projectedMessages, msg)
+ content := msg.Content
+ if toolOutputFullyOmitted(content) {
+ batch.overflows = append(batch.overflows, toolOutputOverflow{toolName: toolName, toolCallID: call.ID, content: rawContent})
+ }
+ if emitErr := s.emitIgnoringCanceled(ctx, Event{Type: EventToolFinished, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "failed", ToolCallID: call.ID, ToolName: toolName, Args: args, Content: content, Error: err.Error()}); emitErr != nil {
+ return toolBatchResult{}, emitErr
+ }
+ if ctx.Err() != nil {
+ skipped, skipErr := s.skipToolCalls(ctx, runID, opts, calls[i+1:], "Tool execution skipped because the run was canceled.")
+ if skipErr != nil {
+ return toolBatchResult{}, skipErr
+ }
+ batch.messages = append(batch.messages, skipped...)
+ batch.stop = toolExecutionCanceled
+ return batch, nil
+ }
+ continue
+ }
+
+ eventWorkingDir := plan.workingDir
+ if s.applyToolWorkingDir(result.WorkingDir) {
+ eventWorkingDir = s.WorkingDir
+ }
+ rawContent := result.Content
+
+ msg := s.toolMessageForContext(toolName, call.ID, rawContent, opts, projectedMessages)
+ batch.messages = append(batch.messages, msg)
+ projectedMessages = append(projectedMessages, msg)
+ content := msg.Content
+
+ if toolOutputFullyOmitted(content) {
+ batch.overflows = append(batch.overflows, toolOutputOverflow{toolName: toolName, toolCallID: call.ID, content: rawContent})
+ }
+ if err := s.emitIgnoringCanceled(ctx, Event{Type: EventToolFinished, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "done", ToolCallID: call.ID, ToolName: toolName, WorkingDir: eventWorkingDir, Args: args, Content: content}); err != nil {
+ return toolBatchResult{}, err
+ }
+ if ctx.Err() != nil {
+ skipped, skipErr := s.skipToolCalls(ctx, runID, opts, calls[i+1:], "Tool execution skipped because the run was canceled.")
+ if skipErr != nil {
+ return toolBatchResult{}, skipErr
+ }
+ batch.messages = append(batch.messages, skipped...)
+ batch.stop = toolExecutionCanceled
+ return batch, nil
+ }
+ }
+ return batch, nil
+}
+
+func (s *Session) authorizeToolCalls(ctx context.Context, req ApprovalRequest) (Approval, error) {
+ if s == nil || s.AllowAllTools || len(req.Calls) == 0 {
+ return Approval{Allow: true}, nil
+ }
+ if s.ApprovalPrompter == nil {
+ return Approval{
+ Reason: "Tool execution requires approval, but no approval prompter is available.",
+ }, nil
+ }
+
+ result, err := s.ApprovalPrompter.PromptApproval(ctx, req)
+ if err != nil {
+ return Approval{}, err
+ }
+ if result.AllowAll {
+ result.Allow = true
+ s.AllowAllTools = true
+ }
+ return result, nil
+}
+
+func (s *Session) skipToolCalls(ctx context.Context, runID string, opts RunOptions, calls []api.ToolCall, content string) ([]api.Message, error) {
+ toolMessages := make([]api.Message, 0, len(calls))
+ for _, call := range calls {
+ toolName := call.Function.Name
+ args := call.Function.Arguments.ToMap()
+ msg := toolMessage(toolName, call.ID, content)
+ toolMessages = append(toolMessages, msg)
+ if emitErr := s.emitIgnoringCanceled(ctx, Event{Type: EventToolFinished, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Status: "skipped", ToolCallID: call.ID, ToolName: toolName, Args: args, Content: msg.Content, Error: msg.Content}); emitErr != nil {
+ return nil, emitErr
+ }
+ }
+ return toolMessages, nil
+}
+
+func (s *Session) currentWorkingDir() string {
+ if s.WorkingDir != "" {
+ return s.WorkingDir
+ }
+ wd, err := os.Getwd()
+ if err != nil {
+ return ""
+ }
+ s.WorkingDir = wd
+ return s.WorkingDir
+}
+
+func (s *Session) applyToolWorkingDir(next string) bool {
+ next = strings.TrimSpace(next)
+ if next == "" {
+ return false
+ }
+ current := s.currentWorkingDir()
+ nextAbs, err := canonicalSessionPath(next)
+ if err != nil {
+ return false
+ }
+ if current == nextAbs {
+ return false
+ }
+ s.WorkingDir = nextAbs
+ return true
+}
+
+func canonicalSessionPath(path string) (string, error) {
+ abs, err := filepath.Abs(path)
+ if err != nil {
+ return "", err
+ }
+ resolved, err := filepath.EvalSymlinks(abs)
+ if err == nil {
+ return resolved, nil
+ }
+ return abs, nil
+}
+
+func isContextCanceledError(ctx context.Context, err error) bool {
+ if err == nil {
+ return false
+ }
+ if errors.Is(err, context.Canceled) {
+ return true
+ }
+ return ctx != nil && errors.Is(ctx.Err(), context.Canceled) && strings.Contains(err.Error(), "context canceled")
+}
+
+func (s *Session) maybeCompact(ctx context.Context, runID string, opts RunOptions, messages []api.Message, latest api.ChatResponse, skipNotified bool) ([]api.Message, bool, error) {
+ if s.Compactor == nil {
+ return messages, skipNotified, nil
+ }
+ req := s.compactionRequest(runID, opts, messages, latest)
+ trigger := s.autoCompactionTrigger(req)
+ if trigger != "" {
+ s.emitCompactionStarted(runID, opts, trigger)
+ }
+ result, err := s.Compactor.MaybeCompact(ctx, req)
+ if err != nil {
+ if result.Due && !skipNotified {
+ if trigger == "" {
+ trigger = "error"
+ }
+ s.emitCompactionSkipped(runID, opts, trigger, result.Reason)
+ skipNotified = true
+ }
+ return messages, skipNotified, nil
+ }
+ if !result.Compacted {
+ if result.Due && !skipNotified {
+ if trigger == "" {
+ trigger = "due"
+ }
+ s.emitCompactionSkipped(runID, opts, trigger, result.Reason)
+ skipNotified = true
+ }
+ return messages, skipNotified, nil
+ }
+ s.emitCompacted(runID, opts, result.Messages, trigger, result.Summary)
+ if err := s.checkPostCompactionPromptBudget(opts, result.Messages); err != nil {
+ return result.Messages, skipNotified, err
+ }
+ return result.Messages, skipNotified, nil
+}
+
+func (s *Session) compactForToolOutputOverflow(ctx context.Context, runID string, opts RunOptions, messages []api.Message, latest api.ChatResponse, assistant api.Message, toolMessages []api.Message, overflows []toolOutputOverflow, skipNotified bool) ([]api.Message, bool, error) {
+ if s.Compactor == nil {
+ return messages, skipNotified, nil
+ }
+
+ keepUserTurns := 0
+ req := s.compactionRequest(runID, opts, messages, latest)
+ req.Force = true
+ req.KeepUserTurns = &keepUserTurns
+ s.emitCompactionStarted(runID, opts, "tool_output")
+
+ result, err := s.Compactor.MaybeCompact(ctx, req)
+ if err != nil {
+ if result.Due && !skipNotified {
+ s.emitCompactionSkipped(runID, opts, "tool_output", result.Reason)
+ skipNotified = true
+ }
+ return messages, skipNotified, nil
+ }
+ if !result.Compacted {
+ if result.Due && !skipNotified {
+ s.emitCompactionSkipped(runID, opts, "tool_output", result.Reason)
+ skipNotified = true
+ }
+ return messages, skipNotified, nil
+ }
+
+ overflowByID := make(map[string]toolOutputOverflow, len(overflows))
+ for _, overflow := range overflows {
+ overflowByID[overflow.toolCallID] = overflow
+ }
+
+ compacted := append([]api.Message(nil), result.Messages...)
+ if !messageEmpty(assistant) {
+ compacted = append(compacted, assistant)
+ }
+
+ for _, msg := range toolMessages {
+ content := msg.Content
+ toolName := msg.ToolName
+ if overflow, ok := overflowByID[msg.ToolCallID]; ok {
+ content = overflow.content
+ if overflow.toolName != "" {
+ toolName = overflow.toolName
+ }
+ }
+ refit := s.toolMessageForPostCompactionContext(toolName, msg.ToolCallID, content, opts, compacted)
+ compacted = append(compacted, refit)
+ }
+
+ s.emitCompacted(runID, opts, compacted, "tool_output", result.Summary)
+ if err := s.checkPostCompactionPromptBudget(opts, compacted); err != nil {
+ return compacted, skipNotified, err
+ }
+ return compacted, skipNotified, nil
+}
+
+func (s *Session) compactionRequest(runID string, opts RunOptions, messages []api.Message, latest api.ChatResponse) CompactionRequest {
+ return CompactionRequest{
+ ChatID: opts.ChatID,
+ Model: opts.Model,
+ SystemPrompt: opts.SystemPrompt,
+ Messages: messages,
+ Tools: s.availableTools(),
+ Format: opts.Format,
+ Latest: latest,
+ Options: opts.Options,
+ KeepAlive: opts.KeepAlive,
+ Think: opts.Think,
+ ContinueTask: true,
+ Progress: func(progress CompactionProgress) {
+ _ = s.emit(Event{Type: EventCompactionProgress, RunID: runID, ChatID: opts.ChatID, Model: opts.Model, Tokens: progress.Tokens})
+ },
+ }
+}
+
+func (s *Session) emitCompactionStarted(runID string, opts RunOptions, status string) {
+ _ = s.emit(Event{
+ Type: EventCompactionStarted,
+ RunID: runID,
+ ChatID: opts.ChatID,
+ Model: opts.Model,
+ Status: status,
+ })
+}
+
+func (s *Session) emitCompactionSkipped(runID string, opts RunOptions, status, reason string) {
+ _ = s.emit(Event{
+ Type: EventCompactionSkipped,
+ RunID: runID,
+ ChatID: opts.ChatID,
+ Model: opts.Model,
+ Status: status,
+ Content: CompactionSkippedMessage(reason),
+ })
+}
+
+func (s *Session) emitCompacted(runID string, opts RunOptions, messages []api.Message, status, summary string) {
+ _ = s.emit(Event{
+ Type: EventCompacted,
+ RunID: runID,
+ ChatID: opts.ChatID,
+ Model: opts.Model,
+ Status: status,
+ Content: summary,
+ Messages: messages,
+ })
+}
+
+func (s *Session) autoCompactionTrigger(req CompactionRequest) string {
+ if compactor, ok := s.Compactor.(*SimpleCompactor); ok && compactor != nil {
+ if req.Force {
+ return "force"
+ }
+ contextWindow := compactor.contextWindowTokens(req.Options)
+ threshold := int(float64(contextWindow) * compactor.threshold())
+ if threshold <= 0 {
+ return ""
+ }
+ if req.Latest.PromptEvalCount > 0 && req.Latest.PromptEvalCount >= threshold {
+ return "prompt_eval"
+ }
+ if estimateCompactionRequestTokens(req) >= threshold {
+ return "estimate"
+ }
+ }
+ return ""
+}
+
+func CompactionSkippedMessage(reason string) string {
+ reason = strings.TrimSpace(reason)
+ if reason == "" {
+ reason = "compaction could not run"
+ }
+ return reason
+}
+
+func resolvedMaxToolRounds(value int) int {
+ if value == 0 {
+ return defaultMaxToolRounds
+ }
+ return value
+}
+
+func (s *Session) toolMessageForContext(toolName, toolCallID, content string, opts RunOptions, messages []api.Message) api.Message {
+ maxRunes := maxToolResultRunes
+ if limit := smallContextToolResultLimitRunes(s.contextWindowTokens(opts)); limit > 0 {
+ maxRunes = min(maxRunes, limit)
+ }
+
+ msg := toolMessageWithLimit(toolName, toolCallID, content, maxRunes)
+ threshold := s.compactionThresholdTokens(opts)
+ if threshold <= 0 {
+ return msg
+ }
+
+ projected := append(append([]api.Message(nil), messages...), msg)
+ projectedTokens := s.estimateRunPromptTokens(opts, projected)
+ if projectedTokens < threshold {
+ return msg
+ }
+
+ baseTokens := s.estimateRunPromptTokens(opts, messages)
+ overheadTokens := estimateMessagesTokens([]api.Message{{
+ Role: "tool",
+ ToolName: toolName,
+ ToolCallID: toolCallID,
+ }})
+ // Keep oversized tool output below the compaction threshold before it is
+ // appended to history. This is especially important for <=8k contexts: the
+ // next step must still have enough room to compact and continue the same
+ // user request instead of asking the user to prompt again.
+ availableRunes := (threshold - baseTokens - overheadTokens - toolTruncationMarkerReserveTokens) * 4
+ maxRunes = min(maxRunes, max(0, availableRunes))
+ msg.Content = truncateToolResultContentTo(content, maxRunes)
+ return msg
+}
+
+func (s *Session) toolMessageForPostCompactionContext(toolName, toolCallID, content string, opts RunOptions, messages []api.Message) api.Message {
+ maxRunes := maxToolResultRunes
+ if limit := smallContextToolResultLimitRunes(s.contextWindowTokens(opts)); limit > 0 {
+ maxRunes = min(maxRunes, limit)
+ }
+
+ contextWindow := s.contextWindowTokens(opts)
+ if contextWindow <= 0 {
+ return toolMessageWithLimit(toolName, toolCallID, content, maxRunes)
+ }
+
+ baseTokens := s.estimateRunPromptTokens(opts, messages)
+ overheadTokens := estimateMessagesTokens([]api.Message{{
+ Role: "tool",
+ ToolName: toolName,
+ ToolCallID: toolCallID,
+ }})
+ availableRunes := (contextWindow - baseTokens - overheadTokens - toolTruncationMarkerReserveTokens) * 4
+ maxRunes = min(maxRunes, max(0, availableRunes))
+ return toolMessageWithLimit(toolName, toolCallID, content, maxRunes)
+}
+
+func toolMessageWithLimit(toolName, toolCallID, content string, maxRunes int) api.Message {
+ return api.Message{
+ Role: "tool",
+ Content: truncateToolResultContentTo(content, maxRunes),
+ ToolName: toolName,
+ ToolCallID: toolCallID,
+ }
+}
+
+func smallContextToolResultLimitRunes(contextWindow int) int {
+ switch {
+ case contextWindow > 0 && contextWindow <= tinyContextToolResultTokenWindow:
+ return tinyContextToolResultRunes
+ case contextWindow > 0 && contextWindow <= smallContextToolResultTokenWindow:
+ return smallContextToolResultRunes
+ default:
+ return 0
+ }
+}
+
+func (s *Session) availableTools() api.Tools {
+ if s == nil || s.Tools == nil {
+ return nil
+ }
+ return s.Tools.Tools()
+}
+
+func (s *Session) compactionThresholdTokens(opts RunOptions) int {
+ contextWindow := s.contextWindowTokens(opts)
+ if contextWindow <= 0 {
+ return 0
+ }
+
+ configuredThreshold := 0.0
+ if compactor, ok := s.Compactor.(*SimpleCompactor); ok && compactor != nil {
+ configuredThreshold = compactor.Options.Threshold
+ }
+
+ threshold := int(float64(contextWindow) * ResolveCompactionThreshold(configuredThreshold))
+ if threshold <= 0 {
+ return 0
+ }
+ return threshold
+}
+
+func (s *Session) contextWindowTokens(opts RunOptions) int {
+ if s.Compactor == nil {
+ return 0
+ }
+
+ configuredWindow := 0
+ if compactor, ok := s.Compactor.(*SimpleCompactor); ok && compactor != nil {
+ configuredWindow = compactor.Options.ContextWindowTokens
+ }
+
+ return ResolveContextWindowTokens(opts.Options, configuredWindow)
+}
+
+func toolMessage(toolName, toolCallID, content string) api.Message {
+ return toolMessageWithLimit(toolName, toolCallID, content, maxToolResultRunes)
+}
+
+func sanitizeMessageForRun(msg api.Message) api.Message {
+ if msg.Role == "tool" {
+ msg.Content = truncateToolResultContent(msg.Content)
+ }
+ return msg
+}
+
+func sanitizeMessagesForRequest(messages []api.Message) []api.Message {
+ if len(messages) == 0 {
+ return nil
+ }
+ sanitized := make([]api.Message, len(messages))
+ for i, msg := range messages {
+ sanitized[i] = sanitizeMessageForRequest(msg)
+ }
+ return sanitized
+}
+
+func sanitizeMessageForRequest(msg api.Message) api.Message {
+ return sanitizeMessageForRun(msg)
+}
+
+func truncateToolResultContent(content string) string {
+ return truncateToolResultContentTo(content, maxToolResultRunes)
+}
+
+func truncateToolResultContentTo(content string, maxRunes int) string {
+ if maxRunes <= 0 {
+ return fmt.Sprintf("%s omitted ~%d tokens. Use a narrower command, line range, or search query if more detail is needed.]", toolOutputFullOmissionPrefix, approximateTokensFromRunes(len([]rune(content))))
+ }
+ if len(content) <= maxRunes {
+ return content
+ }
+ runes := []rune(content)
+ if len(runes) <= maxRunes {
+ return content
+ }
+ head := maxRunes * 3 / 4
+ tail := maxRunes - head
+ omitted := len(runes) - head - tail
+ marker := fmt.Sprintf(
+ "\n\n[tool output truncated: showing first ~%d tokens and last ~%d tokens; omitted ~%d tokens. Use a narrower command, line range, or search query if more detail is needed.]\n\n",
+ approximateTokensFromRunes(head),
+ approximateTokensFromRunes(tail),
+ approximateTokensFromRunes(omitted),
+ )
+ return string(runes[:head]) + marker + string(runes[len(runes)-tail:])
+}
+
+func toolOutputFullyOmitted(content string) bool {
+ return strings.HasPrefix(content, toolOutputFullOmissionPrefix)
+}
+
+func approximateTokensFromRunes(n int) int {
+ if n <= 0 {
+ return 0
+ }
+ return max(1, (n+3)/4)
+}
+
+func messageEmpty(msg api.Message) bool {
+ return msg.Content == "" && msg.Thinking == "" && len(msg.ToolCalls) == 0
+}
diff --git a/western_ai/usa/ollama/agent/session_test.go b/western_ai/usa/ollama/agent/session_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..4d70c7e6c1400b4c3912e43c8b9419e6c4273364
--- /dev/null
+++ b/western_ai/usa/ollama/agent/session_test.go
@@ -0,0 +1,1826 @@
+package agent
+
+import (
+ "context"
+ "errors"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "github.com/ollama/ollama/api"
+)
+
+type fakeClient struct {
+ calls int
+ responses [][]api.ChatResponse
+ requests []*api.ChatRequest
+ err error
+}
+
+func (c *fakeClient) Chat(ctx context.Context, req *api.ChatRequest, fn api.ChatResponseFunc) error {
+ c.requests = append(c.requests, req)
+ if c.calls >= len(c.responses) {
+ return nil
+ }
+ responses := c.responses[c.calls]
+ c.calls++
+ for _, response := range responses {
+ if err := fn(response); err != nil {
+ return err
+ }
+ }
+ return c.err
+}
+
+type staticTool struct{}
+
+type approvalTestTool struct {
+ called *bool
+}
+
+type cwdTestTool struct{}
+
+type largeTool struct{}
+
+type preTruncatedTool struct{}
+
+type cancelingTool struct {
+ cancel context.CancelFunc
+}
+
+type cancelAfterToolCallClient struct {
+ cancel context.CancelFunc
+}
+
+type recordingCompactor struct {
+ requests []CompactionRequest
+}
+
+type oversizedCompactor struct {
+ requests []CompactionRequest
+}
+
+type recordingEventSink struct {
+ events []Event
+}
+
+func (s *recordingEventSink) Emit(event Event) error {
+ s.events = append(s.events, event)
+ return nil
+}
+
+func hasEventType(events []Event, eventType EventType) bool {
+ for _, event := range events {
+ if event.Type == eventType {
+ return true
+ }
+ }
+ return false
+}
+
+func hasEventWithTokens(events []Event, eventType EventType, tokens int) bool {
+ for _, event := range events {
+ if event.Type == eventType && event.Tokens == tokens {
+ return true
+ }
+ }
+ return false
+}
+
+func TestSessionEmitsToAllSinksAfterError(t *testing.T) {
+ errSink := EventSinkFunc(func(Event) error {
+ return errors.New("sink failed")
+ })
+ events := &recordingEventSink{}
+ session := &Session{EventSinks: []EventSink{errSink, events}}
+
+ err := session.emit(Event{Type: EventRunFinished})
+ if err == nil {
+ t.Fatal("emit should return the first sink error")
+ }
+ if !hasEventType(events.events, EventRunFinished) {
+ t.Fatalf("later sink did not receive event after earlier error: %#v", events.events)
+ }
+}
+
+func (c cancelAfterToolCallClient) Chat(ctx context.Context, req *api.ChatRequest, fn api.ChatResponseFunc) error {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "skip me")
+ if err := fn(api.ChatResponse{Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}}}); err != nil {
+ return err
+ }
+ c.cancel()
+ return context.Canceled
+}
+
+func (c *recordingCompactor) MaybeCompact(_ context.Context, req CompactionRequest) (CompactionResult, error) {
+ c.requests = append(c.requests, req)
+ result := CompactionResult{Messages: req.Messages, Due: true}
+ if len(req.Messages) > 0 && req.Messages[len(req.Messages)-1].Role == "tool" {
+ result.Messages = CompactionSummaryMessages("tool result summarized", false)
+ result.Compacted = true
+ result.Summary = "tool result summarized"
+ }
+ return result, nil
+}
+
+func (c *oversizedCompactor) MaybeCompact(_ context.Context, req CompactionRequest) (CompactionResult, error) {
+ c.requests = append(c.requests, req)
+ summary := strings.Repeat("oversized summary ", 300)
+ return CompactionResult{
+ Messages: CompactionSummaryMessages(summary, req.ContinueTask),
+ Compacted: true,
+ Due: true,
+ Summary: summary,
+ }, nil
+}
+
+type recordingApprovalPrompter struct {
+ requests []ApprovalRequest
+ results []Approval
+}
+
+func (staticTool) Name() string {
+ return "echo_tool"
+}
+
+func (staticTool) Description() string {
+ return "echoes a value"
+}
+
+func (staticTool) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("value", api.ToolProperty{Type: api.PropertyType{"string"}})
+ return api.ToolFunction{
+ Name: "echo_tool",
+ Description: "echoes a value",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ },
+ }
+}
+
+func (staticTool) Execute(context.Context, ToolContext, map[string]any) (ToolResult, error) {
+ return ToolResult{Content: "tool says hello"}, nil
+}
+
+func (largeTool) Name() string {
+ return "large_tool"
+}
+
+func (largeTool) Description() string {
+ return "returns a large result"
+}
+
+func (largeTool) Schema() api.ToolFunction {
+ return api.ToolFunction{
+ Name: "large_tool",
+ Description: "returns a large result",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ },
+ }
+}
+
+func (largeTool) Execute(context.Context, ToolContext, map[string]any) (ToolResult, error) {
+ return ToolResult{Content: strings.Repeat("x", maxToolResultRunes+100)}, nil
+}
+
+func (preTruncatedTool) Name() string {
+ return "pre_truncated_tool"
+}
+
+func (preTruncatedTool) Description() string {
+ return "returns a large result that is already marked as truncated"
+}
+
+func (preTruncatedTool) Schema() api.ToolFunction {
+ return api.ToolFunction{
+ Name: "pre_truncated_tool",
+ Description: "returns a large result that is already marked as truncated",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ },
+ }
+}
+
+func (preTruncatedTool) Execute(context.Context, ToolContext, map[string]any) (ToolResult, error) {
+ content := strings.Repeat("x", smallContextToolResultRunes) +
+ "\n\n[tool output truncated: showing first ~1500 tokens; omitted ~999 tokens. Use a narrower command, line range, or search query if more detail is needed.]\n\n" +
+ strings.Repeat("y", smallContextToolResultRunes)
+ return ToolResult{Content: content}, nil
+}
+
+func (t cancelingTool) Name() string {
+ return "cancel_tool"
+}
+
+func (t cancelingTool) Description() string {
+ return "cancels while running"
+}
+
+func (t cancelingTool) Schema() api.ToolFunction {
+ return api.ToolFunction{
+ Name: t.Name(),
+ Description: t.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ },
+ }
+}
+
+func (t cancelingTool) Execute(ctx context.Context, _ ToolContext, _ map[string]any) (ToolResult, error) {
+ t.cancel()
+ <-ctx.Done()
+ return ToolResult{}, ctx.Err()
+}
+
+func (t approvalTestTool) Name() string {
+ return "approval_tool"
+}
+
+func (t approvalTestTool) Description() string {
+ return "requires approval"
+}
+
+func (t approvalTestTool) Schema() api.ToolFunction {
+ return api.ToolFunction{
+ Name: "approval_tool",
+ Description: "requires approval",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ },
+ }
+}
+
+func (t approvalTestTool) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (t approvalTestTool) Execute(context.Context, ToolContext, map[string]any) (ToolResult, error) {
+ if t.called != nil {
+ *t.called = true
+ }
+ return ToolResult{Content: "approved"}, nil
+}
+
+func (p *recordingApprovalPrompter) PromptApproval(_ context.Context, req ApprovalRequest) (Approval, error) {
+ p.requests = append(p.requests, req)
+ if len(p.results) == 0 {
+ return Approval{Allow: true}, nil
+ }
+ result := p.results[0]
+ p.results = p.results[1:]
+ return result, nil
+}
+
+func (cwdTestTool) Name() string {
+ return "cwd_tool"
+}
+
+func (cwdTestTool) Description() string {
+ return "tests cwd state"
+}
+
+func (cwdTestTool) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("mode", api.ToolProperty{Type: api.PropertyType{"string"}})
+ props.Set("path", api.ToolProperty{Type: api.PropertyType{"string"}})
+ return api.ToolFunction{
+ Name: "cwd_tool",
+ Description: "tests cwd state",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ },
+ }
+}
+
+func (cwdTestTool) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (cwdTestTool) Execute(_ context.Context, toolCtx ToolContext, args map[string]any) (ToolResult, error) {
+ switch args["mode"] {
+ case "set":
+ path, _ := args["path"].(string)
+ return ToolResult{Content: "changed", WorkingDir: filepath.Join(toolCtx.WorkingDir, path)}, nil
+ case "escape":
+ return ToolResult{Content: "escaped", WorkingDir: filepath.Dir(toolCtx.WorkingDir)}, nil
+ default:
+ return ToolResult{Content: toolCtx.WorkingDir}, nil
+ }
+}
+
+func TestSessionRunsToolLoop(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+
+ registry := &Registry{}
+ registry.Register(staticTool{})
+
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if client.calls != 2 {
+ t.Fatalf("client calls = %d, want 2", client.calls)
+ }
+ if len(result.Messages) != 4 {
+ t.Fatalf("messages = %d, want 4", len(result.Messages))
+ }
+ if result.Messages[2].Role != "tool" || result.Messages[2].Content != "tool says hello" {
+ t.Fatalf("tool message = %#v", result.Messages[2])
+ }
+ if len(client.requests[0].Tools) != 1 {
+ t.Fatalf("first request tools = %d, want 1", len(client.requests[0].Tools))
+ }
+ if len(client.requests[1].Messages) != 3 {
+ t.Fatalf("second request messages = %d, want 3", len(client.requests[1].Messages))
+ }
+}
+
+func TestSessionAddsSystemPromptOnlyToRequest(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ session := &Session{Client: client}
+
+ _, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ SystemPrompt: "available context: go-code",
+ NewMessages: []api.Message{{Role: "user", Content: "hello"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(client.requests) != 1 {
+ t.Fatalf("requests = %d, want 1", len(client.requests))
+ }
+ reqMessages := client.requests[0].Messages
+ if len(reqMessages) != 2 || reqMessages[0].Role != "system" || reqMessages[0].Content != "available context: go-code" {
+ t.Fatalf("request messages = %#v", reqMessages)
+ }
+}
+
+func TestSessionAccumulatesStreamingAssistantMessage(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ responses := make([]api.ChatResponse, 0, 100)
+ var wantContent, wantThinking string
+ for range 99 {
+ wantContent += "x"
+ wantThinking += "t"
+ responses = append(responses, api.ChatResponse{
+ Message: api.Message{Role: "assistant", Content: "x", Thinking: "t"},
+ })
+ }
+ toolCall := api.ToolCall{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }
+ responses = append(responses, api.ChatResponse{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{toolCall}},
+ })
+
+ session := &Session{
+ Client: &fakeClient{responses: [][]api.ChatResponse{responses}},
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "stream"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if len(result.Messages) != 2 || result.Messages[1].Content != wantContent || result.Messages[1].Thinking != wantThinking || len(result.Messages[1].ToolCalls) != 1 {
+ t.Fatalf("result messages = %#v", result.Messages)
+ }
+}
+
+func TestSessionRequestHistoryKeepsThinkingAndServerToolCallIDs(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", Thinking: "private chain"}},
+ {Message: api.Message{Role: "assistant", Content: "I'll check."}},
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "volatile-random-id",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}}},
+ },
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(client.requests) != 2 {
+ t.Fatalf("requests = %d, want 2", len(client.requests))
+ }
+
+ secondRequestMessages := client.requests[1].Messages
+ if len(secondRequestMessages) != 3 {
+ t.Fatalf("second request messages = %#v", secondRequestMessages)
+ }
+ assistant := secondRequestMessages[1]
+ if assistant.Role != "assistant" {
+ t.Fatalf("second request assistant = %#v", assistant)
+ }
+ if assistant.Thinking != "private chain" {
+ t.Fatalf("assistant thinking = %q, want preserved", assistant.Thinking)
+ }
+ if len(assistant.ToolCalls) != 1 || assistant.ToolCalls[0].ID != "volatile-random-id" {
+ t.Fatalf("assistant tool calls = %#v", assistant.ToolCalls)
+ }
+ tool := secondRequestMessages[2]
+ if tool.Role != "tool" || tool.ToolCallID != "volatile-random-id" {
+ t.Fatalf("tool result message = %#v", tool)
+ }
+ if len(result.Messages) < 3 || result.Messages[1].Thinking != "private chain" {
+ t.Fatalf("visible result messages lost thinking: %#v", result.Messages)
+ }
+}
+
+func TestSessionKeepsPartialStreamOnCancellation(t *testing.T) {
+ session := &Session{
+ Client: &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "partial "}},
+ {Message: api.Message{Role: "assistant", Content: "answer"}},
+ }},
+ err: context.Canceled,
+ },
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "cancel"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(result.Messages) != 2 || result.Messages[1].Content != "partial answer" {
+ t.Fatalf("result messages = %#v", result.Messages)
+ }
+}
+
+func TestSessionCancellationKeepsPartialResultWhenUISinkCancels(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ cancel()
+ trace := &recordingEventSink{}
+ session := &Session{
+ Client: &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "partial"}},
+ }},
+ err: context.Canceled,
+ },
+ EventSinks: []EventSink{
+ EventSinkFunc(func(event Event) error {
+ if event.Type == EventRunFinished {
+ return context.Canceled
+ }
+ return nil
+ }),
+ trace,
+ },
+ }
+
+ result, err := session.Run(ctx, RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "cancel"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result == nil || len(result.Messages) != 2 || result.Messages[1].Content != "partial" {
+ t.Fatalf("result messages = %#v, want partial assistant result", result)
+ }
+ if !hasEventType(trace.events, EventRunFinished) {
+ t.Fatalf("trace sink did not receive run finished event: %#v", trace.events)
+ }
+}
+
+func TestSessionTreatsHTTPContextCanceledStringAsCancellation(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ cancel()
+ client := &fakeClient{err: errors.New(`Post "http://127.0.0.1:11434/api/chat": context canceled`)}
+ session := &Session{Client: client}
+
+ result, err := session.Run(ctx, RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "hello"}},
+ })
+ if err != nil {
+ t.Fatalf("Run returned error for canceled HTTP request: %v", err)
+ }
+ if result == nil {
+ t.Fatal("Run returned nil result")
+ }
+ if len(result.Messages) != 1 || result.Messages[0].Content != "hello" {
+ t.Fatalf("messages = %#v, want original user message only", result.Messages)
+ }
+}
+
+func TestSessionCancellationAfterToolCallAppendsSkippedToolMessage(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: cancelAfterToolCallClient{cancel: cancel},
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(ctx, RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "cancel after tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(result.Messages) != 3 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ if len(result.Messages[1].ToolCalls) != 1 {
+ t.Fatalf("assistant tool calls = %#v", result.Messages[1])
+ }
+ if result.Messages[2].Role != "tool" || result.Messages[2].ToolCallID != "call-1" {
+ t.Fatalf("skipped tool message = %#v", result.Messages[2])
+ }
+ if !strings.Contains(result.Messages[2].Content, "run was canceled") {
+ t.Fatalf("skipped content = %q", result.Messages[2].Content)
+ }
+}
+
+func TestSessionCancellationDuringToolExecutionAppendsToolMessage(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ events := &recordingEventSink{}
+ registry := &Registry{}
+ registry.Register(cancelingTool{cancel: cancel})
+ client := &fakeClient{responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "cancel_tool",
+ },
+ }}}},
+ }}}
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ EventSinks: []EventSink{events},
+ }
+
+ result, err := session.Run(ctx, RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "cancel during tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(result.Messages) != 3 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ if result.Messages[2].Role != "tool" || result.Messages[2].ToolCallID != "call-1" {
+ t.Fatalf("tool message = %#v", result.Messages[2])
+ }
+ if !strings.Contains(result.Messages[2].Content, "context canceled") {
+ t.Fatalf("tool content = %q", result.Messages[2].Content)
+ }
+ var finished *Event
+ for i := range events.events {
+ if events.events[i].Type == EventRunFinished {
+ finished = &events.events[i]
+ }
+ }
+ if finished == nil {
+ t.Fatalf("run finished event missing: %#v", events.events)
+ }
+ if finished.Status != "canceled" {
+ t.Fatalf("run status = %q, want canceled", finished.Status)
+ }
+}
+
+func TestSessionToolLoopAllowsRoundsUnderDefaultCap(t *testing.T) {
+ responses := make([][]api.ChatResponse, 0, 26)
+ for i := range 25 {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ responses = append(responses, []api.ChatResponse{{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-" + string(rune('a'+i)),
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}},
+ }})
+ }
+ responses = append(responses, []api.ChatResponse{{
+ Message: api.Message{Role: "assistant", Content: "done"},
+ }})
+
+ client := &fakeClient{responses: responses}
+ registry := &Registry{}
+ registry.Register(staticTool{})
+
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ if _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "keep going"}},
+ }); err != nil {
+ t.Fatal(err)
+ }
+
+ if client.calls != 26 {
+ t.Fatalf("client calls = %d, want 26", client.calls)
+ }
+}
+
+func TestSessionToolRoundLimitAppendsSkippedToolMessages(t *testing.T) {
+ firstArgs := api.NewToolCallFunctionArguments()
+ firstArgs.Set("value", "first")
+ secondArgs := api.NewToolCallFunctionArguments()
+ secondArgs.Set("value", "second")
+ thirdArgs := api.NewToolCallFunctionArguments()
+ thirdArgs.Set("value", "third")
+
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: firstArgs,
+ },
+ }}},
+ }},
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{
+ {
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: secondArgs,
+ },
+ },
+ {
+ ID: "call-3",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: thirdArgs,
+ },
+ },
+ }},
+ }},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "hit cap"}},
+ MaxToolRounds: 1,
+ })
+ if err == nil || !strings.Contains(err.Error(), "tool round limit reached after 1 rounds") {
+ t.Fatalf("error = %v, want tool-round limit", err)
+ }
+ if result == nil {
+ t.Fatal("expected partial result with skipped tool messages")
+ }
+ if len(result.Messages) != 6 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ for i, wantID := range []string{"call-2", "call-3"} {
+ msg := result.Messages[4+i]
+ if msg.Role != "tool" || msg.ToolCallID != wantID {
+ t.Fatalf("skipped tool %d = %#v", i, msg)
+ }
+ if !strings.Contains(msg.Content, "max tool-round limit of 1") {
+ t.Fatalf("skipped content = %q", msg.Content)
+ }
+ }
+}
+
+func TestSessionToolLoopStopsAtDefaultRoundCap(t *testing.T) {
+ responses := make([][]api.ChatResponse, 0, defaultMaxToolRounds+1)
+ for range defaultMaxToolRounds + 1 {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ responses = append(responses, []api.ChatResponse{{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}},
+ }})
+ }
+
+ client := &fakeClient{responses: responses}
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "keep going"}},
+ })
+ if err == nil || !strings.Contains(err.Error(), "tool round limit reached after 100 rounds") {
+ t.Fatalf("error = %v, want default tool round limit", err)
+ }
+ if client.calls != defaultMaxToolRounds+1 {
+ t.Fatalf("client calls = %d, want %d", client.calls, defaultMaxToolRounds+1)
+ }
+}
+
+func TestSessionToolLoopNegativeLimitIsUnlimited(t *testing.T) {
+ responses := make([][]api.ChatResponse, 0, defaultMaxToolRounds+2)
+ for range defaultMaxToolRounds + 1 {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ responses = append(responses, []api.ChatResponse{{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}},
+ }})
+ }
+ responses = append(responses, []api.ChatResponse{{
+ Message: api.Message{Role: "assistant", Content: "done"},
+ }})
+
+ client := &fakeClient{responses: responses}
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ if _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "keep going"}},
+ MaxToolRounds: -1,
+ }); err != nil {
+ t.Fatal(err)
+ }
+ if client.calls != defaultMaxToolRounds+2 {
+ t.Fatalf("client calls = %d, want %d", client.calls, defaultMaxToolRounds+2)
+ }
+}
+
+func TestSessionTruncatesLargeToolResultsBeforeHistory(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "large_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(largeTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(result.Messages) < 3 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ content := result.Messages[2].Content
+ if !strings.Contains(content, "[tool output truncated: showing first ~") ||
+ !strings.Contains(content, "omitted ~25 tokens") ||
+ !strings.Contains(content, "Use a narrower command, line range, or search query") {
+ t.Fatalf("tool content missing truncation marker: %q", content)
+ }
+ if strings.Count(content, "x") != maxToolResultRunes {
+ t.Fatalf("truncated content x count = %d, want %d", strings.Count(content, "x"), maxToolResultRunes)
+ }
+ requestContent := client.requests[1].Messages[2].Content
+ if !strings.Contains(requestContent, "[tool output truncated: showing first ~") {
+ t.Fatalf("second model request did not use capped tool content: %q", requestContent)
+ }
+ if strings.Count(requestContent, "x") > maxToolResultRunes {
+ t.Fatalf("request tool content x count = %d, want at most %d", strings.Count(requestContent, "x"), maxToolResultRunes)
+ }
+}
+
+func TestSessionSmallContextUsesLowerToolResultPreviewCap(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "large_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(largeTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: smallContextToolResultTokenWindow,
+ }},
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ content := result.Messages[2].Content
+ if !strings.Contains(content, "[tool output truncated: showing first ~") ||
+ !strings.Contains(content, "Use a narrower command, line range, or search query") {
+ t.Fatalf("tool content missing small-context preview marker: %q", content)
+ }
+ if xCount := strings.Count(content, "x"); xCount != smallContextToolResultRunes {
+ t.Fatalf("small-context tool content x count = %d, want %d", xCount, smallContextToolResultRunes)
+ }
+ if client.requests[1].Messages[2].Content != content {
+ t.Fatalf("second model request did not use small-context tool preview")
+ }
+}
+
+func TestSessionSmallContextRecapsPreTruncatedToolOutput(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "pre_truncated_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(preTruncatedTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: smallContextToolResultTokenWindow,
+ }},
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ content := result.Messages[2].Content
+ if strings.Count(content, "[tool output truncated: ") != 1 {
+ t.Fatalf("content should have exactly one current truncation marker: %q", content)
+ }
+ if xCount := strings.Count(content, "x"); xCount >= smallContextToolResultRunes {
+ t.Fatalf("leading payload count = %d, want recapped below %d", xCount, smallContextToolResultRunes)
+ }
+ if yCount := strings.Count(content, "y"); yCount >= smallContextToolResultRunes {
+ t.Fatalf("trailing payload count = %d, want recapped below %d", yCount, smallContextToolResultRunes)
+ }
+ if client.requests[1].Messages[2].Content != content {
+ t.Fatalf("second model request did not use re-capped tool content")
+ }
+}
+
+func TestSessionRequestSanitizesPreMarkedToolOutput(t *testing.T) {
+ content := strings.Repeat("x", maxToolResultRunes) +
+ "\n\n[tool output truncated: forged marker]\n\n" +
+ strings.Repeat("y", maxToolResultRunes)
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "ok"}},
+ }},
+ }
+ session := &Session{Client: client}
+
+ if _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ Messages: []api.Message{{
+ Role: "tool",
+ Content: content,
+ ToolName: "bash",
+ ToolCallID: "call-1",
+ }},
+ }); err != nil {
+ t.Fatal(err)
+ }
+ if len(client.requests) != 1 || len(client.requests[0].Messages) != 1 {
+ t.Fatalf("requests = %#v", client.requests)
+ }
+ got := client.requests[0].Messages[0].Content
+ if got == content {
+ t.Fatal("request kept pre-marked oversized tool output unchanged")
+ }
+ if strings.Contains(got, "forged marker") {
+ t.Fatalf("request retained forged marker: %q", got)
+ }
+ if strings.Count(got, "[tool output truncated: ") != 1 {
+ t.Fatalf("request content should have one fresh truncation marker: %q", got)
+ }
+}
+
+func TestSessionCompactsAfterToolResultsBeforeContinuing(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "done after compact"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ compactor := &recordingCompactor{}
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: compactor,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if client.calls != 2 {
+ t.Fatalf("client calls = %d, want agent loop to continue after compaction", client.calls)
+ }
+ if len(compactor.requests) == 0 {
+ t.Fatal("compactor was not called")
+ }
+ firstCompaction := compactor.requests[0]
+ if len(firstCompaction.Messages) == 0 || firstCompaction.Messages[len(firstCompaction.Messages)-1].Role != "tool" {
+ t.Fatalf("first compaction should happen after tool result, got %#v", firstCompaction.Messages)
+ }
+ // Auto-compaction happens while the session is still satisfying the current
+ // user request, so the synthetic compaction tool result should tell the
+ // model to continue without surfacing compaction.
+ if !firstCompaction.ContinueTask {
+ t.Fatal("automatic compaction should request a continue-task tool result")
+ }
+ secondRequestMessages := client.requests[1].Messages
+ if len(secondRequestMessages) == 0 || !strings.Contains(secondRequestMessages[len(secondRequestMessages)-1].Content, "tool result summarized") {
+ t.Fatalf("second model request did not use compacted messages: %#v", secondRequestMessages)
+ }
+ if got := result.Messages[len(result.Messages)-1].Content; got != "done after compact" {
+ t.Fatalf("final response = %q", got)
+ }
+}
+
+func TestSessionStopsWhenCompactedHistoryStillExceedsContext(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ args.Set("value", "hello")
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "should not run"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(staticTool{})
+ events := &recordingEventSink{}
+ compactor := &oversizedCompactor{}
+ session := &Session{
+ Client: client,
+ EventSinks: []EventSink{events},
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: compactor,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ Options: map[string]any{"num_ctx": 512},
+ })
+ if err == nil {
+ t.Fatal("expected post-compaction context error")
+ }
+ if !strings.Contains(err.Error(), "still too large after compaction") || !strings.Contains(err.Error(), "fresh request") {
+ t.Fatalf("error = %q, want actionable post-compaction guidance", err.Error())
+ }
+ if result == nil {
+ t.Fatal("expected partial result with compacted messages")
+ }
+ if client.calls != 1 || len(client.requests) != 1 {
+ t.Fatalf("client calls = %d requests = %d, want no request after oversized compaction", client.calls, len(client.requests))
+ }
+ if len(compactor.requests) != 1 {
+ t.Fatalf("compactor requests = %d, want 1", len(compactor.requests))
+ }
+ if !hasEventType(events.events, EventCompacted) {
+ t.Fatalf("events missing compacted event: %#v", events.events)
+ }
+ if !hasEventType(events.events, EventError) {
+ t.Fatalf("events missing post-compaction error: %#v", events.events)
+ }
+ if len(result.Messages) == 0 || !strings.Contains(result.Messages[len(result.Messages)-1].Content, "Conversation summary:") {
+ t.Fatalf("result should retain compacted summary messages: %#v", result.Messages)
+ }
+}
+
+func TestSessionContextCapsToolResultBeforeCompaction(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "large_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(largeTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: 100,
+ Threshold: 0.8,
+ }},
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ content := result.Messages[2].Content
+ if !strings.Contains(content, "[tool output truncated: ") ||
+ !strings.Contains(content, "Use a narrower command, line range, or search query") {
+ t.Fatalf("tool content missing truncation marker: %q", content)
+ }
+ if xCount := strings.Count(content, "x"); xCount >= maxToolResultRunes {
+ t.Fatalf("context-capped content x count = %d, want less than hard cap", xCount)
+ }
+ if client.requests[1].Messages[2].Content != content {
+ t.Fatalf("second model request did not use context-capped tool content")
+ }
+}
+
+func TestSessionCompactsThenReattachesFullyOmittedToolResult(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "large_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "older history summarized"}}},
+ {{Message: api.Message{Role: "assistant", Content: "done with result"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(largeTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: smallContextToolResultTokenWindow,
+ Threshold: 0.45,
+ }},
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ Messages: []api.Message{{Role: "user", Content: strings.Repeat("history ", 2000)}},
+ NewMessages: []api.Message{{Role: "user", Content: "use a large tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if client.calls != 3 {
+ t.Fatalf("client calls = %d, want model, compaction, model", client.calls)
+ }
+ if len(client.requests) != 3 {
+ t.Fatalf("requests = %d, want 3", len(client.requests))
+ }
+
+ nextRequestMessages := client.requests[2].Messages
+ if len(nextRequestMessages) != 4 {
+ t.Fatalf("next model request messages = %#v, want summary pair plus tool call/result", nextRequestMessages)
+ }
+ if nextRequestMessages[0].Role != "assistant" || len(nextRequestMessages[0].ToolCalls) != 1 || nextRequestMessages[0].ToolCalls[0].Function.Name != CompactionToolName {
+ t.Fatalf("first message should be compaction summary tool call: %#v", nextRequestMessages[0])
+ }
+ if nextRequestMessages[1].Role != "tool" || nextRequestMessages[1].ToolName != CompactionToolName || !strings.Contains(nextRequestMessages[1].Content, "older history summarized") {
+ t.Fatalf("second message should be compaction summary result: %#v", nextRequestMessages[1])
+ }
+ if nextRequestMessages[2].Role != "assistant" || len(nextRequestMessages[2].ToolCalls) != 1 || nextRequestMessages[2].ToolCalls[0].ID != "call-1" {
+ t.Fatalf("third message should be original assistant tool call: %#v", nextRequestMessages[2])
+ }
+ toolResult := nextRequestMessages[3]
+ if toolResult.Role != "tool" || toolResult.ToolName != "large_tool" || toolResult.ToolCallID != "call-1" {
+ t.Fatalf("fourth message should be reattached large tool result: %#v", toolResult)
+ }
+ if toolOutputFullyOmitted(toolResult.Content) {
+ t.Fatalf("tool result should be re-fitted after compaction, got full omission marker: %q", toolResult.Content)
+ }
+ if !strings.Contains(toolResult.Content, "[tool output truncated: showing first ~") {
+ t.Fatalf("tool result should still be bounded after compaction: %q", toolResult.Content)
+ }
+ if strings.Count(toolResult.Content, "x") != smallContextToolResultRunes {
+ t.Fatalf("tool result x count = %d, want %d", strings.Count(toolResult.Content, "x"), smallContextToolResultRunes)
+ }
+ if got := result.Messages[len(result.Messages)-1].Content; got != "done with result" {
+ t.Fatalf("final response = %q", got)
+ }
+}
+
+func TestSessionEmitsAutoCompactionActivityEvents(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {{
+ Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "large_tool",
+ Arguments: args,
+ },
+ }}},
+ }},
+ {{Message: api.Message{Role: "assistant", Content: "summary"}, Metrics: api.Metrics{EvalCount: 7}}},
+ {{Message: api.Message{Role: "assistant", Content: "done"}}},
+ },
+ }
+ registry := &Registry{}
+ registry.Register(largeTool{})
+ events := &recordingEventSink{}
+ session := &Session{
+ Client: client,
+ EventSinks: []EventSink{events},
+ Tools: registry,
+ AllowAllTools: true,
+ Compactor: &SimpleCompactor{Client: client, Options: CompactionOptions{
+ ContextWindowTokens: 300,
+ Threshold: 0.3,
+ }},
+ }
+
+ if _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ }); err != nil {
+ t.Fatal(err)
+ }
+
+ if !hasEventType(events.events, EventCompactionStarted) {
+ t.Fatalf("events missing compaction start: %#v", events.events)
+ }
+ if !hasEventWithTokens(events.events, EventCompactionProgress, 7) {
+ t.Fatalf("events missing compaction progress tokens: %#v", events.events)
+ }
+ if !hasEventType(events.events, EventCompacted) {
+ t.Fatalf("events missing compacted event: %#v", events.events)
+ }
+}
+
+func TestSessionTruncatesSeededToolMessagesBeforeHistory(t *testing.T) {
+ largeContent := strings.Repeat("x", maxToolResultRunes+100)
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ }},
+ }
+ session := &Session{
+ Client: client,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{
+ {Role: "user", Content: "use seeded tool"},
+ {Role: "tool", ToolName: "example_tool", ToolCallID: "call-1", Content: largeContent},
+ },
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(result.Messages) < 2 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ content := result.Messages[1].Content
+ if !strings.Contains(content, "[tool output truncated: showing first ~") ||
+ !strings.Contains(content, "omitted ~25 tokens") {
+ t.Fatalf("seeded tool content missing truncation marker: %q", content)
+ }
+ requestContent := client.requests[0].Messages[1].Content
+ if !strings.Contains(requestContent, "[tool output truncated: showing first ~") {
+ t.Fatalf("model request did not use capped seeded tool content: %q", requestContent)
+ }
+ if strings.Count(requestContent, "x") > maxToolResultRunes {
+ t.Fatalf("request seeded tool content x count = %d, want at most %d", strings.Count(requestContent, "x"), maxToolResultRunes)
+ }
+}
+
+func TestSessionPreflightRejectsOversizedFirstRequest(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "should not run"}},
+ }},
+ }
+ events := &recordingEventSink{}
+ session := &Session{
+ Client: client,
+ EventSinks: []EventSink{events},
+ Compactor: &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: 128,
+ }},
+ }
+
+ _, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ SystemPrompt: strings.Repeat("system instructions ", 200),
+ NewMessages: []api.Message{{Role: "user", Content: "hello"}},
+ })
+ if err == nil {
+ t.Fatal("expected preflight context error")
+ }
+ if !strings.Contains(err.Error(), "Reduce the system prompt or message history") || !strings.Contains(err.Error(), "compact the conversation") {
+ t.Fatalf("error = %q, want actionable prompt guidance", err.Error())
+ }
+ if len(client.requests) != 0 {
+ t.Fatalf("chat requests = %d, want none before preflight passes", len(client.requests))
+ }
+ if !hasEventType(events.events, EventError) {
+ t.Fatalf("events missing error: %#v", events.events)
+ }
+}
+
+func TestSessionPreflightIgnoresRawImageBytes(t *testing.T) {
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{{
+ {Message: api.Message{Role: "assistant", Content: "image received"}},
+ }},
+ }
+ session := &Session{
+ Client: client,
+ Compactor: &SimpleCompactor{Client: nil, Options: CompactionOptions{
+ ContextWindowTokens: 128,
+ }},
+ }
+
+ image := make(api.ImageData, 64*1024)
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{
+ Role: "user",
+ Content: "describe this image",
+ Images: []api.ImageData{image},
+ }},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(client.requests) != 1 {
+ t.Fatalf("chat requests = %d, want 1", len(client.requests))
+ }
+ if got := client.requests[0].Messages[0].Images; len(got) != 1 || len(got[0]) != len(image) {
+ t.Fatalf("request images = %#v, want original image payload", got)
+ }
+ if len(result.Messages) == 0 || result.Messages[len(result.Messages)-1].Content != "image received" {
+ t.Fatalf("result messages = %#v", result.Messages)
+ }
+}
+
+func TestSessionFreezesBatchToolWorkingDirAfterApproval(t *testing.T) {
+ root := t.TempDir()
+ if err := os.Mkdir(filepath.Join(root, "sub"), 0o755); err != nil {
+ t.Fatal(err)
+ }
+ setArgs := api.NewToolCallFunctionArguments()
+ setArgs.Set("mode", "set")
+ setArgs.Set("path", "sub")
+ echoArgs := api.NewToolCallFunctionArguments()
+ echoArgs.Set("mode", "echo")
+
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{
+ {
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "cwd_tool",
+ Arguments: setArgs,
+ },
+ },
+ {
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "cwd_tool",
+ Arguments: echoArgs,
+ },
+ },
+ }}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+ registry := &Registry{}
+ registry.Register(cwdTestTool{})
+ prompter := &recordingApprovalPrompter{results: []Approval{{Allow: true}}}
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ ApprovalPrompter: prompter,
+ WorkingDir: root,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use cwd"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ want, err := filepath.EvalSymlinks(filepath.Join(root, "sub"))
+ if err != nil {
+ t.Fatal(err)
+ }
+ approvedRoot := root
+ if len(prompter.requests) != 1 {
+ t.Fatalf("approval requests = %d, want 1", len(prompter.requests))
+ }
+ if prompter.requests[0].WorkingDir != approvedRoot {
+ t.Fatalf("approval cwd = %q, want %q", prompter.requests[0].WorkingDir, approvedRoot)
+ }
+ if session.WorkingDir != want {
+ t.Fatalf("session cwd = %q, want %q", session.WorkingDir, want)
+ }
+ if result.WorkingDir != want {
+ t.Fatalf("result cwd = %q, want %q", result.WorkingDir, want)
+ }
+ if result.Messages[2].Content != "changed" {
+ t.Fatalf("cwd change tool content = %q, want unchanged output", result.Messages[2].Content)
+ }
+ if result.Messages[3].Content != approvedRoot {
+ t.Fatalf("second tool saw cwd %q, want approved cwd %q", result.Messages[3].Content, approvedRoot)
+ }
+}
+
+func TestSessionAllowsToolWorkingDirOutsideInitialDir(t *testing.T) {
+ root := t.TempDir()
+ escapeArgs := api.NewToolCallFunctionArguments()
+ escapeArgs.Set("mode", "escape")
+ echoArgs := api.NewToolCallFunctionArguments()
+ echoArgs.Set("mode", "echo")
+
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{
+ {
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "cwd_tool",
+ Arguments: escapeArgs,
+ },
+ },
+ {
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "cwd_tool",
+ Arguments: echoArgs,
+ },
+ },
+ }}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+ registry := &Registry{}
+ registry.Register(cwdTestTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ WorkingDir: root,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use cwd"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ want, err := filepath.EvalSymlinks(filepath.Dir(root))
+ if err != nil {
+ t.Fatal(err)
+ }
+ approvedRoot := root
+ if session.WorkingDir != want {
+ t.Fatalf("session cwd = %q, want %q", session.WorkingDir, want)
+ }
+ if result.Messages[2].Content != "escaped" {
+ t.Fatalf("escape tool content = %q, want unchanged output", result.Messages[2].Content)
+ }
+ if result.Messages[3].Content != approvedRoot {
+ t.Fatalf("second tool saw cwd %q, want original cwd %q", result.Messages[3].Content, approvedRoot)
+ }
+}
+
+func TestSessionDeniesWithoutApprovalPrompter(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ echoArgs := api.NewToolCallFunctionArguments()
+ echoArgs.Set("value", "should not run")
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{
+ {
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ },
+ {
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "echo_tool",
+ Arguments: echoArgs,
+ },
+ },
+ }}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+ called := false
+ registry := &Registry{}
+ registry.Register(approvalTestTool{called: &called})
+ registry.Register(staticTool{})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ ChatID: "chat-1",
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if called {
+ t.Fatal("tool executed despite denied approval")
+ }
+ if client.calls != 1 {
+ t.Fatalf("client calls = %d, want 1 after denial", client.calls)
+ }
+ if len(result.Messages) != 4 {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+ if result.Messages[2].Role != "tool" || result.Messages[2].ToolCallID != "call-1" {
+ t.Fatalf("denial tool message = %#v", result.Messages[2])
+ }
+ if result.Messages[2].Content == "" || result.Messages[2].Content == "approved" || result.Messages[2].Content == "tool says hello" {
+ t.Fatalf("tool denial content = %q", result.Messages[2].Content)
+ }
+ if result.Messages[3].Role != "tool" || result.Messages[3].ToolCallID != "call-2" {
+ t.Fatalf("second denial tool message = %#v", result.Messages[3])
+ }
+ if result.Messages[3].Content == "" || result.Messages[3].Content == "tool says hello" {
+ t.Fatalf("second denial content = %q", result.Messages[3].Content)
+ }
+}
+
+func TestSessionPromptsOnceForApprovalBatch(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{
+ {
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ },
+ {
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ },
+ }}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+ called := false
+ registry := &Registry{}
+ registry.Register(approvalTestTool{called: &called})
+ prompter := &recordingApprovalPrompter{
+ results: []Approval{{Reason: "denied"}},
+ }
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ ApprovalPrompter: prompter,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use tools"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(prompter.requests) != 1 {
+ t.Fatalf("approval prompts = %d, want 1", len(prompter.requests))
+ }
+ if len(prompter.requests[0].Calls) != 2 {
+ t.Fatalf("approval calls = %#v, want both tool calls", prompter.requests[0].Calls)
+ }
+ if called {
+ t.Fatal("tool ran despite denied approval")
+ }
+ if client.calls != 1 {
+ t.Fatalf("client calls = %d, want 1 after denial", client.calls)
+ }
+ if len(result.Messages) != 4 || result.Messages[2].Role != "tool" || result.Messages[3].Role != "tool" {
+ t.Fatalf("messages = %#v", result.Messages)
+ }
+}
+
+func TestSessionAllowAllApprovalSkipsFuturePrompts(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ }}}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-2",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ }}}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done again"}},
+ },
+ },
+ }
+ registry := &Registry{}
+ registry.Register(approvalTestTool{})
+ prompter := &recordingApprovalPrompter{
+ results: []Approval{{AllowAll: true}},
+ }
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ ApprovalPrompter: prompter,
+ }
+
+ for range 2 {
+ if _, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ }); err != nil {
+ t.Fatal(err)
+ }
+ }
+ if !session.AllowAllTools {
+ t.Fatal("session did not remember allow all")
+ }
+ if len(prompter.requests) != 1 {
+ t.Fatalf("approval prompts = %d, want 1", len(prompter.requests))
+ }
+}
+
+func TestSessionAllowAllToolsExecutesApprovalTool(t *testing.T) {
+ args := api.NewToolCallFunctionArguments()
+ client := &fakeClient{
+ responses: [][]api.ChatResponse{
+ {
+ {Message: api.Message{Role: "assistant", ToolCalls: []api.ToolCall{{
+ ID: "call-1",
+ Function: api.ToolCallFunction{
+ Name: "approval_tool",
+ Arguments: args,
+ },
+ }}}},
+ },
+ {
+ {Message: api.Message{Role: "assistant", Content: "done"}},
+ },
+ },
+ }
+ called := false
+ registry := &Registry{}
+ registry.Register(approvalTestTool{called: &called})
+ session := &Session{
+ Client: client,
+ Tools: registry,
+ AllowAllTools: true,
+ }
+
+ result, err := session.Run(context.Background(), RunOptions{
+ Model: "model",
+ NewMessages: []api.Message{{Role: "user", Content: "use a tool"}},
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !called {
+ t.Fatal("tool did not execute")
+ }
+ if result.Messages[2].Content != "approved" {
+ t.Fatalf("tool content = %q, want approved", result.Messages[2].Content)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash.go b/western_ai/usa/ollama/agent/tools/bash.go
new file mode 100644
index 0000000000000000000000000000000000000000..e1fcb0b84a08d6072685ba0cf3d5caa97e71f615
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash.go
@@ -0,0 +1,388 @@
+package tools
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "runtime"
+ "strings"
+ "time"
+ "unicode/utf8"
+
+ "github.com/ollama/ollama/agent"
+ "github.com/ollama/ollama/api"
+)
+
+const (
+ bashTimeout = 3 * time.Minute
+ bashWaitDelay = 1 * time.Second
+ maxBashOutputBytes = 60_000
+)
+
+type Bash struct{}
+
+func (b *Bash) Name() string {
+ return shellToolName()
+}
+
+func (b *Bash) Description() string {
+ return shellToolDescription()
+}
+
+func (b *Bash) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("command", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: shellCommandDescription(),
+ })
+ return api.ToolFunction{
+ Name: b.Name(),
+ Description: b.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ Required: []string{"command"},
+ },
+ }
+}
+
+func (b *Bash) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (b *Bash) Execute(ctx context.Context, toolCtx agent.ToolContext, args map[string]any) (agent.ToolResult, error) {
+ command, ok := args["command"].(string)
+ if !ok || strings.TrimSpace(command) == "" {
+ return agent.ToolResult{}, fmt.Errorf("command parameter is required")
+ }
+ if err := rejectUnsafeShellCommand(command); err != nil {
+ return agent.ToolResult{}, err
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, bashTimeout)
+ defer cancel()
+
+ cwdFile, err := os.CreateTemp("", "ollama-agent-cwd-*")
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ cwdPath := cwdFile.Name()
+ _ = cwdFile.Close()
+ defer os.Remove(cwdPath)
+
+ cmd := newBashCommand(ctx, command, cwdPath)
+ cmd.WaitDelay = bashWaitDelay
+ cmd.Cancel = func() error {
+ return killBashCommand(cmd)
+ }
+ if toolCtx.WorkingDir != "" {
+ cmd.Dir = toolCtx.WorkingDir
+ }
+
+ var stdout, stderr boundedOutput
+ stdout.Limit = maxBashOutputBytes
+ stderr.Limit = maxBashOutputBytes
+ cmd.Stdout = &stdout
+ cmd.Stderr = &stderr
+
+ err = runBashCommand(cmd)
+ finalWorkingDir := readFinalWorkingDir(cwdPath)
+
+ var sb strings.Builder
+ if stdout.Len() > 0 {
+ sb.WriteString(stdout.String("stdout"))
+ }
+ if stderr.Len() > 0 {
+ if sb.Len() > 0 {
+ sb.WriteString("\n")
+ }
+ sb.WriteString("stderr:\n")
+ sb.WriteString(stderr.String("stderr"))
+ }
+
+ if err != nil {
+ if ctx.Err() == context.DeadlineExceeded {
+ return agent.ToolResult{Content: bashContentWithError(sb.String(), "Error: command timed out after "+bashTimeout.String()), WorkingDir: finalWorkingDir}, nil
+ }
+ if ctx.Err() == context.Canceled {
+ return agent.ToolResult{Content: bashContentWithError(sb.String(), "Error: command was canceled"), WorkingDir: finalWorkingDir}, nil
+ }
+ if errors.Is(err, exec.ErrWaitDelay) {
+ _ = killBashCommand(cmd)
+ return agent.ToolResult{Content: bashContentWithError(sb.String(), "Error: command output pipes did not close after "+bashWaitDelay.String()), WorkingDir: finalWorkingDir}, nil
+ }
+ if exitErr, ok := err.(*exec.ExitError); ok {
+ return agent.ToolResult{Content: bashContentWithError(sb.String(), fmt.Sprintf("Exit code: %d", exitErr.ExitCode())), WorkingDir: finalWorkingDir}, nil
+ }
+ return agent.ToolResult{Content: sb.String(), WorkingDir: finalWorkingDir}, fmt.Errorf("executing command: %w", err)
+ }
+
+ if sb.Len() == 0 {
+ return agent.ToolResult{Content: "(no output)", WorkingDir: finalWorkingDir}, nil
+ }
+ return agent.ToolResult{Content: sb.String(), WorkingDir: finalWorkingDir}, nil
+}
+
+func bashContentWithError(content, msg string) string {
+ if content == "" {
+ return msg
+ }
+ return content + "\n\n" + msg
+}
+
+func rejectUnsafeShellCommand(command string) error {
+ switch {
+ case hasUnsafeRecursiveDelete(command):
+ return fmt.Errorf("refusing to run unsafe command: recursive delete target is too broad")
+ case readsCredentialPath(command):
+ return fmt.Errorf("refusing to run unsafe command: credential file reads are not allowed")
+ default:
+ return nil
+ }
+}
+
+func hasUnsafeRecursiveDelete(command string) bool {
+ fields := shellSafetyFields(command)
+ for i, field := range fields {
+ if isRMCommand(field) && rmCommandDeletesUnsafeTarget(fields[i+1:]) {
+ return true
+ }
+ if isPowerShellDeleteCommand(field) && powerShellDeleteCommandDeletesUnsafeTarget(fields[i+1:]) {
+ return true
+ }
+ }
+ return false
+}
+
+func rmCommandDeletesUnsafeTarget(fields []string) bool {
+ var flags string
+ for _, field := range fields {
+ if field == "--" {
+ continue
+ }
+ if strings.HasPrefix(field, "-") {
+ flags += field
+ continue
+ }
+ if strings.Contains(flags, "r") && strings.Contains(flags, "f") && isUnsafeDeleteTarget(field) {
+ return true
+ }
+ }
+ return false
+}
+
+func powerShellDeleteCommandDeletesUnsafeTarget(fields []string) bool {
+ var recurse, force bool
+ var targets []string
+ for _, field := range fields {
+ switch field {
+ case "-r", "-recurse", "-recursive":
+ recurse = true
+ case "-f", "-force":
+ force = true
+ default:
+ if !strings.HasPrefix(field, "-") {
+ targets = append(targets, field)
+ }
+ }
+ }
+ if !recurse || !force {
+ return false
+ }
+ for _, target := range targets {
+ if isUnsafeDeleteTarget(target) {
+ return true
+ }
+ }
+ return false
+}
+
+func readsCredentialPath(command string) bool {
+ fields := shellSafetyFields(command)
+ if !hasCredentialReadVerb(fields) {
+ return false
+ }
+ normalized := shellSafetyText(command)
+ for _, fragment := range []string{
+ "/.ssh/id_rsa",
+ "/.ssh/id_dsa",
+ "/.ssh/id_ecdsa",
+ "/.ssh/id_ed25519",
+ "/.aws/credentials",
+ "/.config/gcloud/application_default_credentials.json",
+ "/.kube/config",
+ "/etc/shadow",
+ } {
+ if strings.Contains(normalized, fragment) {
+ return true
+ }
+ }
+ return false
+}
+
+func hasCredentialReadVerb(fields []string) bool {
+ for _, field := range fields {
+ switch field {
+ case "cat", "less", "more", "head", "tail", "type", "get-content", "gc", "select-string", "grep", "rg", "sed", "awk":
+ return true
+ }
+ }
+ return false
+}
+
+func isRMCommand(field string) bool {
+ return field == "rm" || strings.HasSuffix(field, "/rm")
+}
+
+func isPowerShellDeleteCommand(field string) bool {
+ switch field {
+ case "remove-item", "del", "erase", "rd", "rmdir":
+ return true
+ default:
+ return false
+ }
+}
+
+func isUnsafeDeleteTarget(target string) bool {
+ if target == "." || target == "./" || target == "*" {
+ return true
+ }
+ if target == "/*" {
+ return true
+ }
+ target = strings.TrimSuffix(target, "/*")
+ for _, prefix := range []string{"~/", "$home/", "${home}/", "$env:home/", "$env:userprofile/", "%userprofile%/"} {
+ if strings.HasPrefix(target, prefix) {
+ return true
+ }
+ }
+ for _, prefix := range []string{"/etc/", "/bin/", "/sbin/", "/usr/", "/var/", "/lib/", "/library/", "/system/", "/applications/", "c:/windows/", "c:/program files/"} {
+ if strings.HasPrefix(target, prefix) {
+ return true
+ }
+ }
+ for _, exact := range []string{"/", "~", "$home", "${home}", "$env:home", "$env:userprofile", "%userprofile%", "c:", "c:/", "/etc", "/bin", "/sbin", "/usr", "/var", "/lib", "/library", "/system", "/applications", "c:/windows", "c:/program files"} {
+ if target == exact {
+ return true
+ }
+ }
+ return false
+}
+
+func shellSafetyFields(command string) []string {
+ return strings.Fields(shellSafetyText(command))
+}
+
+func shellSafetyText(command string) string {
+ command = strings.ToLower(command)
+ return strings.NewReplacer(
+ "\\", "/",
+ "\n", " ",
+ "\t", " ",
+ ";", " ",
+ "&", " ",
+ "|", " ",
+ "(", " ",
+ ")", " ",
+ "\"", "",
+ "'", "",
+ "`", "",
+ ).Replace(command)
+}
+
+func readFinalWorkingDir(path string) string {
+ content, err := os.ReadFile(path)
+ if err != nil {
+ return ""
+ }
+ workingDir := strings.TrimPrefix(string(content), "\ufeff")
+ workingDir = strings.TrimSpace(workingDir)
+ if workingDir == "" {
+ return ""
+ }
+ workingDir = normalizeBashWorkingDir(workingDir)
+ info, err := os.Stat(workingDir)
+ if err != nil || !info.IsDir() {
+ return ""
+ }
+ return workingDir
+}
+
+func normalizeBashWorkingDir(workingDir string) string {
+ if runtime.GOOS == "windows" && len(workingDir) >= 3 && workingDir[0] == '/' && workingDir[2] == '/' && isASCIIAlpha(workingDir[1]) {
+ workingDir = strings.ToUpper(string(workingDir[1])) + ":" + workingDir[2:]
+ }
+ workingDir = filepath.Clean(filepath.FromSlash(workingDir))
+ if runtime.GOOS == "windows" && len(workingDir) >= 2 && workingDir[1] == ':' && isASCIIAlpha(workingDir[0]) {
+ workingDir = strings.ToUpper(string(workingDir[0])) + workingDir[1:]
+ }
+ return workingDir
+}
+
+func isASCIIAlpha(b byte) bool {
+ return (b >= 'a' && b <= 'z') || (b >= 'A' && b <= 'Z')
+}
+
+type boundedOutput struct {
+ Limit int
+ buf []byte
+ omitted int
+}
+
+func (b *boundedOutput) Write(p []byte) (int, error) {
+ if b.Limit <= 0 {
+ b.omitted += len(p)
+ return len(p), nil
+ }
+ remaining := b.Limit - len(b.buf)
+ if remaining <= 0 {
+ b.omitted += len(p)
+ return len(p), nil
+ }
+ if len(p) <= remaining {
+ b.buf = append(b.buf, p...)
+ return len(p), nil
+ }
+ writeLen := utf8SafePrefixLen(p[:remaining])
+ b.buf = append(b.buf, p[:writeLen]...)
+ b.omitted += len(p) - writeLen
+ return len(p), nil
+}
+
+func (b *boundedOutput) Len() int {
+ return len(b.buf) + b.omitted
+}
+
+func (b *boundedOutput) String(label string) string {
+ safeLen := utf8SafePrefixLen(b.buf)
+ content := string(b.buf[:safeLen])
+ omitted := b.omitted + len(b.buf) - safeLen
+ if omitted == 0 {
+ return content
+ }
+ return content + fmt.Sprintf("\n\n[%s truncated: omitted ~%d tokens]", label, approximateTokensFromBytes(omitted))
+}
+
+func utf8SafePrefixLen(p []byte) int {
+ if len(p) == 0 {
+ return 0
+ }
+ for i := 0; i < len(p); {
+ r, size := utf8.DecodeRune(p[i:])
+ if r == utf8.RuneError && size == 1 {
+ return i
+ }
+ i += size
+ }
+ return len(p)
+}
+
+func approximateTokensFromBytes(n int) int {
+ if n <= 0 {
+ return 0
+ }
+ return max(1, (n+3)/4)
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash_test.go b/western_ai/usa/ollama/agent/tools/bash_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..a4d89e5c59688ce019cb2e6db36762d8414afe82
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash_test.go
@@ -0,0 +1,246 @@
+package tools
+
+import (
+ "context"
+ "os"
+ "path/filepath"
+ "runtime"
+ "strings"
+ "testing"
+ "unicode/utf8"
+
+ "github.com/ollama/ollama/agent"
+)
+
+func TestBashReportsFinalWorkingDir(t *testing.T) {
+ root := t.TempDir()
+ subdir := filepath.Join(root, "sub")
+ if err := os.Mkdir(subdir, 0o755); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Bash{}).Execute(context.Background(), agent.ToolContext{WorkingDir: root}, map[string]any{
+ "command": shellTestCommand("cd sub && pwd", "Set-Location sub; Get-Location"),
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ wantDir, err := filepath.EvalSymlinks(subdir)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.WorkingDir != wantDir {
+ t.Fatalf("working dir = %q, want %q", result.WorkingDir, wantDir)
+ }
+ if !strings.Contains(result.Content, "sub") {
+ t.Fatalf("content = %q, want pwd output", result.Content)
+ }
+}
+
+func TestBashBoundsOutputWhileRunning(t *testing.T) {
+ result, err := (&Bash{}).Execute(context.Background(), agent.ToolContext{WorkingDir: t.TempDir()}, map[string]any{
+ "command": shellTestCommand("yes x | head -c 70000", "[Console]::Out.Write(('x' * 70000))"),
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(result.Content, "[stdout truncated: omitted ~") || !strings.Contains(result.Content, " tokens]") {
+ t.Fatalf("content = %q, want stdout truncation marker", result.Content)
+ }
+ if count, want := strings.Count(result.Content, "x"), shellTestCapturedXCount(); count != want {
+ t.Fatalf("captured x count = %d, want %d", count, want)
+ }
+ if len(result.Content) > maxBashOutputBytes+200 {
+ t.Fatalf("content length = %d, want bounded output", len(result.Content))
+ }
+}
+
+func TestBoundedOutputTruncatesAtUTF8Boundary(t *testing.T) {
+ var out boundedOutput
+ out.Limit = len([]byte("abc")) + 1
+
+ if _, err := out.Write([]byte("abcédef")); err != nil {
+ t.Fatal(err)
+ }
+ content := out.String("stdout")
+ if !utf8.ValidString(content) {
+ t.Fatalf("content is not valid UTF-8: %q", content)
+ }
+ if strings.ContainsRune(content, utf8.RuneError) {
+ t.Fatalf("content contains replacement rune: %q", content)
+ }
+ if !strings.HasPrefix(content, "abc\n\n[stdout truncated:") {
+ t.Fatalf("content = %q, want complete ASCII prefix and truncation marker", content)
+ }
+}
+
+func TestBoundedOutputKeepsCompleteUTF8AtBoundary(t *testing.T) {
+ var out boundedOutput
+ out.Limit = len([]byte("abcé"))
+
+ if _, err := out.Write([]byte("abcédef")); err != nil {
+ t.Fatal(err)
+ }
+ if content := out.String("stdout"); !strings.HasPrefix(content, "abcé\n\n[stdout truncated:") {
+ t.Fatalf("content = %q, want complete UTF-8 prefix", content)
+ }
+}
+
+func TestBoundedOutputTrimsTrailingPartialUTF8(t *testing.T) {
+ var out boundedOutput
+ out.Limit = 4
+
+ if _, err := out.Write([]byte{'a', 'b', 'c', 0xc3}); err != nil {
+ t.Fatal(err)
+ }
+ if _, err := out.Write([]byte{0xa9}); err != nil {
+ t.Fatal(err)
+ }
+ if content := out.String("stdout"); !utf8.ValidString(content) || !strings.HasPrefix(content, "abc\n\n[stdout truncated:") {
+ t.Fatalf("content = %q, want valid UTF-8 with partial suffix trimmed", content)
+ }
+}
+
+func TestUTF8SafePrefixRejectsMalformedLeadByte(t *testing.T) {
+ input := []byte{'a', 0xc0, 0x80, 'b'}
+ if got := utf8SafePrefixLen(input); got != 1 {
+ t.Fatalf("safe prefix length = %d, want 1", got)
+ }
+}
+
+func TestBoundedOutputDropsMalformedUTF8(t *testing.T) {
+ var out boundedOutput
+ out.Limit = 4
+
+ if _, err := out.Write([]byte{'a', 0xc0, 0x80, 'b'}); err != nil {
+ t.Fatal(err)
+ }
+ content := out.String("stdout")
+ if !utf8.ValidString(content) {
+ t.Fatalf("content is not valid UTF-8: %q", content)
+ }
+ if strings.ContainsRune(content, utf8.RuneError) {
+ t.Fatalf("content contains replacement rune: %q", content)
+ }
+ if !strings.HasPrefix(content, "a\n\n[stdout truncated:") {
+ t.Fatalf("content = %q, want valid prefix and truncation marker", content)
+ }
+}
+
+func TestBashReportsCanceledCommand(t *testing.T) {
+ ctx, cancel := context.WithCancel(context.Background())
+ cancel()
+
+ result, err := (&Bash{}).Execute(ctx, agent.ToolContext{WorkingDir: t.TempDir()}, map[string]any{
+ "command": shellTestCommand("sleep 10", "Start-Sleep -Seconds 10"),
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(result.Content, "Error: command was canceled") {
+ t.Fatalf("content = %q, want canceled message", result.Content)
+ }
+ if strings.Contains(result.Content, "Exit code: -1") {
+ t.Fatalf("content = %q, should not mask cancellation as exit code", result.Content)
+ }
+}
+
+func TestRejectUnsafeShellCommand(t *testing.T) {
+ tests := []struct {
+ name string
+ command string
+ wantErr bool
+ }{
+ {name: "rm root", command: "rm -rf /", wantErr: true},
+ {name: "sudo rm root", command: "sudo rm -rf -- /", wantErr: true},
+ {name: "rm home", command: "rm -fr $HOME", wantErr: true},
+ {name: "rm root wildcard", command: "rm -rf /*", wantErr: true},
+ {name: "rm system subdir", command: "rm -rf /etc/ssh", wantErr: true},
+ {name: "rm cwd", command: "rm -rf .", wantErr: true},
+ {name: "powershell remove root", command: `Remove-Item -Recurse -Force C:\`, wantErr: true},
+ {name: "powershell remove system subdir", command: `Remove-Item -Recurse -Force C:\Windows\Temp`, wantErr: true},
+ {name: "ssh private key", command: "cat ~/.ssh/id_rsa", wantErr: true},
+ {name: "aws credentials", command: "Get-Content $HOME/.aws/credentials", wantErr: true},
+ {name: "shadow", command: "head /etc/shadow", wantErr: true},
+ {name: "delete build dir", command: "rm -rf build", wantErr: false},
+ {name: "read project file", command: "cat README.md", wantErr: false},
+ {name: "mention key text", command: "rg id_rsa docs", wantErr: false},
+ {name: "env example", command: "cat .env.example", wantErr: false},
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ err := rejectUnsafeShellCommand(tt.command)
+ if tt.wantErr && err == nil {
+ t.Fatal("expected unsafe command to be rejected")
+ }
+ if !tt.wantErr && err != nil {
+ t.Fatalf("command rejected: %v", err)
+ }
+ })
+ }
+}
+
+func TestBashRejectsUnsafeCommandBeforeExecution(t *testing.T) {
+ _, err := (&Bash{}).Execute(context.Background(), agent.ToolContext{WorkingDir: t.TempDir()}, map[string]any{
+ "command": "rm -rf /",
+ })
+ if err == nil || !strings.Contains(err.Error(), "refusing to run unsafe command") {
+ t.Fatalf("err = %v, want unsafe command rejection", err)
+ }
+}
+
+func shellTestCommand(unix, windows string) string {
+ if runtime.GOOS == "windows" {
+ return windows
+ }
+ return unix
+}
+
+func shellTestCapturedXCount() int {
+ if runtime.GOOS == "windows" {
+ return maxBashOutputBytes
+ }
+ return maxBashOutputBytes / 2
+}
+
+func TestReadFinalWorkingDirRejectsInvalidPaths(t *testing.T) {
+ dir := t.TempDir()
+ cwdFile := filepath.Join(dir, "cwd")
+ notDir := filepath.Join(dir, "file.txt")
+ if err := os.WriteFile(notDir, []byte("not a dir"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ if err := os.WriteFile(cwdFile, []byte(notDir+"\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if got := readFinalWorkingDir(cwdFile); got != "" {
+ t.Fatalf("regular file cwd = %q, want empty", got)
+ }
+
+ if err := os.WriteFile(cwdFile, []byte(filepath.Join(dir, "missing")+"\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if got := readFinalWorkingDir(cwdFile); got != "" {
+ t.Fatalf("missing cwd = %q, want empty", got)
+ }
+
+ if err := os.WriteFile(cwdFile, []byte(dir+"\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if got := readFinalWorkingDir(cwdFile); got != dir {
+ t.Fatalf("directory cwd = %q, want %q", got, dir)
+ }
+}
+
+func TestNormalizeBashWorkingDirWindowsDriveLetter(t *testing.T) {
+ if runtime.GOOS != "windows" {
+ t.Skip("windows path normalization")
+ }
+ got := normalizeBashWorkingDir("/c/Users/jdoe/project")
+ want := filepath.Clean(`C:\Users\jdoe\project`)
+ if got != want {
+ t.Fatalf("working dir = %q, want %q", got, want)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash_unix.go b/western_ai/usa/ollama/agent/tools/bash_unix.go
new file mode 100644
index 0000000000000000000000000000000000000000..10683e8d00e82848d81f80534e2f196c124c4d36
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash_unix.go
@@ -0,0 +1,49 @@
+//go:build !windows
+
+package tools
+
+import (
+ "context"
+ "os/exec"
+ "strings"
+ "syscall"
+)
+
+func shellToolName() string {
+ return "bash"
+}
+
+func shellToolDescription() string {
+ return "Execute a bash command on the system. Use this to inspect files, run tests, and perform development tasks."
+}
+
+func shellCommandDescription() string {
+ return "The bash command to execute."
+}
+
+func newBashCommand(ctx context.Context, command, cwdPath string) *exec.Cmd {
+ script := command + "\n__ollama_status=$?\npwd -P > " + shellQuote(cwdPath) + "\nexit $__ollama_status"
+ cmd := exec.CommandContext(ctx, "bash", "-c", script)
+ configureBashCommand(cmd)
+ return cmd
+}
+
+func shellQuote(value string) string {
+ return "'" + strings.ReplaceAll(value, "'", "'\\''") + "'"
+}
+
+func configureBashCommand(cmd *exec.Cmd) {
+ cmd.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
+}
+
+func runBashCommand(cmd *exec.Cmd) error {
+ return cmd.Run()
+}
+
+func killBashCommand(cmd *exec.Cmd) error {
+ if cmd == nil || cmd.Process == nil {
+ return nil
+ }
+ _ = syscall.Kill(-cmd.Process.Pid, syscall.SIGKILL)
+ return nil
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash_unix_test.go b/western_ai/usa/ollama/agent/tools/bash_unix_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..5c7992adb853e3a17e9f20981fca2d4fa299eabf
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash_unix_test.go
@@ -0,0 +1,40 @@
+//go:build !windows
+
+package tools
+
+import (
+ "context"
+ "os/exec"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/ollama/ollama/agent"
+)
+
+func TestConfigureBashCommandSetsProcessGroup(t *testing.T) {
+ cmd := exec.Command("bash", "-c", "true")
+ configureBashCommand(cmd)
+ if cmd.SysProcAttr == nil || !cmd.SysProcAttr.Setpgid {
+ t.Fatalf("configureBashCommand should start bash in a new process group")
+ }
+}
+
+func TestBashWaitDelayBoundsBackgroundOutputPipe(t *testing.T) {
+ start := time.Now()
+ result, err := (&Bash{}).Execute(context.Background(), agent.ToolContext{WorkingDir: t.TempDir()}, map[string]any{
+ "command": "sleep 5 & echo done",
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if elapsed := time.Since(start); elapsed > bashWaitDelay+2*time.Second {
+ t.Fatalf("command elapsed = %s, want bounded near %s", elapsed, bashWaitDelay)
+ }
+ if !strings.Contains(result.Content, "done") {
+ t.Fatalf("content = %q, want command output", result.Content)
+ }
+ if !strings.Contains(result.Content, "output pipes did not close") {
+ t.Fatalf("content = %q, want wait delay message", result.Content)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash_windows.go b/western_ai/usa/ollama/agent/tools/bash_windows.go
new file mode 100644
index 0000000000000000000000000000000000000000..840ff24fca228cd6a774966fc194e65e79f0953d
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash_windows.go
@@ -0,0 +1,134 @@
+//go:build windows
+
+package tools
+
+import (
+ "context"
+ "os/exec"
+ "strings"
+ "sync"
+ "unsafe"
+
+ "golang.org/x/sys/windows"
+)
+
+var bashJobHandles sync.Map
+
+func shellToolName() string {
+ return "powershell"
+}
+
+func shellToolDescription() string {
+ return "Execute a PowerShell command on the system. Use this to inspect files, run tests, and perform development tasks."
+}
+
+func shellCommandDescription() string {
+ return "The PowerShell command to execute."
+}
+
+func newBashCommand(ctx context.Context, command, cwdPath string) *exec.Cmd {
+ return exec.CommandContext(
+ ctx,
+ "powershell.exe",
+ "-NoLogo",
+ "-NoProfile",
+ "-NonInteractive",
+ "-ExecutionPolicy",
+ "Bypass",
+ "-Command",
+ powerShellCommandScript(command, cwdPath),
+ )
+}
+
+func powerShellCommandScript(command, cwdPath string) string {
+ cwdPath = powerShellSingleQuote(cwdPath)
+ return strings.Join([]string{
+ "$__ollama_status = 0",
+ ". {",
+ "try {",
+ command,
+ " $__ollama_success = $?",
+ " $__ollama_last_exit = $global:LASTEXITCODE",
+ " if ($__ollama_success) {",
+ " $__ollama_status = 0",
+ " } elseif ($__ollama_last_exit -is [int] -and $__ollama_last_exit -ne 0) {",
+ " $__ollama_status = $__ollama_last_exit",
+ " } else {",
+ " $__ollama_status = 1",
+ " }",
+ "} catch {",
+ " Write-Error $_",
+ " $__ollama_status = 1",
+ "} finally {",
+ " try { [System.IO.File]::WriteAllText(" + cwdPath + ", (Get-Location).ProviderPath, [System.Text.Encoding]::UTF8) } catch {}",
+ "}",
+ "} | Out-String -Stream -Width 4096",
+ "exit $__ollama_status",
+ }, "\n")
+}
+
+func powerShellSingleQuote(value string) string {
+ return "'" + strings.ReplaceAll(value, "'", "''") + "'"
+}
+
+func runBashCommand(cmd *exec.Cmd) error {
+ if err := cmd.Start(); err != nil {
+ return err
+ }
+ if job, err := createBashJob(cmd.Process.Pid); err == nil {
+ bashJobHandles.Store(cmd.Process.Pid, job)
+ defer releaseBashJob(cmd.Process.Pid)
+ }
+ return cmd.Wait()
+}
+
+func killBashCommand(cmd *exec.Cmd) error {
+ if cmd == nil || cmd.Process == nil {
+ return nil
+ }
+ releaseBashJob(cmd.Process.Pid)
+ _ = cmd.Process.Kill()
+ return nil
+}
+
+func createBashJob(pid int) (windows.Handle, error) {
+ job, err := windows.CreateJobObject(nil, nil)
+ if err != nil {
+ return 0, err
+ }
+
+ info := windows.JOBOBJECT_EXTENDED_LIMIT_INFORMATION{}
+ info.BasicLimitInformation.LimitFlags = windows.JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
+ if _, err := windows.SetInformationJobObject(
+ job,
+ windows.JobObjectExtendedLimitInformation,
+ uintptr(unsafe.Pointer(&info)),
+ uint32(unsafe.Sizeof(info)),
+ ); err != nil {
+ _ = windows.CloseHandle(job)
+ return 0, err
+ }
+
+ process, err := windows.OpenProcess(windows.PROCESS_SET_QUOTA|windows.PROCESS_TERMINATE, false, uint32(pid))
+ if err != nil {
+ _ = windows.CloseHandle(job)
+ return 0, err
+ }
+ defer windows.CloseHandle(process)
+
+ if err := windows.AssignProcessToJobObject(job, process); err != nil {
+ _ = windows.CloseHandle(job)
+ return 0, err
+ }
+ return job, nil
+}
+
+func releaseBashJob(pid int) {
+ value, ok := bashJobHandles.LoadAndDelete(pid)
+ if !ok {
+ return
+ }
+ if job, ok := value.(windows.Handle); ok {
+ _ = windows.CloseHandle(job)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/bash_windows_test.go b/western_ai/usa/ollama/agent/tools/bash_windows_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..9a9be4c23e31e9314a84daf387648dcb8e8a22ef
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/bash_windows_test.go
@@ -0,0 +1,15 @@
+//go:build windows
+
+package tools
+
+import (
+ "strings"
+ "testing"
+)
+
+func TestPowerShellCommandScriptUsesWideOutString(t *testing.T) {
+ script := powerShellCommandScript("Get-ChildItem", `C:\cwd.txt`)
+ if !strings.Contains(script, "Out-String -Stream -Width 4096") {
+ t.Fatalf("script = %q, want explicit Out-String width", script)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/file.go b/western_ai/usa/ollama/agent/tools/file.go
new file mode 100644
index 0000000000000000000000000000000000000000..5e2f420fb8dd9e1594cebc34aa4b4d1a85a5d694
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/file.go
@@ -0,0 +1,521 @@
+package tools
+
+import (
+ "bufio"
+ "context"
+ "fmt"
+ "io"
+ "os"
+ "path/filepath"
+ "strconv"
+ "strings"
+
+ "github.com/ollama/ollama/agent"
+ "github.com/ollama/ollama/api"
+)
+
+const (
+ maxReadBytes = 200000
+)
+
+type Read struct{}
+
+func (r *Read) Name() string {
+ return "read"
+}
+
+func (r *Read) Description() string {
+ return "Read a text file from the current working directory."
+}
+
+func (r *Read) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("path", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "Path to the file to read, relative to the working directory.",
+ })
+ props.Set("start", api.ToolProperty{
+ Type: api.PropertyType{"integer"},
+ Description: "Optional 1-based line to start reading from.",
+ })
+ props.Set("end", api.ToolProperty{
+ Type: api.PropertyType{"integer"},
+ Description: "Optional 1-based inclusive line to stop reading at.",
+ })
+ return api.ToolFunction{
+ Name: r.Name(),
+ Description: r.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ Required: []string{"path"},
+ },
+ }
+}
+
+func (r *Read) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (r *Read) Execute(ctx context.Context, toolCtx agent.ToolContext, args map[string]any) (agent.ToolResult, error) {
+ path, ok := args["path"].(string)
+ if !ok || strings.TrimSpace(path) == "" {
+ return agent.ToolResult{}, fmt.Errorf("path parameter is required")
+ }
+
+ file, info, err := openRegularFile(toolCtx.WorkingDir, path)
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ defer file.Close()
+
+ selection, err := readSelectionFromArgs(args)
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ if !selection.enabled && info.Size() > maxReadBytes {
+ return agent.ToolResult{}, fmt.Errorf("%s is too large to read (%d bytes)", path, info.Size())
+ }
+
+ select {
+ case <-ctx.Done():
+ return agent.ToolResult{}, ctx.Err()
+ default:
+ }
+
+ var content string
+ if selection.enabled {
+ content, err = readLineSelection(file, selection)
+ } else {
+ var contentBytes []byte
+ contentBytes, err = readAllWithinLimit(file, maxReadBytes)
+ content = string(contentBytes)
+ }
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ return agent.ToolResult{Content: content}, nil
+}
+
+type Edit struct{}
+
+func (e *Edit) Name() string {
+ return "edit"
+}
+
+func (e *Edit) Description() string {
+ return "Edit a text file in the current working directory by replacing exact text."
+}
+
+func (e *Edit) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("path", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "Path to the file to edit, relative to the working directory.",
+ })
+ props.Set("old_text", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "Exact text to replace.",
+ })
+ props.Set("new_text", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "Replacement text.",
+ })
+ props.Set("replace_all", api.ToolProperty{
+ Type: api.PropertyType{"boolean"},
+ Description: "Replace every occurrence. Defaults to false and requires old_text to match exactly once.",
+ })
+ return api.ToolFunction{
+ Name: e.Name(),
+ Description: e.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ Required: []string{"path", "old_text", "new_text"},
+ },
+ }
+}
+
+func (e *Edit) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (e *Edit) Execute(ctx context.Context, toolCtx agent.ToolContext, args map[string]any) (agent.ToolResult, error) {
+ path, ok := args["path"].(string)
+ if !ok || strings.TrimSpace(path) == "" {
+ return agent.ToolResult{}, fmt.Errorf("path parameter is required")
+ }
+
+ oldText, ok := args["old_text"].(string)
+ if !ok || oldText == "" {
+ return agent.ToolResult{}, fmt.Errorf("old_text parameter is required")
+ }
+
+ newText, ok := args["new_text"].(string)
+ if !ok {
+ return agent.ToolResult{}, fmt.Errorf("new_text parameter is required")
+ }
+
+ replaceAll, _ := args["replace_all"].(bool)
+
+ if err := rejectFinalSymlink(toolCtx.WorkingDir, path); err != nil {
+ return agent.ToolResult{}, err
+ }
+
+ file, info, err := openRegularFile(toolCtx.WorkingDir, path)
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ if info.Size() > maxReadBytes {
+ file.Close()
+ return agent.ToolResult{}, fmt.Errorf("%s is too large to edit (%d bytes)", path, info.Size())
+ }
+
+ select {
+ case <-ctx.Done():
+ file.Close()
+ return agent.ToolResult{}, ctx.Err()
+ default:
+ }
+
+ contentBytes, err := readAllWithinLimit(file, maxReadBytes)
+ if closeErr := file.Close(); err == nil && closeErr != nil {
+ err = closeErr
+ }
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+ content := string(contentBytes)
+ matches := strings.Count(content, oldText)
+ if matches == 0 {
+ return agent.ToolResult{}, fmt.Errorf("old_text was not found in %s", path)
+ }
+ if matches > 1 && !replaceAll {
+ return agent.ToolResult{}, fmt.Errorf("old_text matched %d times in %s; set replace_all to true to replace every match", matches, path)
+ }
+
+ var updated string
+ if replaceAll {
+ updated = strings.ReplaceAll(content, oldText, newText)
+ } else {
+ updated = strings.Replace(content, oldText, newText, 1)
+ }
+ if len(updated) > maxReadBytes {
+ return agent.ToolResult{}, fmt.Errorf("edited content is too large (%d bytes)", len(updated))
+ }
+
+ if err := writeFileAtomic(toolCtx.WorkingDir, path, []byte(updated), info.Mode().Perm()); err != nil {
+ return agent.ToolResult{}, err
+ }
+
+ return agent.ToolResult{Content: fmt.Sprintf("Updated %s (%d replacement%s).", path, matches, plural(matches))}, nil
+}
+
+func cleanRelativePath(path string) (string, error) {
+ path = strings.TrimSpace(path)
+ if path == "" {
+ return "", fmt.Errorf("path parameter is required")
+ }
+ if filepath.IsAbs(path) {
+ return "", fmt.Errorf("absolute paths are not allowed")
+ }
+ cleaned := filepath.Clean(path)
+ if cleaned == "." || cleaned == ".." || strings.HasPrefix(cleaned, ".."+string(os.PathSeparator)) {
+ return "", fmt.Errorf("path escapes working directory")
+ }
+ return cleaned, nil
+}
+
+func openRegularFile(workingDir, path string) (*os.File, os.FileInfo, error) {
+ rel, err := cleanRelativePath(path)
+ if err != nil {
+ return nil, nil, err
+ }
+ root, err := openWorkingRoot(workingDir)
+ if err != nil {
+ return nil, nil, err
+ }
+ defer root.Close()
+
+ if _, err := regularRootFileInfo(root, rel, path); err != nil {
+ return nil, nil, err
+ }
+ file, err := root.Open(rel)
+ if err != nil {
+ return nil, nil, rootPathError(err)
+ }
+ info, err := file.Stat()
+ if err != nil {
+ file.Close()
+ return nil, nil, err
+ }
+ if err := rejectNonRegularFile(path, info); err != nil {
+ file.Close()
+ return nil, nil, err
+ }
+ return file, info, nil
+}
+
+func regularRootFileInfo(root *os.Root, rel, path string) (os.FileInfo, error) {
+ info, err := root.Lstat(rel)
+ if err != nil {
+ return nil, rootPathError(err)
+ }
+ if info.Mode()&os.ModeSymlink != 0 {
+ info, err = root.Stat(rel)
+ if err != nil {
+ return nil, rootPathError(err)
+ }
+ }
+ if err := rejectNonRegularFile(path, info); err != nil {
+ return nil, err
+ }
+ return info, nil
+}
+
+func rejectNonRegularFile(path string, info os.FileInfo) error {
+ if info.IsDir() {
+ return fmt.Errorf("%s is a directory", path)
+ }
+ if !info.Mode().IsRegular() {
+ return fmt.Errorf("%s is not a regular file", path)
+ }
+ return nil
+}
+
+func writeFileAtomic(workingDir, path string, data []byte, perm os.FileMode) error {
+ rel, err := cleanRelativePath(path)
+ if err != nil {
+ return err
+ }
+ root, err := openWorkingRoot(workingDir)
+ if err != nil {
+ return err
+ }
+ defer root.Close()
+ if err := rejectRootFinalSymlink(root, rel, path); err != nil {
+ return err
+ }
+
+ parent, name := filepath.Split(rel)
+ tmpBase := fmt.Sprintf(".%s.ollama-tmp-%d", name, os.Getpid())
+ for i := 0; ; i++ {
+ candidateName := tmpBase
+ if i > 0 {
+ candidateName = fmt.Sprintf("%s-%d", tmpBase, i)
+ }
+ candidate := filepath.Join(parent, candidateName)
+ file, err := root.OpenFile(candidate, os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm)
+ if os.IsExist(err) {
+ continue
+ }
+ if err != nil {
+ return rootPathError(err)
+ }
+ if err := file.Chmod(perm); err != nil {
+ closeErr := file.Close()
+ _ = root.Remove(candidate)
+ if closeErr != nil {
+ return closeErr
+ }
+ return err
+ }
+ writeErr := writeAllAndSync(file, data)
+ closeErr := file.Close()
+ if writeErr != nil || closeErr != nil {
+ _ = root.Remove(candidate)
+ if writeErr != nil {
+ return writeErr
+ }
+ return closeErr
+ }
+ if err := root.Rename(candidate, rel); err != nil {
+ _ = root.Remove(candidate)
+ return rootPathError(err)
+ }
+ return nil
+ }
+}
+
+func rejectFinalSymlink(workingDir, path string) error {
+ rel, err := cleanRelativePath(path)
+ if err != nil {
+ return err
+ }
+ root, err := openWorkingRoot(workingDir)
+ if err != nil {
+ return err
+ }
+ defer root.Close()
+ return rejectRootFinalSymlink(root, rel, path)
+}
+
+func rejectRootFinalSymlink(root *os.Root, rel, path string) error {
+ info, err := root.Lstat(rel)
+ if err != nil {
+ return rootPathError(err)
+ }
+ if info.Mode()&os.ModeSymlink != 0 {
+ return fmt.Errorf("%s is a symlink; edit the target file directly", path)
+ }
+ return nil
+}
+
+func rootPathError(err error) error {
+ if err != nil && strings.Contains(err.Error(), "path escapes") {
+ return fmt.Errorf("path escapes working directory")
+ }
+ return err
+}
+
+func openWorkingRoot(workingDir string) (*os.Root, error) {
+ base, err := workingDirAbs(workingDir)
+ if err != nil {
+ return nil, err
+ }
+ return os.OpenRoot(base)
+}
+
+func writeAllAndSync(file *os.File, data []byte) error {
+ if _, err := file.Write(data); err != nil {
+ return err
+ }
+ return file.Sync()
+}
+
+func readAllWithinLimit(reader io.Reader, limit int) ([]byte, error) {
+ if limit < 0 {
+ limit = 0
+ }
+ content, err := io.ReadAll(io.LimitReader(reader, int64(limit)+1))
+ if err != nil {
+ return nil, err
+ }
+ if len(content) > limit {
+ return nil, fmt.Errorf("content is too large (%d byte limit)", limit)
+ }
+ return content, nil
+}
+
+func workingDirAbs(workingDir string) (string, error) {
+ base := workingDir
+ if base == "" {
+ var err error
+ base, err = os.Getwd()
+ if err != nil {
+ return "", err
+ }
+ }
+ return canonicalPath(base)
+}
+
+func canonicalPath(path string) (string, error) {
+ abs, err := filepath.Abs(path)
+ if err != nil {
+ return "", err
+ }
+ resolved, err := filepath.EvalSymlinks(abs)
+ if err == nil {
+ return resolved, nil
+ }
+ return abs, nil
+}
+
+type readSelection struct {
+ enabled bool
+ start int
+ end int
+}
+
+func readSelectionFromArgs(args map[string]any) (readSelection, error) {
+ selection := readSelection{start: 1}
+
+ if start, ok, err := intReadArg(args, "start"); err != nil {
+ return readSelection{}, err
+ } else if ok {
+ selection.enabled = true
+ selection.start = start
+ }
+ if end, ok, err := intReadArg(args, "end"); err != nil {
+ return readSelection{}, err
+ } else if ok {
+ selection.enabled = true
+ selection.end = end
+ }
+
+ if !selection.enabled {
+ return selection, nil
+ }
+ if selection.start < 1 {
+ return readSelection{}, fmt.Errorf("start must be greater than 0")
+ }
+ if selection.end > 0 && selection.end < selection.start {
+ return readSelection{}, fmt.Errorf("end must be greater than or equal to start")
+ }
+ return selection, nil
+}
+
+func readLineSelection(file *os.File, selection readSelection) (string, error) {
+ reader := bufio.NewReader(file)
+ var b strings.Builder
+ for lineNo := 1; ; {
+ line, err := reader.ReadSlice('\n')
+ if lineNo >= selection.start && (selection.end == 0 || lineNo <= selection.end) {
+ if b.Len()+len(line) > maxReadBytes {
+ return "", fmt.Errorf("selected content is too large (%d byte limit)", maxReadBytes)
+ }
+ b.Write(line)
+ }
+ if err != nil {
+ if err == bufio.ErrBufferFull {
+ continue
+ }
+ if err == io.EOF {
+ break
+ }
+ return "", err
+ }
+ if selection.end > 0 && lineNo >= selection.end {
+ break
+ }
+ lineNo++
+ }
+ return b.String(), nil
+}
+
+func intReadArg(args map[string]any, key string) (int, bool, error) {
+ value, ok := args[key]
+ if !ok {
+ return 0, false, nil
+ }
+ switch v := value.(type) {
+ case int:
+ return v, true, nil
+ case int64:
+ return int(v), true, nil
+ case float64:
+ if v != float64(int(v)) {
+ return 0, true, fmt.Errorf("%s must be a whole number", key)
+ }
+ return int(v), true, nil
+ case string:
+ v = strings.TrimSpace(v)
+ if v == "" {
+ return 0, false, nil
+ }
+ n, err := strconv.Atoi(v)
+ if err != nil {
+ return 0, true, fmt.Errorf("%s must be a whole number", key)
+ }
+ return n, true, nil
+ default:
+ return 0, true, fmt.Errorf("%s must be a whole number", key)
+ }
+}
+
+func plural(n int) string {
+ if n == 1 {
+ return ""
+ }
+ return "s"
+}
diff --git a/western_ai/usa/ollama/agent/tools/file_test.go b/western_ai/usa/ollama/agent/tools/file_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..396f84d226e568015d48a4b7f1aff1c9455df663
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/file_test.go
@@ -0,0 +1,297 @@
+package tools
+
+import (
+ "context"
+ "io"
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "github.com/ollama/ollama/agent"
+)
+
+func TestEditReplacesUniqueText(t *testing.T) {
+ dir := t.TempDir()
+ path := filepath.Join(dir, "note.txt")
+ if err := os.WriteFile(path, []byte("hello world\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "old_text": "hello",
+ "new_text": "hi",
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(result.Content, "Updated note.txt") {
+ t.Fatalf("result = %q", result.Content)
+ }
+
+ content, err := os.ReadFile(path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if string(content) != "hi world\n" {
+ t.Fatalf("content = %q", content)
+ }
+}
+
+func TestEditRequiresUniqueMatchByDefault(t *testing.T) {
+ dir := t.TempDir()
+ path := filepath.Join(dir, "note.txt")
+ if err := os.WriteFile(path, []byte("same same\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ _, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "old_text": "same",
+ "new_text": "other",
+ })
+ if err == nil {
+ t.Fatal("expected ambiguous edit to fail")
+ }
+ if !strings.Contains(err.Error(), "matched 2 times") {
+ t.Fatalf("err = %v", err)
+ }
+}
+
+func TestEditRejectsEscapingPath(t *testing.T) {
+ dir := t.TempDir()
+ _, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "../outside.txt",
+ "old_text": "old",
+ "new_text": "new",
+ })
+ if err == nil {
+ t.Fatal("expected escaping path to fail")
+ }
+ if !strings.Contains(err.Error(), "path escapes working directory") {
+ t.Fatalf("err = %v", err)
+ }
+}
+
+func TestEditRejectsSymlinkEscape(t *testing.T) {
+ dir := t.TempDir()
+ outside := t.TempDir()
+ if err := os.WriteFile(filepath.Join(outside, "note.txt"), []byte("old\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if err := os.Symlink(outside, filepath.Join(dir, "link")); err != nil {
+ t.Skipf("symlinks unavailable: %v", err)
+ }
+
+ _, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": filepath.Join("link", "note.txt"),
+ "old_text": "old",
+ "new_text": "new",
+ })
+ if err == nil {
+ t.Fatal("expected symlink escape to fail")
+ }
+ if !strings.Contains(err.Error(), "path escapes working directory") {
+ t.Fatalf("err = %v", err)
+ }
+
+ content, err := os.ReadFile(filepath.Join(outside, "note.txt"))
+ if err != nil {
+ t.Fatal(err)
+ }
+ if string(content) != "old\n" {
+ t.Fatalf("outside content changed to %q", content)
+ }
+}
+
+func TestEditRejectsFinalSymlink(t *testing.T) {
+ dir := t.TempDir()
+ target := filepath.Join(dir, "target.txt")
+ if err := os.WriteFile(target, []byte("old\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ link := filepath.Join(dir, "link.txt")
+ if err := os.Symlink("target.txt", link); err != nil {
+ t.Skipf("symlinks unavailable: %v", err)
+ }
+
+ _, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "link.txt",
+ "old_text": "old",
+ "new_text": "new",
+ })
+ if err == nil {
+ t.Fatal("expected final symlink edit to fail")
+ }
+ if !strings.Contains(err.Error(), "is a symlink") {
+ t.Fatalf("err = %v", err)
+ }
+ content, err := os.ReadFile(target)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if string(content) != "old\n" {
+ t.Fatalf("target content changed to %q", content)
+ }
+ info, err := os.Lstat(link)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if info.Mode()&os.ModeSymlink == 0 {
+ t.Fatalf("link mode = %v, want symlink", info.Mode())
+ }
+}
+
+func TestReadRejectsParentOutsideCurrentWorkingDir(t *testing.T) {
+ root := t.TempDir()
+ subdir := filepath.Join(root, "sub")
+ if err := os.Mkdir(subdir, 0o755); err != nil {
+ t.Fatal(err)
+ }
+ if err := os.WriteFile(filepath.Join(root, "note.txt"), []byte("hello"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ _, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: subdir}, map[string]any{
+ "path": "../note.txt",
+ })
+ if err == nil {
+ t.Fatal("expected parent path to fail")
+ }
+ if !strings.Contains(err.Error(), "path escapes working directory") {
+ t.Fatalf("err = %v", err)
+ }
+}
+
+func TestReadRequiresApproval(t *testing.T) {
+ if !agent.ToolRequiresApproval((&Read{}), map[string]any{"path": "note.txt"}) {
+ t.Fatal("read should require approval")
+ }
+}
+
+func TestReadDefaultsToEntireFile(t *testing.T) {
+ dir := t.TempDir()
+ content := "one\ntwo\nthree\n"
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte(content), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Content != content {
+ t.Fatalf("content = %q", result.Content)
+ }
+}
+
+func TestReadStartEnd(t *testing.T) {
+ dir := t.TempDir()
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte("one\ntwo\nthree\nfour\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "start": 2,
+ "end": 3,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Content != "two\nthree\n" {
+ t.Fatalf("content = %q", result.Content)
+ }
+}
+
+func TestReadStartOnly(t *testing.T) {
+ dir := t.TempDir()
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte("one\ntwo\nthree\nfour\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "start": 3,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Content != "three\nfour\n" {
+ t.Fatalf("content = %q", result.Content)
+ }
+}
+
+func TestReadEndOnly(t *testing.T) {
+ dir := t.TempDir()
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte("one\ntwo\nthree\nfour\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ result, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "end": 2,
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if result.Content != "one\ntwo\n" {
+ t.Fatalf("content = %q", result.Content)
+ }
+}
+
+func TestReadSelectionRejectsHugeSingleLine(t *testing.T) {
+ dir := t.TempDir()
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte(strings.Repeat("x", maxReadBytes+1)), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ _, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "start": 1,
+ "end": 1,
+ })
+ if err == nil {
+ t.Fatal("expected huge selected line to fail")
+ }
+ if !strings.Contains(err.Error(), "selected content is too large") {
+ t.Fatalf("err = %v", err)
+ }
+}
+
+func TestReadAllWithinLimitRejectsGrowingRead(t *testing.T) {
+ reader := io.MultiReader(
+ strings.NewReader(strings.Repeat("x", maxReadBytes)),
+ strings.NewReader("x"),
+ )
+
+ _, err := readAllWithinLimit(reader, maxReadBytes)
+ if err == nil {
+ t.Fatal("expected over-limit read to fail")
+ }
+ if !strings.Contains(err.Error(), "content is too large") {
+ t.Fatalf("err = %v", err)
+ }
+}
+
+func TestReadRejectsInvalidRange(t *testing.T) {
+ dir := t.TempDir()
+ if err := os.WriteFile(filepath.Join(dir, "note.txt"), []byte("one\ntwo\n"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ _, err := (&Read{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "start": 4,
+ "end": 2,
+ })
+ if err == nil {
+ t.Fatal("expected invalid range to fail")
+ }
+ if !strings.Contains(err.Error(), "end must") {
+ t.Fatalf("err = %v", err)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/file_unix_test.go b/western_ai/usa/ollama/agent/tools/file_unix_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..88203eef2e51cdc3d273f230bba88bddb1a33126
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/file_unix_test.go
@@ -0,0 +1,75 @@
+//go:build !windows
+
+package tools
+
+import (
+ "context"
+ "os"
+ "path/filepath"
+ "strings"
+ "syscall"
+ "testing"
+ "time"
+
+ "github.com/ollama/ollama/agent"
+)
+
+func TestOpenRegularFileRejectsFIFO(t *testing.T) {
+ dir := t.TempDir()
+ path := filepath.Join(dir, "pipe")
+ if err := syscall.Mkfifo(path, 0o600); err != nil {
+ t.Skipf("mkfifo unavailable: %v", err)
+ }
+
+ done := make(chan error, 1)
+ go func() {
+ file, _, err := openRegularFile(dir, "pipe")
+ if file != nil {
+ file.Close()
+ }
+ done <- err
+ }()
+
+ select {
+ case err := <-done:
+ if err == nil {
+ t.Fatal("expected FIFO to be rejected")
+ }
+ if !strings.Contains(err.Error(), "not a regular file") {
+ t.Fatalf("err = %v", err)
+ }
+ case <-time.After(time.Second):
+ t.Fatal("openRegularFile blocked on FIFO")
+ }
+}
+
+func TestEditPreservesModeDespiteUmask(t *testing.T) {
+ oldUmask := syscall.Umask(0o077)
+ defer syscall.Umask(oldUmask)
+
+ dir := t.TempDir()
+ path := filepath.Join(dir, "note.txt")
+ if err := os.WriteFile(path, []byte("hello\n"), 0o666); err != nil {
+ t.Fatal(err)
+ }
+ if err := os.Chmod(path, 0o666); err != nil {
+ t.Fatal(err)
+ }
+
+ _, err := (&Edit{}).Execute(context.Background(), agent.ToolContext{WorkingDir: dir}, map[string]any{
+ "path": "note.txt",
+ "old_text": "hello",
+ "new_text": "hi",
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ info, err := os.Stat(path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if got := info.Mode().Perm(); got != 0o666 {
+ t.Fatalf("mode = %#o, want 0666", got)
+ }
+}
diff --git a/western_ai/usa/ollama/agent/tools/web.go b/western_ai/usa/ollama/agent/tools/web.go
new file mode 100644
index 0000000000000000000000000000000000000000..92288a5d98ff2d180585a9e84682e449b3670022
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/web.go
@@ -0,0 +1,195 @@
+package tools
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "net/url"
+ "strings"
+ "time"
+
+ "github.com/ollama/ollama/agent"
+ "github.com/ollama/ollama/api"
+ internalcloud "github.com/ollama/ollama/internal/cloud"
+)
+
+var (
+ ErrWebSearchAuthRequired = errors.New("web search requires authentication")
+ ErrWebFetchAuthRequired = errors.New("web fetch requires authentication")
+)
+
+const (
+ maxWebFetchContentRunes = 60_000
+ webSearchTimeout = 15 * time.Second
+ webFetchTimeout = 30 * time.Second
+)
+
+type WebSearch struct{}
+
+func (w *WebSearch) Name() string {
+ return "web_search"
+}
+
+func (w *WebSearch) Description() string {
+ return "Search the web for current information that may not be in the model's training data."
+}
+
+func (w *WebSearch) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("query", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "The search query to look up on the web.",
+ })
+ return api.ToolFunction{
+ Name: w.Name(),
+ Description: w.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ Required: []string{"query"},
+ },
+ }
+}
+
+func (w *WebSearch) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (w *WebSearch) Execute(ctx context.Context, _ agent.ToolContext, args map[string]any) (agent.ToolResult, error) {
+ if internalcloud.Disabled() {
+ return agent.ToolResult{}, errors.New(internalcloud.DisabledError("web search is unavailable"))
+ }
+ query, ok := args["query"].(string)
+ if !ok || strings.TrimSpace(query) == "" {
+ return agent.ToolResult{}, fmt.Errorf("query parameter is required")
+ }
+
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, webSearchTimeout)
+ defer cancel()
+
+ searchResp, err := client.WebSearchExperimental(ctx, &api.WebSearchRequest{Query: query, MaxResults: 5})
+ if err != nil {
+ var authErr api.AuthorizationError
+ if errors.As(err, &authErr) {
+ return agent.ToolResult{}, ErrWebSearchAuthRequired
+ }
+ return agent.ToolResult{}, err
+ }
+ if len(searchResp.Results) == 0 {
+ return agent.ToolResult{Content: "No results found for query: " + query}, nil
+ }
+
+ var sb strings.Builder
+ sb.WriteString(fmt.Sprintf("Search results for: %s\n\n", query))
+ for i, result := range searchResp.Results {
+ sb.WriteString(fmt.Sprintf("%d. %s\n", i+1, result.Title))
+ sb.WriteString(fmt.Sprintf(" URL: %s\n", result.URL))
+ if result.Content != "" {
+ content := []rune(result.Content)
+ if len(content) > 300 {
+ content = append(content[:300], []rune("...")...)
+ }
+ sb.WriteString(fmt.Sprintf(" %s\n", string(content)))
+ }
+ sb.WriteByte('\n')
+ }
+ return agent.ToolResult{Content: sb.String()}, nil
+}
+
+type WebFetch struct{}
+
+func (w *WebFetch) Name() string {
+ return "web_fetch"
+}
+
+func (w *WebFetch) Description() string {
+ return "Fetch and extract text content from a web page."
+}
+
+func (w *WebFetch) Schema() api.ToolFunction {
+ props := api.NewToolPropertiesMap()
+ props.Set("url", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "The URL to fetch and extract content from.",
+ })
+ return api.ToolFunction{
+ Name: w.Name(),
+ Description: w.Description(),
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Properties: props,
+ Required: []string{"url"},
+ },
+ }
+}
+
+func (w *WebFetch) RequiresApproval(map[string]any) bool {
+ return true
+}
+
+func (w *WebFetch) Execute(ctx context.Context, _ agent.ToolContext, args map[string]any) (agent.ToolResult, error) {
+ if internalcloud.Disabled() {
+ return agent.ToolResult{}, errors.New(internalcloud.DisabledError("web fetch is unavailable"))
+ }
+ urlStr, ok := args["url"].(string)
+ if !ok || strings.TrimSpace(urlStr) == "" {
+ return agent.ToolResult{}, fmt.Errorf("url parameter is required")
+ }
+ if _, err := url.Parse(urlStr); err != nil {
+ return agent.ToolResult{}, fmt.Errorf("invalid URL: %w", err)
+ }
+
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ return agent.ToolResult{}, err
+ }
+
+ ctx, cancel := context.WithTimeout(ctx, webFetchTimeout)
+ defer cancel()
+
+ fetchResp, err := client.WebFetchExperimental(ctx, &api.WebFetchRequest{URL: urlStr})
+ if err != nil {
+ var authErr api.AuthorizationError
+ if errors.As(err, &authErr) {
+ return agent.ToolResult{}, ErrWebFetchAuthRequired
+ }
+ return agent.ToolResult{}, err
+ }
+
+ var sb strings.Builder
+ if fetchResp.Title != "" {
+ sb.WriteString(fmt.Sprintf("Title: %s\n\n", fetchResp.Title))
+ }
+ if fetchResp.Content != "" {
+ sb.WriteString("Content:\n")
+ sb.WriteString(truncateWebFetchContent(fetchResp.Content))
+ } else {
+ sb.WriteString("No content could be extracted from the page.")
+ }
+ return agent.ToolResult{Content: sb.String()}, nil
+}
+
+func truncateWebFetchContent(content string) string {
+ runes := []rune(content)
+ if len(runes) <= maxWebFetchContentRunes {
+ return content
+ }
+ omitted := len(runes) - maxWebFetchContentRunes
+ return string(runes[:maxWebFetchContentRunes]) + fmt.Sprintf(
+ "\n\n[tool output truncated: showing first ~%d tokens; omitted ~%d tokens. Use a narrower request or search query if more detail is needed.]",
+ approximateToolTokensFromRunes(maxWebFetchContentRunes),
+ approximateToolTokensFromRunes(omitted),
+ )
+}
+
+func approximateToolTokensFromRunes(n int) int {
+ if n <= 0 {
+ return 0
+ }
+ return max(1, (n+3)/4)
+}
diff --git a/western_ai/usa/ollama/agent/tools/web_test.go b/western_ai/usa/ollama/agent/tools/web_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..acd2bcf059e09ab43e97effb7e7ce0f6917feb87
--- /dev/null
+++ b/western_ai/usa/ollama/agent/tools/web_test.go
@@ -0,0 +1,59 @@
+package tools
+
+import (
+ "encoding/json"
+ "net/http"
+ "net/http/httptest"
+ "strings"
+ "testing"
+
+ coreagent "github.com/ollama/ollama/agent"
+ "github.com/ollama/ollama/api"
+)
+
+func TestWebToolsRequireApproval(t *testing.T) {
+ if !coreagent.ToolRequiresApproval((&WebSearch{}), map[string]any{"query": "ollama"}) {
+ t.Fatal("web search should require approval")
+ }
+ if !coreagent.ToolRequiresApproval((&WebFetch{}), map[string]any{"url": "https://ollama.com"}) {
+ t.Fatal("web fetch should require approval")
+ }
+}
+
+func TestWebFetchBoundsContentBeforeReturning(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ if r.URL.Path != "/api/experimental/web_fetch" {
+ t.Fatalf("path = %q, want /api/experimental/web_fetch", r.URL.Path)
+ }
+ var req api.WebFetchRequest
+ if err := json.NewDecoder(r.Body).Decode(&req); err != nil {
+ t.Fatal(err)
+ }
+ if req.URL != "https://ollama.com" {
+ t.Fatalf("request URL = %q, want https://ollama.com", req.URL)
+ }
+ if err := json.NewEncoder(w).Encode(api.WebFetchResponse{
+ Title: "Ollama",
+ Content: strings.Repeat("x", maxWebFetchContentRunes+25),
+ }); err != nil {
+ t.Fatal(err)
+ }
+ }))
+ defer ts.Close()
+ t.Setenv("OLLAMA_HOST", ts.URL)
+
+ result, err := (&WebFetch{}).Execute(t.Context(), coreagent.ToolContext{}, map[string]any{
+ "url": "https://ollama.com",
+ })
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(result.Content, "[tool output truncated: showing first ~") ||
+ !strings.Contains(result.Content, "omitted ~7 tokens") ||
+ !strings.Contains(result.Content, "Use a narrower request or search query") {
+ t.Fatalf("content missing truncation marker: %q", result.Content)
+ }
+ if count := strings.Count(result.Content, "x"); count != maxWebFetchContentRunes {
+ t.Fatalf("captured content count = %d, want %d", count, maxWebFetchContentRunes)
+ }
+}
diff --git a/western_ai/usa/ollama/anthropic/anthropic.go b/western_ai/usa/ollama/anthropic/anthropic.go
new file mode 100644
index 0000000000000000000000000000000000000000..46394cdd2900bc799171ec7c7ef359a8d42e8358
--- /dev/null
+++ b/western_ai/usa/ollama/anthropic/anthropic.go
@@ -0,0 +1,1267 @@
+package anthropic
+
+import (
+ "bytes"
+ "context"
+ "crypto/rand"
+ "encoding/base64"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "io"
+ "log/slog"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+ "time"
+
+ "github.com/ollama/ollama/api"
+ "github.com/ollama/ollama/auth"
+ internalcloud "github.com/ollama/ollama/internal/cloud"
+ "github.com/ollama/ollama/logutil"
+)
+
+// Error types matching Anthropic API
+type Error struct {
+ Type string `json:"type"`
+ Message string `json:"message"`
+}
+
+type ErrorResponse struct {
+ Type string `json:"type"` // always "error"
+ Error Error `json:"error"`
+ RequestID string `json:"request_id,omitempty"`
+}
+
+// NewError creates a new ErrorResponse with the appropriate error type based on HTTP status code
+func NewError(code int, message string) ErrorResponse {
+ var etype string
+ switch code {
+ case http.StatusBadRequest:
+ etype = "invalid_request_error"
+ case http.StatusUnauthorized:
+ etype = "authentication_error"
+ case http.StatusForbidden:
+ etype = "permission_error"
+ case http.StatusNotFound:
+ etype = "not_found_error"
+ case http.StatusTooManyRequests:
+ etype = "rate_limit_error"
+ case http.StatusServiceUnavailable, 529:
+ etype = "overloaded_error"
+ default:
+ etype = "api_error"
+ }
+
+ return ErrorResponse{
+ Type: "error",
+ Error: Error{Type: etype, Message: message},
+ RequestID: generateID("req"),
+ }
+}
+
+// Request types
+
+// MessagesRequest represents an Anthropic Messages API request
+type MessagesRequest struct {
+ Model string `json:"model"`
+ MaxTokens int `json:"max_tokens"`
+ Messages []MessageParam `json:"messages"`
+ System any `json:"system,omitempty"` // string or []map[string]any (JSON-decoded ContentBlock)
+ Stream bool `json:"stream,omitempty"`
+ Temperature *float64 `json:"temperature,omitempty"`
+ TopP *float64 `json:"top_p,omitempty"`
+ TopK *int `json:"top_k,omitempty"`
+ StopSequences []string `json:"stop_sequences,omitempty"`
+ Tools []Tool `json:"tools,omitempty"`
+ ToolChoice *ToolChoice `json:"tool_choice,omitempty"`
+ Thinking *ThinkingConfig `json:"thinking,omitempty"`
+ Metadata *Metadata `json:"metadata,omitempty"`
+ OutputConfig *OutputConfig `json:"output_config,omitempty"`
+}
+
+type OutputConfig struct {
+ Effort string `json:"effort,omitempty"`
+}
+
+// MessageParam represents a message in the request
+type MessageParam struct {
+ Role string `json:"role"` // "user" or "assistant"
+ Content []ContentBlock `json:"content"` // always []ContentBlock; plain strings are normalized on unmarshal
+}
+
+func (m *MessageParam) UnmarshalJSON(data []byte) error {
+ var raw struct {
+ Role string `json:"role"`
+ Content json.RawMessage `json:"content"`
+ }
+ if err := json.Unmarshal(data, &raw); err != nil {
+ return err
+ }
+ m.Role = raw.Role
+
+ var s string
+ if err := json.Unmarshal(raw.Content, &s); err == nil {
+ m.Content = []ContentBlock{{Type: "text", Text: &s}}
+ return nil
+ }
+
+ return json.Unmarshal(raw.Content, &m.Content)
+}
+
+// ContentBlock represents a content block in a message.
+// Text and Thinking use pointers so they serialize as the field being present (even if empty)
+// only when set, which is required for SDK streaming accumulation.
+type ContentBlock struct {
+ Type string `json:"type"` // text, image, tool_use, tool_result, thinking, server_tool_use, web_search_tool_result
+
+ // For text blocks - pointer so field only appears when set (SDK requires it for accumulation)
+ Text *string `json:"text,omitempty"`
+
+ // For text blocks with citations
+ Citations []Citation `json:"citations,omitempty"`
+
+ // For image blocks
+ Source *ImageSource `json:"source,omitempty"`
+
+ // For tool_use and server_tool_use blocks
+ ID string `json:"id,omitempty"`
+ Name string `json:"name,omitempty"`
+ Input api.ToolCallFunctionArguments `json:"input,omitzero"`
+
+ // For tool_result and web_search_tool_result blocks
+ ToolUseID string `json:"tool_use_id,omitempty"`
+ Content any `json:"content,omitempty"` // string, []ContentBlock, []WebSearchResult, or WebSearchToolResultError
+ IsError bool `json:"is_error,omitempty"`
+
+ // For thinking blocks - pointer so field only appears when set (SDK requires it for accumulation)
+ Thinking *string `json:"thinking,omitempty"`
+ Signature string `json:"signature,omitempty"`
+}
+
+// Citation represents a citation in a text block
+type Citation struct {
+ Type string `json:"type"` // "web_search_result_location"
+ URL string `json:"url"`
+ Title string `json:"title"`
+ EncryptedIndex string `json:"encrypted_index,omitempty"`
+ CitedText string `json:"cited_text,omitempty"`
+}
+
+// WebSearchResult represents a single web search result
+type WebSearchResult struct {
+ Type string `json:"type"` // "web_search_result"
+ URL string `json:"url"`
+ Title string `json:"title"`
+ EncryptedContent string `json:"encrypted_content,omitempty"`
+ PageAge string `json:"page_age,omitempty"`
+}
+
+// WebSearchToolResultError represents an error from web search
+type WebSearchToolResultError struct {
+ Type string `json:"type"` // "web_search_tool_result_error"
+ ErrorCode string `json:"error_code"`
+}
+
+// ImageSource represents the source of an image
+type ImageSource struct {
+ Type string `json:"type"` // "base64"
+ MediaType string `json:"media_type,omitempty"`
+ Data string `json:"data,omitempty"`
+ URL string `json:"url,omitempty"`
+}
+
+// Tool represents a tool definition
+type Tool struct {
+ Type string `json:"type,omitempty"` // "custom" for user-defined tools, or "web_search_20250305" for web search
+ Name string `json:"name"`
+ Description string `json:"description,omitempty"`
+ InputSchema json.RawMessage `json:"input_schema,omitempty"`
+
+ // Web search specific fields
+ MaxUses int `json:"max_uses,omitempty"`
+}
+
+// ToolChoice controls how the model uses tools
+type ToolChoice struct {
+ Type string `json:"type"` // "auto", "any", "tool", "none"
+ Name string `json:"name,omitempty"`
+ DisableParallelToolUse bool `json:"disable_parallel_tool_use,omitempty"`
+}
+
+// ThinkingConfig controls extended thinking
+type ThinkingConfig struct {
+ Type string `json:"type"` // "enabled" or "disabled"
+ BudgetTokens int `json:"budget_tokens,omitempty"`
+}
+
+// Metadata for the request
+type Metadata struct {
+ UserID string `json:"user_id,omitempty"`
+}
+
+// Response types
+
+// MessagesResponse represents an Anthropic Messages API response
+type MessagesResponse struct {
+ ID string `json:"id"`
+ Type string `json:"type"` // "message"
+ Role string `json:"role"` // "assistant"
+ Model string `json:"model"`
+ Content []ContentBlock `json:"content"`
+ StopReason string `json:"stop_reason,omitempty"`
+ StopSequence string `json:"stop_sequence,omitempty"`
+ Usage Usage `json:"usage"`
+}
+
+// Usage contains token usage information
+type Usage struct {
+ InputTokens int `json:"input_tokens"`
+ OutputTokens int `json:"output_tokens"`
+}
+
+// Streaming event types
+
+// MessageStartEvent is sent at the start of streaming
+type MessageStartEvent struct {
+ Type string `json:"type"` // "message_start"
+ Message MessagesResponse `json:"message"`
+}
+
+// ContentBlockStartEvent signals the start of a content block
+type ContentBlockStartEvent struct {
+ Type string `json:"type"` // "content_block_start"
+ Index int `json:"index"`
+ ContentBlock ContentBlock `json:"content_block"`
+}
+
+// ContentBlockDeltaEvent contains incremental content updates
+type ContentBlockDeltaEvent struct {
+ Type string `json:"type"` // "content_block_delta"
+ Index int `json:"index"`
+ Delta Delta `json:"delta"`
+}
+
+// Delta represents an incremental update
+type Delta struct {
+ Type string `json:"type"` // "text_delta", "input_json_delta", "thinking_delta", "signature_delta"
+ Text string `json:"text,omitempty"`
+ PartialJSON string `json:"partial_json,omitempty"`
+ Thinking string `json:"thinking,omitempty"`
+ Signature string `json:"signature,omitempty"`
+}
+
+// ContentBlockStopEvent signals the end of a content block
+type ContentBlockStopEvent struct {
+ Type string `json:"type"` // "content_block_stop"
+ Index int `json:"index"`
+}
+
+// MessageDeltaEvent contains updates to the message
+type MessageDeltaEvent struct {
+ Type string `json:"type"` // "message_delta"
+ Delta MessageDelta `json:"delta"`
+ Usage DeltaUsage `json:"usage"`
+}
+
+// MessageDelta contains stop information
+type MessageDelta struct {
+ StopReason string `json:"stop_reason,omitempty"`
+ StopSequence string `json:"stop_sequence,omitempty"`
+}
+
+// DeltaUsage contains cumulative token usage
+type DeltaUsage struct {
+ InputTokens int `json:"input_tokens"`
+ OutputTokens int `json:"output_tokens"`
+}
+
+// MessageStopEvent signals the end of the message
+type MessageStopEvent struct {
+ Type string `json:"type"` // "message_stop"
+}
+
+// PingEvent is a keepalive event
+type PingEvent struct {
+ Type string `json:"type"` // "ping"
+}
+
+// StreamErrorEvent is an error during streaming
+type StreamErrorEvent struct {
+ Type string `json:"type"` // "error"
+ Error Error `json:"error"`
+}
+
+// FromMessagesRequest converts an Anthropic MessagesRequest to an Ollama api.ChatRequest
+func FromMessagesRequest(r MessagesRequest) (*api.ChatRequest, error) {
+ logutil.Trace("anthropic: converting request", "req", TraceMessagesRequest(r))
+
+ var messages []api.Message
+
+ if r.System != nil {
+ switch sys := r.System.(type) {
+ case string:
+ if sys != "" {
+ messages = append(messages, api.Message{Role: "system", Content: sys})
+ }
+ case []any:
+ // System can be an array of content blocks
+ var content strings.Builder
+ for _, block := range sys {
+ if blockMap, ok := block.(map[string]any); ok {
+ if blockMap["type"] == "text" {
+ if text, ok := blockMap["text"].(string); ok {
+ content.WriteString(text)
+ }
+ }
+ }
+ }
+ if content.Len() > 0 {
+ messages = append(messages, api.Message{Role: "system", Content: content.String()})
+ }
+ }
+ }
+
+ for i, msg := range r.Messages {
+ converted, err := convertMessage(msg)
+ if err != nil {
+ logutil.Trace("anthropic: message conversion failed", "index", i, "role", msg.Role, "err", err)
+ return nil, err
+ }
+ messages = append(messages, converted...)
+ }
+
+ options := make(map[string]any)
+
+ options["num_predict"] = r.MaxTokens
+
+ if r.Temperature != nil {
+ options["temperature"] = *r.Temperature
+ }
+
+ if r.TopP != nil {
+ options["top_p"] = *r.TopP
+ }
+
+ if r.TopK != nil {
+ options["top_k"] = *r.TopK
+ }
+
+ if len(r.StopSequences) > 0 {
+ options["stop"] = r.StopSequences
+ }
+
+ var tools api.Tools
+ hasBuiltinWebSearch := false
+ for _, t := range r.Tools {
+ if strings.HasPrefix(t.Type, "web_search") {
+ hasBuiltinWebSearch = true
+ break
+ }
+ }
+
+ for _, t := range r.Tools {
+ // Anthropic built-in web_search maps to Ollama function name "web_search".
+ // If a user-defined tool also uses that name in the same request, drop the
+ // user-defined one to avoid ambiguous tool-call routing.
+ if hasBuiltinWebSearch && !strings.HasPrefix(t.Type, "web_search") && t.Name == "web_search" {
+ logutil.Trace("anthropic: dropping colliding custom web_search tool", "tool", TraceTool(t))
+ continue
+ }
+
+ tool, _, err := convertTool(t)
+ if err != nil {
+ return nil, err
+ }
+ tools = append(tools, tool)
+ }
+
+ var think *api.ThinkValue
+ normalizedEffort := ""
+ if r.OutputConfig != nil {
+ normalizedEffort = strings.ToLower(strings.TrimSpace(r.OutputConfig.Effort))
+ if normalizedEffort == "xhigh" {
+ normalizedEffort = "high"
+ }
+ }
+
+ if r.Thinking != nil && r.Thinking.Type == "enabled" {
+ think = &api.ThinkValue{Value: true}
+ }
+ if r.Thinking != nil && r.Thinking.Type == "disabled" {
+ think = &api.ThinkValue{Value: false}
+ }
+ if think == nil && r.OutputConfig != nil {
+ switch normalizedEffort {
+ case "high", "medium", "low", "max":
+ think = &api.ThinkValue{Value: normalizedEffort}
+ }
+ }
+
+ stream := r.Stream
+ convertedRequest := &api.ChatRequest{
+ Model: r.Model,
+ Messages: messages,
+ Options: options,
+ Stream: &stream,
+ Tools: tools,
+ Think: think,
+ }
+ logutil.Trace("anthropic: converted request", "req", TraceChatRequest(convertedRequest))
+
+ return convertedRequest, nil
+}
+
+// convertMessage converts an Anthropic MessageParam to Ollama api.Message(s)
+func convertMessage(msg MessageParam) ([]api.Message, error) {
+ var messages []api.Message
+ role := strings.ToLower(msg.Role)
+
+ var textContent strings.Builder
+ var images []api.ImageData
+ var toolCalls []api.ToolCall
+ var thinking string
+ var toolResults []api.Message
+ textBlocks := 0
+ imageBlocks := 0
+ toolUseBlocks := 0
+ toolResultBlocks := 0
+ serverToolUseBlocks := 0
+ webSearchToolResultBlocks := 0
+ thinkingBlocks := 0
+ unknownBlocks := 0
+
+ for _, block := range msg.Content {
+ switch block.Type {
+ case "text":
+ textBlocks++
+ if block.Text != nil {
+ textContent.WriteString(*block.Text)
+ }
+
+ case "image":
+ imageBlocks++
+ if block.Source == nil {
+ logutil.Trace("anthropic: invalid image source", "role", role)
+ return nil, errors.New("invalid image source")
+ }
+
+ decoded, err := resolveImageSource(block.Source)
+ if err != nil {
+ logutil.Trace("anthropic: unsupported image source", "role", role, "source_type", block.Source.Type, "error", err)
+ return nil, err
+ }
+ images = append(images, decoded)
+
+ case "tool_use":
+ toolUseBlocks++
+ if block.ID == "" {
+ logutil.Trace("anthropic: tool_use block missing id", "role", role)
+ return nil, errors.New("tool_use block missing required 'id' field")
+ }
+ if block.Name == "" {
+ logutil.Trace("anthropic: tool_use block missing name", "role", role)
+ return nil, errors.New("tool_use block missing required 'name' field")
+ }
+ toolCalls = append(toolCalls, api.ToolCall{
+ ID: block.ID,
+ Function: api.ToolCallFunction{
+ Name: block.Name,
+ Arguments: block.Input,
+ },
+ })
+
+ case "tool_result":
+ toolResultBlocks++
+ resultContent, resultImages, err := convertToolResultContent(block.Content)
+ if err != nil {
+ logutil.Trace("anthropic: invalid tool_result content", "role", role, "error", err)
+ return nil, err
+ }
+
+ toolResults = append(toolResults, api.Message{
+ Role: "tool",
+ Content: resultContent,
+ Images: resultImages,
+ ToolCallID: block.ToolUseID,
+ })
+
+ case "thinking":
+ thinkingBlocks++
+ if block.Thinking != nil {
+ thinking = *block.Thinking
+ }
+
+ case "server_tool_use":
+ serverToolUseBlocks++
+ toolCalls = append(toolCalls, api.ToolCall{
+ ID: block.ID,
+ Function: api.ToolCallFunction{
+ Name: block.Name,
+ Arguments: block.Input,
+ },
+ })
+
+ case "web_search_tool_result":
+ webSearchToolResultBlocks++
+ toolResults = append(toolResults, api.Message{
+ Role: "tool",
+ Content: formatWebSearchToolResultContent(block.Content),
+ ToolCallID: block.ToolUseID,
+ })
+ default:
+ unknownBlocks++
+ }
+ }
+
+ if role == "user" && len(toolResults) > 0 {
+ messages = append(messages, toolResults...)
+ }
+
+ if textContent.Len() > 0 || len(images) > 0 || len(toolCalls) > 0 || thinking != "" {
+ m := api.Message{
+ Role: role,
+ Content: textContent.String(),
+ Images: images,
+ ToolCalls: toolCalls,
+ Thinking: thinking,
+ }
+ messages = append(messages, m)
+ }
+
+ // Add tool results as separate messages.
+ if role != "user" || len(toolResults) == 0 {
+ messages = append(messages, toolResults...)
+ }
+ logutil.Trace("anthropic: converted block message",
+ "role", role,
+ "blocks", len(msg.Content),
+ "text", textBlocks,
+ "image", imageBlocks,
+ "tool_use", toolUseBlocks,
+ "tool_result", toolResultBlocks,
+ "server_tool_use", serverToolUseBlocks,
+ "web_search_result", webSearchToolResultBlocks,
+ "thinking", thinkingBlocks,
+ "unknown", unknownBlocks,
+ "messages", TraceAPIMessages(messages),
+ )
+
+ return messages, nil
+}
+
+func formatWebSearchToolResultContent(content any) string {
+ switch c := content.(type) {
+ case string:
+ return c
+ case []WebSearchResult:
+ var resultContent strings.Builder
+ for _, item := range c {
+ if item.Type != "web_search_result" {
+ continue
+ }
+ fmt.Fprintf(&resultContent, "- %s: %s\n", item.Title, item.URL)
+ }
+ return resultContent.String()
+ case []any:
+ var resultContent strings.Builder
+ for _, item := range c {
+ itemMap, ok := item.(map[string]any)
+ if !ok {
+ continue
+ }
+ switch itemMap["type"] {
+ case "web_search_result":
+ title, _ := itemMap["title"].(string)
+ url, _ := itemMap["url"].(string)
+ fmt.Fprintf(&resultContent, "- %s: %s\n", title, url)
+ case "web_search_tool_result_error":
+ errorCode, _ := itemMap["error_code"].(string)
+ if errorCode == "" {
+ return "web_search_tool_result_error"
+ }
+ return "web_search_tool_result_error: " + errorCode
+ }
+ }
+ return resultContent.String()
+ case map[string]any:
+ if c["type"] == "web_search_tool_result_error" {
+ errorCode, _ := c["error_code"].(string)
+ if errorCode == "" {
+ return "web_search_tool_result_error"
+ }
+ return "web_search_tool_result_error: " + errorCode
+ }
+ data, err := json.Marshal(c)
+ if err != nil {
+ return ""
+ }
+ return string(data)
+ case WebSearchToolResultError:
+ if c.ErrorCode == "" {
+ return "web_search_tool_result_error"
+ }
+ return "web_search_tool_result_error: " + c.ErrorCode
+ default:
+ data, err := json.Marshal(c)
+ if err != nil {
+ return ""
+ }
+ return string(data)
+ }
+}
+
+// convertTool converts an Anthropic Tool to an Ollama api.Tool, returning true if it's a server tool
+func convertTool(t Tool) (api.Tool, bool, error) {
+ if strings.HasPrefix(t.Type, "web_search") {
+ props := api.NewToolPropertiesMap()
+ props.Set("query", api.ToolProperty{
+ Type: api.PropertyType{"string"},
+ Description: "The search query to look up on the web",
+ })
+ return api.Tool{
+ Type: "function",
+ Function: api.ToolFunction{
+ Name: "web_search",
+ Description: "Search the web for current information. Use this to find up-to-date information about any topic.",
+ Parameters: api.ToolFunctionParameters{
+ Type: "object",
+ Required: []string{"query"},
+ Properties: props,
+ },
+ },
+ }, true, nil
+ }
+
+ var params api.ToolFunctionParameters
+ if len(t.InputSchema) > 0 {
+ if err := json.Unmarshal(t.InputSchema, ¶ms); err != nil {
+ logutil.Trace("anthropic: invalid tool schema", "tool", t.Name, "err", err)
+ return api.Tool{}, false, fmt.Errorf("invalid input_schema for tool %q: %w", t.Name, err)
+ }
+ }
+
+ return api.Tool{
+ Type: "function",
+ Function: api.ToolFunction{
+ Name: t.Name,
+ Description: t.Description,
+ Parameters: params,
+ },
+ }, false, nil
+}
+
+// ToMessagesResponse converts an Ollama api.ChatResponse to an Anthropic MessagesResponse
+func ToMessagesResponse(id string, r api.ChatResponse) MessagesResponse {
+ var content []ContentBlock
+
+ if r.Message.Thinking != "" {
+ content = append(content, ContentBlock{
+ Type: "thinking",
+ Thinking: ptr(r.Message.Thinking),
+ })
+ }
+
+ if r.Message.Content != "" {
+ content = append(content, ContentBlock{
+ Type: "text",
+ Text: ptr(r.Message.Content),
+ })
+ }
+
+ for _, tc := range r.Message.ToolCalls {
+ content = append(content, ContentBlock{
+ Type: "tool_use",
+ ID: tc.ID,
+ Name: tc.Function.Name,
+ Input: tc.Function.Arguments,
+ })
+ }
+
+ stopReason := mapStopReason(r.DoneReason, len(r.Message.ToolCalls) > 0)
+
+ return MessagesResponse{
+ ID: id,
+ Type: "message",
+ Role: "assistant",
+ Model: r.Model,
+ Content: content,
+ StopReason: stopReason,
+ Usage: Usage{
+ InputTokens: r.Metrics.PromptEvalCount,
+ OutputTokens: r.Metrics.EvalCount,
+ },
+ }
+}
+
+// mapStopReason converts Ollama done_reason to Anthropic stop_reason
+func mapStopReason(reason string, hasToolCalls bool) string {
+ if hasToolCalls {
+ return "tool_use"
+ }
+
+ switch reason {
+ case "stop":
+ return "end_turn"
+ case "length":
+ return "max_tokens"
+ default:
+ if reason != "" {
+ return "stop_sequence"
+ }
+ return ""
+ }
+}
+
+// StreamConverter manages state for converting Ollama streaming responses to Anthropic format
+type StreamConverter struct {
+ ID string
+ Model string
+ firstWrite bool
+ contentIndex int
+ inputTokens int
+ outputTokens int
+ estimatedInputTokens int // Estimated tokens from request (used when actual metrics are 0)
+ thinkingStarted bool
+ thinkingDone bool
+ textStarted bool
+ toolCallsSent map[string]bool
+}
+
+func NewStreamConverter(id, model string, estimatedInputTokens int) *StreamConverter {
+ return &StreamConverter{
+ ID: id,
+ Model: model,
+ firstWrite: true,
+ estimatedInputTokens: estimatedInputTokens,
+ toolCallsSent: make(map[string]bool),
+ }
+}
+
+// StreamEvent represents a streaming event to be sent to the client
+type StreamEvent struct {
+ Event string
+ Data any
+}
+
+// Process converts an Ollama ChatResponse to Anthropic streaming events
+func (c *StreamConverter) Process(r api.ChatResponse) []StreamEvent {
+ var events []StreamEvent
+
+ if c.firstWrite {
+ c.firstWrite = false
+ // Use actual metrics if available, otherwise use estimate
+ c.inputTokens = r.Metrics.PromptEvalCount
+ if c.inputTokens == 0 && c.estimatedInputTokens > 0 {
+ c.inputTokens = c.estimatedInputTokens
+ }
+
+ events = append(events, StreamEvent{
+ Event: "message_start",
+ Data: MessageStartEvent{
+ Type: "message_start",
+ Message: MessagesResponse{
+ ID: c.ID,
+ Type: "message",
+ Role: "assistant",
+ Model: c.Model,
+ Content: []ContentBlock{},
+ Usage: Usage{
+ InputTokens: c.inputTokens,
+ OutputTokens: 0,
+ },
+ },
+ },
+ })
+ }
+
+ if r.Message.Thinking != "" && !c.thinkingDone {
+ if !c.thinkingStarted {
+ c.thinkingStarted = true
+ events = append(events, StreamEvent{
+ Event: "content_block_start",
+ Data: ContentBlockStartEvent{
+ Type: "content_block_start",
+ Index: c.contentIndex,
+ ContentBlock: ContentBlock{
+ Type: "thinking",
+ Thinking: ptr(""),
+ },
+ },
+ })
+ }
+
+ events = append(events, StreamEvent{
+ Event: "content_block_delta",
+ Data: ContentBlockDeltaEvent{
+ Type: "content_block_delta",
+ Index: c.contentIndex,
+ Delta: Delta{
+ Type: "thinking_delta",
+ Thinking: r.Message.Thinking,
+ },
+ },
+ })
+ }
+
+ if r.Message.Content != "" {
+ if c.thinkingStarted && !c.thinkingDone {
+ c.thinkingDone = true
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+ c.contentIndex++
+ }
+
+ if !c.textStarted {
+ c.textStarted = true
+ events = append(events, StreamEvent{
+ Event: "content_block_start",
+ Data: ContentBlockStartEvent{
+ Type: "content_block_start",
+ Index: c.contentIndex,
+ ContentBlock: ContentBlock{
+ Type: "text",
+ Text: ptr(""),
+ },
+ },
+ })
+ }
+
+ events = append(events, StreamEvent{
+ Event: "content_block_delta",
+ Data: ContentBlockDeltaEvent{
+ Type: "content_block_delta",
+ Index: c.contentIndex,
+ Delta: Delta{
+ Type: "text_delta",
+ Text: r.Message.Content,
+ },
+ },
+ })
+ }
+
+ for _, tc := range r.Message.ToolCalls {
+ if c.toolCallsSent[tc.ID] {
+ continue
+ }
+
+ // Close thinking block if still open (thinking → tool_use without text in between)
+ if c.thinkingStarted && !c.thinkingDone {
+ c.thinkingDone = true
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+ c.contentIndex++
+ }
+
+ if c.textStarted {
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+ c.contentIndex++
+ c.textStarted = false
+ }
+
+ argsJSON, err := json.Marshal(tc.Function.Arguments)
+ if err != nil {
+ slog.Error("failed to marshal tool arguments", "error", err, "tool_id", tc.ID)
+ continue
+ }
+ events = append(events, StreamEvent{
+ Event: "content_block_start",
+ Data: ContentBlockStartEvent{
+ Type: "content_block_start",
+ Index: c.contentIndex,
+ ContentBlock: ContentBlock{
+ Type: "tool_use",
+ ID: tc.ID,
+ Name: tc.Function.Name,
+ Input: api.NewToolCallFunctionArguments(),
+ },
+ },
+ })
+
+ events = append(events, StreamEvent{
+ Event: "content_block_delta",
+ Data: ContentBlockDeltaEvent{
+ Type: "content_block_delta",
+ Index: c.contentIndex,
+ Delta: Delta{
+ Type: "input_json_delta",
+ PartialJSON: string(argsJSON),
+ },
+ },
+ })
+
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+
+ c.toolCallsSent[tc.ID] = true
+ c.contentIndex++
+ }
+
+ if r.Done {
+ if c.textStarted {
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+ } else if c.thinkingStarted && !c.thinkingDone {
+ events = append(events, StreamEvent{
+ Event: "content_block_stop",
+ Data: ContentBlockStopEvent{
+ Type: "content_block_stop",
+ Index: c.contentIndex,
+ },
+ })
+ }
+
+ c.inputTokens = r.Metrics.PromptEvalCount
+ c.outputTokens = r.Metrics.EvalCount
+ stopReason := mapStopReason(r.DoneReason, len(c.toolCallsSent) > 0)
+
+ events = append(events, StreamEvent{
+ Event: "message_delta",
+ Data: MessageDeltaEvent{
+ Type: "message_delta",
+ Delta: MessageDelta{
+ StopReason: stopReason,
+ },
+ Usage: DeltaUsage{
+ InputTokens: c.inputTokens,
+ OutputTokens: c.outputTokens,
+ },
+ },
+ })
+
+ events = append(events, StreamEvent{
+ Event: "message_stop",
+ Data: MessageStopEvent{
+ Type: "message_stop",
+ },
+ })
+ }
+
+ return events
+}
+
+// generateID generates a unique ID with the given prefix using crypto/rand
+func generateID(prefix string) string {
+ b := make([]byte, 12)
+ if _, err := rand.Read(b); err != nil {
+ // Fallback to time-based ID if crypto/rand fails
+ return fmt.Sprintf("%s_%d", prefix, time.Now().UnixNano())
+ }
+ return fmt.Sprintf("%s_%x", prefix, b)
+}
+
+// GenerateMessageID generates a unique message ID
+func GenerateMessageID() string {
+ return generateID("msg")
+}
+
+func resolveImageSource(source *ImageSource) (api.ImageData, error) {
+ if source.Type != "base64" {
+ return nil, fmt.Errorf("invalid image source type: %s. Only base64 images are supported.", source.Type)
+ }
+
+ decoded, err := base64.StdEncoding.DecodeString(source.Data)
+ if err != nil {
+ return nil, fmt.Errorf("invalid base64 image data: %w", err)
+ }
+
+ return decoded, nil
+}
+
+func convertToolResultContent(content any) (string, []api.ImageData, error) {
+ switch c := content.(type) {
+ case nil:
+ return "", nil, nil
+ case string:
+ return c, nil, nil
+ case []any:
+ var text strings.Builder
+ var images []api.ImageData
+
+ for _, cb := range c {
+ cbMap, ok := cb.(map[string]any)
+ if !ok {
+ continue
+ }
+
+ switch cbMap["type"] {
+ case "text":
+ if t, ok := cbMap["text"].(string); ok {
+ text.WriteString(t)
+ }
+ case "image":
+ rawSource, ok := cbMap["source"].(map[string]any)
+ if !ok {
+ return "", nil, errors.New("invalid tool_result image source")
+ }
+
+ var source ImageSource
+ if rawType, ok := rawSource["type"].(string); ok {
+ source.Type = rawType
+ }
+ if rawMediaType, ok := rawSource["media_type"].(string); ok {
+ source.MediaType = rawMediaType
+ }
+ if rawData, ok := rawSource["data"].(string); ok {
+ source.Data = rawData
+ }
+
+ img, err := resolveImageSource(&source)
+ if err != nil {
+ return "", nil, err
+ }
+ images = append(images, img)
+ }
+ }
+
+ return text.String(), images, nil
+ default:
+ return "", nil, nil
+ }
+}
+
+// ptr returns a pointer to the given string value
+func ptr(s string) *string {
+ return &s
+}
+
+// CountTokensRequest represents an Anthropic count_tokens request
+type CountTokensRequest struct {
+ Model string `json:"model"`
+ Messages []MessageParam `json:"messages"`
+ System any `json:"system,omitempty"`
+ Tools []Tool `json:"tools,omitempty"`
+ Thinking *ThinkingConfig `json:"thinking,omitempty"`
+}
+
+// EstimateInputTokens estimates input tokens from a MessagesRequest (reuses CountTokensRequest logic)
+func EstimateInputTokens(req MessagesRequest) int {
+ return estimateTokens(CountTokensRequest{
+ Model: req.Model,
+ Messages: req.Messages,
+ System: req.System,
+ Tools: req.Tools,
+ Thinking: req.Thinking,
+ })
+}
+
+// CountTokensResponse represents an Anthropic count_tokens response
+type CountTokensResponse struct {
+ InputTokens int `json:"input_tokens"`
+}
+
+// estimateTokens returns a rough estimate of tokens (len/4).
+// TODO: Replace with actual tokenization via Tokenize API for accuracy.
+// Current len/4 heuristic is a rough approximation (~4 chars/token average).
+func estimateTokens(req CountTokensRequest) int {
+ var totalLen int
+
+ // Count system prompt
+ totalLen += countAnyContent(req.System)
+
+ for _, msg := range req.Messages {
+ // Count role (always present)
+ totalLen += len(msg.Role)
+ // Count content
+ totalLen += countAnyContent(msg.Content)
+ }
+
+ for _, tool := range req.Tools {
+ totalLen += len(tool.Name) + len(tool.Description) + len(tool.InputSchema)
+ }
+
+ // Return len/4 as rough token estimate, minimum 1 if there's any content
+ tokens := totalLen / 4
+ if tokens == 0 && (len(req.Messages) > 0 || req.System != nil) {
+ tokens = 1
+ }
+ return tokens
+}
+
+func countAnyContent(content any) int {
+ if content == nil {
+ return 0
+ }
+
+ switch c := content.(type) {
+ case string:
+ return len(c)
+ case []ContentBlock:
+ total := 0
+ for _, block := range c {
+ total += countContentBlock(block)
+ }
+ return total
+ case []any:
+ total := 0
+ for _, item := range c {
+ data, err := json.Marshal(item)
+ if err != nil {
+ continue
+ }
+ var block ContentBlock
+ if err := json.Unmarshal(data, &block); err == nil {
+ total += countContentBlock(block)
+ }
+ }
+ return total
+ default:
+ if data, err := json.Marshal(content); err == nil {
+ return len(data)
+ }
+ return 0
+ }
+}
+
+func countContentBlock(block ContentBlock) int {
+ total := 0
+ if block.Text != nil {
+ total += len(*block.Text)
+ }
+ if block.Thinking != nil {
+ total += len(*block.Thinking)
+ }
+ if block.Type == "tool_use" || block.Type == "tool_result" {
+ if data, err := json.Marshal(block); err == nil {
+ total += len(data)
+ }
+ }
+ return total
+}
+
+// OllamaWebSearchRequest represents a request to the Ollama web search API
+type OllamaWebSearchRequest struct {
+ Query string `json:"query"`
+ MaxResults int `json:"max_results,omitempty"`
+}
+
+// OllamaWebSearchResult represents a single search result from Ollama API
+type OllamaWebSearchResult struct {
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Content string `json:"content"`
+}
+
+// OllamaWebSearchResponse represents the response from the Ollama web search API
+type OllamaWebSearchResponse struct {
+ Results []OllamaWebSearchResult `json:"results"`
+}
+
+var WebSearchEndpoint = "https://ollama.com/api/web_search"
+
+func WebSearch(ctx context.Context, query string, maxResults int) (*OllamaWebSearchResponse, error) {
+ if internalcloud.Disabled() {
+ logutil.TraceContext(ctx, "anthropic: web search blocked", "reason", "cloud_disabled")
+ return nil, errors.New(internalcloud.DisabledError("web search is unavailable"))
+ }
+
+ if maxResults <= 0 {
+ maxResults = 5
+ }
+ if maxResults > 10 {
+ maxResults = 10
+ }
+
+ reqBody := OllamaWebSearchRequest{
+ Query: query,
+ MaxResults: maxResults,
+ }
+
+ body, err := json.Marshal(reqBody)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal web search request: %w", err)
+ }
+
+ searchURL, err := url.Parse(WebSearchEndpoint)
+ if err != nil {
+ return nil, fmt.Errorf("failed to parse web search URL: %w", err)
+ }
+ logutil.TraceContext(ctx, "anthropic: web search request",
+ "query", TraceTruncateString(query),
+ "max_results", maxResults,
+ "url", searchURL.String(),
+ )
+
+ q := searchURL.Query()
+ q.Set("ts", strconv.FormatInt(time.Now().Unix(), 10))
+ searchURL.RawQuery = q.Encode()
+
+ signature := ""
+ if strings.EqualFold(searchURL.Hostname(), "ollama.com") {
+ challenge := fmt.Sprintf("%s,%s", http.MethodPost, searchURL.RequestURI())
+ signature, err = auth.Sign(ctx, []byte(challenge))
+ if err != nil {
+ return nil, fmt.Errorf("failed to sign web search request: %w", err)
+ }
+ }
+ logutil.TraceContext(ctx, "anthropic: web search auth", "signed", signature != "")
+
+ req, err := http.NewRequestWithContext(ctx, "POST", searchURL.String(), bytes.NewReader(body))
+ if err != nil {
+ return nil, fmt.Errorf("failed to create web search request: %w", err)
+ }
+
+ req.Header.Set("Content-Type", "application/json")
+ if signature != "" {
+ req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", signature))
+ }
+
+ resp, err := http.DefaultClient.Do(req)
+ if err != nil {
+ return nil, fmt.Errorf("web search request failed: %w", err)
+ }
+ defer resp.Body.Close()
+ logutil.TraceContext(ctx, "anthropic: web search response", "status", resp.StatusCode)
+
+ if resp.StatusCode != http.StatusOK {
+ respBody, _ := io.ReadAll(resp.Body)
+ return nil, fmt.Errorf("web search returned status %d: %s", resp.StatusCode, string(respBody))
+ }
+
+ var searchResp OllamaWebSearchResponse
+ if err := json.NewDecoder(resp.Body).Decode(&searchResp); err != nil {
+ return nil, fmt.Errorf("failed to decode web search response: %w", err)
+ }
+ logutil.TraceContext(ctx, "anthropic: web search results", "count", len(searchResp.Results))
+
+ return &searchResp, nil
+}
+
+func ConvertOllamaToAnthropicResults(ollamaResults *OllamaWebSearchResponse) []WebSearchResult {
+ var results []WebSearchResult
+ for _, r := range ollamaResults.Results {
+ results = append(results, WebSearchResult{
+ Type: "web_search_result",
+ URL: r.URL,
+ Title: r.Title,
+ })
+ }
+ return results
+}
diff --git a/western_ai/usa/ollama/anthropic/anthropic_test.go b/western_ai/usa/ollama/anthropic/anthropic_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..27f9b9a7e308ae57d1fafdf01210fd90130c2ffe
--- /dev/null
+++ b/western_ai/usa/ollama/anthropic/anthropic_test.go
@@ -0,0 +1,1907 @@
+package anthropic
+
+import (
+ "encoding/base64"
+ "encoding/json"
+ "strings"
+ "testing"
+
+ "github.com/google/go-cmp/cmp"
+
+ "github.com/ollama/ollama/api"
+)
+
+const (
+ testImage = `iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=`
+)
+
+// textContent is a convenience for constructing []ContentBlock with a single text block in tests.
+func textContent(s string) []ContentBlock {
+ return []ContentBlock{{Type: "text", Text: &s}}
+}
+
+// makeArgs creates ToolCallFunctionArguments from key-value pairs (convenience function for tests)
+func makeArgs(kvs ...any) api.ToolCallFunctionArguments {
+ args := api.NewToolCallFunctionArguments()
+ for i := 0; i < len(kvs)-1; i += 2 {
+ args.Set(kvs[i].(string), kvs[i+1])
+ }
+ return args
+}
+
+func TestFromMessagesRequest_Basic(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Model != "test-model" {
+ t.Errorf("expected model 'test-model', got %q", result.Model)
+ }
+
+ if len(result.Messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(result.Messages))
+ }
+
+ if result.Messages[0].Role != "user" || result.Messages[0].Content != "Hello" {
+ t.Errorf("unexpected message: %+v", result.Messages[0])
+ }
+
+ if numPredict, ok := result.Options["num_predict"].(int); !ok || numPredict != 1024 {
+ t.Errorf("expected num_predict 1024, got %v", result.Options["num_predict"])
+ }
+}
+
+func TestFromMessagesRequest_WithSystemPrompt(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ System: "You are a helpful assistant.",
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 2 {
+ t.Fatalf("expected 2 messages, got %d", len(result.Messages))
+ }
+
+ if result.Messages[0].Role != "system" || result.Messages[0].Content != "You are a helpful assistant." {
+ t.Errorf("unexpected system message: %+v", result.Messages[0])
+ }
+}
+
+func TestFromMessagesRequest_WithSystemPromptArray(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ System: []any{
+ map[string]any{"type": "text", "text": "You are helpful."},
+ map[string]any{"type": "text", "text": " Be concise."},
+ },
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 2 {
+ t.Fatalf("expected 2 messages, got %d", len(result.Messages))
+ }
+
+ if result.Messages[0].Content != "You are helpful. Be concise." {
+ t.Errorf("unexpected system message content: %q", result.Messages[0].Content)
+ }
+}
+
+func TestFromMessagesRequest_WithOptions(t *testing.T) {
+ temp := 0.7
+ topP := 0.9
+ topK := 40
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 2048,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Temperature: &temp,
+ TopP: &topP,
+ TopK: &topK,
+ StopSequences: []string{"\n", "END"},
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Options["temperature"] != 0.7 {
+ t.Errorf("expected temperature 0.7, got %v", result.Options["temperature"])
+ }
+ if result.Options["top_p"] != 0.9 {
+ t.Errorf("expected top_p 0.9, got %v", result.Options["top_p"])
+ }
+ if result.Options["top_k"] != 40 {
+ t.Errorf("expected top_k 40, got %v", result.Options["top_k"])
+ }
+ if diff := cmp.Diff([]string{"\n", "END"}, result.Options["stop"]); diff != "" {
+ t.Errorf("stop sequences mismatch: %s", diff)
+ }
+}
+
+func TestFromMessagesRequest_WithImage(t *testing.T) {
+ imgData, _ := base64.StdEncoding.DecodeString(testImage)
+
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: []ContentBlock{
+ {Type: "text", Text: ptr("What's in this image?")},
+ {
+ Type: "image",
+ Source: &ImageSource{
+ Type: "base64",
+ MediaType: "image/png",
+ Data: testImage,
+ },
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(result.Messages))
+ }
+
+ if result.Messages[0].Content != "What's in this image?" {
+ t.Errorf("expected content 'What's in this image?', got %q", result.Messages[0].Content)
+ }
+
+ if len(result.Messages[0].Images) != 1 {
+ t.Fatalf("expected 1 image, got %d", len(result.Messages[0].Images))
+ }
+
+ if string(result.Messages[0].Images[0]) != string(imgData) {
+ t.Error("image data mismatch")
+ }
+}
+
+func TestFromMessagesRequest_WithToolUse(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("What's the weather in Paris?")},
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "tool_use",
+ ID: "call_123",
+ Name: "get_weather",
+ Input: makeArgs("location", "Paris"),
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 2 {
+ t.Fatalf("expected 2 messages, got %d", len(result.Messages))
+ }
+
+ if len(result.Messages[1].ToolCalls) != 1 {
+ t.Fatalf("expected 1 tool call, got %d", len(result.Messages[1].ToolCalls))
+ }
+
+ tc := result.Messages[1].ToolCalls[0]
+ if tc.ID != "call_123" {
+ t.Errorf("expected tool call ID 'call_123', got %q", tc.ID)
+ }
+ if tc.Function.Name != "get_weather" {
+ t.Errorf("expected tool name 'get_weather', got %q", tc.Function.Name)
+ }
+}
+
+func TestFromMessagesRequest_WithToolResult(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "tool_result",
+ ToolUseID: "call_123",
+ Content: "The weather in Paris is sunny, 22°C",
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(result.Messages))
+ }
+
+ msg := result.Messages[0]
+ if msg.Role != "tool" {
+ t.Errorf("expected role 'tool', got %q", msg.Role)
+ }
+ if msg.ToolCallID != "call_123" {
+ t.Errorf("expected tool_call_id 'call_123', got %q", msg.ToolCallID)
+ }
+ if msg.Content != "The weather in Paris is sunny, 22°C" {
+ t.Errorf("unexpected content: %q", msg.Content)
+ }
+}
+
+func TestFromMessagesRequest_WithToolResultImage(t *testing.T) {
+ imgData, _ := base64.StdEncoding.DecodeString(testImage)
+
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "tool_result",
+ ToolUseID: "call_img",
+ Content: []any{
+ map[string]any{"type": "text", "text": "Attached image"},
+ map[string]any{
+ "type": "image",
+ "source": map[string]any{
+ "type": "base64",
+ "media_type": "image/png",
+ "data": testImage,
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(result.Messages))
+ }
+
+ msg := result.Messages[0]
+ if msg.Role != "tool" {
+ t.Errorf("expected role 'tool', got %q", msg.Role)
+ }
+ if msg.ToolCallID != "call_img" {
+ t.Errorf("expected tool_call_id 'call_img', got %q", msg.ToolCallID)
+ }
+ if msg.Content != "Attached image" {
+ t.Errorf("unexpected content: %q", msg.Content)
+ }
+ if len(msg.Images) != 1 {
+ t.Fatalf("expected 1 image, got %d", len(msg.Images))
+ }
+ if string(msg.Images[0]) != string(imgData) {
+ t.Error("image data mismatch")
+ }
+}
+
+func TestFromMessagesRequest_WithToolResultFollowedByUserText(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "tool_use",
+ ID: "call_read",
+ Name: "Read",
+ Input: makeArgs("file_path", "/Users/hoyyeva/Desktop/aaa.png"),
+ },
+ },
+ },
+ {
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "tool_result",
+ ToolUseID: "call_read",
+ Content: "Read image (311.5KB)",
+ },
+ {
+ Type: "text",
+ Text: ptr("Please describe it."),
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 3 {
+ t.Fatalf("expected 3 messages, got %d", len(result.Messages))
+ }
+
+ if result.Messages[1].Role != "tool" {
+ t.Fatalf("expected second message to be tool, got %q", result.Messages[1].Role)
+ }
+ if result.Messages[1].ToolCallID != "call_read" {
+ t.Fatalf("expected tool_call_id 'call_read', got %q", result.Messages[1].ToolCallID)
+ }
+ if result.Messages[2].Role != "user" {
+ t.Fatalf("expected third message to be user, got %q", result.Messages[2].Role)
+ }
+ if result.Messages[2].Content != "Please describe it." {
+ t.Fatalf("unexpected user content: %q", result.Messages[2].Content)
+ }
+}
+
+func TestFromMessagesRequest_WithOutputConfigEffort(t *testing.T) {
+ req := MessagesRequest{
+ Model: "gemma4",
+ MaxTokens: 32000,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: textContent("Describe the image."),
+ },
+ },
+ OutputConfig: &OutputConfig{
+ Effort: "high",
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Think == nil {
+ t.Fatal("expected think to be set from output_config.effort")
+ }
+
+ if got := result.Think.String(); got != "high" {
+ t.Fatalf("expected think level 'high', got %q", got)
+ }
+}
+
+func TestFromMessagesRequest_WithOutputConfigEffortXHighMapsToHigh(t *testing.T) {
+ req := MessagesRequest{
+ Model: "gemma4",
+ MaxTokens: 32000,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: textContent("Describe the image."),
+ },
+ },
+ OutputConfig: &OutputConfig{
+ Effort: "xhigh",
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Think == nil {
+ t.Fatal("expected think to be set from output_config.effort")
+ }
+
+ if got := result.Think.String(); got != "high" {
+ t.Fatalf("expected think level 'high' for xhigh effort, got %q", got)
+ }
+}
+
+func TestFromMessagesRequest_ThinkingDisabledOverridesOutputConfigEffort(t *testing.T) {
+ req := MessagesRequest{
+ Model: "gemma4",
+ MaxTokens: 32000,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: textContent("Describe the image."),
+ },
+ },
+ Thinking: &ThinkingConfig{
+ Type: "disabled",
+ },
+ OutputConfig: &OutputConfig{
+ Effort: "high",
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Think == nil {
+ t.Fatal("expected think to be set")
+ }
+
+ if got := result.Think.Value; got != false {
+ t.Fatalf("expected think=false when thinking is disabled, got %v", got)
+ }
+}
+
+func TestFromMessagesRequest_ThinkingAdaptiveUsesOutputConfigEffort(t *testing.T) {
+ req := MessagesRequest{
+ Model: "gemma4",
+ MaxTokens: 32000,
+ Messages: []MessageParam{
+ {
+ Role: "user",
+ Content: textContent("Describe the image."),
+ },
+ },
+ Thinking: &ThinkingConfig{
+ Type: "adaptive",
+ },
+ OutputConfig: &OutputConfig{
+ Effort: "high",
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Think == nil {
+ t.Fatal("expected think to be set from output_config.effort")
+ }
+
+ if got := result.Think.String(); got != "high" {
+ t.Fatalf("expected think level 'high' for adaptive thinking, got %q", got)
+ }
+}
+
+func TestFromMessagesRequest_WithTools(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Tools: []Tool{
+ {
+ Name: "get_weather",
+ Description: "Get current weather",
+ InputSchema: json.RawMessage(`{"type":"object","properties":{"location":{"type":"string"}},"required":["location"]}`),
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Tools) != 1 {
+ t.Fatalf("expected 1 tool, got %d", len(result.Tools))
+ }
+
+ tool := result.Tools[0]
+ if tool.Type != "function" {
+ t.Errorf("expected type 'function', got %q", tool.Type)
+ }
+ if tool.Function.Name != "get_weather" {
+ t.Errorf("expected name 'get_weather', got %q", tool.Function.Name)
+ }
+ if tool.Function.Description != "Get current weather" {
+ t.Errorf("expected description 'Get current weather', got %q", tool.Function.Description)
+ }
+}
+
+func TestFromMessagesRequest_DropsCustomWebSearchWhenBuiltinPresent(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Tools: []Tool{
+ {
+ Type: "web_search_20250305",
+ Name: "web_search",
+ },
+ {
+ Type: "custom",
+ Name: "web_search",
+ Description: "User-defined web search that should be dropped",
+ InputSchema: json.RawMessage(`{"type":"invalid"}`),
+ },
+ {
+ Type: "custom",
+ Name: "get_weather",
+ Description: "Get current weather",
+ InputSchema: json.RawMessage(`{"type":"object","properties":{"location":{"type":"string"}},"required":["location"]}`),
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Tools) != 2 {
+ t.Fatalf("expected 2 tools after dropping custom web_search, got %d", len(result.Tools))
+ }
+ if result.Tools[0].Function.Name != "web_search" {
+ t.Fatalf("expected first tool to be built-in web_search, got %q", result.Tools[0].Function.Name)
+ }
+ if result.Tools[1].Function.Name != "get_weather" {
+ t.Fatalf("expected second tool to be get_weather, got %q", result.Tools[1].Function.Name)
+ }
+}
+
+func TestFromMessagesRequest_KeepsCustomWebSearchWhenBuiltinAbsent(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Tools: []Tool{
+ {
+ Type: "custom",
+ Name: "web_search",
+ Description: "User-defined web search",
+ InputSchema: json.RawMessage(`{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]}`),
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Tools) != 1 {
+ t.Fatalf("expected 1 custom tool, got %d", len(result.Tools))
+ }
+ if result.Tools[0].Function.Name != "web_search" {
+ t.Fatalf("expected custom tool name web_search, got %q", result.Tools[0].Function.Name)
+ }
+ if result.Tools[0].Function.Description != "User-defined web search" {
+ t.Fatalf("expected custom description preserved, got %q", result.Tools[0].Function.Description)
+ }
+}
+
+func TestFromMessagesRequest_WithThinking(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Thinking: &ThinkingConfig{Type: "enabled", BudgetTokens: 1000},
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if result.Think == nil {
+ t.Fatal("expected Think to be set")
+ }
+ if v, ok := result.Think.Value.(bool); !ok || !v {
+ t.Errorf("expected Think.Value to be true, got %v", result.Think.Value)
+ }
+}
+
+func TestFromMessagesRequest_ThinkingOnlyBlock(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "thinking",
+ Thinking: ptr("Let me think about this..."),
+ },
+ },
+ },
+ },
+ }
+
+ result, err := FromMessagesRequest(req)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(result.Messages) != 2 {
+ t.Fatalf("expected 2 messages, got %d", len(result.Messages))
+ }
+
+ assistantMsg := result.Messages[1]
+ if assistantMsg.Thinking != "Let me think about this..." {
+ t.Errorf("expected thinking content, got %q", assistantMsg.Thinking)
+ }
+}
+
+func TestFromMessagesRequest_ToolUseMissingID(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "tool_use",
+ Name: "get_weather",
+ },
+ },
+ },
+ },
+ }
+
+ _, err := FromMessagesRequest(req)
+ if err == nil {
+ t.Fatal("expected error for missing tool_use id")
+ }
+ if err.Error() != "tool_use block missing required 'id' field" {
+ t.Errorf("unexpected error message: %v", err)
+ }
+}
+
+func TestFromMessagesRequest_ToolUseMissingName(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "tool_use",
+ ID: "call_123",
+ },
+ },
+ },
+ },
+ }
+
+ _, err := FromMessagesRequest(req)
+ if err == nil {
+ t.Fatal("expected error for missing tool_use name")
+ }
+ if err.Error() != "tool_use block missing required 'name' field" {
+ t.Errorf("unexpected error message: %v", err)
+ }
+}
+
+func TestFromMessagesRequest_InvalidToolSchema(t *testing.T) {
+ req := MessagesRequest{
+ Model: "test-model",
+ MaxTokens: 1024,
+ Messages: []MessageParam{{Role: "user", Content: textContent("Hello")}},
+ Tools: []Tool{
+ {
+ Name: "bad_tool",
+ InputSchema: json.RawMessage(`{invalid json`),
+ },
+ },
+ }
+
+ _, err := FromMessagesRequest(req)
+ if err == nil {
+ t.Fatal("expected error for invalid tool schema")
+ }
+}
+
+func TestToMessagesResponse_Basic(t *testing.T) {
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ Content: "Hello there!",
+ },
+ Done: true,
+ DoneReason: "stop",
+ Metrics: api.Metrics{
+ PromptEvalCount: 10,
+ EvalCount: 5,
+ },
+ }
+
+ result := ToMessagesResponse("msg_123", resp)
+
+ if result.ID != "msg_123" {
+ t.Errorf("expected ID 'msg_123', got %q", result.ID)
+ }
+ if result.Type != "message" {
+ t.Errorf("expected type 'message', got %q", result.Type)
+ }
+ if result.Role != "assistant" {
+ t.Errorf("expected role 'assistant', got %q", result.Role)
+ }
+ if len(result.Content) != 1 {
+ t.Fatalf("expected 1 content block, got %d", len(result.Content))
+ }
+ if result.Content[0].Type != "text" || result.Content[0].Text == nil || *result.Content[0].Text != "Hello there!" {
+ t.Errorf("unexpected content: %+v", result.Content[0])
+ }
+ if result.StopReason != "end_turn" {
+ t.Errorf("expected stop_reason 'end_turn', got %q", result.StopReason)
+ }
+ if result.Usage.InputTokens != 10 || result.Usage.OutputTokens != 5 {
+ t.Errorf("unexpected usage: %+v", result.Usage)
+ }
+}
+
+func TestToMessagesResponse_WithToolCalls(t *testing.T) {
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_123",
+ Function: api.ToolCallFunction{
+ Name: "get_weather",
+ Arguments: makeArgs("location", "Paris"),
+ },
+ },
+ },
+ },
+ Done: true,
+ DoneReason: "stop",
+ }
+
+ result := ToMessagesResponse("msg_123", resp)
+
+ if len(result.Content) != 1 {
+ t.Fatalf("expected 1 content block, got %d", len(result.Content))
+ }
+ if result.Content[0].Type != "tool_use" {
+ t.Errorf("expected type 'tool_use', got %q", result.Content[0].Type)
+ }
+ if result.Content[0].ID != "call_123" {
+ t.Errorf("expected ID 'call_123', got %q", result.Content[0].ID)
+ }
+ if result.Content[0].Name != "get_weather" {
+ t.Errorf("expected name 'get_weather', got %q", result.Content[0].Name)
+ }
+ if result.StopReason != "tool_use" {
+ t.Errorf("expected stop_reason 'tool_use', got %q", result.StopReason)
+ }
+}
+
+func TestToMessagesResponse_WithThinking(t *testing.T) {
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ Content: "The answer is 42.",
+ Thinking: "Let me think about this...",
+ },
+ Done: true,
+ DoneReason: "stop",
+ }
+
+ result := ToMessagesResponse("msg_123", resp)
+
+ if len(result.Content) != 2 {
+ t.Fatalf("expected 2 content blocks, got %d", len(result.Content))
+ }
+ if result.Content[0].Type != "thinking" {
+ t.Errorf("expected first block type 'thinking', got %q", result.Content[0].Type)
+ }
+ if result.Content[0].Thinking == nil || *result.Content[0].Thinking != "Let me think about this..." {
+ t.Errorf("unexpected thinking content: %v", result.Content[0].Thinking)
+ }
+ if result.Content[1].Type != "text" {
+ t.Errorf("expected second block type 'text', got %q", result.Content[1].Type)
+ }
+}
+
+func TestMapStopReason(t *testing.T) {
+ tests := []struct {
+ reason string
+ hasToolCalls bool
+ want string
+ }{
+ {"stop", false, "end_turn"},
+ {"length", false, "max_tokens"},
+ {"stop", true, "tool_use"},
+ {"other", false, "stop_sequence"},
+ {"", false, ""},
+ }
+
+ for _, tt := range tests {
+ got := mapStopReason(tt.reason, tt.hasToolCalls)
+ if got != tt.want {
+ t.Errorf("mapStopReason(%q, %v) = %q, want %q", tt.reason, tt.hasToolCalls, got, tt.want)
+ }
+ }
+}
+
+func TestNewError(t *testing.T) {
+ tests := []struct {
+ code int
+ want string
+ }{
+ {400, "invalid_request_error"},
+ {401, "authentication_error"},
+ {403, "permission_error"},
+ {404, "not_found_error"},
+ {429, "rate_limit_error"},
+ {500, "api_error"},
+ {503, "overloaded_error"},
+ {529, "overloaded_error"},
+ }
+
+ for _, tt := range tests {
+ result := NewError(tt.code, "test message")
+ if result.Type != "error" {
+ t.Errorf("NewError(%d) type = %q, want 'error'", tt.code, result.Type)
+ }
+ if result.Error.Type != tt.want {
+ t.Errorf("NewError(%d) error.type = %q, want %q", tt.code, result.Error.Type, tt.want)
+ }
+ if result.Error.Message != "test message" {
+ t.Errorf("NewError(%d) message = %q, want 'test message'", tt.code, result.Error.Message)
+ }
+ if result.RequestID == "" {
+ t.Errorf("NewError(%d) request_id should not be empty", tt.code)
+ }
+ }
+}
+
+func TestGenerateMessageID(t *testing.T) {
+ id1 := GenerateMessageID()
+ id2 := GenerateMessageID()
+
+ if id1 == "" {
+ t.Error("GenerateMessageID returned empty string")
+ }
+ if id1 == id2 {
+ t.Error("GenerateMessageID returned duplicate IDs")
+ }
+ if len(id1) < 10 {
+ t.Errorf("GenerateMessageID returned short ID: %q", id1)
+ }
+ if id1[:4] != "msg_" {
+ t.Errorf("GenerateMessageID should start with 'msg_', got %q", id1[:4])
+ }
+}
+
+func TestStreamConverter_Basic(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ // First chunk
+ resp1 := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ Content: "Hello",
+ },
+ Metrics: api.Metrics{PromptEvalCount: 10},
+ }
+
+ events1 := conv.Process(resp1)
+ if len(events1) < 3 {
+ t.Fatalf("expected at least 3 events for first chunk, got %d", len(events1))
+ }
+
+ // Should have message_start, content_block_start, content_block_delta
+ if events1[0].Event != "message_start" {
+ t.Errorf("expected first event 'message_start', got %q", events1[0].Event)
+ }
+ if events1[1].Event != "content_block_start" {
+ t.Errorf("expected second event 'content_block_start', got %q", events1[1].Event)
+ }
+ if events1[2].Event != "content_block_delta" {
+ t.Errorf("expected third event 'content_block_delta', got %q", events1[2].Event)
+ }
+
+ // Final chunk
+ resp2 := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ Content: " world!",
+ },
+ Done: true,
+ DoneReason: "stop",
+ Metrics: api.Metrics{PromptEvalCount: 10, EvalCount: 5},
+ }
+
+ events2 := conv.Process(resp2)
+
+ // Should have content_block_delta, content_block_stop, message_delta, message_stop
+ hasStop := false
+ for _, e := range events2 {
+ if e.Event == "message_delta" {
+ if data, ok := e.Data.(MessageDeltaEvent); ok {
+ if data.Type != "message_delta" {
+ t.Errorf("unexpected data type: %+v", data)
+ }
+
+ if data.Delta.StopReason != "end_turn" {
+ t.Errorf("unexpected stop reason: %+v", data.Delta.StopReason)
+ }
+
+ if data.Usage.InputTokens != 10 || data.Usage.OutputTokens != 5 {
+ t.Errorf("unexpected usage: %+v", data.Usage)
+ }
+ } else {
+ t.Errorf("unexpected data: %+v", e.Data)
+ }
+ }
+
+ if e.Event == "message_stop" {
+ hasStop = true
+ }
+ }
+ if !hasStop {
+ t.Error("expected message_stop event in final chunk")
+ }
+}
+
+func TestStreamConverter_WithToolCalls(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_123",
+ Function: api.ToolCallFunction{
+ Name: "get_weather",
+ Arguments: makeArgs("location", "Paris"),
+ },
+ },
+ },
+ },
+ Done: true,
+ DoneReason: "stop",
+ Metrics: api.Metrics{PromptEvalCount: 10, EvalCount: 5},
+ }
+
+ events := conv.Process(resp)
+
+ hasToolStart := false
+ hasToolDelta := false
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "tool_use" {
+ hasToolStart = true
+ }
+ }
+ }
+ if e.Event == "content_block_delta" {
+ if delta, ok := e.Data.(ContentBlockDeltaEvent); ok {
+ if delta.Delta.Type == "input_json_delta" {
+ hasToolDelta = true
+ }
+ }
+ }
+ }
+
+ if !hasToolStart {
+ t.Error("expected tool_use content_block_start event")
+ }
+ if !hasToolDelta {
+ t.Error("expected input_json_delta event")
+ }
+}
+
+// TestStreamConverter_ThinkingDirectlyFollowedByToolCall verifies that when a
+// model emits a thinking block followed directly by a tool_use block (with no
+// text block in between), the streaming converter correctly closes the thinking
+// block and increments the content index before opening the tool_use block.
+// Previously, the converter reused contentIndex=0 for the tool_use block,
+// which caused "Content block not found" errors in clients. See #14816.
+func TestStreamConverter_ThinkingDirectlyFollowedByToolCall(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ // First chunk: thinking content (no text)
+ resp1 := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ Thinking: "I should call the tool.",
+ },
+ }
+ events1 := conv.Process(resp1)
+
+ // Should have: message_start, content_block_start(thinking), content_block_delta(thinking)
+ if len(events1) < 3 {
+ t.Fatalf("expected at least 3 events for thinking chunk, got %d", len(events1))
+ }
+ if events1[0].Event != "message_start" {
+ t.Errorf("expected first event 'message_start', got %q", events1[0].Event)
+ }
+ thinkingStart, ok := events1[1].Data.(ContentBlockStartEvent)
+ if !ok || thinkingStart.ContentBlock.Type != "thinking" {
+ t.Errorf("expected content_block_start(thinking) as second event, got %+v", events1[1])
+ }
+ if thinkingStart.Index != 0 {
+ t.Errorf("expected thinking block at index 0, got %d", thinkingStart.Index)
+ }
+
+ // Second chunk: tool call (no text between thinking and tool)
+ resp2 := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_abc",
+ Function: api.ToolCallFunction{
+ Name: "ask_user",
+ Arguments: makeArgs("question", "cats or dogs?"),
+ },
+ },
+ },
+ },
+ Done: true,
+ DoneReason: "stop",
+ Metrics: api.Metrics{PromptEvalCount: 10, EvalCount: 5},
+ }
+ events2 := conv.Process(resp2)
+
+ // Expect: content_block_stop(index=0), content_block_start(tool_use, index=1),
+ // content_block_delta(input_json_delta, index=1), content_block_stop(index=1),
+ // message_delta, message_stop
+ var thinkingStop, toolStart, toolDelta, toolStop *StreamEvent
+ for i := range events2 {
+ e := &events2[i]
+ switch e.Event {
+ case "content_block_stop":
+ if stop, ok := e.Data.(ContentBlockStopEvent); ok {
+ if stop.Index == 0 && thinkingStop == nil {
+ thinkingStop = e
+ } else if stop.Index == 1 {
+ toolStop = e
+ }
+ }
+ case "content_block_start":
+ if start, ok := e.Data.(ContentBlockStartEvent); ok && start.ContentBlock.Type == "tool_use" {
+ toolStart = e
+ }
+ case "content_block_delta":
+ if delta, ok := e.Data.(ContentBlockDeltaEvent); ok && delta.Delta.Type == "input_json_delta" {
+ toolDelta = e
+ }
+ }
+ }
+
+ if thinkingStop == nil {
+ t.Error("expected content_block_stop for thinking block (index 0)")
+ }
+ if toolStart == nil {
+ t.Fatal("expected content_block_start for tool_use block")
+ }
+ if start, ok := toolStart.Data.(ContentBlockStartEvent); !ok || start.Index != 1 {
+ t.Errorf("expected tool_use block at index 1, got %+v", toolStart.Data)
+ }
+ if toolDelta == nil {
+ t.Fatal("expected input_json_delta event for tool call")
+ }
+ if delta, ok := toolDelta.Data.(ContentBlockDeltaEvent); !ok || delta.Index != 1 {
+ t.Errorf("expected tool delta at index 1, got %+v", toolDelta.Data)
+ }
+ if toolStop == nil {
+ t.Error("expected content_block_stop for tool_use block (index 1)")
+ }
+}
+
+func TestStreamConverter_ToolCallWithUnmarshalableArgs(t *testing.T) {
+ // Test that unmarshalable arguments (like channels) are handled gracefully
+ // and don't cause a panic or corrupt stream
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ // Create a channel which cannot be JSON marshaled
+ unmarshalable := make(chan int)
+ badArgs := api.NewToolCallFunctionArguments()
+ badArgs.Set("channel", unmarshalable)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_bad",
+ Function: api.ToolCallFunction{
+ Name: "bad_function",
+ Arguments: badArgs,
+ },
+ },
+ },
+ },
+ Done: true,
+ DoneReason: "stop",
+ }
+
+ // Should not panic and should skip the unmarshalable tool call
+ events := conv.Process(resp)
+
+ // Verify no tool_use block was started (since marshal failed before block start)
+ hasToolStart := false
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "tool_use" {
+ hasToolStart = true
+ }
+ }
+ }
+ }
+
+ if hasToolStart {
+ t.Error("expected no tool_use block when arguments cannot be marshaled")
+ }
+}
+
+func TestStreamConverter_MultipleToolCallsWithMixedValidity(t *testing.T) {
+ // Test that valid tool calls still work when mixed with invalid ones
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ unmarshalable := make(chan int)
+ badArgs := api.NewToolCallFunctionArguments()
+ badArgs.Set("channel", unmarshalable)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_good",
+ Function: api.ToolCallFunction{
+ Name: "good_function",
+ Arguments: makeArgs("location", "Paris"),
+ },
+ },
+ {
+ ID: "call_bad",
+ Function: api.ToolCallFunction{
+ Name: "bad_function",
+ Arguments: badArgs,
+ },
+ },
+ },
+ },
+ Done: true,
+ DoneReason: "stop",
+ }
+
+ events := conv.Process(resp)
+
+ // Count tool_use blocks - should only have 1 (the valid one)
+ toolStartCount := 0
+ toolDeltaCount := 0
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "tool_use" {
+ toolStartCount++
+ if start.ContentBlock.Name != "good_function" {
+ t.Errorf("expected tool name 'good_function', got %q", start.ContentBlock.Name)
+ }
+ }
+ }
+ }
+ if e.Event == "content_block_delta" {
+ if delta, ok := e.Data.(ContentBlockDeltaEvent); ok {
+ if delta.Delta.Type == "input_json_delta" {
+ toolDeltaCount++
+ }
+ }
+ }
+ }
+
+ if toolStartCount != 1 {
+ t.Errorf("expected 1 tool_use block, got %d", toolStartCount)
+ }
+ if toolDeltaCount != 1 {
+ t.Errorf("expected 1 input_json_delta, got %d", toolDeltaCount)
+ }
+}
+
+func TestContentBlockJSON_EmptyFieldsPresent(t *testing.T) {
+ tests := []struct {
+ name string
+ block ContentBlock
+ wantKeys []string
+ }{
+ {
+ name: "text block includes empty text field",
+ block: ContentBlock{
+ Type: "text",
+ Text: ptr(""),
+ },
+ wantKeys: []string{"type", "text"},
+ },
+ {
+ name: "thinking block includes empty thinking field",
+ block: ContentBlock{
+ Type: "thinking",
+ Thinking: ptr(""),
+ },
+ wantKeys: []string{"type", "thinking"},
+ },
+ {
+ name: "text block with content",
+ block: ContentBlock{
+ Type: "text",
+ Text: ptr("hello"),
+ },
+ wantKeys: []string{"type", "text"},
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ data, err := json.Marshal(tt.block)
+ if err != nil {
+ t.Fatalf("failed to marshal: %v", err)
+ }
+
+ var result map[string]any
+ if err := json.Unmarshal(data, &result); err != nil {
+ t.Fatalf("failed to unmarshal: %v", err)
+ }
+
+ for _, key := range tt.wantKeys {
+ if _, ok := result[key]; !ok {
+ t.Errorf("expected key %q to be present in JSON output, got: %s", key, string(data))
+ }
+ }
+ })
+ }
+}
+
+func TestContentBlockJSON_NonToolBlocksDoNotIncludeInput(t *testing.T) {
+ tests := []struct {
+ name string
+ block ContentBlock
+ }{
+ {
+ name: "text block",
+ block: ContentBlock{
+ Type: "text",
+ Text: ptr("hello"),
+ },
+ },
+ {
+ name: "thinking block",
+ block: ContentBlock{
+ Type: "thinking",
+ Thinking: ptr("let me think"),
+ },
+ },
+ {
+ name: "image block",
+ block: ContentBlock{
+ Type: "image",
+ Source: &ImageSource{
+ Type: "base64",
+ MediaType: "image/png",
+ Data: testImage,
+ },
+ },
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ data, err := json.Marshal(tt.block)
+ if err != nil {
+ t.Fatalf("failed to marshal: %v", err)
+ }
+
+ var result map[string]any
+ if err := json.Unmarshal(data, &result); err != nil {
+ t.Fatalf("failed to unmarshal: %v", err)
+ }
+
+ if _, ok := result["input"]; ok {
+ t.Fatalf("unexpected input field in non-tool block JSON: %s", string(data))
+ }
+ })
+ }
+}
+
+func TestStreamConverter_ContentBlockStartIncludesEmptyFields(t *testing.T) {
+ t.Run("text block start includes empty text", func(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{Role: "assistant", Content: "hello"},
+ }
+
+ events := conv.Process(resp)
+
+ var foundTextStart bool
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "text" {
+ foundTextStart = true
+ // Marshal and verify the text field is present
+ data, _ := json.Marshal(start)
+ var result map[string]any
+ if err := json.Unmarshal(data, &result); err != nil {
+ t.Fatalf("failed to unmarshal content_block_start JSON: %v", err)
+ }
+ cb := result["content_block"].(map[string]any)
+ if _, ok := cb["text"]; !ok {
+ t.Error("content_block_start for text should include 'text' field")
+ }
+ }
+ }
+ }
+ }
+
+ if !foundTextStart {
+ t.Error("expected text content_block_start event")
+ }
+ })
+
+ t.Run("thinking block start includes empty thinking", func(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{Role: "assistant", Thinking: "let me think..."},
+ }
+
+ events := conv.Process(resp)
+
+ var foundThinkingStart bool
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "thinking" {
+ foundThinkingStart = true
+ data, _ := json.Marshal(start)
+ var result map[string]any
+ json.Unmarshal(data, &result)
+ cb := result["content_block"].(map[string]any)
+ if _, ok := cb["thinking"]; !ok {
+ t.Error("content_block_start for thinking should include 'thinking' field")
+ }
+ }
+ }
+ }
+ }
+
+ if !foundThinkingStart {
+ t.Error("expected thinking content_block_start event")
+ }
+ })
+
+ t.Run("tool_use block start includes empty input object", func(t *testing.T) {
+ conv := NewStreamConverter("msg_123", "test-model", 0)
+
+ resp := api.ChatResponse{
+ Model: "test-model",
+ Message: api.Message{
+ Role: "assistant",
+ ToolCalls: []api.ToolCall{
+ {
+ ID: "call_123",
+ Function: api.ToolCallFunction{
+ Name: "get_weather",
+ Arguments: makeArgs("location", "Paris"),
+ },
+ },
+ },
+ },
+ }
+
+ events := conv.Process(resp)
+
+ var foundToolStart bool
+ for _, e := range events {
+ if e.Event == "content_block_start" {
+ if start, ok := e.Data.(ContentBlockStartEvent); ok {
+ if start.ContentBlock.Type == "tool_use" {
+ foundToolStart = true
+ if start.ContentBlock.Input.Len() != 0 {
+ t.Errorf("expected empty input object, got len=%d", start.ContentBlock.Input.Len())
+ }
+
+ data, _ := json.Marshal(start)
+ var result map[string]any
+ json.Unmarshal(data, &result)
+ cb := result["content_block"].(map[string]any)
+ input, ok := cb["input"]
+ if !ok {
+ t.Error("content_block_start for tool_use should include 'input' field")
+ continue
+ }
+ inputMap, ok := input.(map[string]any)
+ if !ok {
+ t.Errorf("input field should be an object, got %T", input)
+ continue
+ }
+ if len(inputMap) != 0 {
+ t.Errorf("expected empty input object in content_block_start, got %v", inputMap)
+ }
+ }
+ }
+ }
+ }
+
+ if !foundToolStart {
+ t.Error("expected tool_use content_block_start event")
+ }
+ })
+}
+
+func TestEstimateTokens_SimpleMessage(t *testing.T) {
+ req := CountTokensRequest{
+ Model: "test-model",
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello, world!")},
+ },
+ }
+
+ tokens := estimateTokens(req)
+
+ // "user" (4) + "Hello, world!" (13) = 17 chars / 4 = 4 tokens
+ if tokens < 1 {
+ t.Errorf("expected at least 1 token, got %d", tokens)
+ }
+ // Sanity check: shouldn't be wildly off
+ if tokens > 10 {
+ t.Errorf("expected fewer than 10 tokens for short message, got %d", tokens)
+ }
+}
+
+func TestEstimateTokens_WithSystemPrompt(t *testing.T) {
+ req := CountTokensRequest{
+ Model: "test-model",
+ System: "You are a helpful assistant.",
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ },
+ }
+
+ tokens := estimateTokens(req)
+
+ // System prompt adds to count
+ if tokens < 5 {
+ t.Errorf("expected at least 5 tokens with system prompt, got %d", tokens)
+ }
+}
+
+func TestEstimateTokens_WithTools(t *testing.T) {
+ req := CountTokensRequest{
+ Model: "test-model",
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("What's the weather?")},
+ },
+ Tools: []Tool{
+ {
+ Name: "get_weather",
+ Description: "Get the current weather for a location",
+ InputSchema: json.RawMessage(`{"type":"object","properties":{"location":{"type":"string"}}}`),
+ },
+ },
+ }
+
+ tokens := estimateTokens(req)
+
+ // Tools add significant content
+ if tokens < 10 {
+ t.Errorf("expected at least 10 tokens with tools, got %d", tokens)
+ }
+}
+
+func TestEstimateTokens_WithThinking(t *testing.T) {
+ req := CountTokensRequest{
+ Model: "test-model",
+ Messages: []MessageParam{
+ {Role: "user", Content: textContent("Hello")},
+ {
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "thinking",
+ Thinking: ptr("Let me think about this carefully..."),
+ },
+ {
+ Type: "text",
+ Text: ptr("Here is my response."),
+ },
+ },
+ },
+ },
+ }
+
+ tokens := estimateTokens(req)
+
+ // Thinking content should be counted
+ if tokens < 10 {
+ t.Errorf("expected at least 10 tokens with thinking content, got %d", tokens)
+ }
+}
+
+func TestEstimateTokens_EmptyContent(t *testing.T) {
+ req := CountTokensRequest{
+ Model: "test-model",
+ Messages: []MessageParam{},
+ }
+
+ tokens := estimateTokens(req)
+
+ if tokens != 0 {
+ t.Errorf("expected 0 tokens for empty content, got %d", tokens)
+ }
+}
+
+// Web Search Tests
+
+func TestConvertTool_WebSearch(t *testing.T) {
+ tool := Tool{
+ Type: "web_search_20250305",
+ Name: "web_search",
+ MaxUses: 5,
+ }
+
+ result, isServerTool, err := convertTool(tool)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if !isServerTool {
+ t.Error("expected isServerTool to be true for web_search tool")
+ }
+
+ if result.Type != "function" {
+ t.Errorf("expected type 'function', got %q", result.Type)
+ }
+
+ if result.Function.Name != "web_search" {
+ t.Errorf("expected name 'web_search', got %q", result.Function.Name)
+ }
+
+ if result.Function.Description == "" {
+ t.Error("expected non-empty description for web_search tool")
+ }
+
+ // Check that query parameter is defined
+ if result.Function.Parameters.Properties == nil {
+ t.Fatal("expected properties to be defined")
+ }
+
+ queryProp, ok := result.Function.Parameters.Properties.Get("query")
+ if !ok {
+ t.Error("expected 'query' property to be defined")
+ }
+
+ if len(queryProp.Type) == 0 || queryProp.Type[0] != "string" {
+ t.Errorf("expected query type to be 'string', got %v", queryProp.Type)
+ }
+}
+
+func TestConvertTool_RegularTool(t *testing.T) {
+ tool := Tool{
+ Type: "custom",
+ Name: "get_weather",
+ Description: "Get the weather",
+ InputSchema: json.RawMessage(`{"type":"object","properties":{"location":{"type":"string"}}}`),
+ }
+
+ result, isServerTool, err := convertTool(tool)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if isServerTool {
+ t.Error("expected isServerTool to be false for regular tool")
+ }
+
+ if result.Function.Name != "get_weather" {
+ t.Errorf("expected name 'get_weather', got %q", result.Function.Name)
+ }
+}
+
+func TestConvertMessage_ServerToolUse(t *testing.T) {
+ msg := MessageParam{
+ Role: "assistant",
+ Content: []ContentBlock{
+ {
+ Type: "server_tool_use",
+ ID: "srvtoolu_123",
+ Name: "web_search",
+ Input: makeArgs("query", "test query"),
+ },
+ },
+ }
+
+ messages, err := convertMessage(msg)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(messages))
+ }
+
+ if len(messages[0].ToolCalls) != 1 {
+ t.Fatalf("expected 1 tool call, got %d", len(messages[0].ToolCalls))
+ }
+
+ tc := messages[0].ToolCalls[0]
+ if tc.ID != "srvtoolu_123" {
+ t.Errorf("expected tool call ID 'srvtoolu_123', got %q", tc.ID)
+ }
+
+ if tc.Function.Name != "web_search" {
+ t.Errorf("expected tool name 'web_search', got %q", tc.Function.Name)
+ }
+}
+
+func TestConvertMessage_WebSearchToolResult(t *testing.T) {
+ msg := MessageParam{
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "web_search_tool_result",
+ ToolUseID: "srvtoolu_123",
+ Content: []any{
+ map[string]any{
+ "type": "web_search_result",
+ "title": "Test Result",
+ "url": "https://example.com",
+ },
+ },
+ },
+ },
+ }
+
+ messages, err := convertMessage(msg)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ // Should have a tool result message
+ if len(messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(messages))
+ }
+
+ if messages[0].Role != "tool" {
+ t.Errorf("expected role 'tool', got %q", messages[0].Role)
+ }
+
+ if messages[0].ToolCallID != "srvtoolu_123" {
+ t.Errorf("expected tool_call_id 'srvtoolu_123', got %q", messages[0].ToolCallID)
+ }
+
+ if messages[0].Content == "" {
+ t.Error("expected non-empty content from web search results")
+ }
+}
+
+func TestConvertMessage_WebSearchToolResultEmptyStillCreatesToolMessage(t *testing.T) {
+ msg := MessageParam{
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "web_search_tool_result",
+ ToolUseID: "srvtoolu_empty",
+ Content: []any{},
+ },
+ },
+ }
+
+ messages, err := convertMessage(msg)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(messages))
+ }
+ if messages[0].Role != "tool" {
+ t.Fatalf("expected role tool, got %q", messages[0].Role)
+ }
+ if messages[0].ToolCallID != "srvtoolu_empty" {
+ t.Fatalf("expected tool_call_id srvtoolu_empty, got %q", messages[0].ToolCallID)
+ }
+ if messages[0].Content != "" {
+ t.Fatalf("expected empty content for empty web search results, got %q", messages[0].Content)
+ }
+}
+
+func TestConvertMessage_WebSearchToolResultErrorStillCreatesToolMessage(t *testing.T) {
+ msg := MessageParam{
+ Role: "user",
+ Content: []ContentBlock{
+ {
+ Type: "web_search_tool_result",
+ ToolUseID: "srvtoolu_error",
+ Content: map[string]any{
+ "type": "web_search_tool_result_error",
+ "error_code": "max_uses_exceeded",
+ },
+ },
+ },
+ }
+
+ messages, err := convertMessage(msg)
+ if err != nil {
+ t.Fatalf("unexpected error: %v", err)
+ }
+
+ if len(messages) != 1 {
+ t.Fatalf("expected 1 message, got %d", len(messages))
+ }
+ if messages[0].Role != "tool" {
+ t.Fatalf("expected role tool, got %q", messages[0].Role)
+ }
+ if messages[0].ToolCallID != "srvtoolu_error" {
+ t.Fatalf("expected tool_call_id srvtoolu_error, got %q", messages[0].ToolCallID)
+ }
+ if !strings.Contains(messages[0].Content, "max_uses_exceeded") {
+ t.Fatalf("expected error code in converted tool content, got %q", messages[0].Content)
+ }
+}
+
+func TestConvertOllamaToAnthropicResults(t *testing.T) {
+ ollamaResp := &OllamaWebSearchResponse{
+ Results: []OllamaWebSearchResult{
+ {
+ Title: "Test Title",
+ URL: "https://example.com",
+ Content: "Test content",
+ },
+ {
+ Title: "Another Result",
+ URL: "https://example.org",
+ Content: "More content",
+ },
+ },
+ }
+
+ results := ConvertOllamaToAnthropicResults(ollamaResp)
+
+ if len(results) != 2 {
+ t.Fatalf("expected 2 results, got %d", len(results))
+ }
+
+ if results[0].Type != "web_search_result" {
+ t.Errorf("expected type 'web_search_result', got %q", results[0].Type)
+ }
+
+ if results[0].Title != "Test Title" {
+ t.Errorf("expected title 'Test Title', got %q", results[0].Title)
+ }
+
+ if results[0].URL != "https://example.com" {
+ t.Errorf("expected URL 'https://example.com', got %q", results[0].URL)
+ }
+}
+
+func TestWebSearchTypes(t *testing.T) {
+ // Test that WebSearchResult serializes correctly
+ result := WebSearchResult{
+ Type: "web_search_result",
+ URL: "https://example.com",
+ Title: "Test",
+ EncryptedContent: "abc123",
+ PageAge: "2025-01-01",
+ }
+
+ data, err := json.Marshal(result)
+ if err != nil {
+ t.Fatalf("failed to marshal WebSearchResult: %v", err)
+ }
+
+ var unmarshaled WebSearchResult
+ if err := json.Unmarshal(data, &unmarshaled); err != nil {
+ t.Fatalf("failed to unmarshal WebSearchResult: %v", err)
+ }
+
+ if unmarshaled.Type != result.Type {
+ t.Errorf("type mismatch: expected %q, got %q", result.Type, unmarshaled.Type)
+ }
+
+ // Test WebSearchToolResultError
+ errResult := WebSearchToolResultError{
+ Type: "web_search_tool_result_error",
+ ErrorCode: "max_uses_exceeded",
+ }
+
+ data, err = json.Marshal(errResult)
+ if err != nil {
+ t.Fatalf("failed to marshal WebSearchToolResultError: %v", err)
+ }
+
+ var unmarshaledErr WebSearchToolResultError
+ if err := json.Unmarshal(data, &unmarshaledErr); err != nil {
+ t.Fatalf("failed to unmarshal WebSearchToolResultError: %v", err)
+ }
+
+ if unmarshaledErr.ErrorCode != "max_uses_exceeded" {
+ t.Errorf("error_code mismatch: expected 'max_uses_exceeded', got %q", unmarshaledErr.ErrorCode)
+ }
+}
+
+func TestCitation(t *testing.T) {
+ citation := Citation{
+ Type: "web_search_result_location",
+ URL: "https://example.com",
+ Title: "Example",
+ EncryptedIndex: "enc123",
+ CitedText: "Some cited text...",
+ }
+
+ data, err := json.Marshal(citation)
+ if err != nil {
+ t.Fatalf("failed to marshal Citation: %v", err)
+ }
+
+ var unmarshaled Citation
+ if err := json.Unmarshal(data, &unmarshaled); err != nil {
+ t.Fatalf("failed to unmarshal Citation: %v", err)
+ }
+
+ if unmarshaled.Type != "web_search_result_location" {
+ t.Errorf("type mismatch: expected 'web_search_result_location', got %q", unmarshaled.Type)
+ }
+
+ if unmarshaled.CitedText != "Some cited text..." {
+ t.Errorf("cited_text mismatch: expected 'Some cited text...', got %q", unmarshaled.CitedText)
+ }
+}
diff --git a/western_ai/usa/ollama/anthropic/trace.go b/western_ai/usa/ollama/anthropic/trace.go
new file mode 100644
index 0000000000000000000000000000000000000000..65dc8dbc20fc0b27e4abd93b2ed346c2a0f3b781
--- /dev/null
+++ b/western_ai/usa/ollama/anthropic/trace.go
@@ -0,0 +1,352 @@
+package anthropic
+
+import (
+ "encoding/json"
+ "fmt"
+ "sort"
+
+ "github.com/ollama/ollama/api"
+)
+
+// Trace truncation limits.
+const (
+ TraceMaxStringRunes = 240
+ TraceMaxSliceItems = 8
+ TraceMaxMapEntries = 16
+ TraceMaxDepth = 4
+)
+
+// TraceTruncateString shortens s to TraceMaxStringRunes, appending a count of
+// omitted characters when truncated.
+func TraceTruncateString(s string) string {
+ if len(s) == 0 {
+ return s
+ }
+ runes := []rune(s)
+ if len(runes) <= TraceMaxStringRunes {
+ return s
+ }
+ return fmt.Sprintf("%s...(+%d chars)", string(runes[:TraceMaxStringRunes]), len(runes)-TraceMaxStringRunes)
+}
+
+// TraceJSON round-trips v through JSON and returns a compacted representation.
+func TraceJSON(v any) any {
+ if v == nil {
+ return nil
+ }
+ data, err := json.Marshal(v)
+ if err != nil {
+ return map[string]any{"marshal_error": err.Error(), "type": fmt.Sprintf("%T", v)}
+ }
+ var out any
+ if err := json.Unmarshal(data, &out); err != nil {
+ return TraceTruncateString(string(data))
+ }
+ return TraceCompactValue(out, 0)
+}
+
+// TraceCompactValue recursively truncates strings, slices, and maps for trace
+// output. depth tracks recursion to enforce TraceMaxDepth.
+func TraceCompactValue(v any, depth int) any {
+ if v == nil {
+ return nil
+ }
+ if depth >= TraceMaxDepth {
+ switch t := v.(type) {
+ case string:
+ return TraceTruncateString(t)
+ case []any:
+ return fmt.Sprintf("", len(t))
+ case map[string]any:
+ return fmt.Sprintf("", len(t))
+ default:
+ return fmt.Sprintf("<%T>", v)
+ }
+ }
+ switch t := v.(type) {
+ case string:
+ return TraceTruncateString(t)
+ case []any:
+ limit := min(len(t), TraceMaxSliceItems)
+ out := make([]any, 0, limit+1)
+ for i := range limit {
+ out = append(out, TraceCompactValue(t[i], depth+1))
+ }
+ if len(t) > limit {
+ out = append(out, fmt.Sprintf("... +%d more items", len(t)-limit))
+ }
+ return out
+ case map[string]any:
+ keys := make([]string, 0, len(t))
+ for k := range t {
+ keys = append(keys, k)
+ }
+ sort.Strings(keys)
+ limit := min(len(keys), TraceMaxMapEntries)
+ out := make(map[string]any, limit+1)
+ for i := range limit {
+ out[keys[i]] = TraceCompactValue(t[keys[i]], depth+1)
+ }
+ if len(keys) > limit {
+ out["__truncated_keys"] = len(keys) - limit
+ }
+ return out
+ default:
+ return t
+ }
+}
+
+// ---------------------------------------------------------------------------
+// Anthropic request/response tracing
+// ---------------------------------------------------------------------------
+
+// TraceMessagesRequest returns a compact trace representation of a MessagesRequest.
+func TraceMessagesRequest(r MessagesRequest) map[string]any {
+ return map[string]any{
+ "model": r.Model,
+ "max_tokens": r.MaxTokens,
+ "messages": traceMessageParams(r.Messages),
+ "system": traceAnthropicContent(r.System),
+ "stream": r.Stream,
+ "tools": traceTools(r.Tools),
+ "tool_choice": TraceJSON(r.ToolChoice),
+ "thinking": TraceJSON(r.Thinking),
+ "stop_sequences": r.StopSequences,
+ "temperature": ptrVal(r.Temperature),
+ "top_p": ptrVal(r.TopP),
+ "top_k": ptrVal(r.TopK),
+ }
+}
+
+// TraceMessagesResponse returns a compact trace representation of a MessagesResponse.
+func TraceMessagesResponse(r MessagesResponse) map[string]any {
+ return map[string]any{
+ "id": r.ID,
+ "model": r.Model,
+ "content": TraceJSON(r.Content),
+ "stop_reason": r.StopReason,
+ "usage": r.Usage,
+ }
+}
+
+func traceMessageParams(msgs []MessageParam) []map[string]any {
+ out := make([]map[string]any, 0, len(msgs))
+ for _, m := range msgs {
+ out = append(out, map[string]any{
+ "role": m.Role,
+ "content": traceAnthropicContent(m.Content),
+ })
+ }
+ return out
+}
+
+func traceAnthropicContent(content any) any {
+ switch c := content.(type) {
+ case nil:
+ return nil
+ case string:
+ return TraceTruncateString(c)
+ case []any:
+ blocks := make([]any, 0, len(c))
+ for _, block := range c {
+ blockMap, ok := block.(map[string]any)
+ if !ok {
+ blocks = append(blocks, TraceCompactValue(block, 0))
+ continue
+ }
+ blocks = append(blocks, traceAnthropicBlock(blockMap))
+ }
+ return blocks
+ default:
+ return TraceJSON(c)
+ }
+}
+
+func traceAnthropicBlock(block map[string]any) map[string]any {
+ blockType, _ := block["type"].(string)
+ out := map[string]any{"type": blockType}
+ switch blockType {
+ case "text":
+ if text, ok := block["text"].(string); ok {
+ out["text"] = TraceTruncateString(text)
+ } else {
+ out["text"] = TraceCompactValue(block["text"], 0)
+ }
+ case "thinking":
+ if thinking, ok := block["thinking"].(string); ok {
+ out["thinking"] = TraceTruncateString(thinking)
+ } else {
+ out["thinking"] = TraceCompactValue(block["thinking"], 0)
+ }
+ case "tool_use", "server_tool_use":
+ out["id"] = block["id"]
+ out["name"] = block["name"]
+ out["input"] = TraceCompactValue(block["input"], 0)
+ case "tool_result", "web_search_tool_result":
+ out["tool_use_id"] = block["tool_use_id"]
+ out["content"] = TraceCompactValue(block["content"], 0)
+ case "image":
+ if source, ok := block["source"].(map[string]any); ok {
+ out["source"] = map[string]any{
+ "type": source["type"],
+ "media_type": source["media_type"],
+ "url": source["url"],
+ "data_len": len(fmt.Sprint(source["data"])),
+ }
+ }
+ default:
+ out["block"] = TraceCompactValue(block, 0)
+ }
+ return out
+}
+
+func traceTools(tools []Tool) []map[string]any {
+ out := make([]map[string]any, 0, len(tools))
+ for _, t := range tools {
+ out = append(out, TraceTool(t))
+ }
+ return out
+}
+
+// TraceTool returns a compact trace representation of an Anthropic Tool.
+func TraceTool(t Tool) map[string]any {
+ return map[string]any{
+ "type": t.Type,
+ "name": t.Name,
+ "description": TraceTruncateString(t.Description),
+ "input_schema": TraceJSON(t.InputSchema),
+ "max_uses": t.MaxUses,
+ }
+}
+
+// ContentBlockTypes returns the type strings from content (when it's []any blocks).
+func ContentBlockTypes(content any) []string {
+ blocks, ok := content.([]any)
+ if !ok {
+ return nil
+ }
+ types := make([]string, 0, len(blocks))
+ for _, block := range blocks {
+ blockMap, ok := block.(map[string]any)
+ if !ok {
+ types = append(types, fmt.Sprintf("%T", block))
+ continue
+ }
+ t, _ := blockMap["type"].(string)
+ types = append(types, t)
+ }
+ return types
+}
+
+func ptrVal[T any](v *T) any {
+ if v == nil {
+ return nil
+ }
+ return *v
+}
+
+// ---------------------------------------------------------------------------
+// Ollama api.* tracing (shared between anthropic and middleware packages)
+// ---------------------------------------------------------------------------
+
+// TraceChatRequest returns a compact trace representation of an Ollama ChatRequest.
+func TraceChatRequest(req *api.ChatRequest) map[string]any {
+ if req == nil {
+ return nil
+ }
+ stream := false
+ if req.Stream != nil {
+ stream = *req.Stream
+ }
+ return map[string]any{
+ "model": req.Model,
+ "messages": TraceAPIMessages(req.Messages),
+ "tools": TraceAPITools(req.Tools),
+ "stream": stream,
+ "options": req.Options,
+ "think": TraceJSON(req.Think),
+ }
+}
+
+// TraceChatResponse returns a compact trace representation of an Ollama ChatResponse.
+func TraceChatResponse(resp api.ChatResponse) map[string]any {
+ return map[string]any{
+ "model": resp.Model,
+ "done": resp.Done,
+ "done_reason": resp.DoneReason,
+ "message": TraceAPIMessage(resp.Message),
+ "metrics": TraceJSON(resp.Metrics),
+ }
+}
+
+// TraceAPIMessages returns compact trace representations for a slice of api.Message.
+func TraceAPIMessages(msgs []api.Message) []map[string]any {
+ out := make([]map[string]any, 0, len(msgs))
+ for _, m := range msgs {
+ out = append(out, TraceAPIMessage(m))
+ }
+ return out
+}
+
+// TraceAPIMessage returns a compact trace representation of a single api.Message.
+func TraceAPIMessage(m api.Message) map[string]any {
+ return map[string]any{
+ "role": m.Role,
+ "content": TraceTruncateString(m.Content),
+ "thinking": TraceTruncateString(m.Thinking),
+ "images": traceImageSizes(m.Images),
+ "tool_calls": traceToolCalls(m.ToolCalls),
+ "tool_name": m.ToolName,
+ "tool_call_id": m.ToolCallID,
+ }
+}
+
+func traceImageSizes(images []api.ImageData) []int {
+ if len(images) == 0 {
+ return nil
+ }
+ sizes := make([]int, 0, len(images))
+ for _, img := range images {
+ sizes = append(sizes, len(img))
+ }
+ return sizes
+}
+
+// TraceAPITools returns compact trace representations for a slice of api.Tool.
+func TraceAPITools(tools api.Tools) []map[string]any {
+ out := make([]map[string]any, 0, len(tools))
+ for _, t := range tools {
+ out = append(out, TraceAPITool(t))
+ }
+ return out
+}
+
+// TraceAPITool returns a compact trace representation of a single api.Tool.
+func TraceAPITool(t api.Tool) map[string]any {
+ return map[string]any{
+ "type": t.Type,
+ "name": t.Function.Name,
+ "description": TraceTruncateString(t.Function.Description),
+ "parameters": TraceJSON(t.Function.Parameters),
+ }
+}
+
+// TraceToolCall returns a compact trace representation of an api.ToolCall.
+func TraceToolCall(tc api.ToolCall) map[string]any {
+ return map[string]any{
+ "id": tc.ID,
+ "name": tc.Function.Name,
+ "args": TraceJSON(tc.Function.Arguments),
+ }
+}
+
+func traceToolCalls(tcs []api.ToolCall) []map[string]any {
+ if len(tcs) == 0 {
+ return nil
+ }
+ out := make([]map[string]any, 0, len(tcs))
+ for _, tc := range tcs {
+ out = append(out, TraceToolCall(tc))
+ }
+ return out
+}
diff --git a/western_ai/usa/ollama/api/client.go b/western_ai/usa/ollama/api/client.go
new file mode 100644
index 0000000000000000000000000000000000000000..46e948d0920c1adc14bb20842e17b9060c7640c4
--- /dev/null
+++ b/western_ai/usa/ollama/api/client.go
@@ -0,0 +1,512 @@
+// Package api implements the client-side API for code wishing to interact
+// with the ollama service. The methods of the [Client] type correspond to
+// the ollama REST API as described in [the API documentation].
+// The ollama command-line client itself uses this package to interact with
+// the backend service.
+//
+// # Examples
+//
+// Several examples of using this package are available [in the GitHub
+// repository].
+//
+// [the API documentation]: https://github.com/ollama/ollama/blob/main/docs/api.md
+// [in the GitHub repository]: https://github.com/ollama/ollama/tree/main/api/examples
+package api
+
+import (
+ "bufio"
+ "bytes"
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "io"
+ "net/http"
+ "net/url"
+ "runtime"
+ "strconv"
+ "time"
+
+ "github.com/ollama/ollama/auth"
+ "github.com/ollama/ollama/envconfig"
+ "github.com/ollama/ollama/format"
+ "github.com/ollama/ollama/version"
+)
+
+// Client encapsulates client state for interacting with the ollama
+// service. Use [ClientFromEnvironment] to create new Clients.
+type Client struct {
+ base *url.URL
+ http *http.Client
+}
+
+func checkError(resp *http.Response, body []byte) error {
+ if resp.StatusCode < http.StatusBadRequest {
+ return nil
+ }
+
+ if resp.StatusCode == http.StatusUnauthorized {
+ authError := AuthorizationError{StatusCode: resp.StatusCode}
+ json.Unmarshal(body, &authError)
+ return authError
+ }
+
+ apiError := StatusError{StatusCode: resp.StatusCode}
+
+ err := json.Unmarshal(body, &apiError)
+ if err != nil {
+ // Use the full body as the message if we fail to decode a response.
+ apiError.ErrorMessage = string(body)
+ }
+
+ return apiError
+}
+
+// ClientFromEnvironment creates a new [Client] using configuration from the
+// environment variable OLLAMA_HOST, which points to the network host and
+// port on which the ollama service is listening. The format of this variable
+// is:
+//
+// ://:
+//
+// If the variable is not specified, a default ollama host and port will be
+// used.
+func ClientFromEnvironment() (*Client, error) {
+ return &Client{
+ base: envconfig.Host(),
+ http: http.DefaultClient,
+ }, nil
+}
+
+func NewClient(base *url.URL, http *http.Client) *Client {
+ return &Client{
+ base: base,
+ http: http,
+ }
+}
+
+func getAuthorizationToken(ctx context.Context, challenge string) (string, error) {
+ token, err := auth.Sign(ctx, []byte(challenge))
+ if err != nil {
+ return "", err
+ }
+ return token, nil
+}
+
+func (c *Client) do(ctx context.Context, method, path string, reqData, respData any) error {
+ var reqBody io.Reader
+ var data []byte
+ var err error
+
+ switch reqData := reqData.(type) {
+ case io.Reader:
+ // reqData is already an io.Reader
+ reqBody = reqData
+ case nil:
+ // noop
+ default:
+ data, err = json.Marshal(reqData)
+ if err != nil {
+ return err
+ }
+
+ reqBody = bytes.NewReader(data)
+ }
+
+ requestURL := c.base.JoinPath(path)
+
+ var token string
+ if envconfig.UseAuth() || c.base.Hostname() == "ollama.com" {
+ now := strconv.FormatInt(time.Now().Unix(), 10)
+ chal := fmt.Sprintf("%s,%s?ts=%s", method, path, now)
+ token, err = getAuthorizationToken(ctx, chal)
+ if err != nil {
+ return err
+ }
+
+ q := requestURL.Query()
+ q.Set("ts", now)
+ requestURL.RawQuery = q.Encode()
+ }
+
+ request, err := http.NewRequestWithContext(ctx, method, requestURL.String(), reqBody)
+ if err != nil {
+ return err
+ }
+
+ request.Header.Set("Content-Type", "application/json")
+ request.Header.Set("Accept", "application/json")
+ request.Header.Set("User-Agent", fmt.Sprintf("ollama/%s (%s %s) Go/%s", version.Version, runtime.GOARCH, runtime.GOOS, runtime.Version()))
+
+ if token != "" {
+ request.Header.Set("Authorization", token)
+ }
+
+ respObj, err := c.http.Do(request)
+ if err != nil {
+ return err
+ }
+ defer respObj.Body.Close()
+
+ respBody, err := io.ReadAll(respObj.Body)
+ if err != nil {
+ return err
+ }
+
+ if err := checkError(respObj, respBody); err != nil {
+ return err
+ }
+
+ if len(respBody) > 0 && respData != nil {
+ if err := json.Unmarshal(respBody, respData); err != nil {
+ return err
+ }
+ }
+ return nil
+}
+
+const maxBufferSize = 8 * format.MegaByte
+
+func (c *Client) stream(ctx context.Context, method, path string, data any, fn func([]byte) error) error {
+ var buf io.Reader
+ if data != nil {
+ bts, err := json.Marshal(data)
+ if err != nil {
+ return err
+ }
+
+ buf = bytes.NewBuffer(bts)
+ }
+
+ requestURL := c.base.JoinPath(path)
+
+ var token string
+ if envconfig.UseAuth() || c.base.Hostname() == "ollama.com" {
+ var err error
+ now := strconv.FormatInt(time.Now().Unix(), 10)
+ chal := fmt.Sprintf("%s,%s?ts=%s", method, path, now)
+ token, err = getAuthorizationToken(ctx, chal)
+ if err != nil {
+ return err
+ }
+
+ q := requestURL.Query()
+ q.Set("ts", now)
+ requestURL.RawQuery = q.Encode()
+ }
+
+ request, err := http.NewRequestWithContext(ctx, method, requestURL.String(), buf)
+ if err != nil {
+ return err
+ }
+
+ request.Header.Set("Content-Type", "application/json")
+ request.Header.Set("Accept", "application/x-ndjson")
+ request.Header.Set("User-Agent", fmt.Sprintf("ollama/%s (%s %s) Go/%s", version.Version, runtime.GOARCH, runtime.GOOS, runtime.Version()))
+
+ if token != "" {
+ request.Header.Set("Authorization", token)
+ }
+
+ response, err := c.http.Do(request)
+ if err != nil {
+ return err
+ }
+ defer response.Body.Close()
+
+ scanner := bufio.NewScanner(response.Body)
+ // increase the buffer size to avoid running out of space
+ scanBuf := make([]byte, 0, maxBufferSize)
+ scanner.Buffer(scanBuf, maxBufferSize)
+ for scanner.Scan() {
+ var errorResponse struct {
+ Error string `json:"error,omitempty"`
+ SigninURL string `json:"signin_url,omitempty"`
+ }
+
+ bts := scanner.Bytes()
+ if err := json.Unmarshal(bts, &errorResponse); err != nil {
+ if response.StatusCode >= http.StatusBadRequest {
+ return StatusError{
+ StatusCode: response.StatusCode,
+ Status: response.Status,
+ ErrorMessage: string(bts),
+ }
+ }
+ return errors.New(string(bts))
+ }
+
+ if response.StatusCode == http.StatusUnauthorized {
+ return AuthorizationError{
+ StatusCode: response.StatusCode,
+ Status: response.Status,
+ SigninURL: errorResponse.SigninURL,
+ }
+ } else if response.StatusCode >= http.StatusBadRequest {
+ return StatusError{
+ StatusCode: response.StatusCode,
+ Status: response.Status,
+ ErrorMessage: errorResponse.Error,
+ }
+ }
+
+ if errorResponse.Error != "" {
+ return errors.New(errorResponse.Error)
+ }
+
+ if err := fn(bts); err != nil {
+ return err
+ }
+ }
+
+ if err := scanner.Err(); err != nil {
+ return err
+ }
+
+ return nil
+}
+
+// GenerateResponseFunc is a function that [Client.Generate] invokes every time
+// a response is received from the service. If this function returns an error,
+// [Client.Generate] will stop generating and return this error.
+type GenerateResponseFunc func(GenerateResponse) error
+
+// Generate generates a response for a given prompt. The req parameter should
+// be populated with prompt details. fn is called for each response (there may
+// be multiple responses, e.g. in case streaming is enabled).
+func (c *Client) Generate(ctx context.Context, req *GenerateRequest, fn GenerateResponseFunc) error {
+ return c.stream(ctx, http.MethodPost, "/api/generate", req, func(bts []byte) error {
+ var resp GenerateResponse
+ if err := json.Unmarshal(bts, &resp); err != nil {
+ return err
+ }
+
+ return fn(resp)
+ })
+}
+
+// ChatResponseFunc is a function that [Client.Chat] invokes every time
+// a response is received from the service. If this function returns an error,
+// [Client.Chat] will stop generating and return this error.
+type ChatResponseFunc func(ChatResponse) error
+
+// Chat generates the next message in a chat. [ChatRequest] may contain a
+// sequence of messages which can be used to maintain chat history with a model.
+// fn is called for each response (there may be multiple responses, e.g. if case
+// streaming is enabled).
+func (c *Client) Chat(ctx context.Context, req *ChatRequest, fn ChatResponseFunc) error {
+ return c.stream(ctx, http.MethodPost, "/api/chat", req, func(bts []byte) error {
+ var resp ChatResponse
+ if err := json.Unmarshal(bts, &resp); err != nil {
+ return err
+ }
+
+ return fn(resp)
+ })
+}
+
+// PullProgressFunc is a function that [Client.Pull] invokes every time there
+// is progress with a "pull" request sent to the service. If this function
+// returns an error, [Client.Pull] will stop the process and return this error.
+type PullProgressFunc func(ProgressResponse) error
+
+// Pull downloads a model from the ollama library. fn is called each time
+// progress is made on the request and can be used to display a progress bar,
+// etc.
+func (c *Client) Pull(ctx context.Context, req *PullRequest, fn PullProgressFunc) error {
+ return c.stream(ctx, http.MethodPost, "/api/pull", req, func(bts []byte) error {
+ var resp ProgressResponse
+ if err := json.Unmarshal(bts, &resp); err != nil {
+ return err
+ }
+
+ return fn(resp)
+ })
+}
+
+// PushProgressFunc is a function that [Client.Push] invokes when progress is
+// made.
+// It's similar to other progress function types like [PullProgressFunc].
+type PushProgressFunc func(ProgressResponse) error
+
+// Push uploads a model to the model library; requires registering for ollama.ai
+// and adding a public key first. fn is called each time progress is made on
+// the request and can be used to display a progress bar, etc.
+func (c *Client) Push(ctx context.Context, req *PushRequest, fn PushProgressFunc) error {
+ return c.stream(ctx, http.MethodPost, "/api/push", req, func(bts []byte) error {
+ var resp ProgressResponse
+ if err := json.Unmarshal(bts, &resp); err != nil {
+ return err
+ }
+
+ return fn(resp)
+ })
+}
+
+// CreateProgressFunc is a function that [Client.Create] invokes when progress
+// is made.
+// It's similar to other progress function types like [PullProgressFunc].
+type CreateProgressFunc func(ProgressResponse) error
+
+// Create creates a model from a [Modelfile]. fn is a progress function that
+// behaves similarly to other methods (see [Client.Pull]).
+//
+// [Modelfile]: https://github.com/ollama/ollama/blob/main/docs/modelfile.mdx
+func (c *Client) Create(ctx context.Context, req *CreateRequest, fn CreateProgressFunc) error {
+ return c.stream(ctx, http.MethodPost, "/api/create", req, func(bts []byte) error {
+ var resp ProgressResponse
+ if err := json.Unmarshal(bts, &resp); err != nil {
+ return err
+ }
+
+ return fn(resp)
+ })
+}
+
+// List lists models that are available locally.
+func (c *Client) List(ctx context.Context) (*ListResponse, error) {
+ var lr ListResponse
+ if err := c.do(ctx, http.MethodGet, "/api/tags", nil, &lr); err != nil {
+ return nil, err
+ }
+ return &lr, nil
+}
+
+// ModelRecommendationsExperimental lists model recommendations from the local
+// server's experimental recommendations endpoint.
+func (c *Client) ModelRecommendationsExperimental(ctx context.Context) (*ModelRecommendationsResponse, error) {
+ var resp ModelRecommendationsResponse
+ if err := c.do(ctx, http.MethodGet, "/api/experimental/model-recommendations", nil, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// ListRunning lists running models.
+func (c *Client) ListRunning(ctx context.Context) (*ProcessResponse, error) {
+ var lr ProcessResponse
+ if err := c.do(ctx, http.MethodGet, "/api/ps", nil, &lr); err != nil {
+ return nil, err
+ }
+ return &lr, nil
+}
+
+// Copy copies a model - creating a model with another name from an existing
+// model.
+func (c *Client) Copy(ctx context.Context, req *CopyRequest) error {
+ if err := c.do(ctx, http.MethodPost, "/api/copy", req, nil); err != nil {
+ return err
+ }
+ return nil
+}
+
+// Delete deletes a model and its data.
+func (c *Client) Delete(ctx context.Context, req *DeleteRequest) error {
+ if err := c.do(ctx, http.MethodDelete, "/api/delete", req, nil); err != nil {
+ return err
+ }
+ return nil
+}
+
+// Show obtains model information, including details, modelfile, license etc.
+func (c *Client) Show(ctx context.Context, req *ShowRequest) (*ShowResponse, error) {
+ var resp ShowResponse
+ if err := c.do(ctx, http.MethodPost, "/api/show", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// Heartbeat checks if the server has started and is responsive; if yes, it
+// returns nil, otherwise an error.
+func (c *Client) Heartbeat(ctx context.Context) error {
+ if err := c.do(ctx, http.MethodHead, "/", nil, nil); err != nil {
+ return err
+ }
+ return nil
+}
+
+// Embed generates embeddings from a model.
+func (c *Client) Embed(ctx context.Context, req *EmbedRequest) (*EmbedResponse, error) {
+ var resp EmbedResponse
+ if err := c.do(ctx, http.MethodPost, "/api/embed", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// Embeddings generates an embedding from a model.
+func (c *Client) Embeddings(ctx context.Context, req *EmbeddingRequest) (*EmbeddingResponse, error) {
+ var resp EmbeddingResponse
+ if err := c.do(ctx, http.MethodPost, "/api/embeddings", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// CreateBlob creates a blob from a file on the server. digest is the
+// expected SHA256 digest of the file, and r represents the file.
+func (c *Client) CreateBlob(ctx context.Context, digest string, r io.Reader) error {
+ return c.do(ctx, http.MethodPost, fmt.Sprintf("/api/blobs/%s", digest), r, nil)
+}
+
+// Version returns the Ollama server version as a string.
+func (c *Client) Version(ctx context.Context) (string, error) {
+ var version struct {
+ Version string `json:"version"`
+ }
+
+ if err := c.do(ctx, http.MethodGet, "/api/version", nil, &version); err != nil {
+ return "", err
+ }
+
+ return version.Version, nil
+}
+
+// CloudStatusExperimental returns whether cloud features are disabled on the server.
+func (c *Client) CloudStatusExperimental(ctx context.Context) (*StatusResponse, error) {
+ var status StatusResponse
+ if err := c.do(ctx, http.MethodGet, "/api/status", nil, &status); err != nil {
+ return nil, err
+ }
+
+ return &status, nil
+}
+
+// WebSearchExperimental searches the web through the local server's
+// experimental web search endpoint.
+func (c *Client) WebSearchExperimental(ctx context.Context, req *WebSearchRequest) (*WebSearchResponse, error) {
+ var resp WebSearchResponse
+ if err := c.do(ctx, http.MethodPost, "/api/experimental/web_search", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// WebFetchExperimental fetches web page content through the local server's
+// experimental web fetch endpoint.
+func (c *Client) WebFetchExperimental(ctx context.Context, req *WebFetchRequest) (*WebFetchResponse, error) {
+ var resp WebFetchResponse
+ if err := c.do(ctx, http.MethodPost, "/api/experimental/web_fetch", req, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
+
+// Signout will signout a client for a local ollama server.
+func (c *Client) Signout(ctx context.Context) error {
+ return c.do(ctx, http.MethodPost, "/api/signout", nil, nil)
+}
+
+// Disconnect will disconnect an ollama instance from ollama.com.
+func (c *Client) Disconnect(ctx context.Context, encodedKey string) error {
+ return c.do(ctx, http.MethodDelete, fmt.Sprintf("/api/user/keys/%s", encodedKey), nil, nil)
+}
+
+func (c *Client) Whoami(ctx context.Context) (*UserResponse, error) {
+ var resp UserResponse
+ if err := c.do(ctx, http.MethodPost, "/api/me", nil, &resp); err != nil {
+ return nil, err
+ }
+ return &resp, nil
+}
diff --git a/western_ai/usa/ollama/api/client_test.go b/western_ai/usa/ollama/api/client_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..e42561944f134829918ae856b0d6241cbf8cba1d
--- /dev/null
+++ b/western_ai/usa/ollama/api/client_test.go
@@ -0,0 +1,448 @@
+package api
+
+import (
+ "encoding/json"
+ "fmt"
+ "io"
+ "net/http"
+ "net/http/httptest"
+ "net/url"
+ "strings"
+ "testing"
+)
+
+func TestClientFromEnvironment(t *testing.T) {
+ type testCase struct {
+ value string
+ expect string
+ err error
+ }
+
+ testCases := map[string]*testCase{
+ "empty": {value: "", expect: "http://127.0.0.1:11434"},
+ "only address": {value: "1.2.3.4", expect: "http://1.2.3.4:11434"},
+ "only port": {value: ":1234", expect: "http://:1234"},
+ "address and port": {value: "1.2.3.4:1234", expect: "http://1.2.3.4:1234"},
+ "scheme http and address": {value: "http://1.2.3.4", expect: "http://1.2.3.4:80"},
+ "scheme https and address": {value: "https://1.2.3.4", expect: "https://1.2.3.4:443"},
+ "scheme, address, and port": {value: "https://1.2.3.4:1234", expect: "https://1.2.3.4:1234"},
+ "hostname": {value: "example.com", expect: "http://example.com:11434"},
+ "hostname and port": {value: "example.com:1234", expect: "http://example.com:1234"},
+ "scheme http and hostname": {value: "http://example.com", expect: "http://example.com:80"},
+ "scheme https and hostname": {value: "https://example.com", expect: "https://example.com:443"},
+ "scheme, hostname, and port": {value: "https://example.com:1234", expect: "https://example.com:1234"},
+ "trailing slash": {value: "example.com/", expect: "http://example.com:11434"},
+ "trailing slash port": {value: "example.com:1234/", expect: "http://example.com:1234"},
+ }
+
+ for k, v := range testCases {
+ t.Run(k, func(t *testing.T) {
+ t.Setenv("OLLAMA_HOST", v.value)
+
+ client, err := ClientFromEnvironment()
+ if err != v.err {
+ t.Fatalf("expected %s, got %s", v.err, err)
+ }
+
+ if client.base.String() != v.expect {
+ t.Fatalf("expected %s, got %s", v.expect, client.base.String())
+ }
+ })
+ }
+}
+
+// testError represents an internal error type with status code and message
+// this is used since the error response from the server is not a standard error struct
+type testError struct {
+ message string
+ statusCode int
+ raw bool // if true, write message as-is instead of JSON encoding
+}
+
+func (e testError) Error() string {
+ return e.message
+}
+
+func TestClientStream(t *testing.T) {
+ testCases := []struct {
+ name string
+ responses []any
+ wantErr string
+ }{
+ {
+ name: "immediate error response",
+ responses: []any{
+ testError{
+ message: "test error message",
+ statusCode: http.StatusBadRequest,
+ },
+ },
+ wantErr: "test error message",
+ },
+ {
+ name: "error after successful chunks, ok response",
+ responses: []any{
+ ChatResponse{Message: Message{Content: "partial response 1"}},
+ ChatResponse{Message: Message{Content: "partial response 2"}},
+ testError{
+ message: "mid-stream error",
+ statusCode: http.StatusOK,
+ },
+ },
+ wantErr: "mid-stream error",
+ },
+ {
+ name: "http status error takes precedence over general error",
+ responses: []any{
+ testError{
+ message: "custom error message",
+ statusCode: http.StatusInternalServerError,
+ },
+ },
+ wantErr: "500",
+ },
+ {
+ name: "successful stream completion",
+ responses: []any{
+ ChatResponse{Message: Message{Content: "chunk 1"}},
+ ChatResponse{Message: Message{Content: "chunk 2"}},
+ ChatResponse{
+ Message: Message{Content: "final chunk"},
+ Done: true,
+ DoneReason: "stop",
+ },
+ },
+ },
+ {
+ name: "plain text error response",
+ responses: []any{
+ "internal server error",
+ },
+ wantErr: "internal server error",
+ },
+ {
+ name: "HTML error page",
+ responses: []any{
+ "404 Not Found",
+ },
+ wantErr: "404 Not Found",
+ },
+ }
+
+ for _, tc := range testCases {
+ t.Run(tc.name, func(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ flusher, ok := w.(http.Flusher)
+ if !ok {
+ t.Fatal("expected http.Flusher")
+ }
+
+ w.Header().Set("Content-Type", "application/x-ndjson")
+
+ for _, resp := range tc.responses {
+ if errResp, ok := resp.(testError); ok {
+ w.WriteHeader(errResp.statusCode)
+ err := json.NewEncoder(w).Encode(map[string]string{
+ "error": errResp.message,
+ })
+ if err != nil {
+ t.Fatal("failed to encode error response:", err)
+ }
+ return
+ }
+
+ if str, ok := resp.(string); ok {
+ fmt.Fprintln(w, str)
+ flusher.Flush()
+ continue
+ }
+
+ if err := json.NewEncoder(w).Encode(resp); err != nil {
+ t.Fatalf("failed to encode response: %v", err)
+ }
+ flusher.Flush()
+ }
+ }))
+ defer ts.Close()
+
+ client := NewClient(&url.URL{Scheme: "http", Host: ts.Listener.Addr().String()}, http.DefaultClient)
+
+ var receivedChunks []ChatResponse
+ err := client.stream(t.Context(), http.MethodPost, "/v1/chat", nil, func(chunk []byte) error {
+ var resp ChatResponse
+ if err := json.Unmarshal(chunk, &resp); err != nil {
+ return fmt.Errorf("failed to unmarshal chunk: %w", err)
+ }
+ receivedChunks = append(receivedChunks, resp)
+ return nil
+ })
+
+ if tc.wantErr != "" {
+ if err == nil {
+ t.Fatal("expected error but got nil")
+ }
+ if !strings.Contains(err.Error(), tc.wantErr) {
+ t.Errorf("expected error containing %q, got %v", tc.wantErr, err)
+ }
+ return
+ }
+ if err != nil {
+ t.Errorf("unexpected error: %v", err)
+ }
+ })
+ }
+}
+
+func TestClientStreamReportsReadErrors(t *testing.T) {
+ client := NewClient(
+ &url.URL{Scheme: "http", Host: "example.com"},
+ &http.Client{Transport: roundTripFunc(func(*http.Request) (*http.Response, error) {
+ body := failingReader{
+ data: []byte(`{"message":{"content":"partial"}}` + "\n"),
+ err: io.ErrUnexpectedEOF,
+ }
+
+ return &http.Response{
+ StatusCode: http.StatusOK,
+ Status: "200 OK",
+ Body: io.NopCloser(&body),
+ Header: make(http.Header),
+ }, nil
+ })},
+ )
+
+ err := client.stream(t.Context(), http.MethodPost, "/api/chat", nil, func([]byte) error {
+ return nil
+ })
+ if err == nil {
+ t.Fatal("expected stream read error")
+ }
+ if !strings.Contains(err.Error(), io.ErrUnexpectedEOF.Error()) {
+ t.Fatalf("expected unexpected EOF, got %v", err)
+ }
+}
+
+func TestClientDo(t *testing.T) {
+ testCases := []struct {
+ name string
+ response any
+ wantErr string
+ wantStatusCode int
+ }{
+ {
+ name: "immediate error response",
+ response: testError{
+ message: "test error message",
+ statusCode: http.StatusBadRequest,
+ },
+ wantErr: "test error message",
+ wantStatusCode: http.StatusBadRequest,
+ },
+ {
+ name: "server error response",
+ response: testError{
+ message: "internal error",
+ statusCode: http.StatusInternalServerError,
+ },
+ wantErr: "internal error",
+ wantStatusCode: http.StatusInternalServerError,
+ },
+ {
+ name: "successful response",
+ response: struct {
+ ID string `json:"id"`
+ Success bool `json:"success"`
+ }{
+ ID: "msg_123",
+ Success: true,
+ },
+ },
+ {
+ name: "plain text error response",
+ response: testError{
+ message: "internal server error",
+ statusCode: http.StatusInternalServerError,
+ raw: true,
+ },
+ wantErr: "internal server error",
+ wantStatusCode: http.StatusInternalServerError,
+ },
+ {
+ name: "HTML error page",
+ response: testError{
+ message: "404 Not Found",
+ statusCode: http.StatusNotFound,
+ raw: true,
+ },
+ wantErr: "404 Not Found",
+ wantStatusCode: http.StatusNotFound,
+ },
+ }
+
+ for _, tc := range testCases {
+ t.Run(tc.name, func(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ if errResp, ok := tc.response.(testError); ok {
+ w.WriteHeader(errResp.statusCode)
+ if !errResp.raw {
+ err := json.NewEncoder(w).Encode(map[string]string{
+ "error": errResp.message,
+ })
+ if err != nil {
+ t.Fatal("failed to encode error response:", err)
+ }
+ } else {
+ // Write raw message (simulates non-JSON error responses)
+ fmt.Fprint(w, errResp.message)
+ }
+ return
+ }
+
+ w.Header().Set("Content-Type", "application/json")
+ if err := json.NewEncoder(w).Encode(tc.response); err != nil {
+ t.Fatalf("failed to encode response: %v", err)
+ }
+ }))
+ defer ts.Close()
+
+ client := NewClient(&url.URL{Scheme: "http", Host: ts.Listener.Addr().String()}, http.DefaultClient)
+
+ var resp struct {
+ ID string `json:"id"`
+ Success bool `json:"success"`
+ }
+ err := client.do(t.Context(), http.MethodPost, "/v1/messages", nil, &resp)
+
+ if tc.wantErr != "" {
+ if err == nil {
+ t.Fatalf("got nil, want error %q", tc.wantErr)
+ }
+ if err.Error() != tc.wantErr {
+ t.Errorf("error message mismatch: got %q, want %q", err.Error(), tc.wantErr)
+ }
+ if tc.wantStatusCode != 0 {
+ if statusErr, ok := err.(StatusError); ok {
+ if statusErr.StatusCode != tc.wantStatusCode {
+ t.Errorf("status code mismatch: got %d, want %d", statusErr.StatusCode, tc.wantStatusCode)
+ }
+ } else {
+ t.Errorf("expected StatusError, got %T", err)
+ }
+ }
+ return
+ }
+
+ if err != nil {
+ t.Fatalf("got error %q, want nil", err)
+ }
+
+ if expectedResp, ok := tc.response.(struct {
+ ID string `json:"id"`
+ Success bool `json:"success"`
+ }); ok {
+ if resp.ID != expectedResp.ID {
+ t.Errorf("response ID mismatch: got %q, want %q", resp.ID, expectedResp.ID)
+ }
+ if resp.Success != expectedResp.Success {
+ t.Errorf("response Success mismatch: got %v, want %v", resp.Success, expectedResp.Success)
+ }
+ }
+ })
+ }
+}
+
+func TestClientWebSearchExperimentalUsesLocalRoute(t *testing.T) {
+ var gotPath string
+ var gotMethod string
+ var gotRequest WebSearchRequest
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ gotPath = r.URL.Path
+ gotMethod = r.Method
+ if err := json.NewDecoder(r.Body).Decode(&gotRequest); err != nil {
+ t.Fatal(err)
+ }
+ if err := json.NewEncoder(w).Encode(WebSearchResponse{
+ Results: []WebSearchResult{{Title: "Ollama", URL: "https://ollama.com", Content: "models"}},
+ }); err != nil {
+ t.Fatal(err)
+ }
+ }))
+ defer ts.Close()
+
+ client := NewClient(&url.URL{Scheme: "http", Host: ts.Listener.Addr().String()}, http.DefaultClient)
+ resp, err := client.WebSearchExperimental(t.Context(), &WebSearchRequest{Query: "ollama", MaxResults: 3})
+ if err != nil {
+ t.Fatal(err)
+ }
+ if gotMethod != http.MethodPost {
+ t.Fatalf("method = %q, want POST", gotMethod)
+ }
+ if gotPath != "/api/experimental/web_search" {
+ t.Fatalf("path = %q, want /api/experimental/web_search", gotPath)
+ }
+ if gotRequest.Query != "ollama" || gotRequest.MaxResults != 3 {
+ t.Fatalf("request = %#v", gotRequest)
+ }
+ if len(resp.Results) != 1 || resp.Results[0].Title != "Ollama" {
+ t.Fatalf("response = %#v", resp)
+ }
+}
+
+func TestClientWebFetchExperimentalUsesLocalRoute(t *testing.T) {
+ var gotPath string
+ var gotMethod string
+ var gotRequest WebFetchRequest
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ gotPath = r.URL.Path
+ gotMethod = r.Method
+ if err := json.NewDecoder(r.Body).Decode(&gotRequest); err != nil {
+ t.Fatal(err)
+ }
+ if err := json.NewEncoder(w).Encode(WebFetchResponse{
+ Title: "Ollama",
+ Content: "models",
+ Links: []string{"https://ollama.com/library"},
+ }); err != nil {
+ t.Fatal(err)
+ }
+ }))
+ defer ts.Close()
+
+ client := NewClient(&url.URL{Scheme: "http", Host: ts.Listener.Addr().String()}, http.DefaultClient)
+ resp, err := client.WebFetchExperimental(t.Context(), &WebFetchRequest{URL: "https://ollama.com"})
+ if err != nil {
+ t.Fatal(err)
+ }
+ if gotMethod != http.MethodPost {
+ t.Fatalf("method = %q, want POST", gotMethod)
+ }
+ if gotPath != "/api/experimental/web_fetch" {
+ t.Fatalf("path = %q, want /api/experimental/web_fetch", gotPath)
+ }
+ if gotRequest.URL != "https://ollama.com" {
+ t.Fatalf("request = %#v", gotRequest)
+ }
+ if resp.Title != "Ollama" || resp.Content != "models" {
+ t.Fatalf("response = %#v", resp)
+ }
+}
+
+type roundTripFunc func(*http.Request) (*http.Response, error)
+
+func (f roundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) {
+ return f(req)
+}
+
+type failingReader struct {
+ data []byte
+ err error
+}
+
+func (r *failingReader) Read(p []byte) (int, error) {
+ if len(r.data) > 0 {
+ n := copy(p, r.data)
+ r.data = r.data[n:]
+ return n, nil
+ }
+ return 0, r.err
+}
diff --git a/western_ai/usa/ollama/api/examples/README.md b/western_ai/usa/ollama/api/examples/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..34650299e589e7ee4a1eaa1cc5822ac5594bd5b8
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/README.md
@@ -0,0 +1,18 @@
+# Ollama API Examples
+
+Run the examples in this directory with:
+
+```shell
+go run example_name/main.go
+```
+
+## Chat - Chat with a model
+- [chat/main.go](chat/main.go)
+
+## Generate - Generate text from a model
+- [generate/main.go](generate/main.go)
+- [generate-streaming/main.go](generate-streaming/main.go)
+
+## Pull - Pull a model
+- [pull-progress/main.go](pull-progress/main.go)
+
diff --git a/western_ai/usa/ollama/api/examples/chat/main.go b/western_ai/usa/ollama/api/examples/chat/main.go
new file mode 100644
index 0000000000000000000000000000000000000000..b44a1ec92491f0d7a1fb38cf0d694e4ea70a8a69
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/chat/main.go
@@ -0,0 +1,51 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "log"
+
+ "github.com/ollama/ollama/api"
+)
+
+func main() {
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ messages := []api.Message{
+ {
+ Role: "system",
+ Content: "Provide very brief, concise responses",
+ },
+ {
+ Role: "user",
+ Content: "Name some unusual animals",
+ },
+ {
+ Role: "assistant",
+ Content: "Monotreme, platypus, echidna",
+ },
+ {
+ Role: "user",
+ Content: "which of these is the most dangerous?",
+ },
+ }
+
+ ctx := context.Background()
+ req := &api.ChatRequest{
+ Model: "llama3.2",
+ Messages: messages,
+ }
+
+ respFunc := func(resp api.ChatResponse) error {
+ fmt.Print(resp.Message.Content)
+ return nil
+ }
+
+ err = client.Chat(ctx, req, respFunc)
+ if err != nil {
+ log.Fatal(err)
+ }
+}
diff --git a/western_ai/usa/ollama/api/examples/generate-streaming/main.go b/western_ai/usa/ollama/api/examples/generate-streaming/main.go
new file mode 100644
index 0000000000000000000000000000000000000000..3acfb22a9fc45cab4d57e01649f74c8f130ef57c
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/generate-streaming/main.go
@@ -0,0 +1,40 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "log"
+
+ "github.com/ollama/ollama/api"
+)
+
+func main() {
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ // By default, GenerateRequest is streaming.
+ req := &api.GenerateRequest{
+ Model: "gemma2",
+ Prompt: "how many planets are there?",
+ }
+
+ ctx := context.Background()
+ respFunc := func(resp api.GenerateResponse) error {
+ // Only print the response here; GenerateResponse has a number of other
+ // interesting fields you want to examine.
+
+ // In streaming mode, responses are partial so we call fmt.Print (and not
+ // Println) in order to avoid spurious newlines being introduced. The
+ // model will insert its own newlines if it wants.
+ fmt.Print(resp.Response)
+ return nil
+ }
+
+ err = client.Generate(ctx, req, respFunc)
+ if err != nil {
+ log.Fatal(err)
+ }
+ fmt.Println()
+}
diff --git a/western_ai/usa/ollama/api/examples/generate/main.go b/western_ai/usa/ollama/api/examples/generate/main.go
new file mode 100644
index 0000000000000000000000000000000000000000..2fe28742b5a63d5f8080a27508592ddd08272afa
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/generate/main.go
@@ -0,0 +1,37 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "log"
+
+ "github.com/ollama/ollama/api"
+)
+
+func main() {
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ req := &api.GenerateRequest{
+ Model: "gemma2",
+ Prompt: "how many planets are there?",
+
+ // set streaming to false
+ Stream: new(bool),
+ }
+
+ ctx := context.Background()
+ respFunc := func(resp api.GenerateResponse) error {
+ // Only print the response here; GenerateResponse has a number of other
+ // interesting fields you want to examine.
+ fmt.Println(resp.Response)
+ return nil
+ }
+
+ err = client.Generate(ctx, req, respFunc)
+ if err != nil {
+ log.Fatal(err)
+ }
+}
diff --git a/western_ai/usa/ollama/api/examples/multimodal/main.go b/western_ai/usa/ollama/api/examples/multimodal/main.go
new file mode 100644
index 0000000000000000000000000000000000000000..0b0f19ed93501bc917ee36b2f8a1c70728d5eab0
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/multimodal/main.go
@@ -0,0 +1,47 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "log"
+ "os"
+
+ "github.com/ollama/ollama/api"
+)
+
+func main() {
+ if len(os.Args) <= 1 {
+ log.Fatal("usage: ")
+ }
+
+ imgData, err := os.ReadFile(os.Args[1])
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ req := &api.GenerateRequest{
+ Model: "llava",
+ Prompt: "describe this image",
+ Images: []api.ImageData{imgData},
+ }
+
+ ctx := context.Background()
+ respFunc := func(resp api.GenerateResponse) error {
+ // In streaming mode, responses are partial so we call fmt.Print (and not
+ // Println) in order to avoid spurious newlines being introduced. The
+ // model will insert its own newlines if it wants.
+ fmt.Print(resp.Response)
+ return nil
+ }
+
+ err = client.Generate(ctx, req, respFunc)
+ if err != nil {
+ log.Fatal(err)
+ }
+ fmt.Println()
+}
diff --git a/western_ai/usa/ollama/api/examples/pull-progress/main.go b/western_ai/usa/ollama/api/examples/pull-progress/main.go
new file mode 100644
index 0000000000000000000000000000000000000000..7486336856052474aa43d6f7a0991d560254aa82
--- /dev/null
+++ b/western_ai/usa/ollama/api/examples/pull-progress/main.go
@@ -0,0 +1,31 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "log"
+
+ "github.com/ollama/ollama/api"
+)
+
+func main() {
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ ctx := context.Background()
+
+ req := &api.PullRequest{
+ Model: "mistral",
+ }
+ progressFunc := func(resp api.ProgressResponse) error {
+ fmt.Printf("Progress: status=%v, total=%v, completed=%v\n", resp.Status, resp.Total, resp.Completed)
+ return nil
+ }
+
+ err = client.Pull(ctx, req, progressFunc)
+ if err != nil {
+ log.Fatal(err)
+ }
+}
diff --git a/western_ai/usa/ollama/api/types.go b/western_ai/usa/ollama/api/types.go
new file mode 100644
index 0000000000000000000000000000000000000000..ad50fa6f0070d0282bf4c2e9222e3598e7fd165d
--- /dev/null
+++ b/western_ai/usa/ollama/api/types.go
@@ -0,0 +1,1373 @@
+package api
+
+import (
+ "encoding/json"
+ "fmt"
+ "iter"
+ "log/slog"
+ "math"
+ "os"
+ "reflect"
+ "strconv"
+ "strings"
+ "time"
+
+ "github.com/google/uuid"
+
+ "github.com/ollama/ollama/envconfig"
+ "github.com/ollama/ollama/internal/orderedmap"
+ "github.com/ollama/ollama/types/model"
+)
+
+// StatusError is an error with an HTTP status code and message.
+type StatusError struct {
+ StatusCode int
+ Status string
+ ErrorMessage string `json:"error"`
+}
+
+func (e StatusError) Error() string {
+ switch {
+ case e.Status != "" && e.ErrorMessage != "":
+ return fmt.Sprintf("%s: %s", e.Status, e.ErrorMessage)
+ case e.Status != "":
+ return e.Status
+ case e.ErrorMessage != "":
+ return e.ErrorMessage
+ default:
+ // this should not happen
+ return "something went wrong, please see the ollama server logs for details"
+ }
+}
+
+type AuthorizationError struct {
+ StatusCode int
+ Status string
+ SigninURL string `json:"signin_url"`
+}
+
+func (e AuthorizationError) Error() string {
+ if e.Status != "" {
+ return e.Status
+ }
+ return "something went wrong, please see the ollama server logs for details"
+}
+
+// ImageData represents the raw binary data of an image file.
+type ImageData []byte
+
+// GenerateRequest describes a request sent by [Client.Generate]. While you
+// have to specify the Model and Prompt fields, all the other fields have
+// reasonable defaults for basic uses.
+type GenerateRequest struct {
+ // Model is the model name; it should be a name familiar to Ollama from
+ // the library at https://ollama.com/library
+ Model string `json:"model"`
+
+ // Prompt is the textual prompt to send to the model.
+ Prompt string `json:"prompt"`
+
+ // Suffix is the text that comes after the inserted text.
+ Suffix string `json:"suffix"`
+
+ // System overrides the model's default system message/prompt.
+ System string `json:"system"`
+
+ // Template overrides the model's default prompt template.
+ Template string `json:"template"`
+
+ // Context is the context parameter returned from a previous call to
+ // [Client.Generate]. It can be used to keep a short conversational memory.
+ Context []int `json:"context,omitempty"`
+
+ // Stream specifies whether the response is streaming; it is true by default.
+ Stream *bool `json:"stream,omitempty"`
+
+ // Raw set to true means that no formatting will be applied to the prompt.
+ Raw bool `json:"raw,omitempty"`
+
+ // Format specifies the format to return a response in.
+ Format json.RawMessage `json:"format,omitempty"`
+
+ // KeepAlive controls how long the model will stay loaded in memory following
+ // this request.
+ KeepAlive *Duration `json:"keep_alive,omitempty"`
+
+ // Images is an optional list of raw image bytes accompanying this
+ // request, for multimodal models.
+ Images []ImageData `json:"images,omitempty"`
+
+ // Options lists model-specific options. For example, temperature can be
+ // set through this field, if the model supports it.
+ Options map[string]any `json:"options"`
+
+ // Think controls whether thinking/reasoning models will think before
+ // responding. Can be a boolean (true/false) or a string ("high", "medium", "low")
+ // for supported models. Needs to be a pointer so we can distinguish between false
+ // (request that thinking _not_ be used) and unset (use the old behavior
+ // before this option was introduced)
+ Think *ThinkValue `json:"think,omitempty"`
+
+ // Truncate is a boolean that, when set to true, truncates the chat history messages
+ // if the rendered prompt exceeds the context length limit.
+ Truncate *bool `json:"truncate,omitempty"`
+
+ // Shift is a boolean that, when set to true, shifts the chat history
+ // when hitting the context length limit instead of erroring.
+ Shift *bool `json:"shift,omitempty"`
+
+ // DebugRenderOnly is a debug option that, when set to true, returns the rendered
+ // template instead of calling the model.
+ DebugRenderOnly bool `json:"_debug_render_only,omitempty"`
+
+ // Logprobs specifies whether to return log probabilities of the output tokens.
+ Logprobs bool `json:"logprobs,omitempty"`
+
+ // TopLogprobs is the number of most likely tokens to return at each token position,
+ // each with an associated log probability. Only applies when Logprobs is true.
+ // Valid values are 0-20. Default is 0 (only return the selected token's logprob).
+ TopLogprobs int `json:"top_logprobs,omitempty"`
+
+ // Experimental: Image generation fields (may change or be removed)
+
+ // Width is the width of the generated image in pixels.
+ // Only used for image generation models.
+ Width int32 `json:"width,omitempty"`
+
+ // Height is the height of the generated image in pixels.
+ // Only used for image generation models.
+ Height int32 `json:"height,omitempty"`
+
+ // Steps is the number of diffusion steps for image generation.
+ // Only used for image generation models.
+ Steps int32 `json:"steps,omitempty"`
+}
+
+// ChatRequest describes a request sent by [Client.Chat].
+type ChatRequest struct {
+ // Model is the model name, as in [GenerateRequest].
+ Model string `json:"model"`
+
+ // Messages is the messages of the chat - can be used to keep a chat memory.
+ Messages []Message `json:"messages"`
+
+ // Stream enables streaming of returned responses; true by default.
+ Stream *bool `json:"stream,omitempty"`
+
+ // Format is the format to return the response in (e.g. "json").
+ Format json.RawMessage `json:"format,omitempty"`
+
+ // KeepAlive controls how long the model will stay loaded into memory
+ // following the request.
+ KeepAlive *Duration `json:"keep_alive,omitempty"`
+
+ // Tools is an optional list of tools the model has access to.
+ Tools `json:"tools,omitempty"`
+
+ // Options lists model-specific options.
+ Options map[string]any `json:"options"`
+
+ // Think controls whether thinking/reasoning models will think before
+ // responding. Can be a boolean (true/false) or a string ("high", "medium", "low")
+ // for supported models.
+ Think *ThinkValue `json:"think,omitempty"`
+
+ // Truncate is a boolean that, when set to true, truncates the chat history messages
+ // if the rendered prompt exceeds the context length limit.
+ Truncate *bool `json:"truncate,omitempty"`
+
+ // Shift is a boolean that, when set to true, shifts the chat history
+ // when hitting the context length limit instead of erroring.
+ Shift *bool `json:"shift,omitempty"`
+
+ // DebugRenderOnly is a debug option that, when set to true, returns the rendered
+ // template instead of calling the model.
+ DebugRenderOnly bool `json:"_debug_render_only,omitempty"`
+
+ // Logprobs specifies whether to return log probabilities of the output tokens.
+ Logprobs bool `json:"logprobs,omitempty"`
+
+ // TopLogprobs is the number of most likely tokens to return at each token position,
+ // each with an associated log probability. Only applies when Logprobs is true.
+ // Valid values are 0-20. Default is 0 (only return the selected token's logprob).
+ TopLogprobs int `json:"top_logprobs,omitempty"`
+}
+
+type Tools []Tool
+
+func (t Tools) String() string {
+ bts, _ := json.Marshal(t)
+ return string(bts)
+}
+
+func (t Tool) String() string {
+ bts, _ := json.Marshal(t)
+ return string(bts)
+}
+
+// Message is a single message in a chat sequence. The message contains the
+// role ("system", "user", or "assistant"), the content and an optional list
+// of images.
+type Message struct {
+ Role string `json:"role"`
+ Content string `json:"content"`
+ // Thinking contains the text that was inside thinking tags in the
+ // original model output when ChatRequest.Think is enabled.
+ Thinking string `json:"thinking,omitempty"`
+ Images []ImageData `json:"images,omitempty"`
+ ToolCalls []ToolCall `json:"tool_calls,omitempty"`
+ ToolName string `json:"tool_name,omitempty"`
+ ToolCallID string `json:"tool_call_id,omitempty"`
+}
+
+func (m *Message) UnmarshalJSON(b []byte) error {
+ type Alias Message
+ var a Alias
+ if err := json.Unmarshal(b, &a); err != nil {
+ return err
+ }
+
+ *m = Message(a)
+ m.Role = strings.ToLower(m.Role)
+ return nil
+}
+
+type ToolCall struct {
+ ID string `json:"id,omitempty"`
+ Function ToolCallFunction `json:"function"`
+}
+
+type ToolCallFunction struct {
+ Index int `json:"index"`
+ Name string `json:"name"`
+ Arguments ToolCallFunctionArguments `json:"arguments"`
+}
+
+// ToolCallFunctionArguments holds tool call arguments in insertion order.
+type ToolCallFunctionArguments struct {
+ om *orderedmap.Map[string, any]
+}
+
+// NewToolCallFunctionArguments creates a new empty ToolCallFunctionArguments.
+func NewToolCallFunctionArguments() ToolCallFunctionArguments {
+ return ToolCallFunctionArguments{om: orderedmap.New[string, any]()}
+}
+
+// Get retrieves a value by key.
+func (t *ToolCallFunctionArguments) Get(key string) (any, bool) {
+ if t == nil || t.om == nil {
+ return nil, false
+ }
+ return t.om.Get(key)
+}
+
+// Set sets a key-value pair, preserving insertion order.
+func (t *ToolCallFunctionArguments) Set(key string, value any) {
+ if t == nil {
+ return
+ }
+ if t.om == nil {
+ t.om = orderedmap.New[string, any]()
+ }
+ t.om.Set(key, value)
+}
+
+// Len returns the number of arguments.
+func (t *ToolCallFunctionArguments) Len() int {
+ if t == nil || t.om == nil {
+ return 0
+ }
+ return t.om.Len()
+}
+
+// All returns an iterator over all key-value pairs in insertion order.
+func (t *ToolCallFunctionArguments) All() iter.Seq2[string, any] {
+ if t == nil || t.om == nil {
+ return func(yield func(string, any) bool) {}
+ }
+ return t.om.All()
+}
+
+// ToMap returns a regular map (order not preserved).
+func (t *ToolCallFunctionArguments) ToMap() map[string]any {
+ if t == nil || t.om == nil {
+ return nil
+ }
+ return t.om.ToMap()
+}
+
+func (t *ToolCallFunctionArguments) String() string {
+ if t == nil || t.om == nil {
+ return "{}"
+ }
+ bts, _ := json.Marshal(t.om)
+ return string(bts)
+}
+
+func (t *ToolCallFunctionArguments) UnmarshalJSON(data []byte) error {
+ t.om = orderedmap.New[string, any]()
+ return json.Unmarshal(data, t.om)
+}
+
+func (t ToolCallFunctionArguments) MarshalJSON() ([]byte, error) {
+ if t.om == nil {
+ return []byte("{}"), nil
+ }
+ return json.Marshal(t.om)
+}
+
+type Tool struct {
+ Type string `json:"type"`
+ Items any `json:"items,omitempty"`
+ Function ToolFunction `json:"function"`
+}
+
+// PropertyType can be either a string or an array of strings
+type PropertyType []string
+
+// UnmarshalJSON implements the json.Unmarshaler interface
+func (pt *PropertyType) UnmarshalJSON(data []byte) error {
+ // Try to unmarshal as a string first
+ var s string
+ if err := json.Unmarshal(data, &s); err == nil {
+ *pt = []string{s}
+ return nil
+ }
+
+ // If that fails, try to unmarshal as an array of strings
+ var a []string
+ if err := json.Unmarshal(data, &a); err != nil {
+ return err
+ }
+ *pt = a
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaler interface
+func (pt PropertyType) MarshalJSON() ([]byte, error) {
+ if len(pt) == 1 {
+ // If there's only one type, marshal as a string
+ return json.Marshal(pt[0])
+ }
+ // Otherwise marshal as an array
+ return json.Marshal([]string(pt))
+}
+
+// String returns a string representation of the PropertyType
+func (pt PropertyType) String() string {
+ if len(pt) == 0 {
+ return ""
+ }
+ if len(pt) == 1 {
+ return pt[0]
+ }
+ return fmt.Sprintf("%v", []string(pt))
+}
+
+// ToolPropertiesMap holds tool properties in insertion order.
+type ToolPropertiesMap struct {
+ om *orderedmap.Map[string, ToolProperty]
+}
+
+// NewToolPropertiesMap creates a new empty ToolPropertiesMap.
+func NewToolPropertiesMap() *ToolPropertiesMap {
+ return &ToolPropertiesMap{om: orderedmap.New[string, ToolProperty]()}
+}
+
+// Get retrieves a property by name.
+func (t *ToolPropertiesMap) Get(key string) (ToolProperty, bool) {
+ if t == nil || t.om == nil {
+ return ToolProperty{}, false
+ }
+ return t.om.Get(key)
+}
+
+// Set sets a property, preserving insertion order.
+func (t *ToolPropertiesMap) Set(key string, value ToolProperty) {
+ if t == nil {
+ return
+ }
+ if t.om == nil {
+ t.om = orderedmap.New[string, ToolProperty]()
+ }
+ t.om.Set(key, value)
+}
+
+// Len returns the number of properties.
+func (t *ToolPropertiesMap) Len() int {
+ if t == nil || t.om == nil {
+ return 0
+ }
+ return t.om.Len()
+}
+
+// All returns an iterator over all properties in insertion order.
+func (t *ToolPropertiesMap) All() iter.Seq2[string, ToolProperty] {
+ if t == nil || t.om == nil {
+ return func(yield func(string, ToolProperty) bool) {}
+ }
+ return t.om.All()
+}
+
+// ToMap returns a regular map (order not preserved).
+func (t *ToolPropertiesMap) ToMap() map[string]ToolProperty {
+ if t == nil || t.om == nil {
+ return nil
+ }
+ return t.om.ToMap()
+}
+
+func (t ToolPropertiesMap) MarshalJSON() ([]byte, error) {
+ if t.om == nil {
+ return []byte("null"), nil
+ }
+ return json.Marshal(t.om)
+}
+
+func (t *ToolPropertiesMap) UnmarshalJSON(data []byte) error {
+ t.om = orderedmap.New[string, ToolProperty]()
+ return json.Unmarshal(data, t.om)
+}
+
+type ToolProperty struct {
+ AnyOf []ToolProperty `json:"anyOf,omitempty"`
+ Type PropertyType `json:"type,omitempty"`
+ Items any `json:"items,omitempty"`
+ Description string `json:"description,omitempty"`
+ Enum []any `json:"enum,omitempty"`
+ Properties *ToolPropertiesMap `json:"properties,omitempty"`
+ Required []string `json:"required,omitempty"`
+}
+
+// ToTypeScriptType converts a ToolProperty to a TypeScript type string
+func (tp ToolProperty) ToTypeScriptType() string {
+ if len(tp.AnyOf) > 0 {
+ var types []string
+ for _, anyOf := range tp.AnyOf {
+ types = append(types, anyOf.ToTypeScriptType())
+ }
+ return strings.Join(types, " | ")
+ }
+
+ if len(tp.Type) == 0 {
+ return "any"
+ }
+
+ if len(tp.Type) == 1 {
+ return mapToTypeScriptType(tp.Type[0])
+ }
+
+ var types []string
+ for _, t := range tp.Type {
+ types = append(types, mapToTypeScriptType(t))
+ }
+ return strings.Join(types, " | ")
+}
+
+// mapToTypeScriptType maps JSON Schema types to TypeScript types
+func mapToTypeScriptType(jsonType string) string {
+ switch jsonType {
+ case "string":
+ return "string"
+ case "number", "integer":
+ return "number"
+ case "boolean":
+ return "boolean"
+ case "array":
+ return "any[]"
+ case "object":
+ return "Record"
+ case "null":
+ return "null"
+ default:
+ return "any"
+ }
+}
+
+type ToolFunctionParameters struct {
+ Type string `json:"type"`
+ Defs any `json:"$defs,omitempty"`
+ Items any `json:"items,omitempty"`
+ Required []string `json:"required,omitempty"`
+ Properties *ToolPropertiesMap `json:"properties"`
+}
+
+func (t *ToolFunctionParameters) String() string {
+ bts, _ := json.Marshal(t)
+ return string(bts)
+}
+
+type ToolFunction struct {
+ Name string `json:"name"`
+ Description string `json:"description,omitempty"`
+ Parameters ToolFunctionParameters `json:"parameters"`
+}
+
+func (t *ToolFunction) String() string {
+ bts, _ := json.Marshal(t)
+ return string(bts)
+}
+
+// TokenLogprob represents log probability information for a single token alternative.
+type TokenLogprob struct {
+ // Token is the text representation of the token.
+ Token string `json:"token"`
+
+ // Logprob is the log probability of this token.
+ Logprob float64 `json:"logprob"`
+
+ // Bytes contains the raw byte representation of the token
+ Bytes []int `json:"bytes,omitempty"`
+}
+
+// Logprob contains log probability information for a generated token.
+type Logprob struct {
+ TokenLogprob
+
+ // TopLogprobs contains the most likely tokens and their log probabilities
+ // at this position, if requested via TopLogprobs parameter.
+ TopLogprobs []TokenLogprob `json:"top_logprobs,omitempty"`
+}
+
+// ChatResponse is the response returned by [Client.Chat]. Its fields are
+// similar to [GenerateResponse].
+type ChatResponse struct {
+ // Model is the model name that generated the response.
+ Model string `json:"model"`
+
+ // RemoteModel is the name of the upstream model that generated the response.
+ RemoteModel string `json:"remote_model,omitempty"`
+
+ // RemoteHost is the URL of the upstream Ollama host that generated the response.
+ RemoteHost string `json:"remote_host,omitempty"`
+
+ // CreatedAt is the timestamp of the response.
+ CreatedAt time.Time `json:"created_at"`
+
+ // Message contains the message or part of a message from the model.
+ Message Message `json:"message"`
+
+ // Done specifies if the response is complete.
+ Done bool `json:"done"`
+
+ // DoneReason is the reason the model stopped generating text.
+ DoneReason string `json:"done_reason,omitempty"`
+
+ DebugInfo *DebugInfo `json:"_debug_info,omitempty"`
+
+ // Logprobs contains log probability information for the generated tokens,
+ // if requested via the Logprobs parameter.
+ Logprobs []Logprob `json:"logprobs,omitempty"`
+
+ Metrics
+}
+
+// DebugInfo contains debug information for template rendering
+type DebugInfo struct {
+ RenderedTemplate string `json:"rendered_template"`
+ ImageCount int `json:"image_count,omitempty"`
+}
+
+type Metrics struct {
+ TotalDuration time.Duration `json:"total_duration,omitempty"`
+ LoadDuration time.Duration `json:"load_duration,omitempty"`
+ PromptEvalCount int `json:"prompt_eval_count,omitempty"`
+ PromptEvalDuration time.Duration `json:"prompt_eval_duration,omitempty"`
+ EvalCount int `json:"eval_count,omitempty"`
+ EvalDuration time.Duration `json:"eval_duration,omitempty"`
+}
+
+// Options specified in [GenerateRequest]. If you add a new option here, also
+// add it to the API docs.
+type Options struct {
+ Runner
+
+ // Predict options used at runtime
+ NumKeep int `json:"num_keep,omitempty"`
+ Seed int `json:"seed,omitempty"`
+ NumPredict int `json:"num_predict,omitempty"`
+ TopK int `json:"top_k,omitempty"`
+ TopP float32 `json:"top_p,omitempty"`
+ MinP float32 `json:"min_p,omitempty"`
+ TypicalP float32 `json:"typical_p,omitempty"`
+ RepeatLastN int `json:"repeat_last_n,omitempty"`
+ Temperature float32 `json:"temperature,omitempty"`
+ RepeatPenalty float32 `json:"repeat_penalty,omitempty"`
+ PresencePenalty float32 `json:"presence_penalty,omitempty"`
+ FrequencyPenalty float32 `json:"frequency_penalty,omitempty"`
+ Stop []string `json:"stop,omitempty"`
+}
+
+// Runner options which must be set when the model is loaded into memory
+type Runner struct {
+ NumCtx int `json:"num_ctx,omitempty"`
+ NumBatch int `json:"num_batch,omitempty"`
+ NumGPU int `json:"num_gpu,omitempty"`
+ MainGPU *int `json:"main_gpu,omitempty"`
+ UseMMap *bool `json:"use_mmap,omitempty"`
+ NumThread int `json:"num_thread,omitempty"`
+ DraftNumPredict int `json:"draft_num_predict,omitempty"`
+}
+
+// EmbedRequest is the request passed to [Client.Embed].
+type EmbedRequest struct {
+ // Model is the model name.
+ Model string `json:"model"`
+
+ // Input is the input to embed.
+ Input any `json:"input"`
+
+ // KeepAlive controls how long the model will stay loaded in memory following
+ // this request.
+ KeepAlive *Duration `json:"keep_alive,omitempty"`
+
+ // Truncate truncates the input to fit the model's max sequence length.
+ Truncate *bool `json:"truncate,omitempty"`
+
+ // Dimensions truncates the output embedding to the specified dimension.
+ Dimensions int `json:"dimensions,omitempty"`
+
+ // Options lists model-specific options.
+ Options map[string]any `json:"options"`
+}
+
+// EmbedResponse is the response from [Client.Embed].
+type EmbedResponse struct {
+ Model string `json:"model"`
+ Embeddings [][]float32 `json:"embeddings"`
+
+ TotalDuration time.Duration `json:"total_duration,omitempty"`
+ LoadDuration time.Duration `json:"load_duration,omitempty"`
+ PromptEvalCount int `json:"prompt_eval_count,omitempty"`
+}
+
+// EmbeddingRequest is the request passed to [Client.Embeddings].
+type EmbeddingRequest struct {
+ // Model is the model name.
+ Model string `json:"model"`
+
+ // Prompt is the textual prompt to embed.
+ Prompt string `json:"prompt"`
+
+ // KeepAlive controls how long the model will stay loaded in memory following
+ // this request.
+ KeepAlive *Duration `json:"keep_alive,omitempty"`
+
+ // Options lists model-specific options.
+ Options map[string]any `json:"options"`
+}
+
+// EmbeddingResponse is the response from [Client.Embeddings].
+type EmbeddingResponse struct {
+ Embedding []float64 `json:"embedding"`
+}
+
+// CreateRequest is the request passed to [Client.Create].
+type CreateRequest struct {
+ // Model is the model name to create.
+ Model string `json:"model"`
+
+ // Stream specifies whether the response is streaming; it is true by default.
+ Stream *bool `json:"stream,omitempty"`
+
+ // Quantize is the quantization format for the model; leave blank to not change the quantization level.
+ Quantize string `json:"quantize,omitempty"`
+
+ // DraftQuantize is the quantization format for the draft model.
+ DraftQuantize string `json:"draft_quantize,omitempty"`
+
+ // From is the name of the model or file to use as the source.
+ From string `json:"from,omitempty"`
+
+ // RemoteHost is the URL of the upstream ollama API for the model (if any).
+ RemoteHost string `json:"remote_host,omitempty"`
+
+ // Files is a map of files include when creating the model.
+ Files map[string]string `json:"files,omitempty"`
+
+ // DraftFiles is a map of draft model files to include when creating the model.
+ DraftFiles map[string]string `json:"draft_files,omitempty"`
+
+ // Adapters is a map of LoRA adapters to include when creating the model.
+ Adapters map[string]string `json:"adapters,omitempty"`
+
+ // Template is the template used when constructing a request to the model.
+ Template string `json:"template,omitempty"`
+
+ // License is a string or list of strings for licenses.
+ License any `json:"license,omitempty"`
+
+ // System is the system prompt for the model.
+ System string `json:"system,omitempty"`
+
+ // Parameters is a map of hyper-parameters which are applied to the model.
+ Parameters map[string]any `json:"parameters,omitempty"`
+
+ // Messages is a list of messages added to the model before chat and generation requests.
+ Messages []Message `json:"messages,omitempty"`
+
+ Renderer string `json:"renderer,omitempty"`
+ Parser string `json:"parser,omitempty"`
+
+ // Requires is the minimum version of Ollama required by the model.
+ Requires string `json:"requires,omitempty"`
+
+ // Info is a map of additional information for the model
+ Info map[string]any `json:"info,omitempty"`
+
+ // Deprecated: set the model name with Model instead
+ Name string `json:"name"`
+ // Deprecated: use Quantize instead
+ Quantization string `json:"quantization,omitempty"`
+}
+
+// DeleteRequest is the request passed to [Client.Delete].
+type DeleteRequest struct {
+ Model string `json:"model"`
+
+ // Deprecated: set the model name with Model instead
+ Name string `json:"name"`
+}
+
+// ShowRequest is the request passed to [Client.Show].
+type ShowRequest struct {
+ Model string `json:"model"`
+ System string `json:"system"`
+
+ // Template is deprecated
+ Template string `json:"template"`
+ Verbose bool `json:"verbose"`
+
+ Options map[string]any `json:"options"`
+
+ // Deprecated: set the model name with Model instead
+ Name string `json:"name"`
+}
+
+// ShowResponse is the response returned from [Client.Show].
+type ShowResponse struct {
+ License string `json:"license,omitempty"`
+ Modelfile string `json:"modelfile,omitempty"`
+ Parameters string `json:"parameters,omitempty"`
+ Template string `json:"template,omitempty"`
+ System string `json:"system,omitempty"`
+ Renderer string `json:"renderer,omitempty"`
+ Parser string `json:"parser,omitempty"`
+ Details ModelDetails `json:"details,omitempty"`
+ Messages []Message `json:"messages,omitempty"`
+ RemoteModel string `json:"remote_model,omitempty"`
+ RemoteHost string `json:"remote_host,omitempty"`
+ ModelInfo map[string]any `json:"model_info"`
+ ProjectorInfo map[string]any `json:"projector_info,omitempty"`
+ Tensors []Tensor `json:"tensors,omitempty"`
+ Capabilities []model.Capability `json:"capabilities,omitempty"`
+ ModifiedAt time.Time `json:"modified_at,omitempty"`
+ Requires string `json:"requires,omitempty"`
+}
+
+// CopyRequest is the request passed to [Client.Copy].
+type CopyRequest struct {
+ Source string `json:"source"`
+ Destination string `json:"destination"`
+}
+
+// PullRequest is the request passed to [Client.Pull].
+type PullRequest struct {
+ Model string `json:"model"`
+ Insecure bool `json:"insecure,omitempty"` // Deprecated: ignored
+ Username string `json:"username"` // Deprecated: ignored
+ Password string `json:"password"` // Deprecated: ignored
+ Stream *bool `json:"stream,omitempty"`
+
+ // Deprecated: set the model name with Model instead
+ Name string `json:"name"`
+}
+
+// ProgressResponse is the response passed to progress functions like
+// [PullProgressFunc] and [PushProgressFunc].
+type ProgressResponse struct {
+ Status string `json:"status"`
+ Digest string `json:"digest,omitempty"`
+ Total int64 `json:"total,omitempty"`
+ Completed int64 `json:"completed,omitempty"`
+}
+
+// PushRequest is the request passed to [Client.Push].
+type PushRequest struct {
+ Model string `json:"model"`
+ Insecure bool `json:"insecure,omitempty"`
+ Username string `json:"username"`
+ Password string `json:"password"`
+ Stream *bool `json:"stream,omitempty"`
+
+ // Deprecated: set the model name with Model instead
+ Name string `json:"name"`
+}
+
+// ListResponse is the response from [Client.List].
+type ListResponse struct {
+ Models []ListModelResponse `json:"models"`
+}
+
+// ModelRecommendationsResponse is the response from [Client.ModelRecommendationsExperimental].
+type ModelRecommendationsResponse struct {
+ Recommendations []ModelRecommendation `json:"recommendations"`
+}
+
+// ModelRecommendation is a single recommendation entry in [ModelRecommendationsResponse].
+type ModelRecommendation struct {
+ Model string `json:"model"`
+ Description string `json:"description"`
+ ContextLength int `json:"context_length,omitempty"`
+ MaxOutputTokens int `json:"max_output_tokens,omitempty"`
+ VRAMBytes int64 `json:"vram_bytes,omitempty"`
+ RequiredPlan string `json:"required_plan,omitempty"`
+}
+
+// ProcessResponse is the response from [Client.Process].
+type ProcessResponse struct {
+ Models []ProcessModelResponse `json:"models"`
+}
+
+// ListModelResponse is a single model description in [ListResponse].
+type ListModelResponse struct {
+ Name string `json:"name"`
+ Model string `json:"model"`
+ RemoteModel string `json:"remote_model,omitempty"`
+ RemoteHost string `json:"remote_host,omitempty"`
+ ModifiedAt time.Time `json:"modified_at"`
+ Size int64 `json:"size"`
+ Digest string `json:"digest"`
+ Details ModelDetails `json:"details,omitempty"`
+ Capabilities []model.Capability `json:"capabilities,omitempty"`
+}
+
+// ProcessModelResponse is a single model description in [ProcessResponse].
+type ProcessModelResponse struct {
+ Name string `json:"name"`
+ Model string `json:"model"`
+ Size int64 `json:"size"`
+ Digest string `json:"digest"`
+ Details ModelDetails `json:"details,omitempty"`
+ ExpiresAt time.Time `json:"expires_at"`
+ SizeVRAM int64 `json:"size_vram"`
+ ContextLength int `json:"context_length"`
+}
+
+type TokenResponse struct {
+ Token string `json:"token"`
+}
+
+type CloudStatus struct {
+ Disabled bool `json:"disabled"`
+ Source string `json:"source"`
+}
+
+// StatusResponse is the response from [Client.CloudStatusExperimental].
+type StatusResponse struct {
+ Cloud CloudStatus `json:"cloud"`
+}
+
+// WebSearchRequest is the request for [Client.WebSearchExperimental].
+type WebSearchRequest struct {
+ Query string `json:"query"`
+ MaxResults int `json:"max_results,omitempty"`
+}
+
+// WebSearchResult is a single result from [Client.WebSearchExperimental].
+type WebSearchResult struct {
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Content string `json:"content"`
+}
+
+// WebSearchResponse is the response from [Client.WebSearchExperimental].
+type WebSearchResponse struct {
+ Results []WebSearchResult `json:"results"`
+}
+
+// WebFetchRequest is the request for [Client.WebFetchExperimental].
+type WebFetchRequest struct {
+ URL string `json:"url"`
+}
+
+// WebFetchResponse is the response from [Client.WebFetchExperimental].
+type WebFetchResponse struct {
+ Title string `json:"title"`
+ Content string `json:"content"`
+ Links []string `json:"links,omitempty"`
+}
+
+// GenerateResponse is the response passed into [GenerateResponseFunc].
+type GenerateResponse struct {
+ // Model is the model name that generated the response.
+ Model string `json:"model"`
+
+ // RemoteModel is the name of the upstream model that generated the response.
+ RemoteModel string `json:"remote_model,omitempty"`
+
+ // RemoteHost is the URL of the upstream Ollama host that generated the response.
+ RemoteHost string `json:"remote_host,omitempty"`
+
+ // CreatedAt is the timestamp of the response.
+ CreatedAt time.Time `json:"created_at"`
+
+ // Response is the textual response itself.
+ Response string `json:"response"`
+
+ // Thinking contains the text that was inside thinking tags in the
+ // original model output when ChatRequest.Think is enabled.
+ Thinking string `json:"thinking,omitempty"`
+
+ // Done specifies if the response is complete.
+ Done bool `json:"done"`
+
+ // DoneReason is the reason the model stopped generating text.
+ DoneReason string `json:"done_reason,omitempty"`
+
+ // Context is an encoding of the conversation used in this response; this
+ // can be sent in the next request to keep a conversational memory.
+ Context []int `json:"context,omitempty"`
+
+ Metrics
+
+ ToolCalls []ToolCall `json:"tool_calls,omitempty"`
+
+ DebugInfo *DebugInfo `json:"_debug_info,omitempty"`
+
+ // Logprobs contains log probability information for the generated tokens,
+ // if requested via the Logprobs parameter.
+ Logprobs []Logprob `json:"logprobs,omitempty"`
+
+ // Experimental: Image generation fields (may change or be removed)
+
+ // Image contains a base64-encoded generated image.
+ // Only present for image generation models.
+ Image string `json:"image,omitempty"`
+
+ // Completed is the number of completed steps in image generation.
+ // Only present for image generation models during streaming.
+ Completed int64 `json:"completed,omitempty"`
+
+ // Total is the total number of steps for image generation.
+ // Only present for image generation models during streaming.
+ Total int64 `json:"total,omitempty"`
+}
+
+// ModelDetails provides details about a model.
+type ModelDetails struct {
+ ParentModel string `json:"parent_model"`
+ Format string `json:"format"`
+ Family string `json:"family"`
+ Families []string `json:"families"`
+ ParameterSize string `json:"parameter_size"`
+ QuantizationLevel string `json:"quantization_level"`
+ ContextLength int `json:"context_length,omitempty"`
+ EmbeddingLength int `json:"embedding_length,omitempty"`
+}
+
+// UserResponse provides information about a user.
+type UserResponse struct {
+ ID uuid.UUID `json:"id"`
+ Email string `json:"email"`
+ Name string `json:"name"`
+ Bio string `json:"bio,omitempty"`
+ AvatarURL string `json:"avatarurl,omitempty"`
+ FirstName string `json:"firstname,omitempty"`
+ LastName string `json:"lastname,omitempty"`
+ Plan string `json:"plan,omitempty"`
+}
+
+// Tensor describes the metadata for a given tensor.
+type Tensor struct {
+ Name string `json:"name"`
+ Type string `json:"type"`
+ Shape []uint64 `json:"shape"`
+}
+
+func (m *Metrics) Summary() {
+ if m.TotalDuration > 0 {
+ fmt.Fprintf(os.Stderr, "total duration: %v\n", m.TotalDuration)
+ }
+
+ if m.LoadDuration > 0 {
+ fmt.Fprintf(os.Stderr, "load duration: %v\n", m.LoadDuration)
+ }
+
+ if m.PromptEvalCount > 0 {
+ fmt.Fprintf(os.Stderr, "prompt eval count: %d token(s)\n", m.PromptEvalCount)
+ }
+
+ if m.PromptEvalDuration > 0 {
+ fmt.Fprintf(os.Stderr, "prompt eval duration: %s\n", m.PromptEvalDuration)
+ fmt.Fprintf(os.Stderr, "prompt eval rate: %.2f tokens/s\n", float64(m.PromptEvalCount)/m.PromptEvalDuration.Seconds())
+ }
+
+ if m.EvalCount > 0 {
+ fmt.Fprintf(os.Stderr, "eval count: %d token(s)\n", m.EvalCount)
+ }
+
+ if m.EvalDuration > 0 {
+ fmt.Fprintf(os.Stderr, "eval duration: %s\n", m.EvalDuration)
+ fmt.Fprintf(os.Stderr, "eval rate: %.2f tokens/s\n", float64(m.EvalCount)/m.EvalDuration.Seconds())
+ }
+}
+
+func (opts *Options) FromMap(m map[string]any) error {
+ valueOpts := reflect.ValueOf(opts).Elem() // names of the fields in the options struct
+ typeOpts := reflect.TypeOf(opts).Elem() // types of the fields in the options struct
+
+ // build map of json struct tags to their types
+ jsonOpts := make(map[string]reflect.StructField)
+ for _, field := range reflect.VisibleFields(typeOpts) {
+ jsonTag := strings.Split(field.Tag.Get("json"), ",")[0]
+ if jsonTag != "" {
+ jsonOpts[jsonTag] = field
+ }
+ }
+
+ for key, val := range m {
+ opt, ok := jsonOpts[key]
+ if !ok {
+ slog.Warn("invalid option provided", "option", key)
+ continue
+ }
+
+ field := valueOpts.FieldByName(opt.Name)
+ if field.IsValid() && field.CanSet() {
+ if val == nil {
+ continue
+ }
+
+ switch field.Kind() {
+ case reflect.Int:
+ switch t := val.(type) {
+ case int64:
+ field.SetInt(t)
+ case float64:
+ // when JSON unmarshals numbers, it uses float64, not int
+ field.SetInt(int64(t))
+ default:
+ return fmt.Errorf("option %q must be of type integer", key)
+ }
+ case reflect.Bool:
+ val, ok := val.(bool)
+ if !ok {
+ return fmt.Errorf("option %q must be of type boolean", key)
+ }
+ field.SetBool(val)
+ case reflect.Float32:
+ // JSON unmarshals to float64
+ val, ok := val.(float64)
+ if !ok {
+ return fmt.Errorf("option %q must be of type float32", key)
+ }
+ field.SetFloat(val)
+ case reflect.String:
+ val, ok := val.(string)
+ if !ok {
+ return fmt.Errorf("option %q must be of type string", key)
+ }
+ field.SetString(val)
+ case reflect.Slice:
+ // JSON unmarshals to []any, not []string
+ val, ok := val.([]any)
+ if !ok {
+ return fmt.Errorf("option %q must be of type array", key)
+ }
+ // convert []any to []string
+ slice := make([]string, len(val))
+ for i, item := range val {
+ str, ok := item.(string)
+ if !ok {
+ return fmt.Errorf("option %q must be of an array of strings", key)
+ }
+ slice[i] = str
+ }
+ field.Set(reflect.ValueOf(slice))
+ case reflect.Pointer:
+ switch field.Type().Elem().Kind() {
+ case reflect.Bool:
+ val, ok := val.(bool)
+ if !ok {
+ return fmt.Errorf("option %q must be of type boolean", key)
+ }
+ field.Set(reflect.ValueOf(&val))
+ case reflect.Int:
+ var i int
+ switch t := val.(type) {
+ case int64:
+ i = int(t)
+ case float64:
+ i = int(t)
+ default:
+ return fmt.Errorf("option %q must be of type integer", key)
+ }
+ field.Set(reflect.ValueOf(&i))
+ default:
+ return fmt.Errorf("unknown type loading config params: %v %v", field.Kind(), field.Type())
+ }
+ default:
+ return fmt.Errorf("unknown type loading config params: %v", field.Kind())
+ }
+ }
+ }
+
+ return nil
+}
+
+// DefaultOptions is the default set of options for [GenerateRequest]; these
+// values are used unless the user specifies other values explicitly.
+func DefaultOptions() Options {
+ return Options{
+ // options set on request to runner
+ NumPredict: -1,
+
+ // set a minimal num_keep to avoid issues on context shifts
+ NumKeep: 4,
+ Temperature: 0.8,
+ TopK: 40,
+ TopP: 0.9,
+ TypicalP: 1.0,
+ RepeatLastN: 64,
+ RepeatPenalty: 1.1,
+ PresencePenalty: 0.0,
+ FrequencyPenalty: 0.0,
+ Seed: -1,
+
+ Runner: Runner{
+ // options set when the model is loaded
+ NumCtx: int(envconfig.ContextLength()),
+ NumBatch: 512,
+ NumGPU: -1, // -1 here indicates that NumGPU should be set dynamically
+ NumThread: 0, // let the runtime decide
+ DraftNumPredict: 4,
+ UseMMap: nil,
+ },
+ }
+}
+
+// ThinkValue represents a value that can be a boolean or a string ("high", "medium", "low", "max")
+type ThinkValue struct {
+ // Value can be a bool or string
+ Value interface{}
+}
+
+// IsValid checks if the ThinkValue is valid
+func (t *ThinkValue) IsValid() bool {
+ if t == nil || t.Value == nil {
+ return true // nil is valid (means not set)
+ }
+
+ switch v := t.Value.(type) {
+ case bool:
+ return true
+ case string:
+ return v == "high" || v == "medium" || v == "low" || v == "max"
+ default:
+ return false
+ }
+}
+
+// IsBool returns true if the value is a boolean
+func (t *ThinkValue) IsBool() bool {
+ if t == nil || t.Value == nil {
+ return false
+ }
+ _, ok := t.Value.(bool)
+ return ok
+}
+
+// IsString returns true if the value is a string
+func (t *ThinkValue) IsString() bool {
+ if t == nil || t.Value == nil {
+ return false
+ }
+ _, ok := t.Value.(string)
+ return ok
+}
+
+// Bool returns the value as a bool (true if enabled in any way)
+func (t *ThinkValue) Bool() bool {
+ if t == nil || t.Value == nil {
+ return false
+ }
+
+ switch v := t.Value.(type) {
+ case bool:
+ return v
+ case string:
+ // Any string value ("high", "medium", "low", "max") means thinking is enabled
+ return v == "high" || v == "medium" || v == "low" || v == "max"
+ default:
+ return false
+ }
+}
+
+// String returns the value as a string
+func (t *ThinkValue) String() string {
+ if t == nil || t.Value == nil {
+ return ""
+ }
+
+ switch v := t.Value.(type) {
+ case string:
+ return v
+ case bool:
+ if v {
+ return "medium" // Default level when just true
+ }
+ return ""
+ default:
+ return ""
+ }
+}
+
+// UnmarshalJSON implements json.Unmarshaler
+func (t *ThinkValue) UnmarshalJSON(data []byte) error {
+ // Try to unmarshal as bool first
+ var b bool
+ if err := json.Unmarshal(data, &b); err == nil {
+ t.Value = b
+ return nil
+ }
+
+ // Try to unmarshal as string
+ var s string
+ if err := json.Unmarshal(data, &s); err == nil {
+ // Validate string values
+ if s != "high" && s != "medium" && s != "low" && s != "max" {
+ return fmt.Errorf("invalid think value: %q (must be \"high\", \"medium\", \"low\", \"max\", true, or false)", s)
+ }
+ t.Value = s
+ return nil
+ }
+
+ return fmt.Errorf("think must be a boolean or string (\"high\", \"medium\", \"low\", \"max\", true, or false)")
+}
+
+// MarshalJSON implements json.Marshaler
+func (t *ThinkValue) MarshalJSON() ([]byte, error) {
+ if t == nil || t.Value == nil {
+ return []byte("null"), nil
+ }
+ return json.Marshal(t.Value)
+}
+
+type Duration struct {
+ time.Duration
+}
+
+func (d Duration) MarshalJSON() ([]byte, error) {
+ if d.Duration < 0 {
+ return []byte("-1"), nil
+ }
+ return []byte("\"" + d.Duration.String() + "\""), nil
+}
+
+func (d *Duration) UnmarshalJSON(b []byte) (err error) {
+ var v any
+ if err := json.Unmarshal(b, &v); err != nil {
+ return err
+ }
+
+ d.Duration = 5 * time.Minute
+
+ switch t := v.(type) {
+ case float64:
+ if t < 0 {
+ d.Duration = time.Duration(math.MaxInt64)
+ } else {
+ d.Duration = time.Duration(t * float64(time.Second))
+ }
+ case string:
+ d.Duration, err = time.ParseDuration(t)
+ if err != nil {
+ return err
+ }
+ if d.Duration < 0 {
+ d.Duration = time.Duration(math.MaxInt64)
+ }
+ default:
+ return fmt.Errorf("Unsupported type: '%s'", reflect.TypeOf(v))
+ }
+
+ return nil
+}
+
+// FormatParams converts specified parameter options to their correct types
+func FormatParams(params map[string][]string) (map[string]any, error) {
+ opts := Options{}
+ valueOpts := reflect.ValueOf(&opts).Elem() // names of the fields in the options struct
+ typeOpts := reflect.TypeOf(opts) // types of the fields in the options struct
+
+ // build map of json struct tags to their types
+ jsonOpts := make(map[string]reflect.StructField)
+ for _, field := range reflect.VisibleFields(typeOpts) {
+ jsonTag := strings.Split(field.Tag.Get("json"), ",")[0]
+ if jsonTag != "" {
+ jsonOpts[jsonTag] = field
+ }
+ }
+
+ out := make(map[string]any)
+ // iterate params and set values based on json struct tags
+ for key, vals := range params {
+ if opt, ok := jsonOpts[key]; !ok {
+ return nil, fmt.Errorf("unknown parameter '%s'", key)
+ } else {
+ field := valueOpts.FieldByName(opt.Name)
+ if field.IsValid() && field.CanSet() {
+ switch field.Kind() {
+ case reflect.Float32:
+ floatVal, err := strconv.ParseFloat(vals[0], 32)
+ if err != nil {
+ return nil, fmt.Errorf("invalid float value %s", vals)
+ }
+
+ out[key] = float32(floatVal)
+ case reflect.Int:
+ intVal, err := strconv.ParseInt(vals[0], 10, 64)
+ if err != nil {
+ return nil, fmt.Errorf("invalid int value %s", vals)
+ }
+
+ out[key] = intVal
+ case reflect.Bool:
+ boolVal, err := strconv.ParseBool(vals[0])
+ if err != nil {
+ return nil, fmt.Errorf("invalid bool value %s", vals)
+ }
+
+ out[key] = boolVal
+ case reflect.String:
+ out[key] = vals[0]
+ case reflect.Slice:
+ // TODO: only string slices are supported right now
+ out[key] = vals
+ case reflect.Pointer:
+ switch field.Type().Elem().Kind() {
+ case reflect.Bool:
+ boolVal, err := strconv.ParseBool(vals[0])
+ if err != nil {
+ return nil, fmt.Errorf("invalid bool value %s", vals)
+ }
+ out[key] = &boolVal
+ case reflect.Int:
+ intVal, err := strconv.ParseInt(vals[0], 10, 64)
+ if err != nil {
+ return nil, fmt.Errorf("invalid int value %s", vals)
+ }
+ out[key] = intVal
+ default:
+ return nil, fmt.Errorf("unknown type %s for %s", field.Kind(), key)
+ }
+ default:
+ return nil, fmt.Errorf("unknown type %s for %s", field.Kind(), key)
+ }
+ }
+ }
+ }
+
+ return out, nil
+}
diff --git a/western_ai/usa/ollama/api/types_test.go b/western_ai/usa/ollama/api/types_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..d7be59dfaa5b31f676969370111183f750b1e67b
--- /dev/null
+++ b/western_ai/usa/ollama/api/types_test.go
@@ -0,0 +1,968 @@
+package api
+
+import (
+ "encoding/json"
+ "errors"
+ "math"
+ "testing"
+ "time"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+)
+
+// testPropsMap creates a ToolPropertiesMap from a map (convenience function for tests, order not preserved)
+func testPropsMap(m map[string]ToolProperty) *ToolPropertiesMap {
+ props := NewToolPropertiesMap()
+ for k, v := range m {
+ props.Set(k, v)
+ }
+ return props
+}
+
+func testIntPtr(v int) *int {
+ return &v
+}
+
+// testArgs creates ToolCallFunctionArguments from a map (convenience function for tests, order not preserved)
+func testArgs(m map[string]any) ToolCallFunctionArguments {
+ args := NewToolCallFunctionArguments()
+ for k, v := range m {
+ args.Set(k, v)
+ }
+ return args
+}
+
+func TestKeepAliveParsingFromJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ req string
+ exp *Duration
+ }{
+ {
+ name: "Unset",
+ req: `{ }`,
+ exp: nil,
+ },
+ {
+ name: "Positive Integer",
+ req: `{ "keep_alive": 42 }`,
+ exp: &Duration{42 * time.Second},
+ },
+ {
+ name: "Positive Float",
+ req: `{ "keep_alive": 42.5 }`,
+ exp: &Duration{42500 * time.Millisecond},
+ },
+ {
+ name: "Positive Integer String",
+ req: `{ "keep_alive": "42m" }`,
+ exp: &Duration{42 * time.Minute},
+ },
+ {
+ name: "Negative Integer",
+ req: `{ "keep_alive": -1 }`,
+ exp: &Duration{math.MaxInt64},
+ },
+ {
+ name: "Negative Float",
+ req: `{ "keep_alive": -3.14 }`,
+ exp: &Duration{math.MaxInt64},
+ },
+ {
+ name: "Negative Integer String",
+ req: `{ "keep_alive": "-1m" }`,
+ exp: &Duration{math.MaxInt64},
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ var dec ChatRequest
+ err := json.Unmarshal([]byte(test.req), &dec)
+ require.NoError(t, err)
+
+ assert.Equal(t, test.exp, dec.KeepAlive)
+ })
+ }
+}
+
+func TestDurationMarshalUnmarshal(t *testing.T) {
+ tests := []struct {
+ name string
+ input time.Duration
+ expected time.Duration
+ }{
+ {
+ "negative duration",
+ time.Duration(-1),
+ time.Duration(math.MaxInt64),
+ },
+ {
+ "positive duration",
+ 42 * time.Second,
+ 42 * time.Second,
+ },
+ {
+ "another positive duration",
+ 42 * time.Minute,
+ 42 * time.Minute,
+ },
+ {
+ "zero duration",
+ time.Duration(0),
+ time.Duration(0),
+ },
+ {
+ "max duration",
+ time.Duration(math.MaxInt64),
+ time.Duration(math.MaxInt64),
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ b, err := json.Marshal(Duration{test.input})
+ require.NoError(t, err)
+
+ var d Duration
+ err = json.Unmarshal(b, &d)
+ require.NoError(t, err)
+
+ assert.Equal(t, test.expected, d.Duration, "input %v, marshalled %v, got %v", test.input, string(b), d.Duration)
+ })
+ }
+}
+
+func TestUseMmapParsingFromJSON(t *testing.T) {
+ tr := true
+ fa := false
+ tests := []struct {
+ name string
+ req string
+ exp *bool
+ }{
+ {
+ name: "Undefined",
+ req: `{ }`,
+ exp: nil,
+ },
+ {
+ name: "True",
+ req: `{ "use_mmap": true }`,
+ exp: &tr,
+ },
+ {
+ name: "False",
+ req: `{ "use_mmap": false }`,
+ exp: &fa,
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ var oMap map[string]any
+ err := json.Unmarshal([]byte(test.req), &oMap)
+ require.NoError(t, err)
+ opts := DefaultOptions()
+ err = opts.FromMap(oMap)
+ require.NoError(t, err)
+ assert.Equal(t, test.exp, opts.UseMMap)
+ })
+ }
+}
+
+func TestMainGPUParsingFromJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ req string
+ wantGPU *int
+ }{
+ {
+ name: "Undefined",
+ req: `{}`,
+ },
+ {
+ name: "Zero",
+ req: `{ "main_gpu": 0 }`,
+ wantGPU: testIntPtr(0),
+ },
+ {
+ name: "Nonzero",
+ req: `{ "main_gpu": 1 }`,
+ wantGPU: testIntPtr(1),
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ var oMap map[string]any
+ err := json.Unmarshal([]byte(test.req), &oMap)
+ require.NoError(t, err)
+
+ opts := DefaultOptions()
+ err = opts.FromMap(oMap)
+ require.NoError(t, err)
+
+ if test.wantGPU == nil {
+ assert.Nil(t, opts.MainGPU)
+ } else if assert.NotNil(t, opts.MainGPU) {
+ assert.Equal(t, *test.wantGPU, *opts.MainGPU)
+ }
+ })
+ }
+}
+
+func TestUseMmapFormatParams(t *testing.T) {
+ tr := true
+ fa := false
+ tests := []struct {
+ name string
+ req map[string][]string
+ exp *bool
+ err error
+ }{
+ {
+ name: "True",
+ req: map[string][]string{
+ "use_mmap": {"true"},
+ },
+ exp: &tr,
+ err: nil,
+ },
+ {
+ name: "False",
+ req: map[string][]string{
+ "use_mmap": {"false"},
+ },
+ exp: &fa,
+ err: nil,
+ },
+ {
+ name: "Numeric True",
+ req: map[string][]string{
+ "use_mmap": {"1"},
+ },
+ exp: &tr,
+ err: nil,
+ },
+ {
+ name: "Numeric False",
+ req: map[string][]string{
+ "use_mmap": {"0"},
+ },
+ exp: &fa,
+ err: nil,
+ },
+ {
+ name: "invalid string",
+ req: map[string][]string{
+ "use_mmap": {"foo"},
+ },
+ exp: nil,
+ err: errors.New("invalid bool value [foo]"),
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ resp, err := FormatParams(test.req)
+ require.Equal(t, test.err, err)
+ respVal, ok := resp["use_mmap"]
+ if test.exp != nil {
+ assert.True(t, ok, "resp: %v", resp)
+ assert.Equal(t, *test.exp, *respVal.(*bool))
+ }
+ })
+ }
+}
+
+func TestMainGPUFormatParams(t *testing.T) {
+ resp, err := FormatParams(map[string][]string{"main_gpu": {"0"}})
+ require.NoError(t, err)
+ assert.Equal(t, int64(0), resp["main_gpu"])
+}
+
+func TestMessage_UnmarshalJSON(t *testing.T) {
+ tests := []struct {
+ input string
+ expected string
+ }{
+ {`{"role": "USER", "content": "Hello!"}`, "user"},
+ {`{"role": "System", "content": "Initialization complete."}`, "system"},
+ {`{"role": "assistant", "content": "How can I help you?"}`, "assistant"},
+ {`{"role": "TOOl", "content": "Access granted."}`, "tool"},
+ }
+
+ for _, test := range tests {
+ var msg Message
+ if err := json.Unmarshal([]byte(test.input), &msg); err != nil {
+ t.Errorf("Unexpected error: %v", err)
+ }
+
+ if msg.Role != test.expected {
+ t.Errorf("role not lowercased: got %v, expected %v", msg.Role, test.expected)
+ }
+ }
+}
+
+func TestToolFunction_UnmarshalJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ input string
+ wantErr string
+ }{
+ {
+ name: "valid enum with same types",
+ input: `{
+ "name": "test",
+ "description": "test function",
+ "parameters": {
+ "type": "object",
+ "required": ["test"],
+ "properties": {
+ "test": {
+ "type": "string",
+ "description": "test prop",
+ "enum": ["a", "b", "c"]
+ }
+ }
+ }
+ }`,
+ wantErr: "",
+ },
+ {
+ name: "empty enum array",
+ input: `{
+ "name": "test",
+ "description": "test function",
+ "parameters": {
+ "type": "object",
+ "required": ["test"],
+ "properties": {
+ "test": {
+ "type": "string",
+ "description": "test prop",
+ "enum": []
+ }
+ }
+ }
+ }`,
+ wantErr: "",
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ var tf ToolFunction
+ err := json.Unmarshal([]byte(tt.input), &tf)
+
+ if tt.wantErr != "" {
+ require.Error(t, err)
+ assert.Contains(t, err.Error(), tt.wantErr)
+ } else {
+ require.NoError(t, err)
+ }
+ })
+ }
+}
+
+func TestToolFunctionParameters_MarshalJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ input ToolFunctionParameters
+ expected string
+ }{
+ {
+ name: "simple object with string property",
+ input: ToolFunctionParameters{
+ Type: "object",
+ Required: []string{"name"},
+ Properties: testPropsMap(map[string]ToolProperty{
+ "name": {Type: PropertyType{"string"}},
+ }),
+ },
+ expected: `{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}`,
+ },
+ {
+ name: "no required",
+ input: ToolFunctionParameters{
+ Type: "object",
+ Properties: testPropsMap(map[string]ToolProperty{
+ "name": {Type: PropertyType{"string"}},
+ }),
+ },
+ expected: `{"type":"object","properties":{"name":{"type":"string"}}}`,
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ data, err := json.Marshal(test.input)
+ require.NoError(t, err)
+ assert.Equal(t, test.expected, string(data))
+ })
+ }
+}
+
+func TestToolCallFunction_IndexAlwaysMarshals(t *testing.T) {
+ fn := ToolCallFunction{
+ Name: "echo",
+ Arguments: testArgs(map[string]any{"message": "hi"}),
+ }
+
+ data, err := json.Marshal(fn)
+ require.NoError(t, err)
+
+ raw := map[string]any{}
+ require.NoError(t, json.Unmarshal(data, &raw))
+ require.Contains(t, raw, "index")
+ assert.Equal(t, float64(0), raw["index"])
+
+ fn.Index = 3
+ data, err = json.Marshal(fn)
+ require.NoError(t, err)
+
+ raw = map[string]any{}
+ require.NoError(t, json.Unmarshal(data, &raw))
+ require.Contains(t, raw, "index")
+ assert.Equal(t, float64(3), raw["index"])
+}
+
+func TestPropertyType_UnmarshalJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ input string
+ expected PropertyType
+ }{
+ {
+ name: "string type",
+ input: `"string"`,
+ expected: PropertyType{"string"},
+ },
+ {
+ name: "array of types",
+ input: `["string", "number"]`,
+ expected: PropertyType{"string", "number"},
+ },
+ {
+ name: "array with single type",
+ input: `["string"]`,
+ expected: PropertyType{"string"},
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ var pt PropertyType
+ if err := json.Unmarshal([]byte(test.input), &pt); err != nil {
+ t.Errorf("Unexpected error: %v", err)
+ }
+
+ if len(pt) != len(test.expected) {
+ t.Errorf("Length mismatch: got %v, expected %v", len(pt), len(test.expected))
+ }
+
+ for i, v := range pt {
+ if v != test.expected[i] {
+ t.Errorf("Value mismatch at index %d: got %v, expected %v", i, v, test.expected[i])
+ }
+ }
+ })
+ }
+}
+
+func TestPropertyType_MarshalJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ input PropertyType
+ expected string
+ }{
+ {
+ name: "single type",
+ input: PropertyType{"string"},
+ expected: `"string"`,
+ },
+ {
+ name: "multiple types",
+ input: PropertyType{"string", "number"},
+ expected: `["string","number"]`,
+ },
+ {
+ name: "empty type",
+ input: PropertyType{},
+ expected: `[]`,
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ data, err := json.Marshal(test.input)
+ if err != nil {
+ t.Errorf("Unexpected error: %v", err)
+ }
+
+ if string(data) != test.expected {
+ t.Errorf("Marshaled data mismatch: got %v, expected %v", string(data), test.expected)
+ }
+ })
+ }
+}
+
+func TestThinking_UnmarshalJSON(t *testing.T) {
+ tests := []struct {
+ name string
+ input string
+ expectedThinking *ThinkValue
+ expectedError bool
+ }{
+ {
+ name: "true",
+ input: `{ "think": true }`,
+ expectedThinking: &ThinkValue{Value: true},
+ },
+ {
+ name: "false",
+ input: `{ "think": false }`,
+ expectedThinking: &ThinkValue{Value: false},
+ },
+ {
+ name: "unset",
+ input: `{ }`,
+ expectedThinking: nil,
+ },
+ {
+ name: "string_high",
+ input: `{ "think": "high" }`,
+ expectedThinking: &ThinkValue{Value: "high"},
+ },
+ {
+ name: "string_medium",
+ input: `{ "think": "medium" }`,
+ expectedThinking: &ThinkValue{Value: "medium"},
+ },
+ {
+ name: "string_low",
+ input: `{ "think": "low" }`,
+ expectedThinking: &ThinkValue{Value: "low"},
+ },
+ {
+ name: "string_max",
+ input: `{ "think": "max" }`,
+ expectedThinking: &ThinkValue{Value: "max"},
+ },
+ {
+ name: "invalid_string",
+ input: `{ "think": "invalid" }`,
+ expectedThinking: nil,
+ expectedError: true,
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ var req GenerateRequest
+ err := json.Unmarshal([]byte(test.input), &req)
+ if test.expectedError {
+ require.Error(t, err)
+ } else {
+ require.NoError(t, err)
+ if test.expectedThinking == nil {
+ assert.Nil(t, req.Think)
+ } else {
+ require.NotNil(t, req.Think)
+ assert.Equal(t, test.expectedThinking.Value, req.Think.Value)
+ }
+ }
+ })
+ }
+}
+
+func TestToolPropertyNestedProperties(t *testing.T) {
+ tests := []struct {
+ name string
+ input string
+ expected ToolProperty
+ }{
+ {
+ name: "nested object properties",
+ input: `{
+ "type": "object",
+ "description": "Location details",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "Street address"
+ },
+ "city": {
+ "type": "string",
+ "description": "City name"
+ }
+ }
+ }`,
+ expected: ToolProperty{
+ Type: PropertyType{"object"},
+ Description: "Location details",
+ Properties: testPropsMap(map[string]ToolProperty{
+ "address": {
+ Type: PropertyType{"string"},
+ Description: "Street address",
+ },
+ "city": {
+ Type: PropertyType{"string"},
+ Description: "City name",
+ },
+ }),
+ },
+ },
+ {
+ name: "deeply nested properties",
+ input: `{
+ "type": "object",
+ "description": "Event",
+ "properties": {
+ "location": {
+ "type": "object",
+ "description": "Location",
+ "properties": {
+ "coordinates": {
+ "type": "object",
+ "description": "GPS coordinates",
+ "properties": {
+ "lat": {"type": "number", "description": "Latitude"},
+ "lng": {"type": "number", "description": "Longitude"}
+ }
+ }
+ }
+ }
+ }
+ }`,
+ expected: ToolProperty{
+ Type: PropertyType{"object"},
+ Description: "Event",
+ Properties: testPropsMap(map[string]ToolProperty{
+ "location": {
+ Type: PropertyType{"object"},
+ Description: "Location",
+ Properties: testPropsMap(map[string]ToolProperty{
+ "coordinates": {
+ Type: PropertyType{"object"},
+ Description: "GPS coordinates",
+ Properties: testPropsMap(map[string]ToolProperty{
+ "lat": {Type: PropertyType{"number"}, Description: "Latitude"},
+ "lng": {Type: PropertyType{"number"}, Description: "Longitude"},
+ }),
+ },
+ }),
+ },
+ }),
+ },
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ var prop ToolProperty
+ err := json.Unmarshal([]byte(tt.input), &prop)
+ require.NoError(t, err)
+
+ // Compare JSON representations since pointer comparison doesn't work
+ expectedJSON, err := json.Marshal(tt.expected)
+ require.NoError(t, err)
+ actualJSON, err := json.Marshal(prop)
+ require.NoError(t, err)
+ assert.JSONEq(t, string(expectedJSON), string(actualJSON))
+
+ // Round-trip test: marshal and unmarshal again
+ data, err := json.Marshal(prop)
+ require.NoError(t, err)
+
+ var prop2 ToolProperty
+ err = json.Unmarshal(data, &prop2)
+ require.NoError(t, err)
+
+ prop2JSON, err := json.Marshal(prop2)
+ require.NoError(t, err)
+ assert.JSONEq(t, string(expectedJSON), string(prop2JSON))
+ })
+ }
+}
+
+func TestToolFunctionParameters_String(t *testing.T) {
+ tests := []struct {
+ name string
+ params ToolFunctionParameters
+ expected string
+ }{
+ {
+ name: "simple object with string property",
+ params: ToolFunctionParameters{
+ Type: "object",
+ Required: []string{"name"},
+ Properties: testPropsMap(map[string]ToolProperty{
+ "name": {
+ Type: PropertyType{"string"},
+ Description: "The name of the person",
+ },
+ }),
+ },
+ expected: `{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the person"}}}`,
+ },
+ {
+ name: "marshal failure returns empty string",
+ params: ToolFunctionParameters{
+ Type: "object",
+ Defs: func() any {
+ // Create a cycle that will cause json.Marshal to fail
+ type selfRef struct {
+ Self *selfRef
+ }
+ s := &selfRef{}
+ s.Self = s
+ return s
+ }(),
+ Properties: testPropsMap(map[string]ToolProperty{}),
+ },
+ expected: "",
+ },
+ }
+
+ for _, test := range tests {
+ t.Run(test.name, func(t *testing.T) {
+ result := test.params.String()
+ assert.Equal(t, test.expected, result)
+ })
+ }
+}
+
+func TestToolCallFunctionArguments_OrderPreservation(t *testing.T) {
+ t.Run("marshal preserves insertion order", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ args.Set("zebra", "z")
+ args.Set("apple", "a")
+ args.Set("mango", "m")
+
+ data, err := json.Marshal(args)
+ require.NoError(t, err)
+
+ // Should preserve insertion order, not alphabetical
+ assert.Equal(t, `{"zebra":"z","apple":"a","mango":"m"}`, string(data))
+ })
+
+ t.Run("unmarshal preserves JSON order", func(t *testing.T) {
+ jsonData := `{"zebra":"z","apple":"a","mango":"m"}`
+
+ var args ToolCallFunctionArguments
+ err := json.Unmarshal([]byte(jsonData), &args)
+ require.NoError(t, err)
+
+ // Verify iteration order matches JSON order
+ var keys []string
+ for k := range args.All() {
+ keys = append(keys, k)
+ }
+ assert.Equal(t, []string{"zebra", "apple", "mango"}, keys)
+ })
+
+ t.Run("round trip preserves order", func(t *testing.T) {
+ original := `{"z":1,"a":2,"m":3,"b":4}`
+
+ var args ToolCallFunctionArguments
+ err := json.Unmarshal([]byte(original), &args)
+ require.NoError(t, err)
+
+ data, err := json.Marshal(args)
+ require.NoError(t, err)
+
+ assert.Equal(t, original, string(data))
+ })
+
+ t.Run("String method returns ordered JSON", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ args.Set("c", 3)
+ args.Set("a", 1)
+ args.Set("b", 2)
+
+ assert.Equal(t, `{"c":3,"a":1,"b":2}`, args.String())
+ })
+
+ t.Run("Get retrieves correct values", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ args.Set("key1", "value1")
+ args.Set("key2", 42)
+
+ v, ok := args.Get("key1")
+ assert.True(t, ok)
+ assert.Equal(t, "value1", v)
+
+ v, ok = args.Get("key2")
+ assert.True(t, ok)
+ assert.Equal(t, 42, v)
+
+ _, ok = args.Get("nonexistent")
+ assert.False(t, ok)
+ })
+
+ t.Run("Len returns correct count", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ assert.Equal(t, 0, args.Len())
+
+ args.Set("a", 1)
+ assert.Equal(t, 1, args.Len())
+
+ args.Set("b", 2)
+ assert.Equal(t, 2, args.Len())
+ })
+
+ t.Run("empty args marshal to empty object", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ data, err := json.Marshal(args)
+ require.NoError(t, err)
+ assert.Equal(t, `{}`, string(data))
+ })
+
+ t.Run("zero value args marshal to empty object", func(t *testing.T) {
+ var args ToolCallFunctionArguments
+ assert.Equal(t, "{}", args.String())
+ })
+}
+
+func TestToolPropertiesMap_OrderPreservation(t *testing.T) {
+ t.Run("marshal preserves insertion order", func(t *testing.T) {
+ props := NewToolPropertiesMap()
+ props.Set("zebra", ToolProperty{Type: PropertyType{"string"}})
+ props.Set("apple", ToolProperty{Type: PropertyType{"number"}})
+ props.Set("mango", ToolProperty{Type: PropertyType{"boolean"}})
+
+ data, err := json.Marshal(props)
+ require.NoError(t, err)
+
+ // Should preserve insertion order, not alphabetical
+ expected := `{"zebra":{"type":"string"},"apple":{"type":"number"},"mango":{"type":"boolean"}}`
+ assert.Equal(t, expected, string(data))
+ })
+
+ t.Run("unmarshal preserves JSON order", func(t *testing.T) {
+ jsonData := `{"zebra":{"type":"string"},"apple":{"type":"number"},"mango":{"type":"boolean"}}`
+
+ var props ToolPropertiesMap
+ err := json.Unmarshal([]byte(jsonData), &props)
+ require.NoError(t, err)
+
+ // Verify iteration order matches JSON order
+ var keys []string
+ for k := range props.All() {
+ keys = append(keys, k)
+ }
+ assert.Equal(t, []string{"zebra", "apple", "mango"}, keys)
+ })
+
+ t.Run("round trip preserves order", func(t *testing.T) {
+ original := `{"z":{"type":"string"},"a":{"type":"number"},"m":{"type":"boolean"}}`
+
+ var props ToolPropertiesMap
+ err := json.Unmarshal([]byte(original), &props)
+ require.NoError(t, err)
+
+ data, err := json.Marshal(props)
+ require.NoError(t, err)
+
+ assert.Equal(t, original, string(data))
+ })
+
+ t.Run("Get retrieves correct values", func(t *testing.T) {
+ props := NewToolPropertiesMap()
+ props.Set("name", ToolProperty{Type: PropertyType{"string"}, Description: "The name"})
+ props.Set("age", ToolProperty{Type: PropertyType{"integer"}, Description: "The age"})
+
+ v, ok := props.Get("name")
+ assert.True(t, ok)
+ assert.Equal(t, "The name", v.Description)
+
+ v, ok = props.Get("age")
+ assert.True(t, ok)
+ assert.Equal(t, "The age", v.Description)
+
+ _, ok = props.Get("nonexistent")
+ assert.False(t, ok)
+ })
+
+ t.Run("Len returns correct count", func(t *testing.T) {
+ props := NewToolPropertiesMap()
+ assert.Equal(t, 0, props.Len())
+
+ props.Set("a", ToolProperty{})
+ assert.Equal(t, 1, props.Len())
+
+ props.Set("b", ToolProperty{})
+ assert.Equal(t, 2, props.Len())
+ })
+
+ t.Run("nil props marshal to null", func(t *testing.T) {
+ var props *ToolPropertiesMap
+ data, err := json.Marshal(props)
+ require.NoError(t, err)
+ assert.Equal(t, `null`, string(data))
+ })
+
+ t.Run("ToMap returns regular map", func(t *testing.T) {
+ props := NewToolPropertiesMap()
+ props.Set("a", ToolProperty{Type: PropertyType{"string"}})
+ props.Set("b", ToolProperty{Type: PropertyType{"number"}})
+
+ m := props.ToMap()
+ assert.Equal(t, 2, len(m))
+ assert.Equal(t, PropertyType{"string"}, m["a"].Type)
+ assert.Equal(t, PropertyType{"number"}, m["b"].Type)
+ })
+}
+
+func TestToolCallFunctionArguments_ComplexValues(t *testing.T) {
+ t.Run("nested objects preserve order", func(t *testing.T) {
+ jsonData := `{"outer":{"z":1,"a":2},"simple":"value"}`
+
+ var args ToolCallFunctionArguments
+ err := json.Unmarshal([]byte(jsonData), &args)
+ require.NoError(t, err)
+
+ // Outer keys should be in order
+ var keys []string
+ for k := range args.All() {
+ keys = append(keys, k)
+ }
+ assert.Equal(t, []string{"outer", "simple"}, keys)
+ })
+
+ t.Run("arrays as values", func(t *testing.T) {
+ args := NewToolCallFunctionArguments()
+ args.Set("items", []string{"a", "b", "c"})
+ args.Set("numbers", []int{1, 2, 3})
+
+ data, err := json.Marshal(args)
+ require.NoError(t, err)
+
+ assert.Equal(t, `{"items":["a","b","c"],"numbers":[1,2,3]}`, string(data))
+ })
+}
+
+func TestToolPropertiesMap_NestedProperties(t *testing.T) {
+ t.Run("nested properties preserve order", func(t *testing.T) {
+ props := NewToolPropertiesMap()
+
+ nestedProps := NewToolPropertiesMap()
+ nestedProps.Set("z_field", ToolProperty{Type: PropertyType{"string"}})
+ nestedProps.Set("a_field", ToolProperty{Type: PropertyType{"number"}})
+
+ props.Set("outer", ToolProperty{
+ Type: PropertyType{"object"},
+ Properties: nestedProps,
+ })
+
+ data, err := json.Marshal(props)
+ require.NoError(t, err)
+
+ // Both outer and inner should preserve order
+ expected := `{"outer":{"type":"object","properties":{"z_field":{"type":"string"},"a_field":{"type":"number"}}}}`
+ assert.Equal(t, expected, string(data))
+ })
+}
diff --git a/western_ai/usa/ollama/api/types_typescript_test.go b/western_ai/usa/ollama/api/types_typescript_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..9902c5bee2ef0f8a3e32a9550b1d9672e94c9b61
--- /dev/null
+++ b/western_ai/usa/ollama/api/types_typescript_test.go
@@ -0,0 +1,142 @@
+package api
+
+import (
+ "testing"
+)
+
+func TestToolParameterToTypeScriptType(t *testing.T) {
+ tests := []struct {
+ name string
+ param ToolProperty
+ expected string
+ }{
+ {
+ name: "single string type",
+ param: ToolProperty{
+ Type: PropertyType{"string"},
+ },
+ expected: "string",
+ },
+ {
+ name: "single number type",
+ param: ToolProperty{
+ Type: PropertyType{"number"},
+ },
+ expected: "number",
+ },
+ {
+ name: "integer maps to number",
+ param: ToolProperty{
+ Type: PropertyType{"integer"},
+ },
+ expected: "number",
+ },
+ {
+ name: "boolean type",
+ param: ToolProperty{
+ Type: PropertyType{"boolean"},
+ },
+ expected: "boolean",
+ },
+ {
+ name: "array type",
+ param: ToolProperty{
+ Type: PropertyType{"array"},
+ },
+ expected: "any[]",
+ },
+ {
+ name: "object type",
+ param: ToolProperty{
+ Type: PropertyType{"object"},
+ },
+ expected: "Record",
+ },
+ {
+ name: "null type",
+ param: ToolProperty{
+ Type: PropertyType{"null"},
+ },
+ expected: "null",
+ },
+ {
+ name: "multiple types as union",
+ param: ToolProperty{
+ Type: PropertyType{"string", "number"},
+ },
+ expected: "string | number",
+ },
+ {
+ name: "string or null union",
+ param: ToolProperty{
+ Type: PropertyType{"string", "null"},
+ },
+ expected: "string | null",
+ },
+ {
+ name: "anyOf with single types",
+ param: ToolProperty{
+ AnyOf: []ToolProperty{
+ {Type: PropertyType{"string"}},
+ {Type: PropertyType{"number"}},
+ },
+ },
+ expected: "string | number",
+ },
+ {
+ name: "anyOf with multiple types in each branch",
+ param: ToolProperty{
+ AnyOf: []ToolProperty{
+ {Type: PropertyType{"string", "null"}},
+ {Type: PropertyType{"number"}},
+ },
+ },
+ expected: "string | null | number",
+ },
+ {
+ name: "nested anyOf",
+ param: ToolProperty{
+ AnyOf: []ToolProperty{
+ {Type: PropertyType{"boolean"}},
+ {
+ AnyOf: []ToolProperty{
+ {Type: PropertyType{"string"}},
+ {Type: PropertyType{"number"}},
+ },
+ },
+ },
+ },
+ expected: "boolean | string | number",
+ },
+ {
+ name: "empty type returns any",
+ param: ToolProperty{
+ Type: PropertyType{},
+ },
+ expected: "any",
+ },
+ {
+ name: "unknown type maps to any",
+ param: ToolProperty{
+ Type: PropertyType{"unknown_type"},
+ },
+ expected: "any",
+ },
+ {
+ name: "multiple types including array",
+ param: ToolProperty{
+ Type: PropertyType{"string", "array", "null"},
+ },
+ expected: "string | any[] | null",
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ result := tt.param.ToTypeScriptType()
+ if result != tt.expected {
+ t.Errorf("ToTypeScriptType() = %q, want %q", result, tt.expected)
+ }
+ })
+ }
+}
diff --git a/western_ai/usa/ollama/app/.gitignore b/western_ai/usa/ollama/app/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..d25d066201f942d7eee61aade35aad00be0a27ee
--- /dev/null
+++ b/western_ai/usa/ollama/app/.gitignore
@@ -0,0 +1,11 @@
+ollama.syso
+*.crt
+*.exe
+/app/app
+/app/squirrel
+ollama
+*cover*
+.vscode
+.env
+.DS_Store
+.claude
diff --git a/western_ai/usa/ollama/app/README.md b/western_ai/usa/ollama/app/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..a4e64454a2ace43d41bf24c026dd01e8e6a3956b
--- /dev/null
+++ b/western_ai/usa/ollama/app/README.md
@@ -0,0 +1,97 @@
+# Ollama for macOS and Windows
+
+## Download
+
+- [macOS](https://github.com/ollama/app/releases/download/latest/Ollama.dmg)
+- [Windows](https://github.com/ollama/app/releases/download/latest/OllamaSetup.exe)
+
+## Development
+
+### Desktop App
+
+```bash
+go generate ./... &&
+go run ./cmd/app
+```
+
+### UI Development
+
+#### Setup
+
+Install required tools:
+
+```bash
+go install github.com/tkrajina/typescriptify-golang-structs/tscriptify@latest
+```
+
+#### Develop UI (Development Mode)
+
+1. Start the React development server (with hot-reload):
+
+```bash
+cd ui/app
+npm install
+npm run dev
+```
+
+2. In a separate terminal, run the Ollama app with the `-dev` flag:
+
+```bash
+go generate ./... &&
+OLLAMA_DEBUG=1 go run ./cmd/app -dev
+```
+
+The `-dev` flag enables:
+
+- Loading the UI from the Vite dev server at http://localhost:5173
+- Fixed UI server port at http://127.0.0.1:3001 for API requests
+- CORS headers for cross-origin requests
+- Hot-reload support for UI development
+
+## Build
+
+
+### Windows
+
+- https://jrsoftware.org/isinfo.php
+
+
+**Dependencies** - either build a local copy of ollama, or use a github release
+```powershell
+# Local dependencies
+.\scripts\deps_local.ps1
+
+# Release dependencies
+.\scripts\deps_release.ps1 0.6.8
+```
+
+**Build**
+```powershell
+.\scripts\build_windows.ps1
+```
+
+### macOS
+
+CI builds with Xcode 14.1 for OS compatibility prior to v13. If you want to manually build v11+ support, you can download the older Xcode [here](https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_14.1/Xcode_14.1.xip), extract, then `mv ./Xcode.app /Applications/Xcode_14.1.0.app` then activate with:
+
+```
+export CGO_CFLAGS="-O3 -mmacosx-version-min=12.0"
+export CGO_CXXFLAGS="-O3 -mmacosx-version-min=12.0"
+export CGO_LDFLAGS="-mmacosx-version-min=12.0"
+export SDKROOT=/Applications/Xcode_14.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+export DEVELOPER_DIR=/Applications/Xcode_14.1.0.app/Contents/Developer
+```
+
+**Dependencies** - either build a local copy of Ollama, or use a GitHub release:
+```sh
+# Local dependencies
+./scripts/deps_local.sh
+
+# Release dependencies
+./scripts/deps_release.sh 0.6.8
+```
+
+**Build**
+```sh
+./scripts/build_darwin.sh
+```
diff --git a/western_ai/usa/ollama/app/assets/app.ico b/western_ai/usa/ollama/app/assets/app.ico
new file mode 100644
index 0000000000000000000000000000000000000000..875924f28e3f0e63d3f1a9b42e7fc0864d7f7ee2
Binary files /dev/null and b/western_ai/usa/ollama/app/assets/app.ico differ
diff --git a/western_ai/usa/ollama/app/assets/assets.go b/western_ai/usa/ollama/app/assets/assets.go
new file mode 100644
index 0000000000000000000000000000000000000000..1146e41c5eb41735def5c846b9c416da0f8d213e
--- /dev/null
+++ b/western_ai/usa/ollama/app/assets/assets.go
@@ -0,0 +1,19 @@
+//go:build windows || darwin
+
+package assets
+
+import (
+ "embed"
+ "io/fs"
+)
+
+//go:embed *.ico
+var icons embed.FS
+
+func ListIcons() ([]string, error) {
+ return fs.Glob(icons, "*")
+}
+
+func GetIcon(filename string) ([]byte, error) {
+ return icons.ReadFile(filename)
+}
diff --git a/western_ai/usa/ollama/app/assets/background.png b/western_ai/usa/ollama/app/assets/background.png
new file mode 100644
index 0000000000000000000000000000000000000000..bbfc5879ffbc4ce92ceac7a9c51463b27d6601c3
Binary files /dev/null and b/western_ai/usa/ollama/app/assets/background.png differ
diff --git a/western_ai/usa/ollama/app/assets/setup.bmp b/western_ai/usa/ollama/app/assets/setup.bmp
new file mode 100644
index 0000000000000000000000000000000000000000..ff58b909a1ea964c0436d337d88dda6786043051
Binary files /dev/null and b/western_ai/usa/ollama/app/assets/setup.bmp differ
diff --git a/western_ai/usa/ollama/app/assets/tray.ico b/western_ai/usa/ollama/app/assets/tray.ico
new file mode 100644
index 0000000000000000000000000000000000000000..75b1dec14aa7117cac3864534d9aec22ef6e4a1d
--- /dev/null
+++ b/western_ai/usa/ollama/app/assets/tray.ico
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e5cf83f855d7d57ec6476328809c35b81df216670fd6bd926ff7e7e4dd793e2c
+size 118170
diff --git a/western_ai/usa/ollama/app/assets/tray_upgrade.ico b/western_ai/usa/ollama/app/assets/tray_upgrade.ico
new file mode 100644
index 0000000000000000000000000000000000000000..2b065baa41a01cb8d9db3b514ec8b99f25151aef
--- /dev/null
+++ b/western_ai/usa/ollama/app/assets/tray_upgrade.ico
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:81469785365ee27a86532a39f9fbd92368a49230ec6d510b9992d4bace46f362
+size 118876
diff --git a/western_ai/usa/ollama/app/auth/connect.go b/western_ai/usa/ollama/app/auth/connect.go
new file mode 100644
index 0000000000000000000000000000000000000000..2d3297e187ce967403f70ee0ad2fd011bb1cb90c
--- /dev/null
+++ b/western_ai/usa/ollama/app/auth/connect.go
@@ -0,0 +1,26 @@
+//go:build windows || darwin
+
+package auth
+
+import (
+ "encoding/base64"
+ "fmt"
+ "net/url"
+ "os"
+
+ "github.com/ollama/ollama/auth"
+)
+
+// BuildConnectURL generates the connect URL with the public key and device name
+func BuildConnectURL(baseURL string) (string, error) {
+ pubKey, err := auth.GetPublicKey()
+ if err != nil {
+ return "", fmt.Errorf("failed to get public key: %w", err)
+ }
+
+ encodedKey := base64.RawURLEncoding.EncodeToString([]byte(pubKey))
+ hostname, _ := os.Hostname()
+ encodedDevice := url.QueryEscape(hostname)
+
+ return fmt.Sprintf("%s/connect?name=%s&key=%s&launch=true", baseURL, encodedDevice, encodedKey), nil
+}
diff --git a/western_ai/usa/ollama/app/cmd/app/AppDelegate.h b/western_ai/usa/ollama/app/cmd/app/AppDelegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..365de22b82e5d652bf22d2d789d54c924551055e
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/AppDelegate.h
@@ -0,0 +1,7 @@
+#import
+
+@interface AppDelegate : NSObject
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
+
+@end
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/cmd/app/app.go b/western_ai/usa/ollama/app/cmd/app/app.go
new file mode 100644
index 0000000000000000000000000000000000000000..9c8b736b88a03f44c0aa0a074f42f537a3f58c7f
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/app.go
@@ -0,0 +1,507 @@
+//go:build windows || darwin
+
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "errors"
+ "fmt"
+ "io"
+ "log/slog"
+ "net"
+ "net/http"
+ "net/url"
+ "os"
+ "os/exec"
+ "os/signal"
+ "path/filepath"
+ "runtime"
+ "strings"
+ "syscall"
+ "time"
+
+ "github.com/google/uuid"
+ "github.com/ollama/ollama/app/auth"
+ "github.com/ollama/ollama/app/logrotate"
+ "github.com/ollama/ollama/app/server"
+ "github.com/ollama/ollama/app/store"
+ "github.com/ollama/ollama/app/tools"
+ "github.com/ollama/ollama/app/ui"
+ "github.com/ollama/ollama/app/updater"
+ "github.com/ollama/ollama/app/version"
+)
+
+var (
+ wv = &Webview{}
+ uiServerPort int
+ appStore *store.Store
+)
+
+var debug = strings.EqualFold(os.Getenv("OLLAMA_DEBUG"), "true") || os.Getenv("OLLAMA_DEBUG") == "1"
+
+var (
+ fastStartup = false
+ devMode = false
+)
+
+type appMove int
+
+const (
+ CannotMove appMove = iota
+ UserDeclinedMove
+ MoveCompleted
+ AlreadyMoved
+ LoginSession
+ PermissionDenied
+ MoveError
+)
+
+func main() {
+ startHidden := false
+ var urlSchemeRequest string
+ if len(os.Args) > 1 {
+ for _, arg := range os.Args {
+ // Handle URL scheme requests (Windows)
+ if strings.HasPrefix(arg, "ollama://") {
+ urlSchemeRequest = arg
+ slog.Info("received URL scheme request", "url", arg)
+ continue
+ }
+ switch arg {
+ case "serve":
+ fmt.Fprintln(os.Stderr, "serve command not supported, use ollama")
+ os.Exit(1)
+ case "version", "-v", "--version":
+ fmt.Println(version.Version)
+ os.Exit(0)
+ case "background":
+ // When running the process in this "background" mode, we spawn a
+ // child process for the main app. This is necessary so the
+ // "Allow in the Background" setting in MacOS can be unchecked
+ // without breaking the main app. Two copies of the app are
+ // present in the bundle, one for the main app and one for the
+ // background initiator.
+ fmt.Fprintln(os.Stdout, "starting in background")
+ runInBackground()
+ os.Exit(0)
+ case "hidden", "-j", "--hide":
+ // startHidden suppresses the UI on startup, and can be triggered multiple ways
+ // On windows, path based via login startup detection
+ // On MacOS via [NSApp isHidden] from `open -j -a /Applications/Ollama.app` or equivalent
+ // On both via the "hidden" command line argument
+ startHidden = true
+ case "--fast-startup":
+ // Skip optional steps like pending updates to start quickly for immediate use
+ fastStartup = true
+ case "-dev", "--dev":
+ // Development mode: use local dev server and enable CORS
+ devMode = true
+ }
+ }
+ }
+
+ level := slog.LevelInfo
+ if debug {
+ level = slog.LevelDebug
+ }
+
+ logrotate.Rotate(appLogPath)
+ if _, err := os.Stat(filepath.Dir(appLogPath)); errors.Is(err, os.ErrNotExist) {
+ if err := os.MkdirAll(filepath.Dir(appLogPath), 0o755); err != nil {
+ slog.Error(fmt.Sprintf("failed to create server log dir %v", err))
+ return
+ }
+ }
+
+ var logFile io.Writer
+ var err error
+ logFile, err = os.OpenFile(appLogPath, os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0o755)
+ if err != nil {
+ slog.Error(fmt.Sprintf("failed to create server log %v", err))
+ return
+ }
+ // Detect if we're a GUI app on windows, and if not, send logs to console as well
+ if os.Stderr.Fd() != 0 {
+ // Console app detected
+ logFile = io.MultiWriter(os.Stderr, logFile)
+ }
+
+ handler := slog.NewTextHandler(logFile, &slog.HandlerOptions{
+ Level: level,
+ AddSource: true,
+ ReplaceAttr: func(_ []string, attr slog.Attr) slog.Attr {
+ if attr.Key == slog.SourceKey {
+ source := attr.Value.Any().(*slog.Source)
+ source.File = filepath.Base(source.File)
+ }
+ return attr
+ },
+ })
+
+ slog.SetDefault(slog.New(handler))
+ logStartup()
+
+ // On Windows, check if another instance is running and send URL to it
+ // Do this after logging is set up so we can debug issues
+ if runtime.GOOS == "windows" && urlSchemeRequest != "" {
+ slog.Debug("checking for existing instance", "url", urlSchemeRequest)
+ if checkAndHandleExistingInstance(urlSchemeRequest) {
+ // The function will exit if it successfully sends to another instance
+ // If we reach here, we're the first/only instance
+ } else {
+ // No existing instance found, handle the URL scheme in this instance
+ go func() {
+ handleURLSchemeInCurrentInstance(urlSchemeRequest)
+ }()
+ }
+ }
+
+ // Detect if this is a first start after an upgrade, in
+ // which case we need to do some cleanup
+ var skipMove bool
+ if _, err := os.Stat(updater.UpgradeMarkerFile); err == nil {
+ slog.Debug("first start after upgrade")
+ err = updater.DoPostUpgradeCleanup()
+ if err != nil {
+ slog.Error("failed to cleanup prior version", "error", err)
+ }
+ // We never prompt to move the app after an upgrade
+ skipMove = true
+ // Start hidden after updates to prevent UI from opening automatically
+ startHidden = true
+ }
+
+ if !skipMove && !fastStartup {
+ if maybeMoveAndRestart() == MoveCompleted {
+ return
+ }
+ }
+
+ // Check if another instance is already running
+ // On Windows, focus the existing instance; on other platforms, kill it
+ handleExistingInstance(startHidden)
+
+ // on macOS, offer the user to create a symlink
+ // from /usr/local/bin/ollama to the app bundle
+ installSymlink()
+
+ var ln net.Listener
+ if devMode {
+ // Use a fixed port in dev mode for predictable API access
+ ln, err = net.Listen("tcp", "127.0.0.1:3001")
+ } else {
+ ln, err = net.Listen("tcp", "127.0.0.1:0")
+ }
+ if err != nil {
+ slog.Error("failed to find available port", "error", err)
+ return
+ }
+
+ port := ln.Addr().(*net.TCPAddr).Port
+ token := uuid.NewString()
+ wv.port = port
+ wv.token = token
+ uiServerPort = port
+
+ st := &store.Store{}
+ appStore = st
+
+ // Enable CORS in development mode
+ if devMode {
+ os.Setenv("OLLAMA_CORS", "1")
+
+ // Check if Vite dev server is running on port 5173
+ var conn net.Conn
+ var err error
+ for _, addr := range []string{"127.0.0.1:5173", "localhost:5173"} {
+ conn, err = net.DialTimeout("tcp", addr, 2*time.Second)
+ if err == nil {
+ conn.Close()
+ break
+ }
+ }
+
+ if err != nil {
+ slog.Error("Vite dev server not running on port 5173")
+ fmt.Fprintln(os.Stderr, "Error: Vite dev server is not running on port 5173")
+ fmt.Fprintln(os.Stderr, "Please run 'npm run dev' in the ui/app directory to start the UI in development mode")
+ os.Exit(1)
+ }
+ }
+
+ // Initialize tools registry
+ toolRegistry := tools.NewRegistry()
+ slog.Info("initialized tools registry", "tool_count", len(toolRegistry.List()))
+
+ // ctx is the app-level context that will be used to stop the app
+ ctx, cancel := context.WithCancel(context.Background())
+
+ // octx is the ollama server context that will be used to stop the ollama server
+ octx, ocancel := context.WithCancel(ctx)
+
+ // TODO (jmorganca): instead we should instantiate the
+ // webview with the store instead of assigning it here, however
+ // making the webview a global variable is easier for now
+ wv.Store = st
+ done := make(chan error, 1)
+ osrv := server.New(st, devMode)
+ go func() {
+ slog.Info("starting ollama server")
+ done <- osrv.Run(octx)
+ }()
+
+ upd := &updater.Updater{Store: st}
+
+ uiServer := ui.Server{
+ Token: token,
+ Restart: func() {
+ ocancel()
+ <-done
+ octx, ocancel = context.WithCancel(ctx)
+ go func() {
+ done <- osrv.Run(octx)
+ }()
+ },
+ Store: st,
+ ToolRegistry: toolRegistry,
+ Dev: devMode,
+ Logger: slog.Default(),
+ Updater: upd,
+ UpdateAvailableFunc: func() {
+ UpdateAvailable("")
+ },
+ }
+
+ srv := &http.Server{
+ Handler: uiServer.Handler(),
+ }
+
+ // Start the UI server
+ slog.Info("starting ui server", "port", port)
+ go func() {
+ slog.Debug("starting ui server on port", "port", port)
+ err = srv.Serve(ln)
+ if err != nil && !errors.Is(err, http.ErrServerClosed) {
+ slog.Warn("desktop server", "error", err)
+ }
+ slog.Debug("background desktop server done")
+ }()
+
+ upd.StartBackgroundUpdaterChecker(ctx, UpdateAvailable)
+
+ // Check for pending updates on startup (show tray notification if update is ready)
+ if updater.IsUpdatePending() {
+ // On Windows, the tray is initialized in osRun(). Calling UpdateAvailable
+ // before that would dereference a nil tray callback.
+ // TODO: refactor so the update check runs after platform init on all platforms.
+ if runtime.GOOS == "windows" {
+ slog.Debug("update pending on startup, deferring tray notification until tray initialization")
+ } else {
+ slog.Debug("update pending on startup, showing tray notification")
+ UpdateAvailable("")
+ }
+ }
+
+ hasCompletedFirstRun, err := st.HasCompletedFirstRun()
+ if err != nil {
+ slog.Error("failed to load has completed first run", "error", err)
+ }
+
+ if !hasCompletedFirstRun {
+ err = st.SetHasCompletedFirstRun(true)
+ if err != nil {
+ slog.Error("failed to set has completed first run", "error", err)
+ }
+ }
+
+ // capture SIGINT and SIGTERM signals and gracefully shutdown the app
+ signals := make(chan os.Signal, 1)
+ signal.Notify(signals, syscall.SIGINT, syscall.SIGTERM)
+ go func() {
+ <-signals
+ slog.Info("received SIGINT or SIGTERM signal, shutting down")
+ quit()
+ }()
+
+ if urlSchemeRequest != "" {
+ go func() {
+ handleURLSchemeInCurrentInstance(urlSchemeRequest)
+ }()
+ } else {
+ slog.Debug("no URL scheme request to handle")
+ }
+
+ go func() {
+ slog.Debug("waiting for ollama server to be ready")
+ if err := ui.WaitForServer(ctx, 10*time.Second); err != nil {
+ slog.Warn("ollama server not ready, continuing anyway", "error", err)
+ }
+
+ if _, err := uiServer.UserData(ctx); err != nil {
+ slog.Warn("failed to load user data", "error", err)
+ }
+ }()
+
+ osRun(cancel, hasCompletedFirstRun, startHidden)
+
+ slog.Info("shutting down desktop server")
+ if err := srv.Close(); err != nil {
+ slog.Warn("error shutting down desktop server", "error", err)
+ }
+
+ slog.Info("shutting down ollama server")
+ cancel()
+ <-done
+}
+
+func startHiddenTasks() {
+ // If an upgrade is ready and we're in hidden mode, perform it at startup.
+ // If we're not in hidden mode, we want to start as fast as possible and not
+ // slow the user down with an upgrade.
+ if updater.IsUpdatePending() {
+ if fastStartup {
+ // CLI triggered app startup use-case
+ slog.Info("deferring pending update for fast startup")
+ } else {
+ // Check if auto-update is enabled before automatically upgrading
+ settings, err := appStore.Settings()
+ if err != nil {
+ slog.Warn("failed to load settings for upgrade check", "error", err)
+ } else if !settings.AutoUpdateEnabled {
+ slog.Info("auto-update disabled, skipping automatic upgrade at startup")
+ // Still show tray notification so user knows update is ready
+ UpdateAvailable("")
+ return
+ }
+
+ if err := updater.DoUpgradeAtStartup(); err != nil {
+ slog.Info("unable to perform upgrade at startup", "error", err)
+ // Make sure the restart to upgrade menu shows so we can attempt an interactive upgrade to get authorization
+ UpdateAvailable("")
+ } else {
+ slog.Debug("launching new version...")
+ // TODO - consider a timer that aborts if this takes too long and we haven't been killed yet...
+ LaunchNewApp()
+ os.Exit(0)
+ }
+ }
+ }
+}
+
+func checkUserLoggedIn(uiServerPort int) bool {
+ if uiServerPort == 0 {
+ slog.Debug("UI server not ready yet, skipping auth check")
+ return false
+ }
+
+ resp, err := http.Post(fmt.Sprintf("http://127.0.0.1:%d/api/me", uiServerPort), "application/json", nil)
+ if err != nil {
+ slog.Debug("failed to call local auth endpoint", "error", err)
+ return false
+ }
+ defer resp.Body.Close()
+
+ // Check if the response is successful
+ if resp.StatusCode != http.StatusOK {
+ slog.Debug("auth endpoint returned non-OK status", "status", resp.StatusCode)
+ return false
+ }
+
+ var user struct {
+ ID string `json:"id"`
+ Name string `json:"name"`
+ }
+
+ if err := json.NewDecoder(resp.Body).Decode(&user); err != nil {
+ slog.Debug("failed to parse user response", "error", err)
+ return false
+ }
+
+ // Verify we have a valid user with an ID and name
+ if user.ID == "" || user.Name == "" {
+ slog.Debug("user response missing required fields", "id", user.ID, "name", user.Name)
+ return false
+ }
+
+ slog.Debug("user is logged in", "user_id", user.ID, "user_name", user.Name)
+ return true
+}
+
+// handleConnectURLScheme fetches the connect URL and opens it in the browser
+func handleConnectURLScheme() {
+ if checkUserLoggedIn(uiServerPort) {
+ slog.Info("user is already logged in, opening app instead")
+ showWindow(wv.webview.Window())
+ return
+ }
+
+ connectURL, err := auth.BuildConnectURL("https://ollama.com")
+ if err != nil {
+ slog.Error("failed to build connect URL", "error", err)
+ openInBrowser("https://ollama.com/connect")
+ return
+ }
+
+ openInBrowser(connectURL)
+}
+
+// openInBrowser opens the specified URL in the default browser
+func openInBrowser(url string) {
+ var cmd string
+ var args []string
+
+ switch runtime.GOOS {
+ case "windows":
+ cmd = "rundll32"
+ args = []string{"url.dll,FileProtocolHandler", url}
+ case "darwin":
+ cmd = "open"
+ args = []string{url}
+ default: // "linux", "freebsd", "openbsd", "netbsd"... should not reach here
+ slog.Warn("unsupported OS for openInBrowser", "os", runtime.GOOS)
+ }
+
+ slog.Info("executing browser command", "cmd", cmd, "args", args)
+ if err := exec.Command(cmd, args...).Start(); err != nil {
+ slog.Error("failed to open URL in browser", "url", url, "cmd", cmd, "args", args, "error", err)
+ }
+}
+
+// parseURLScheme parses an ollama:// URL and validates it
+// Supports: ollama:// (open app) and ollama://connect (OAuth)
+func parseURLScheme(urlSchemeRequest string) (isConnect bool, err error) {
+ parsedURL, err := url.Parse(urlSchemeRequest)
+ if err != nil {
+ return false, fmt.Errorf("invalid URL: %w", err)
+ }
+
+ // Check if this is a connect URL
+ if parsedURL.Host == "connect" || strings.TrimPrefix(parsedURL.Path, "/") == "connect" {
+ return true, nil
+ }
+
+ // Allow bare ollama:// or ollama:/// to open the app
+ if (parsedURL.Host == "" && parsedURL.Path == "") || parsedURL.Path == "/" {
+ return false, nil
+ }
+
+ return false, fmt.Errorf("unsupported ollama:// URL path: %s", urlSchemeRequest)
+}
+
+// handleURLSchemeInCurrentInstance processes URL scheme requests in the current instance
+func handleURLSchemeInCurrentInstance(urlSchemeRequest string) {
+ isConnect, err := parseURLScheme(urlSchemeRequest)
+ if err != nil {
+ slog.Error("failed to parse URL scheme request", "url", urlSchemeRequest, "error", err)
+ return
+ }
+
+ if isConnect {
+ handleConnectURLScheme()
+ } else {
+ if wv.webview != nil {
+ showWindow(wv.webview.Window())
+ }
+ }
+}
diff --git a/western_ai/usa/ollama/app/cmd/app/app_darwin.go b/western_ai/usa/ollama/app/cmd/app/app_darwin.go
new file mode 100644
index 0000000000000000000000000000000000000000..8e886a124bda48742c54790b5a7592556fbabefe
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/app_darwin.go
@@ -0,0 +1,262 @@
+//go:build windows || darwin
+
+package main
+
+// #cgo CFLAGS: -x objective-c
+// #cgo LDFLAGS: -framework Webkit -framework Cocoa -framework LocalAuthentication -framework ServiceManagement
+// #include "app_darwin.h"
+// #include "../../updater/updater_darwin.h"
+// typedef const char cchar_t;
+import "C"
+
+import (
+ "log/slog"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "strings"
+ "time"
+ "unsafe"
+
+ "github.com/ollama/ollama/app/updater"
+ "github.com/ollama/ollama/app/version"
+)
+
+var ollamaPath = func() string {
+ if updater.BundlePath != "" {
+ return filepath.Join(updater.BundlePath, "Contents", "Resources", "ollama")
+ }
+
+ pwd, err := os.Getwd()
+ if err != nil {
+ slog.Warn("failed to get pwd", "error", err)
+ return ""
+ }
+ return filepath.Join(pwd, "ollama")
+}()
+
+var (
+ isApp = updater.BundlePath != ""
+ appLogPath = filepath.Join(os.Getenv("HOME"), ".ollama", "logs", "app.log")
+ launchAgentPath = filepath.Join(os.Getenv("HOME"), "Library", "LaunchAgents", "com.ollama.ollama.plist")
+)
+
+// TODO(jmorganca): pre-create the window and pass
+// it to the webview instead of using the internal one
+//
+//export StartUI
+func StartUI(path *C.cchar_t) {
+ p := C.GoString(path)
+ wv.Run(p)
+ styleWindow(wv.webview.Window())
+ C.setWindowDelegate(wv.webview.Window())
+}
+
+//export ShowUI
+func ShowUI() {
+ // If webview is already running, just show the window
+ if wv.IsRunning() && wv.webview != nil {
+ showWindow(wv.webview.Window())
+ } else {
+ root := C.CString("/")
+ defer C.free(unsafe.Pointer(root))
+ StartUI(root)
+ }
+}
+
+//export StopUI
+func StopUI() {
+ wv.Terminate()
+}
+
+//export StartUpdate
+func StartUpdate() {
+ if err := updater.DoUpgrade(true); err != nil {
+ slog.Error("upgrade failed", "error", err)
+ return
+ }
+ slog.Debug("launching new version...")
+ // TODO - consider a timer that aborts if this takes too long and we haven't been killed yet...
+ LaunchNewApp()
+ // not reached if upgrade works, the new app will kill this process
+}
+
+//export darwinStartHiddenTasks
+func darwinStartHiddenTasks() {
+ startHiddenTasks()
+}
+
+func init() {
+ // Temporary code to mimic Squirrel ShipIt behavior
+ if len(os.Args) > 2 {
+ if os.Args[1] == "___launch___" {
+ path := strings.TrimPrefix(os.Args[2], "file://")
+ slog.Info("Ollama binary called as ShipIt - launching", "app", path)
+ appName := C.CString(path)
+ defer C.free(unsafe.Pointer(appName))
+ C.launchApp(appName)
+ slog.Info("other instance has been launched")
+ time.Sleep(5 * time.Second)
+ slog.Info("exiting with zero status")
+ os.Exit(0)
+ }
+ }
+}
+
+// maybeMoveAndRestart checks if we should relocate
+// and returns true if we did and should immediately exit
+func maybeMoveAndRestart() appMove {
+ if updater.BundlePath == "" {
+ // Typically developer mode with 'go run ./cmd/app'
+ return CannotMove
+ }
+ // Respect users intent if they chose "keep" vs. "replace" when dragging to Applications
+ if strings.HasPrefix(updater.BundlePath, strings.TrimSuffix(updater.SystemWidePath, filepath.Ext(updater.SystemWidePath))) {
+ return AlreadyMoved
+ }
+
+ // Ask to move to applications directory
+ status := (appMove)(C.askToMoveToApplications())
+ if status == MoveCompleted {
+ // Double check
+ if _, err := os.Stat(updater.SystemWidePath); err != nil {
+ slog.Warn("stat failure after move", "path", updater.SystemWidePath, "error", err)
+ return MoveError
+ }
+ }
+ return status
+}
+
+// handleExistingInstance handles existing instances on macOS
+func handleExistingInstance(_ bool) {
+ C.killOtherInstances()
+}
+
+func installSymlink() {
+ if !isApp {
+ return
+ }
+ cliPath := C.CString(ollamaPath)
+ defer C.free(unsafe.Pointer(cliPath))
+
+ // Check the users path first
+ cmd, _ := exec.LookPath("ollama")
+ if cmd != "" {
+ resolved, err := os.Readlink(cmd)
+ if err == nil {
+ tmp, err := filepath.Abs(resolved)
+ if err == nil {
+ resolved = tmp
+ }
+ } else {
+ resolved = cmd
+ }
+ if resolved == ollamaPath {
+ slog.Info("ollama already in users PATH", "cli", cmd)
+ return
+ }
+ }
+
+ code := C.installSymlink(cliPath)
+ if code != 0 {
+ slog.Error("Failed to install symlink")
+ }
+}
+
+func UpdateAvailable(ver string) error {
+ slog.Debug("update detected, adjusting menu")
+ // TODO (jmorganca): find a better check for development mode than checking the bundle path
+ if updater.BundlePath != "" {
+ C.updateAvailable()
+ }
+ return nil
+}
+
+func osRun(_ func(), hasCompletedFirstRun, startHidden bool) {
+ registerLaunchAgent(hasCompletedFirstRun)
+
+ // Run the native macOS app
+ // Note: this will block until the app is closed
+ slog.Debug("starting native darwin event loop")
+ C.run(C._Bool(hasCompletedFirstRun), C._Bool(startHidden))
+}
+
+func quit() {
+ C.quit()
+}
+
+func LaunchNewApp() {
+ appName := C.CString(updater.BundlePath)
+ defer C.free(unsafe.Pointer(appName))
+ C.launchApp(appName)
+}
+
+func registerLaunchAgent(hasCompletedFirstRun bool) {
+ // Remove any stale Login Item registrations
+ C.unregisterSelfFromLoginItem()
+
+ C.registerSelfAsLoginItem(C._Bool(hasCompletedFirstRun))
+}
+
+func logStartup() {
+ appPath := updater.BundlePath
+ if appPath == updater.SystemWidePath {
+ // Detect sandboxed scenario
+ exe, err := os.Executable()
+ if err == nil {
+ p := filepath.Dir(exe)
+ if filepath.Base(p) == "MacOS" {
+ p = filepath.Dir(filepath.Dir(p))
+ if p != appPath {
+ slog.Info("starting sandboxed Ollama", "app", appPath, "sandbox", p)
+ return
+ }
+ }
+ }
+ }
+ slog.Info("starting Ollama", "app", appPath, "version", version.Version, "OS", updater.UserAgentOS)
+}
+
+func hideWindow(ptr unsafe.Pointer) {
+ C.hideWindow(C.uintptr_t(uintptr(ptr)))
+}
+
+func showWindow(ptr unsafe.Pointer) {
+ C.showWindow(C.uintptr_t(uintptr(ptr)))
+}
+
+func styleWindow(ptr unsafe.Pointer) {
+ C.styleWindow(C.uintptr_t(uintptr(ptr)))
+}
+
+func runInBackground() {
+ cmd := exec.Command(filepath.Join(updater.BundlePath, "Contents", "MacOS", "Ollama"), "hidden")
+ if cmd != nil {
+ err := cmd.Run()
+ if err != nil {
+ slog.Error("failed to run Ollama", "bundlePath", updater.BundlePath, "error", err)
+ os.Exit(1)
+ }
+ } else {
+ slog.Error("failed to start Ollama in background", "bundlePath", updater.BundlePath)
+ os.Exit(1)
+ }
+}
+
+func drag(ptr unsafe.Pointer) {
+ C.drag(C.uintptr_t(uintptr(ptr)))
+}
+
+func doubleClick(ptr unsafe.Pointer) {
+ C.doubleClick(C.uintptr_t(uintptr(ptr)))
+}
+
+//export handleConnectURL
+func handleConnectURL() {
+ handleConnectURLScheme()
+}
+
+// checkAndHandleExistingInstance is not needed on non-Windows platforms
+func checkAndHandleExistingInstance(_ string) bool {
+ return false
+}
diff --git a/western_ai/usa/ollama/app/cmd/app/app_darwin.h b/western_ai/usa/ollama/app/cmd/app/app_darwin.h
new file mode 100644
index 0000000000000000000000000000000000000000..2a5be19c86c04a31d39e9ec21383fb6da5dad387
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/app_darwin.h
@@ -0,0 +1,43 @@
+#import
+#import
+
+@interface AppDelegate : NSObject
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification;
+@end
+
+enum AppMove
+{
+ CannotMove,
+ UserDeclinedMove,
+ MoveCompleted,
+ AlreadyMoved,
+ LoginSession,
+ PermissionDenied,
+ MoveError,
+};
+
+void run(bool firstTimeRun, bool startHidden);
+void killOtherInstances();
+enum AppMove askToMoveToApplications();
+int createSymlinkWithAuthorization();
+int installSymlink(const char *cliPath);
+extern void Restart();
+// extern void Quit();
+void StartUI(const char *path);
+void ShowUI();
+void StopUI();
+void StartUpdate();
+void darwinStartHiddenTasks();
+void launchApp(const char *appPath);
+void updateAvailable();
+void quit();
+void uiRequest(char *path);
+void registerSelfAsLoginItem(bool firstTimeRun);
+void unregisterSelfFromLoginItem();
+void setWindowDelegate(void *window);
+void showWindow(uintptr_t wndPtr);
+void hideWindow(uintptr_t wndPtr);
+void styleWindow(uintptr_t wndPtr);
+void drag(uintptr_t wndPtr);
+void doubleClick(uintptr_t wndPtr);
+void handleConnectURL();
diff --git a/western_ai/usa/ollama/app/cmd/app/app_darwin.m b/western_ai/usa/ollama/app/cmd/app/app_darwin.m
new file mode 100644
index 0000000000000000000000000000000000000000..717f6d241492cfa2dd56d29f59b5ffe07986377d
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/app_darwin.m
@@ -0,0 +1,1131 @@
+#import "app_darwin.h"
+#import "menu.h"
+#import "../../updater/updater_darwin.h"
+#import
+#import
+#import
+#import
+#import
+#import
+#import
+
+extern NSString *SystemWidePath;
+
+@interface AppDelegate ()
+@property(strong, nonatomic) NSStatusItem *statusItem;
+@property(assign, nonatomic) BOOL updateAvailable;
+@property(assign, nonatomic) BOOL systemShutdownInProgress;
+@end
+
+@implementation AppDelegate
+
+bool firstTimeRun,startHidden; // Set in run before initialization
+
+- (void)application:(NSApplication *)application openURLs:(NSArray *)urls {
+ for (NSURL *url in urls) {
+ if ([url.scheme isEqualToString:@"ollama"]) {
+ NSString *path = url.path;
+
+ if (path && ([path isEqualToString:@"/connect"] || [url.host isEqualToString:@"connect"])) {
+ // Special case: handle connect by opening browser instead of app
+ handleConnectURL();
+ } else {
+ // Set app to be active and visible
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
+ [NSApp activateIgnoringOtherApps:YES];
+ }
+
+ break;
+ }
+ }
+}
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
+ // Register for system shutdown/restart notification so we can allow termination
+ [[[NSWorkspace sharedWorkspace] notificationCenter]
+ addObserver:self
+ selector:@selector(systemWillPowerOff:)
+ name:NSWorkspaceWillPowerOffNotification
+ object:nil];
+
+ // if we're in development mode, set the app icon
+ NSString *bundlePath = [[NSBundle mainBundle] bundlePath];
+ if (![bundlePath hasSuffix:@".app"]) {
+ NSString *cwdPath =
+ [[NSFileManager defaultManager] currentDirectoryPath];
+ NSString *iconPath = [cwdPath
+ stringByAppendingPathComponent:
+ [NSString
+ stringWithFormat:
+ @"darwin/Ollama.app/Contents/Resources/icon.icns"]];
+ NSImage *customIcon = [[NSImage alloc] initWithContentsOfFile:iconPath];
+ [NSApp setApplicationIconImage:customIcon];
+ }
+
+ // Create status item and menu
+ NSMenu *menu = [[NSMenu alloc] init];
+ NSMenuItem *openMenuItem =
+ [[NSMenuItem alloc] initWithTitle:@"Open Ollama"
+ action:@selector(openUI)
+ keyEquivalent:@""];
+ [openMenuItem setTarget:self];
+ [menu addItem:openMenuItem];
+
+ [menu addItemWithTitle:@"Settings..."
+ action:@selector(settingsUI)
+ keyEquivalent:@","];
+ [menu addItem:[NSMenuItem separatorItem]];
+
+ NSMenuItem *updateAvailable =
+ [[NSMenuItem alloc] initWithTitle:@"An update is available"
+ action:nil
+ keyEquivalent:@""];
+ [updateAvailable setEnabled:NO];
+ [updateAvailable setHidden:YES];
+ [menu addItem:updateAvailable];
+
+ NSMenuItem *restartMenuItem =
+ [[NSMenuItem alloc] initWithTitle:@"Restart to update"
+ action:@selector(startUpdate)
+ keyEquivalent:@""];
+ [restartMenuItem setTarget:self];
+ [restartMenuItem setHidden:YES];
+ [menu addItem:restartMenuItem];
+
+ [menu addItem:[NSMenuItem separatorItem]];
+
+ [menu addItemWithTitle:@"Quit Ollama"
+ action:@selector(quit)
+ keyEquivalent:@"q"];
+
+ self.statusItem = [[NSStatusBar systemStatusBar]
+ statusItemWithLength:NSVariableStatusItemLength];
+ [self.statusItem addObserver:self
+ forKeyPath:@"button.effectiveAppearance"
+ options:NSKeyValueObservingOptionNew |
+ NSKeyValueObservingOptionInitial
+ context:nil];
+
+ self.statusItem.menu = menu;
+ [self showIcon];
+
+ // Application menu
+ NSString *appName = @"Ollama";
+
+ NSMenu *mainMenu = [[NSMenu alloc] init];
+ NSMenuItem *appMenuItem = [[NSMenuItem alloc] initWithTitle:appName
+ action:nil
+ keyEquivalent:@""];
+ NSMenu *appMenu = [[NSMenu alloc] initWithTitle:appName];
+ [appMenuItem setSubmenu:appMenu];
+ [mainMenu addItem:appMenuItem];
+
+ [appMenu addItemWithTitle:[NSString stringWithFormat:@"About %@", appName]
+ action:@selector(aboutOllama)
+ keyEquivalent:@""];
+ [appMenu addItem:[NSMenuItem separatorItem]];
+ [appMenu addItemWithTitle:@"Settings..."
+ action:@selector(settingsUI)
+ keyEquivalent:@","];
+ [appMenu addItem:[NSMenuItem separatorItem]];
+ [appMenu addItemWithTitle:[NSString stringWithFormat:@"Hide %@", appName]
+ action:@selector(hide:)
+ keyEquivalent:@"h"];
+
+ NSMenuItem *hideOthers = [[NSMenuItem alloc] initWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"];
+ hideOthers.keyEquivalentModifierMask = NSEventModifierFlagOption | NSEventModifierFlagCommand;
+ [appMenu addItem:hideOthers];
+ [appMenu addItemWithTitle:@"Show All"
+ action:@selector(unhideAllApplications:)
+ keyEquivalent:@""];
+ [appMenu addItem:[NSMenuItem separatorItem]];
+ [appMenu addItemWithTitle:[NSString stringWithFormat:@"Quit %@", appName]
+ action:@selector(hide)
+ keyEquivalent:@"q"];
+
+ NSMenuItem *fileMenuItem = [[NSMenuItem alloc] init];
+ NSMenu *fileMenu = [[NSMenu alloc] initWithTitle:@"File"];
+
+ NSMenuItem *newChatItem = [[NSMenuItem alloc] initWithTitle:@"New Chat"
+ action:@selector(newChat)
+ keyEquivalent:@"n"];
+ [newChatItem setTarget:self];
+ [fileMenu addItem:newChatItem];
+ [fileMenu addItem:[NSMenuItem separatorItem]];
+
+ NSMenuItem *closeItem = [[NSMenuItem alloc] initWithTitle:@"Close Window" action:@selector(hide:) keyEquivalent:@"w"];
+ [fileMenu addItem:closeItem];
+ [fileMenuItem setSubmenu:fileMenu];
+ [mainMenu addItem:fileMenuItem];
+
+ NSMenuItem *editMenuItem = [[NSMenuItem alloc] init];
+ NSMenu *editMenu = [[NSMenu alloc] initWithTitle:@"Edit"];
+
+ [editMenu addItemWithTitle:@"Undo"
+ action:@selector(undo:)
+ keyEquivalent:@"z"];
+ [editMenu addItemWithTitle:@"Redo"
+ action:@selector(redo:)
+ keyEquivalent:@"Z"];
+ [editMenu addItem:[NSMenuItem separatorItem]];
+ [editMenu addItemWithTitle:@"Cut"
+ action:@selector(cut:)
+ keyEquivalent:@"x"];
+ [editMenu addItemWithTitle:@"Copy"
+ action:@selector(copy:)
+ keyEquivalent:@"c"];
+ [editMenu addItemWithTitle:@"Paste"
+ action:@selector(paste:)
+ keyEquivalent:@"v"];
+ [editMenu addItemWithTitle:@"Select All"
+ action:@selector(selectAll:)
+ keyEquivalent:@"a"];
+
+ [editMenuItem setSubmenu:editMenu];
+ [mainMenu addItem:editMenuItem];
+
+ NSMenuItem *windowMenuItem = [[NSMenuItem alloc] init];
+ NSMenu *windowMenu = [[NSMenu alloc] initWithTitle:@"Window"];
+ [windowMenu addItemWithTitle:@"Minimize"
+ action:@selector(performMiniaturize:)
+ keyEquivalent:@"m"];
+ [windowMenu addItemWithTitle:@"Zoom"
+ action:@selector(performZoom:)
+ keyEquivalent:@""];
+ [windowMenu addItem:[NSMenuItem separatorItem]];
+ [windowMenu addItemWithTitle:@"Bring All to Front"
+ action:@selector(arrangeInFront:)
+ keyEquivalent:@""];
+ [windowMenuItem setSubmenu:windowMenu];
+ [mainMenu addItem:windowMenuItem];
+ [NSApp setWindowsMenu:windowMenu];
+
+ NSMenuItem *helpMenuItem = [[NSMenuItem alloc] init];
+ NSMenu *helpMenu = [[NSMenu alloc] initWithTitle:@"Help"];
+ [helpMenu addItemWithTitle:[NSString stringWithFormat:@"%@ Help", appName]
+ action:@selector(openHelp:)
+ keyEquivalent:@"?"];
+ [helpMenuItem setSubmenu:helpMenu];
+ [mainMenu addItem:helpMenuItem];
+ [NSApp setHelpMenu:helpMenu];
+ [NSApp setMainMenu:mainMenu];
+
+ BOOL hidden = [NSApp isHidden];
+ dispatch_async(dispatch_get_main_queue(), ^{
+ if (hidden || startHidden) {
+ darwinStartHiddenTasks();
+ } else {
+ if (!startHidden) {
+ StartUI("/");
+ }
+ }
+ });
+}
+
+- (void)applicationDidBecomeActive:(NSNotification *)notification {
+ NSRunningApplication *currentApp = [NSRunningApplication currentApplication];
+ if (currentApp.activationPolicy == NSApplicationActivationPolicyAccessory) {
+ for (NSWindow *window in [NSApp windows]) {
+ if ([window isVisible]) {
+ // Switch to regular activation policy since we have a visible window
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
+ return;
+ }
+ }
+ [NSApp hide:nil];
+ return;
+ }
+}
+
+- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)hasVisibleWindows {
+ [self openUI];
+ return YES;
+}
+
+- (void)showUpdateAvailable {
+ self.updateAvailable = YES;
+ [self.statusItem.menu.itemArray[3] setHidden:NO];
+ [self.statusItem.menu.itemArray[4] setHidden:NO];
+ [self showIcon];
+}
+
+- (void)aboutOllama {
+ [[NSApplication sharedApplication] orderFrontStandardAboutPanel:nil];
+ [NSApp activateIgnoringOtherApps:YES];
+}
+
+- (void)openHelp:(id)sender {
+ NSURL *url = [NSURL URLWithString:@"https://docs.ollama.com/"];
+ [[NSWorkspace sharedWorkspace] openURL:url];
+}
+
+- (void)settingsUI {
+ [self uiRequest:@"/settings"];
+}
+
+- (void)openUI {
+ ShowUI();
+}
+
+- (void)newChat {
+ [self uiRequest:@"/c/new"];
+}
+
+- (void)uiRequest:(NSString *)path {
+ if (path == nil) {
+ appLogInfo(@"app UI request for URL is missing");
+ }
+
+ appLogInfo([NSString
+ stringWithFormat:@"XXX got app UI request for URL: %@", path]);
+ StartUI([path UTF8String]);
+}
+
+- (void)startUpdate {
+ StartUpdate();
+ [NSApp activateIgnoringOtherApps:YES];
+}
+
+- (void)systemWillPowerOff:(NSNotification *)notification {
+ // Set flag so applicationShouldTerminate: knows to allow termination.
+ // The system will call applicationShouldTerminate: after posting this notification.
+ self.systemShutdownInProgress = YES;
+}
+
+- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender {
+ // Allow termination if the system is shutting down or restarting
+ if (self.systemShutdownInProgress) {
+ return NSTerminateNow;
+ }
+ // Otherwise just hide the app (for Cmd+Q, close button, etc.)
+ [NSApp hide:nil];
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+ return NSTerminateCancel;
+}
+
+- (IBAction)terminate:(id)sender {
+ [NSApp hide:nil];
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+}
+
+- (BOOL)windowShouldClose:(id)sender {
+ [NSApp hide:nil];
+ return NO;
+}
+
+- (void)showIcon {
+ NSAppearance *appearance = self.statusItem.button.effectiveAppearance;
+ NSString *appearanceName = (NSString *)(appearance.name);
+ NSString *iconName = @"ollama";
+ if (self.updateAvailable) {
+ iconName = [iconName stringByAppendingString:@"Update"];
+ }
+ if ([appearanceName containsString:@"Dark"]) {
+ iconName = [iconName stringByAppendingString:@"Dark"];
+ }
+
+ NSImage *statusImage;
+ NSBundle *bundle = [NSBundle mainBundle];
+ if (![bundle.bundlePath hasSuffix:@".app"]) {
+ NSString *cwdPath =
+ [[NSFileManager defaultManager] currentDirectoryPath];
+ NSString *bundlePath =
+ [cwdPath stringByAppendingPathComponent:
+ [NSString stringWithFormat:@"darwin/Ollama.app"]];
+ bundle = [NSBundle bundleWithPath:bundlePath];
+ }
+
+ statusImage = [bundle imageForResource:iconName];
+ [statusImage setTemplate:YES];
+ self.statusItem.button.image = statusImage;
+}
+
+- (void)observeValueForKeyPath:(NSString *)keyPath
+ ofObject:(id)object
+ change:(NSDictionary *)change
+ context:(void *)context {
+ [self showIcon];
+}
+
+- (void)hide {
+ [NSApp hide:nil];
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+}
+
+- (void)quit {
+ [NSApp stop:self];
+ [NSApp postEvent:[NSEvent otherEventWithType:NSEventTypeApplicationDefined
+ location:NSZeroPoint
+ modifierFlags:0
+ timestamp:0
+ windowNumber:0
+ context:nil
+ subtype:0
+ data1:0
+ data2:0]
+ atStart:YES];
+}
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+- (void)registerSelfAsLoginItem:(BOOL)firstTimeRun {
+ appLogInfo(@"using v13+ SMAppService for login registration");
+ // Maps to the file Ollama.app/Contents/Library/LaunchAgents/com.ollama.ollama.plist
+ SMAppService* service = [SMAppService agentServiceWithPlistName:@"com.ollama.ollama.plist"];
+ if (!service) {
+ appLogInfo(@"SMAppService failed to find service for com.ollama.ollama.plist");
+ return;
+ }
+ SMAppServiceStatus status = [service status];
+ switch (status) {
+ case SMAppServiceStatusNotRegistered:
+ appLogInfo(@"service not registered, registering now");
+ break;
+ case SMAppServiceStatusEnabled:
+ appLogInfo(@"service is already enabled, no need to register again");
+ return;
+ case SMAppServiceStatusRequiresApproval:
+ // User has disabled our login behavior explicitly so leave it as is
+ appLogInfo(@"service is currently disabled and will not start at login");
+ return;
+ case SMAppServiceStatusNotFound:
+ appLogInfo(@"service not found, registering now");
+ break;
+ default:
+ appLogInfo([NSString stringWithFormat:@"unexpected status: %ld", (long)status]);
+ break;
+ }
+ NSError *error = nil;
+ if (![service registerAndReturnError:&error]) {
+ appLogInfo([NSString stringWithFormat:@"Failed to register %@ as a login item: %@", NSBundle.mainBundle.bundleURL, error]);
+ return;
+ }
+ return;
+}
+
+/// Remove ollama from the deprecated Login Items list as we now use LaunchAgents
+- (void)unregisterSelfFromLoginItem {
+ NSURL *bundleURL = NSBundle.mainBundle.bundleURL;
+ NSString *bundlePrefix = [SystemWidePath stringByDeletingPathExtension];
+
+ LSSharedFileListRef loginItems =
+ LSSharedFileListCreate(NULL, kLSSharedFileListSessionLoginItems, NULL);
+ if (!loginItems) {
+ return;
+ }
+
+ UInt32 seed;
+ CFArrayRef currentItems = LSSharedFileListCopySnapshot(loginItems, &seed);
+
+ for (id item in (__bridge NSArray *)currentItems) {
+ CFURLRef itemURL = NULL;
+ if (LSSharedFileListItemResolve((LSSharedFileListItemRef)item, 0,
+ &itemURL, NULL) == noErr) {
+ CFStringRef loginPath = CFURLCopyFileSystemPath(itemURL, kCFURLPOSIXPathStyle);
+ // Compare the prefix to match against "keep existing" flow, e.g. // "/Applications/Ollama.app" vs "/Applications/Ollama 2.app"
+ if (loginPath && [(NSString *)loginPath hasPrefix:bundlePrefix]) {
+ appLogInfo([NSString stringWithFormat:@"removing login item %@", loginPath]);
+ LSSharedFileListItemRemove(loginItems,
+ (LSSharedFileListItemRef)item);
+ }
+ if (itemURL) {
+ CFRelease(itemURL);
+ }
+ } else if (!itemURL) {
+ // If the user has removed the App that has a current login item, we can't use
+ // LSSharedFileListItemResolve to get the file path, since it doesn't "resolve"
+ CFStringRef displayName = LSSharedFileListItemCopyDisplayName((LSSharedFileListItemRef)item);
+ if (displayName) {
+ NSString *name = (__bridge NSString *)displayName;
+ if ([name hasPrefix:@"Ollama"]) {
+ LSSharedFileListItemRemove(loginItems, (LSSharedFileListItemRef)item);
+ appLogInfo([NSString stringWithFormat:@"removing dangling login item %@", displayName]);
+ }
+ CFRelease(displayName);
+ }
+ }
+ }
+ if (currentItems) {
+ CFRelease(currentItems);
+ }
+ CFRelease(loginItems);
+}
+#pragma clang diagnostic pop
+
+- (void)windowWillEnterFullScreen:(NSNotification *)notification {
+ NSWindow *w = notification.object;
+ if (w.toolbar != nil) {
+ [w.toolbar setVisible:NO]; // hide the (empty) toolbar
+ }
+}
+
+- (void)windowDidExitFullScreen:(NSNotification *)notification {
+ NSWindow *w = notification.object;
+ if (w.toolbar != nil) {
+ [w.toolbar setVisible:YES]; // show it again
+ }
+}
+
+- (void) webView:(WKWebView *)webView
+decidePolicyForNavigationAction:(WKNavigationAction *)action
+ decisionHandler:(void (^)(WKNavigationActionPolicy))handler
+{
+ NSURL *url = action.request.URL;
+ if (action.navigationType == WKNavigationTypeLinkActivated) {
+ NSString *host = [url.host lowercaseString];
+ if ([host isEqualToString:@"localhost"] ||
+ [host isEqualToString:@"127.0.0.1"]) {
+ handler(WKNavigationActionPolicyCancel);
+ NSString *path = url.path;
+ if (path.length == 0) {
+ path = @"/";
+ }
+ [self uiRequest:path];
+ return;
+ }
+
+ [[NSWorkspace sharedWorkspace] openURL:url];
+ handler(WKNavigationActionPolicyCancel);
+ return;
+ }
+ handler(WKNavigationActionPolicyAllow);
+}
+
+- (nullable WKWebView *)webView:(WKWebView *)webView
+ createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration
+ forNavigationAction:(WKNavigationAction *)action
+ windowFeatures:(WKWindowFeatures *)features
+{
+ // "Open Link in New Window" (or target="_blank") ends up here.
+ NSURL *url = action.request.URL;
+ if (url) {
+ NSString *host = [url.host lowercaseString];
+ if ([host isEqualToString:@"localhost"] ||
+ [host isEqualToString:@"127.0.0.1"]) {
+ return nil;
+ }
+ [[NSWorkspace sharedWorkspace] openURL:url];
+ }
+ return nil;
+}
+
+// TODO (jmorganca): the confirm button is always "Confirm"
+// it should be customizable in the future
+- (void)webView:(WKWebView *)webView
+ runJavaScriptConfirmPanelWithMessage:(NSString *)message
+ initiatedByFrame:(WKFrameInfo *)frame
+ completionHandler:(void (^)(BOOL))completionHandler {
+
+ NSAlert *alert = [[NSAlert alloc] init];
+ [alert setMessageText:message];
+ [alert addButtonWithTitle:@"Confirm"];
+ [alert addButtonWithTitle:@"Cancel"];
+
+ completionHandler([alert runModal] == NSAlertFirstButtonReturn);
+}
+
+// HACK (jmorganca): remove the "Copy Link with Highlight" item from the context menu by
+// swizzling the WKWebView's willOpenMenu:withEvent: method. In the future we should probably
+// subclass the WKWebView and override the context menu items, but this is a quick fix for now.
++ (void)load {
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ [self swizzleWKWebViewContextMenu];
+ });
+}
+
++ (void)swizzleWKWebViewContextMenu {
+ Class class = [WKWebView class];
+
+ SEL originalSelector = @selector(willOpenMenu:withEvent:);
+ SEL swizzledSelector = @selector(ollama_willOpenMenu:withEvent:);
+
+ Method originalMethod = class_getInstanceMethod(class, originalSelector);
+ Method swizzledMethod = class_getInstanceMethod(class, swizzledSelector);
+ BOOL didAddMethod = class_addMethod(class, originalSelector,
+ method_getImplementation(swizzledMethod),
+ method_getTypeEncoding(swizzledMethod));
+
+ if (didAddMethod) {
+ class_replaceMethod(class,
+ swizzledSelector,
+ method_getImplementation(originalMethod),
+ method_getTypeEncoding(originalMethod));
+ } else {
+ method_exchangeImplementations(originalMethod, swizzledMethod);
+ }
+}
+
+@end
+
+@implementation WKWebView (OllamaContextMenu)
+- (void)ollama_willOpenMenu:(NSMenu *)menu withEvent:(NSEvent *)event {
+ [self ollama_willOpenMenu:menu withEvent:event];
+ NSMutableArray *itemsToRemove = [NSMutableArray array];
+ for (NSMenuItem *item in menu.itemArray) {
+ if ([item.title containsString:@"Copy Link with Highlight"] ||
+ [item.title containsString:@"Open Link in New Window"] ||
+ [item.title containsString:@"Services"] ||
+ [item.title containsString:@"Download Linked File"] ||
+ [item.title containsString:@"Back"] ||
+ [item.title containsString:@"Reload"] ||
+ [item.title containsString:@"Refresh"] ||
+ [item.title containsString:@"Open Link"] ||
+ [item.title containsString:@"Copy Link"] ||
+ [item.title containsString:@"Share"]) {
+ [itemsToRemove addObject:item];
+ continue;
+ }
+ }
+
+ for (NSMenuItem *item in itemsToRemove) {
+ [menu removeItem:item];
+ }
+
+ int customItemCount = menu_get_item_count();
+ if (customItemCount > 0) {
+ menuItem* customItems = (menuItem*)menu_get_items();
+ if (customItems) {
+ NSInteger insertIndex = 0;
+
+ for (int i = 0; i < customItemCount; i++) {
+ if (customItems[i].separator) {
+ [menu insertItem:[NSMenuItem separatorItem] atIndex:insertIndex++];
+ } else if (customItems[i].label) {
+ NSString *label = [NSString stringWithUTF8String:customItems[i].label];
+ NSMenuItem *item = [[NSMenuItem alloc] initWithTitle:label
+ action:@selector(handleCustomMenuItem:)
+ keyEquivalent:@""];
+ [item setTarget:self];
+ [item setRepresentedObject:label];
+ [item setEnabled:customItems[i].enabled];
+ [menu insertItem:item atIndex:insertIndex++];
+ }
+ }
+
+ // Add separator after custom items if there are remaining items
+ if (insertIndex > 0 && menu.itemArray.count > insertIndex) {
+ [menu insertItem:[NSMenuItem separatorItem] atIndex:insertIndex];
+ }
+ }
+ }
+}
+
+- (void)handleCustomMenuItem:(NSMenuItem *)sender {
+ NSString *label = [sender representedObject];
+ if (label) {
+ menu_handle_selection((char*)[label UTF8String]);
+ }
+}
+
+@end
+
+AppDelegate *appDelegate;
+void run(bool ftr, bool sh) {
+ [NSApplication sharedApplication];
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+ appDelegate = [[AppDelegate alloc] init];
+ [NSApp setDelegate:appDelegate];
+ firstTimeRun = ftr;
+ startHidden = sh;
+ [NSApp run];
+ StopUI();
+}
+
+// killOtherInstances kills all other instances of the app currently
+// running. This way we can ensure that only the most recently started
+// instance of Ollama is running
+void killOtherInstances() {
+ pid_t myPid = getpid();
+ NSArray *apps = [[NSWorkspace sharedWorkspace] runningApplications];
+
+ for (NSRunningApplication *app in apps) {
+ NSString *bundleId = app.bundleIdentifier;
+
+ // Skip apps without bundle identifiers
+ if (!bundleId || [bundleId length] == 0) {
+ continue;
+ }
+
+ if ([bundleId isEqualToString:[[NSBundle mainBundle] bundleIdentifier]] ||
+ [bundleId isEqualToString:@"ai.ollama.ollama"] ||
+ [bundleId isEqualToString:@"com.electron.ollama"]) {
+
+ pid_t pid = app.processIdentifier;
+ if (pid != myPid && pid > 0) {
+ appLogInfo([NSString stringWithFormat:@"terminating other ollama instance %d", pid]);
+ kill(pid, SIGTERM);
+ } else if (pid == -1) {
+ appLogInfo([NSString stringWithFormat:@"skipping app with invalid pid: %@", bundleId]);
+ }
+ }
+ }
+}
+
+// Move the source bundle to the system-wide applications location
+// without prompting for additional authorization
+bool moveToApplications(const char *src) {
+ NSString *bundlePath = @(src);
+ appLogInfo([NSString
+ stringWithFormat:
+ @"trying move to /Applications without extra authorization"]);
+ NSFileManager *fileManager = [NSFileManager defaultManager];
+
+ // Check if the newPath already exists
+ if ([fileManager fileExistsAtPath:SystemWidePath]) {
+ appLogInfo([NSString stringWithFormat:@"existing install exists"]);
+ NSError *removeError = nil;
+ [fileManager removeItemAtPath:SystemWidePath error:&removeError];
+ if (removeError) {
+ appLogInfo([NSString
+ stringWithFormat:@"Error removing without authorization %@: %@",
+ SystemWidePath, removeError]);
+ return false;
+ }
+ }
+
+ // Move can be problematic, so use copy
+ NSError *err = nil;
+ [fileManager copyItemAtPath:bundlePath toPath:SystemWidePath error:&err];
+ if (err) {
+ appLogInfo(
+ [NSString stringWithFormat:
+ @"unable to copy without authorization %@ to %@: %@",
+ bundlePath, SystemWidePath, err]);
+ return false;
+ }
+
+ // Best effort attempt to remove old content
+ if ([fileManager isDeletableFileAtPath:bundlePath]) {
+ err = nil;
+ [fileManager trashItemAtURL:[NSURL fileURLWithPath:bundlePath]
+ resultingItemURL:nil
+ error:&err];
+ if (err) {
+ appLogInfo(
+ [NSString stringWithFormat:@"unable to clean up now stale "
+ @"bundle via file manager %@: %@",
+ bundlePath, err]);
+ }
+ } else {
+ appLogInfo([NSString stringWithFormat:@"unable to clean up now stale "
+ @"bundle via file manager %@",
+ bundlePath]);
+ }
+
+ appLogInfo([NSString stringWithFormat:@"app relocated %@ to %@", bundlePath,
+ SystemWidePath]);
+ return true;
+}
+
+AuthorizationRef getSymlinkAuthorization() {
+ return getAuthorization(@"Ollama is trying to install its command line "
+ @"interface (CLI) tool.",
+ @"symlink");
+}
+
+// Prompt the user for authorization and move to the system wide
+// location
+//
+// Note: this flow must not be executed from the old app instance
+// otherwise the malware scanner will trigger on subsequent
+// AuthorizationExecuteWithPrivileges calls as it can not
+// verify the calling app's signature on the filesystem
+// once the files are removed
+bool moveToApplicationsWithAuthorization(const char *src) {
+ int pid, status;
+ AuthorizationRef authRef = getAppInstallAuthorization();
+ if (authRef == NULL) {
+ return NO;
+ }
+
+ // Remove existing /Applications/Ollama.app (if any)
+ // - We do this via /bin/rm with elevated privileges
+ //
+ const char *rmTool = "/bin/rm";
+ const char *rmArgs[] = {"-rf", [SystemWidePath UTF8String], NULL};
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ OSStatus err = AuthorizationExecuteWithPrivileges(
+ authRef, rmTool, kAuthorizationFlagDefaults, (char *const *)rmArgs,
+ NULL);
+#pragma clang diagnostic pop
+
+ if (err != errAuthorizationSuccess) {
+ appLogInfo([NSString
+ stringWithFormat:@"Failed to remove existing %@. err = %d",
+ SystemWidePath, err]);
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return NO;
+ }
+
+ // wait for the command to finish
+ pid = wait(&status);
+ if (pid == -1 || !WIFEXITED(status)) {
+ appLogInfo([NSString stringWithFormat:@"rm of %@ failed pid=%d exit=%d",
+ SystemWidePath, pid,
+ WEXITSTATUS(status)]);
+ }
+ appLogDebug([NSString
+ stringWithFormat:@"finished cleaning up prior %@", SystemWidePath]);
+
+ // Copy bundle to /Applications
+ // We can't use mv as we may be denied if we're sandboxed
+ const char *cpTool = "/bin/cp";
+ const char *cpArgs[] = {"-pR", src, [SystemWidePath UTF8String], NULL};
+ appLogDebug([NSString stringWithFormat:@"running authorized cp -pR %s %@",
+ src, SystemWidePath]);
+
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ err = AuthorizationExecuteWithPrivileges(authRef, cpTool,
+ kAuthorizationFlagDefaults,
+ (char *const *)cpArgs, NULL);
+#pragma clang diagnostic pop
+
+ if (err != errAuthorizationSuccess) {
+ appLogInfo(
+ [NSString stringWithFormat:@"Failed to copy %s -> %@. err = %d",
+ src, SystemWidePath, err]);
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return NO;
+ }
+
+ // Wait for the command to finish
+ pid = wait(&status);
+ appLogInfo([NSString stringWithFormat:@"cp -pR %s %@ - pid=%d exit=%d", src,
+ SystemWidePath, pid,
+ WEXITSTATUS(status)]);
+
+ if (pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status)) {
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return NO;
+ }
+
+ // Copy worked, now best effort try to clean up the source bundle
+ // Try file manager, then authorized rm -rf
+ NSFileManager *fileManager = [NSFileManager defaultManager];
+ NSString *bundlePath = @(src);
+ NSError *removeError = nil;
+ err = [fileManager trashItemAtURL:[NSURL fileURLWithPath:bundlePath]
+ resultingItemURL:nil
+ error:&removeError];
+ if (removeError) {
+ appLogInfo(
+ [NSString stringWithFormat:@"unable to clean up now stale "
+ @"bundle via NSFileManager %@: %@",
+ bundlePath, removeError]);
+ const char *rm2Args[] = {"-rf", src, NULL};
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ err = AuthorizationExecuteWithPrivileges(authRef, rmTool,
+ kAuthorizationFlagDefaults,
+ (char *const *)rm2Args, NULL);
+#pragma clang diagnostic pop
+ if (err != errAuthorizationSuccess) {
+ appLogInfo([NSString
+ stringWithFormat:@"Failed to remove existing %s. err = %d", src,
+ err]);
+ } else {
+ // wait for the command to finish
+ pid = wait(&status);
+ appLogInfo([NSString stringWithFormat:@"rm of %s pid=%d exit=%d",
+ src, pid,
+ WEXITSTATUS(status)]);
+ if (pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status)) {
+ appLogInfo([NSString
+ stringWithFormat:@"rm of %s failed pid=%d exit=%d", src,
+ pid, WEXITSTATUS(status)]);
+ } else {
+ appLogDebug([NSString
+ stringWithFormat:@"finished cleaning up %s", src]);
+ }
+ }
+ }
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return YES;
+}
+
+enum AppMove askToMoveToApplications() {
+ NSAppleEventDescriptor *evt =
+ [[NSAppleEventManager sharedAppleEventManager] currentAppleEvent];
+ if (!evt || [evt eventID] != kAEOpenApplication) {
+ // This scenario triggers if we were launched from a double click,
+ // or the CLI spawns the app via open -a Ollama.app
+ appLogDebug([NSString
+ stringWithFormat:@"launched from double click or open -a"]);
+ }
+ NSAppleEventDescriptor *prop =
+ [evt paramDescriptorForKeyword:keyAEPropData];
+ if (prop && [prop enumCodeValue] == keyAELaunchedAsLogInItem) {
+ // For a login session launch, we don't want to prompt for moving if
+ // the user opted out
+ appLogDebug([NSString stringWithFormat:@"launched from login"]);
+ return LoginSession;
+ }
+ pid_t pid = getpid();
+ NSString *bundlePath = [[NSBundle mainBundle] bundlePath];
+ appLogInfo(@"asking to move to system wide location");
+
+ NSAlert *alert = [[NSAlert alloc] init];
+ [alert setMessageText:@"Move to Applications?"];
+ [alert setInformativeText:
+ @"Ollama works best when run from the Applications directory."];
+ [alert addButtonWithTitle:@"Move to Applications"];
+ [alert addButtonWithTitle:@"Don't move"];
+
+ [NSApp activateIgnoringOtherApps:YES];
+
+ if ([alert runModal] != NSAlertFirstButtonReturn) {
+ appLogInfo([NSString
+ stringWithFormat:@"user rejected moving to /Applications"]);
+ return UserDeclinedMove;
+ }
+
+ // move to applications
+ if (!moveToApplications([bundlePath UTF8String])) {
+ if (!moveToApplicationsWithAuthorization([bundlePath UTF8String])) {
+ appLogInfo([NSString
+ stringWithFormat:@"unable to move with authorization"]);
+ return PermissionDenied;
+ }
+ }
+
+ appLogInfo([NSString
+ stringWithFormat:@"Launching %@ from PID=%d", SystemWidePath, pid]);
+ NSError *error = nil;
+ NSWorkspace *workspace = [NSWorkspace sharedWorkspace];
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ [workspace launchApplicationAtURL:[NSURL fileURLWithPath:SystemWidePath]
+ options:NSWorkspaceLaunchNewInstance |
+ NSWorkspaceLaunchDefault
+ configuration:@{}
+ error:&error];
+ return MoveCompleted;
+}
+
+void launchApp(const char *appPath) {
+ pid_t pid = getpid();
+ appLogInfo([NSString
+ stringWithFormat:@"Launching %@ from PID=%d", @(appPath), pid]);
+ NSError *error = nil;
+ NSWorkspace *workspace = [NSWorkspace sharedWorkspace];
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ [workspace launchApplicationAtURL:[NSURL fileURLWithPath:@(appPath)]
+ options:NSWorkspaceLaunchNewInstance |
+ NSWorkspaceLaunchDefault
+ configuration:@{}
+ error:&error];
+}
+
+int installSymlink(const char *cliPath) {
+ NSString *linkPath = @"/usr/local/bin/ollama";
+ NSString *dirPath = @"/usr/local/bin";
+ NSError *error = nil;
+
+ NSFileManager *fileManager = [NSFileManager defaultManager];
+ NSString *symlinkPath =
+ [fileManager destinationOfSymbolicLinkAtPath:linkPath error:&error];
+ NSString *resPath = [NSString stringWithUTF8String:cliPath];
+
+ // if the symlink already exists and points to the right place, don't
+ // prompt
+ if ([symlinkPath isEqualToString:resPath]) {
+ appLogDebug(
+ @"symbolic link already exists and points to the right place");
+ return 0;
+ }
+
+ // Get authorization once for both operations
+ AuthorizationRef authRef = getSymlinkAuthorization();
+ if (authRef == NULL) {
+ return NO;
+ }
+
+ // Check if /usr/local/bin directory exists, create it if it doesn't
+ BOOL isDirectory;
+ if (![fileManager fileExistsAtPath:dirPath isDirectory:&isDirectory] || !isDirectory) {
+ appLogInfo(@"/usr/local/bin directory does not exist, creating it");
+
+ const char *mkdirTool = "/bin/mkdir";
+ const char *mkdirArgs[] = {"-p", [dirPath UTF8String], NULL};
+
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ OSStatus err = AuthorizationExecuteWithPrivileges(
+ authRef, mkdirTool, kAuthorizationFlagDefaults, (char *const *)mkdirArgs,
+ NULL);
+ if (err != errAuthorizationSuccess) {
+ appLogInfo(@"Failed to create /usr/local/bin directory");
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return -1;
+ }
+
+ // Wait for mkdir to complete
+ int status;
+ wait(&status);
+ }
+
+ // Create the symlink using the same authorization
+ const char *toolPath = "/bin/ln";
+ const char *args[] = {"-s", "-F", [resPath UTF8String],
+ "/usr/local/bin/ollama", NULL};
+ FILE *pipe = NULL;
+
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ OSStatus err = AuthorizationExecuteWithPrivileges(
+ authRef, toolPath, kAuthorizationFlagDefaults, (char *const *)args,
+ &pipe);
+ if (err != errAuthorizationSuccess) {
+ appLogInfo(@"Failed to create symlink");
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return -1;
+ }
+
+ AuthorizationFree(authRef, kAuthorizationFlagDestroyRights);
+ return 0;
+}
+
+void updateAvailable() {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [appDelegate showUpdateAvailable];
+ });
+}
+
+void quit() {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [appDelegate quit];
+ });
+}
+
+void uiRequest(char *path) {
+ NSString *p = [NSString stringWithFormat:@"%s", path];
+ appLogInfo([NSString stringWithFormat:@"XXX UI request for URL: %@", p]);
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [appDelegate uiRequest:p];
+ });
+}
+
+void registerSelfAsLoginItem(bool firstTimeRun) {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [appDelegate registerSelfAsLoginItem:firstTimeRun];
+ });
+}
+
+void unregisterSelfFromLoginItem() {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [appDelegate unregisterSelfFromLoginItem];
+ });
+}
+
+static WKWebView *FindWKWebView(NSView *root) {
+ if ([root isKindOfClass:[WKWebView class]]) {
+ return (WKWebView *)root;
+ }
+ for (NSView *child in root.subviews) {
+ WKWebView *found = FindWKWebView(child);
+ if (found) {
+ return found;
+ }
+ }
+ return nil;
+}
+
+void setWindowDelegate(void* window) {
+ NSWindow *w = (__bridge NSWindow *)window;
+ [w setDelegate:appDelegate];
+ WKWebView *webView = FindWKWebView(w.contentView);
+ if (webView) {
+ webView.navigationDelegate = appDelegate;
+ webView.UIDelegate = appDelegate;
+ }
+}
+
+void hideWindow(uintptr_t wndPtr) {
+ NSWindow *w = (__bridge NSWindow *)wndPtr;
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+ [w orderOut:nil];
+}
+
+void showWindow(uintptr_t wndPtr) {
+ NSWindow *w = (__bridge NSWindow *)wndPtr;
+
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
+
+ dispatch_async(dispatch_get_main_queue(), ^{
+ [NSApp unhide:nil];
+ [NSApp activateIgnoringOtherApps:YES];
+ [w makeKeyAndOrderFront:nil];
+ });
+}
+
+void styleWindow(uintptr_t wndPtr) {
+ NSWindow *w = (__bridge NSWindow *)wndPtr;
+ if (!w) return;
+
+ // Define the desired style mask
+ NSWindowStyleMask desiredStyleMask = NSWindowStyleMaskTitled |
+ NSWindowStyleMaskClosable |
+ NSWindowStyleMaskMiniaturizable |
+ NSWindowStyleMaskResizable |
+ NSWindowStyleMaskFullSizeContentView |
+ NSWindowStyleMaskUnifiedTitleAndToolbar;
+
+ if (!(w.styleMask & NSWindowStyleMaskFullScreen)) {
+ w.styleMask = desiredStyleMask;
+ }
+
+ if (w.toolbar == nil) {
+ NSToolbar *tb = [[NSToolbar alloc] initWithIdentifier:@"OllamaToolbar"];
+ tb.displayMode = NSToolbarDisplayModeIconOnly;
+ tb.showsBaselineSeparator = NO;
+ w.toolbar = tb;
+ }
+
+ w.titleVisibility = NSWindowTitleHidden;
+ w.titlebarAppearsTransparent = YES;
+ w.toolbarStyle = NSWindowToolbarStyleUnified;
+ w.movableByWindowBackground = NO;
+ w.hasShadow = YES;
+
+ NSView *cv = w.contentView;
+ cv.wantsLayer = YES;
+ CALayer *L = cv.layer;
+ L.cornerRadius = 0.0;
+ L.masksToBounds = NO;
+ L.borderColor = nil;
+ L.borderWidth = 0.0;
+}
+
+void drag(uintptr_t wndPtr) {
+ NSWindow *w = (__bridge NSWindow *)wndPtr;
+ if (!w) return;
+ NSPoint mouseLoc = [NSEvent mouseLocation];
+ NSPoint locInWindow = [w convertPointFromScreen:mouseLoc];
+
+ NSEvent *e = [NSEvent mouseEventWithType:NSEventTypeLeftMouseDown
+ location:locInWindow
+ modifierFlags:0
+ timestamp:NSTimeIntervalSince1970
+ windowNumber:[w windowNumber]
+ context:nil
+ eventNumber:0
+ clickCount:1
+ pressure:1.0];
+ [w performWindowDragWithEvent:e];
+}
+
+void doubleClick(uintptr_t wndPtr) {
+ NSWindow *w = (__bridge NSWindow *)wndPtr;
+ if (!w) return;
+
+ // Respect the user's Dock preference
+ NSString *action =
+ [[NSUserDefaults standardUserDefaults] stringForKey:@"AppleActionOnDoubleClick"];
+
+ if ([action isEqualToString:@"Minimize"]) {
+ [w performMiniaturize:nil];
+ } else {
+ [w performZoom:nil];
+ }
+}
diff --git a/western_ai/usa/ollama/app/cmd/app/app_windows.go b/western_ai/usa/ollama/app/cmd/app/app_windows.go
new file mode 100644
index 0000000000000000000000000000000000000000..3e2196dd7aba0eb6233f4a186c620959352415d3
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/app_windows.go
@@ -0,0 +1,448 @@
+//go:build windows || darwin
+
+package main
+
+import (
+ "errors"
+ "fmt"
+ "io"
+ "log"
+ "log/slog"
+ "os"
+ "os/exec"
+ "os/signal"
+ "path/filepath"
+ "runtime"
+ "strings"
+ "syscall"
+ "unsafe"
+
+ "github.com/ollama/ollama/app/updater"
+ "github.com/ollama/ollama/app/version"
+ "github.com/ollama/ollama/app/wintray"
+ "golang.org/x/sys/windows"
+)
+
+var (
+ u32 = windows.NewLazySystemDLL("User32.dll")
+ pBringWindowToTop = u32.NewProc("BringWindowToTop")
+ pShowWindow = u32.NewProc("ShowWindow")
+ pSendMessage = u32.NewProc("SendMessageA")
+ pGetSystemMetrics = u32.NewProc("GetSystemMetrics")
+ pGetWindowRect = u32.NewProc("GetWindowRect")
+ pSetWindowPos = u32.NewProc("SetWindowPos")
+ pSetForegroundWindow = u32.NewProc("SetForegroundWindow")
+ pSetActiveWindow = u32.NewProc("SetActiveWindow")
+ pIsIconic = u32.NewProc("IsIconic")
+
+ appPath = filepath.Join(os.Getenv("LOCALAPPDATA"), "Programs", "Ollama")
+ appLogPath = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "app.log")
+ startupShortcut = filepath.Join(os.Getenv("APPDATA"), "Microsoft", "Windows", "Start Menu", "Programs", "Startup", "Ollama.lnk")
+ ollamaPath string
+ DesktopAppName = "ollama app.exe"
+)
+
+func init() {
+ // With alternate install location use executable location
+ exe, err := os.Executable()
+ if err != nil {
+ slog.Warn("error discovering executable directory", "error", err)
+ } else {
+ appPath = filepath.Dir(exe)
+ }
+ ollamaPath = filepath.Join(appPath, "ollama.exe")
+
+ // Handle developer mode (go run ./cmd/app)
+ if _, err := os.Stat(ollamaPath); err != nil {
+ pwd, err := os.Getwd()
+ if err != nil {
+ slog.Warn("missing ollama.exe and failed to get pwd", "error", err)
+ return
+ }
+ distAppPath := filepath.Join(pwd, "dist", "windows-"+runtime.GOARCH)
+ distOllamaPath := filepath.Join(distAppPath, "ollama.exe")
+ if _, err := os.Stat(distOllamaPath); err == nil {
+ slog.Info("detected developer mode")
+ appPath = distAppPath
+ ollamaPath = distOllamaPath
+ }
+ }
+}
+
+func maybeMoveAndRestart() appMove {
+ return 0
+}
+
+// handleExistingInstance checks for existing instances and optionally focuses them
+func handleExistingInstance(startHidden bool) {
+ if wintray.CheckAndFocusExistingInstance(!startHidden) {
+ slog.Info("existing instance found, exiting")
+ os.Exit(0)
+ }
+}
+
+func installSymlink() {}
+
+type appCallbacks struct {
+ t wintray.TrayCallbacks
+ shutdown func()
+}
+
+var app = &appCallbacks{}
+
+func (ac *appCallbacks) UIRun(path string) {
+ wv.Run(path)
+}
+
+func (*appCallbacks) UIShow() {
+ if wv.webview != nil {
+ showWindow(wv.webview.Window())
+ } else {
+ wv.Run("/")
+ }
+}
+
+func (*appCallbacks) UITerminate() {
+ wv.Terminate()
+}
+
+func (*appCallbacks) UIRunning() bool {
+ return wv.IsRunning()
+}
+
+func (app *appCallbacks) Quit() {
+ app.t.Quit()
+ wv.Terminate()
+}
+
+// TODO - reconcile with above for consistency between mac/windows
+func quit() {
+ wv.Terminate()
+}
+
+func (app *appCallbacks) DoUpdate() {
+ // Safeguard in case we have requests in flight that need to drain...
+ slog.Info("Waiting for server to shutdown")
+
+ app.shutdown()
+
+ if err := updater.DoUpgrade(true); err != nil {
+ slog.Warn(fmt.Sprintf("upgrade attempt failed: %s", err))
+ }
+}
+
+// HandleURLScheme implements the URLSchemeHandler interface
+func (app *appCallbacks) HandleURLScheme(urlScheme string) {
+ handleURLSchemeRequest(urlScheme)
+}
+
+// handleURLSchemeRequest processes URL scheme requests from other instances
+func handleURLSchemeRequest(urlScheme string) {
+ isConnect, err := parseURLScheme(urlScheme)
+ if err != nil {
+ slog.Error("failed to parse URL scheme request", "url", urlScheme, "error", err)
+ return
+ }
+
+ if isConnect {
+ handleConnectURLScheme()
+ } else {
+ if wv.webview != nil {
+ showWindow(wv.webview.Window())
+ }
+ }
+}
+
+func UpdateAvailable(ver string) error {
+ if app.t == nil {
+ slog.Debug("tray not yet initialized, skipping update notification")
+ return nil
+ }
+ return app.t.UpdateAvailable(ver)
+}
+
+func osRun(shutdown func(), hasCompletedFirstRun, startHidden bool) {
+ var err error
+ app.shutdown = shutdown
+ app.t, err = wintray.NewTray(app)
+ if err != nil {
+ log.Fatalf("Failed to start: %s", err)
+ }
+
+ // Check for pending updates now that the tray is initialized.
+ // The platform-independent check in app.go fires before osRun,
+ // when app.t is still nil, so we must re-check here.
+ if updater.IsUpdatePending() {
+ slog.Debug("update pending on startup, showing tray notification")
+ UpdateAvailable("")
+ }
+
+ signals := make(chan os.Signal, 1)
+ signal.Notify(signals, syscall.SIGINT, syscall.SIGTERM)
+
+ // TODO - can this be generalized?
+ go func() {
+ <-signals
+ slog.Debug("shutting down due to signal")
+ app.t.Quit()
+ wv.Terminate()
+ }()
+
+ // On windows, we run the final tasks in the main thread
+ // before starting the tray event loop. These final tasks
+ // may trigger the UI, and must do that from the main thread.
+ if !startHidden {
+ // Determine if the process was started from a shortcut
+ // ~\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Ollama
+ const STARTF_TITLEISLINKNAME = 0x00000800
+ var info windows.StartupInfo
+ if err := windows.GetStartupInfo(&info); err != nil {
+ slog.Debug("unable to retrieve startup info", "error", err)
+ } else if info.Flags&STARTF_TITLEISLINKNAME == STARTF_TITLEISLINKNAME {
+ linkPath := windows.UTF16PtrToString(info.Title)
+ if strings.Contains(linkPath, "Startup") {
+ startHidden = true
+ }
+ }
+ }
+ if startHidden {
+ startHiddenTasks()
+ } else {
+ ptr := wv.Run("/")
+
+ // Set the window icon using the tray icon
+ if ptr != nil {
+ iconHandle := app.t.GetIconHandle()
+ if iconHandle != 0 {
+ hwnd := uintptr(ptr)
+ const ICON_SMALL = 0
+ const ICON_BIG = 1
+ const WM_SETICON = 0x0080
+
+ pSendMessage.Call(hwnd, uintptr(WM_SETICON), uintptr(ICON_SMALL), uintptr(iconHandle))
+ pSendMessage.Call(hwnd, uintptr(WM_SETICON), uintptr(ICON_BIG), uintptr(iconHandle))
+ }
+ }
+
+ centerWindow(ptr)
+ }
+
+ if !hasCompletedFirstRun {
+ // Only create the login shortcut on first start
+ // so we can respect users deletion of the link
+ err = createLoginShortcut()
+ if err != nil {
+ slog.Warn("unable to create login shortcut", "error", err)
+ }
+ }
+
+ app.t.TrayRun() // This will block the main thread
+}
+
+func createLoginShortcut() error {
+ // The installer lays down a shortcut for us so we can copy it without
+ // having to resort to calling COM APIs to establish the shortcut
+ shortcutOrigin := filepath.Join(appPath, "lib", "Ollama.lnk")
+
+ _, err := os.Stat(startupShortcut)
+ if err != nil {
+ if errors.Is(err, os.ErrNotExist) {
+ in, err := os.Open(shortcutOrigin)
+ if err != nil {
+ return fmt.Errorf("unable to open shortcut %s : %w", shortcutOrigin, err)
+ }
+ defer in.Close()
+ out, err := os.Create(startupShortcut)
+ if err != nil {
+ return fmt.Errorf("unable to open startup link %s : %w", startupShortcut, err)
+ }
+ defer out.Close()
+ _, err = io.Copy(out, in)
+ if err != nil {
+ return fmt.Errorf("unable to copy shortcut %s : %w", startupShortcut, err)
+ }
+ err = out.Sync()
+ if err != nil {
+ return fmt.Errorf("unable to sync shortcut %s : %w", startupShortcut, err)
+ }
+ slog.Info("Created Startup shortcut", "shortcut", startupShortcut)
+ } else {
+ slog.Warn("unexpected error looking up Startup shortcut", "error", err)
+ }
+ } else {
+ slog.Debug("Startup link already exists", "shortcut", startupShortcut)
+ }
+ return nil
+}
+
+func LaunchNewApp() {
+}
+
+func logStartup() {
+ slog.Info("starting Ollama", "app", appPath, "version", version.Version, "OS", updater.UserAgentOS)
+}
+
+const (
+ SW_HIDE = 0 // Hides the window
+ SW_SHOW = 5 // Shows window in its current size/position
+ SW_SHOWNA = 8 // Shows without activating
+ SW_MINIMIZE = 6 // Minimizes the window
+ SW_RESTORE = 9 // Restores to previous size/position
+ SW_SHOWDEFAULT = 10 // Sets show state based on program state
+ SM_CXSCREEN = 0
+ SM_CYSCREEN = 1
+ HWND_TOP = 0
+ SWP_NOSIZE = 0x0001
+ SWP_NOMOVE = 0x0002
+ SWP_NOZORDER = 0x0004
+ SWP_SHOWWINDOW = 0x0040
+
+ // Menu constants
+ MF_STRING = 0x00000000
+ MF_SEPARATOR = 0x00000800
+ MF_GRAYED = 0x00000001
+ TPM_RETURNCMD = 0x0100
+)
+
+// POINT structure for cursor position
+type POINT struct {
+ X int32
+ Y int32
+}
+
+// Rect structure for GetWindowRect
+type Rect struct {
+ Left int32
+ Top int32
+ Right int32
+ Bottom int32
+}
+
+func centerWindow(ptr unsafe.Pointer) {
+ hwnd := uintptr(ptr)
+ if hwnd == 0 {
+ return
+ }
+
+ var rect Rect
+ pGetWindowRect.Call(hwnd, uintptr(unsafe.Pointer(&rect)))
+
+ screenWidth, _, _ := pGetSystemMetrics.Call(uintptr(SM_CXSCREEN))
+ screenHeight, _, _ := pGetSystemMetrics.Call(uintptr(SM_CYSCREEN))
+
+ windowWidth := rect.Right - rect.Left
+ windowHeight := rect.Bottom - rect.Top
+
+ x := (int32(screenWidth) - windowWidth) / 2
+ y := (int32(screenHeight) - windowHeight) / 2
+
+ // Ensure the window is not positioned off-screen
+ if x < 0 {
+ x = 0
+ }
+ if y < 0 {
+ y = 0
+ }
+
+ pSetWindowPos.Call(
+ hwnd,
+ uintptr(HWND_TOP),
+ uintptr(x),
+ uintptr(y),
+ uintptr(windowWidth), // Keep original width
+ uintptr(windowHeight), // Keep original height
+ uintptr(SWP_SHOWWINDOW),
+ )
+}
+
+func showWindow(ptr unsafe.Pointer) {
+ hwnd := uintptr(ptr)
+ if hwnd != 0 {
+ iconHandle := app.t.GetIconHandle()
+ if iconHandle != 0 {
+ const ICON_SMALL = 0
+ const ICON_BIG = 1
+ const WM_SETICON = 0x0080
+
+ pSendMessage.Call(hwnd, uintptr(WM_SETICON), uintptr(ICON_SMALL), uintptr(iconHandle))
+ pSendMessage.Call(hwnd, uintptr(WM_SETICON), uintptr(ICON_BIG), uintptr(iconHandle))
+ }
+
+ // Check if window is minimized
+ isMinimized, _, _ := pIsIconic.Call(hwnd)
+ if isMinimized != 0 {
+ // Restore the window if it's minimized
+ pShowWindow.Call(hwnd, uintptr(SW_RESTORE))
+ }
+
+ // Show the window
+ pShowWindow.Call(hwnd, uintptr(SW_SHOW))
+
+ // Bring window to top
+ pBringWindowToTop.Call(hwnd)
+
+ // Force window to foreground
+ pSetForegroundWindow.Call(hwnd)
+
+ // Make it the active window
+ pSetActiveWindow.Call(hwnd)
+
+ // Ensure window is positioned on top
+ pSetWindowPos.Call(
+ hwnd,
+ uintptr(HWND_TOP),
+ 0, 0, 0, 0,
+ uintptr(SWP_NOSIZE|SWP_NOMOVE|SWP_SHOWWINDOW),
+ )
+ }
+}
+
+// HideWindow hides the application window
+func hideWindow(ptr unsafe.Pointer) {
+ hwnd := uintptr(ptr)
+ if hwnd != 0 {
+ pShowWindow.Call(
+ hwnd,
+ uintptr(SW_HIDE),
+ )
+ }
+}
+
+func runInBackground() {
+ exe, err := os.Executable()
+ if err != nil {
+ slog.Error("failed to get executable path", "error", err)
+ os.Exit(1)
+ }
+ cmd := exec.Command(exe, "hidden")
+ if cmd != nil {
+ err = cmd.Run()
+ if err != nil {
+ slog.Error("failed to run Ollama", "exe", exe, "error", err)
+ os.Exit(1)
+ }
+ } else {
+ slog.Error("failed to start Ollama", "exe", exe)
+ os.Exit(1)
+ }
+}
+
+func drag(ptr unsafe.Pointer) {}
+
+func doubleClick(ptr unsafe.Pointer) {}
+
+// checkAndHandleExistingInstance checks if another instance is running and sends the URL to it
+func checkAndHandleExistingInstance(urlSchemeRequest string) bool {
+ if urlSchemeRequest == "" {
+ return false
+ }
+
+ // Try to send URL to existing instance using wintray messaging
+ if wintray.CheckAndSendToExistingInstance(urlSchemeRequest) {
+ os.Exit(0)
+ return true
+ }
+
+ // No existing instance, we'll handle it ourselves
+ return false
+}
diff --git a/western_ai/usa/ollama/app/cmd/app/menu.h b/western_ai/usa/ollama/app/cmd/app/menu.h
new file mode 100644
index 0000000000000000000000000000000000000000..9896eff1c0223221842587ab31cdb8caa5472c20
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/menu.h
@@ -0,0 +1,27 @@
+#ifndef MENU_H
+#define MENU_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct
+{
+ char *label;
+ int enabled;
+ int separator;
+} menuItem;
+
+// TODO (jmorganca): these need to be forward declared in the webview.h file
+// for now but ideally they should be in this header file on windows too
+#ifndef WIN32
+int menu_get_item_count();
+void *menu_get_items();
+void menu_handle_selection(char *item);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
diff --git a/western_ai/usa/ollama/app/cmd/app/webview.go b/western_ai/usa/ollama/app/cmd/app/webview.go
new file mode 100644
index 0000000000000000000000000000000000000000..9332f10b4b2375ea875c0484d2a87b404174fc66
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/app/webview.go
@@ -0,0 +1,528 @@
+//go:build windows || darwin
+
+package main
+
+// #include "menu.h"
+import "C"
+
+import (
+ "encoding/base64"
+ "encoding/json"
+ "fmt"
+ "log/slog"
+ "net/http"
+ "os"
+ "path/filepath"
+ "runtime"
+ "strings"
+ "sync"
+ "time"
+ "unsafe"
+
+ "github.com/ollama/ollama/app/dialog"
+ "github.com/ollama/ollama/app/store"
+ "github.com/ollama/ollama/app/webview"
+)
+
+type Webview struct {
+ port int
+ token string
+ webview webview.WebView
+ mutex sync.Mutex
+
+ Store *store.Store
+}
+
+// Run initializes the webview and starts its event loop.
+// Note: this must be called from the primary app thread
+// This returns the OS native window handle to the caller
+func (w *Webview) Run(path string) unsafe.Pointer {
+ var url string
+ if devMode {
+ // In development mode, use the local dev server
+ url = fmt.Sprintf("http://localhost:5173%s", path)
+ } else {
+ url = fmt.Sprintf("http://127.0.0.1:%d%s", w.port, path)
+ }
+ w.mutex.Lock()
+ defer w.mutex.Unlock()
+
+ if w.webview == nil {
+ // Note: turning on debug on macos throws errors but is marginally functional for debugging
+ // TODO (jmorganca): we should pre-create the window and then provide it here to
+ // webview so we can hide it from the start and make other modifications
+ wv := webview.New(debug)
+ // start the window hidden
+ hideWindow(wv.Window())
+ wv.SetTitle("Ollama")
+
+ // TODO (jmorganca): this isn't working yet since it needs to be set
+ // on the first page load, ideally in an interstitial page like `/token`
+ // that exists only to set the cookie and redirect to /
+ // wv.Init(fmt.Sprintf(`document.cookie = "token=%s; path=/"`, w.token))
+ init := `
+ // Disable reload
+ document.addEventListener('keydown', function(e) {
+ if ((e.ctrlKey || e.metaKey) && e.key === 'r') {
+ e.preventDefault();
+ return false;
+ }
+ });
+
+ // Prevent back/forward navigation
+ window.addEventListener('popstate', function(e) {
+ e.preventDefault();
+ history.pushState(null, '', window.location.pathname);
+ return false;
+ });
+
+ // Clear history on load
+ window.addEventListener('load', function() {
+ history.pushState(null, '', window.location.pathname);
+ window.history.replaceState(null, '', window.location.pathname);
+ });
+
+ // Set token cookie
+ document.cookie = "token=` + w.token + `; path=/";
+ `
+ // Windows-specific scrollbar styling
+ if runtime.GOOS == "windows" {
+ init += `
+ // Fix scrollbar styling for Edge WebView2 on Windows only
+ function updateScrollbarStyles() {
+ const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
+ const existingStyle = document.getElementById('scrollbar-style');
+ if (existingStyle) existingStyle.remove();
+
+ const style = document.createElement('style');
+ style.id = 'scrollbar-style';
+
+ if (isDark) {
+ style.textContent = ` + "`" + `
+ ::-webkit-scrollbar { width: 6px !important; height: 6px !important; }
+ ::-webkit-scrollbar-track { background: #1a1a1a !important; }
+ ::-webkit-scrollbar-thumb { background: #404040 !important; border-radius: 6px !important; }
+ ::-webkit-scrollbar-thumb:hover { background: #505050 !important; }
+ ::-webkit-scrollbar-corner { background: #1a1a1a !important; }
+ ::-webkit-scrollbar-button {
+ background: transparent !important;
+ border: none !important;
+ width: 0px !important;
+ height: 0px !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+ ::-webkit-scrollbar-button:vertical:start:decrement {
+ background: transparent !important;
+ height: 0px !important;
+ }
+ ::-webkit-scrollbar-button:vertical:end:increment {
+ background: transparent !important;
+ height: 0px !important;
+ }
+ ::-webkit-scrollbar-button:horizontal:start:decrement {
+ background: transparent !important;
+ width: 0px !important;
+ }
+ ::-webkit-scrollbar-button:horizontal:end:increment {
+ background: transparent !important;
+ width: 0px !important;
+ }
+ ` + "`" + `;
+ } else {
+ style.textContent = ` + "`" + `
+ ::-webkit-scrollbar { width: 6px !important; height: 6px !important; }
+ ::-webkit-scrollbar-track { background: #f0f0f0 !important; }
+ ::-webkit-scrollbar-thumb { background: #c0c0c0 !important; border-radius: 6px !important; }
+ ::-webkit-scrollbar-thumb:hover { background: #a0a0a0 !important; }
+ ::-webkit-scrollbar-corner { background: #f0f0f0 !important; }
+ ::-webkit-scrollbar-button {
+ background: transparent !important;
+ border: none !important;
+ width: 0px !important;
+ height: 0px !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+ ::-webkit-scrollbar-button:vertical:start:decrement {
+ background: transparent !important;
+ height: 0px !important;
+ }
+ ::-webkit-scrollbar-button:vertical:end:increment {
+ background: transparent !important;
+ height: 0px !important;
+ }
+ ::-webkit-scrollbar-button:horizontal:start:decrement {
+ background: transparent !important;
+ width: 0px !important;
+ }
+ ::-webkit-scrollbar-button:horizontal:end:increment {
+ background: transparent !important;
+ width: 0px !important;
+ }
+ ` + "`" + `;
+ }
+ document.head.appendChild(style);
+ }
+
+ window.addEventListener('load', updateScrollbarStyles);
+ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', updateScrollbarStyles);
+ `
+ }
+ // on windows make ctrl+n open new chat
+ // TODO (jmorganca): later we should use proper accelerators
+ // once we introduce a native menu for the window
+ // this is only used on windows since macOS uses the proper accelerators
+ if runtime.GOOS == "windows" {
+ init += `
+ document.addEventListener('keydown', function(e) {
+ if ((e.ctrlKey || e.metaKey) && e.key === 'n') {
+ e.preventDefault();
+ // Use the existing navigation method
+ history.pushState({}, '', '/c/new');
+ window.dispatchEvent(new PopStateEvent('popstate'));
+ return false;
+ }
+ });
+ `
+ }
+
+ init += `
+ window.OLLAMA_WEBSEARCH = true;
+ `
+
+ wv.Init(init)
+
+ // Add keyboard handler for zoom
+ wv.Init(`
+ window.addEventListener('keydown', function(e) {
+ // CMD/Ctrl + Plus/Equals (zoom in)
+ if ((e.metaKey || e.ctrlKey) && (e.key === '+' || e.key === '=')) {
+ e.preventDefault();
+ window.zoomIn && window.zoomIn();
+ return false;
+ }
+
+ // CMD/Ctrl + Minus (zoom out)
+ if ((e.metaKey || e.ctrlKey) && e.key === '-') {
+ e.preventDefault();
+ window.zoomOut && window.zoomOut();
+ return false;
+ }
+
+ // CMD/Ctrl + 0 (reset zoom)
+ if ((e.metaKey || e.ctrlKey) && e.key === '0') {
+ e.preventDefault();
+ window.zoomReset && window.zoomReset();
+ return false;
+ }
+ }, true);
+ `)
+
+ wv.Bind("zoomIn", func() {
+ current := wv.GetZoom()
+ wv.SetZoom(current + 0.1)
+ })
+
+ wv.Bind("zoomOut", func() {
+ current := wv.GetZoom()
+ wv.SetZoom(current - 0.1)
+ })
+
+ wv.Bind("zoomReset", func() {
+ wv.SetZoom(1.0)
+ })
+
+ wv.Bind("ready", func() {
+ showWindow(wv.Window())
+ })
+
+ wv.Bind("close", func() {
+ hideWindow(wv.Window())
+ })
+
+ // Webviews do not allow access to the file system by default, so we need to
+ // bind file system operations here
+ wv.Bind("selectModelsDirectory", func() {
+ go func() {
+ // Helper function to call the JavaScript callback with data or null
+ callCallback := func(data interface{}) {
+ dataJSON, _ := json.Marshal(data)
+ wv.Dispatch(func() {
+ wv.Eval(fmt.Sprintf("window.__selectModelsDirectoryCallback && window.__selectModelsDirectoryCallback(%s)", dataJSON))
+ })
+ }
+
+ directory, err := dialog.Directory().Title("Select Model Directory").ShowHidden(true).Browse()
+ if err != nil {
+ slog.Debug("Directory selection cancelled or failed", "error", err)
+ callCallback(nil)
+ return
+ }
+ slog.Debug("Directory selected", "path", directory)
+ callCallback(directory)
+ }()
+ })
+
+ // Bind selectFiles function for selecting multiple files at once
+ wv.Bind("selectFiles", func() {
+ go func() {
+ // Helper function to call the JavaScript callback with data or null
+ callCallback := func(data interface{}) {
+ dataJSON, _ := json.Marshal(data)
+ wv.Dispatch(func() {
+ wv.Eval(fmt.Sprintf("window.__selectFilesCallback && window.__selectFilesCallback(%s)", dataJSON))
+ })
+ }
+
+ // Define allowed extensions for native dialog filtering
+ textExts := []string{
+ "pdf", "docx", "txt", "md", "csv", "json", "xml", "html", "htm",
+ "js", "jsx", "ts", "tsx", "py", "java", "cpp", "c", "cc", "h", "cs", "php", "rb",
+ "go", "rs", "swift", "kt", "scala", "sh", "bat", "yaml", "yml", "toml", "ini",
+ "cfg", "conf", "log", "rtf",
+ }
+ imageExts := []string{"png", "jpg", "jpeg", "webp"}
+ allowedExts := append(textExts, imageExts...)
+
+ // Use native multiple file selection with extension filtering
+ filenames, err := dialog.File().
+ Filter("Supported Files", allowedExts...).
+ Title("Select Files").
+ LoadMultiple()
+ if err != nil {
+ slog.Debug("Multiple file selection cancelled or failed", "error", err)
+ callCallback(nil)
+ return
+ }
+
+ if len(filenames) == 0 {
+ callCallback(nil)
+ return
+ }
+
+ var files []map[string]string
+ maxFileSize := int64(10 * 1024 * 1024) // 10MB
+
+ for _, filename := range filenames {
+ // Check file extension (double-check after native dialog filtering)
+ ext := strings.ToLower(strings.TrimPrefix(filepath.Ext(filename), "."))
+ validExt := false
+ for _, allowedExt := range allowedExts {
+ if ext == allowedExt {
+ validExt = true
+ break
+ }
+ }
+ if !validExt {
+ slog.Warn("file extension not allowed, skipping", "filename", filepath.Base(filename), "extension", ext)
+ continue
+ }
+
+ // Check file size before reading (pre-filter large files)
+ fileStat, err := os.Stat(filename)
+ if err != nil {
+ slog.Error("failed to get file info", "error", err, "filename", filename)
+ continue
+ }
+
+ if fileStat.Size() > maxFileSize {
+ slog.Warn("file too large, skipping", "filename", filepath.Base(filename), "size", fileStat.Size())
+ continue
+ }
+
+ fileBytes, err := os.ReadFile(filename)
+ if err != nil {
+ slog.Error("failed to read file", "error", err, "filename", filename)
+ continue
+ }
+
+ mimeType := http.DetectContentType(fileBytes)
+ dataURL := fmt.Sprintf("data:%s;base64,%s", mimeType, base64.StdEncoding.EncodeToString(fileBytes))
+
+ fileResult := map[string]string{
+ "filename": filepath.Base(filename),
+ "path": filename,
+ "dataURL": dataURL,
+ }
+
+ files = append(files, fileResult)
+ }
+
+ if len(files) == 0 {
+ callCallback(nil)
+ } else {
+ callCallback(files)
+ }
+ }()
+ })
+
+ wv.Bind("drag", func() {
+ wv.Dispatch(func() {
+ drag(wv.Window())
+ })
+ })
+
+ wv.Bind("doubleClick", func() {
+ wv.Dispatch(func() {
+ doubleClick(wv.Window())
+ })
+ })
+
+ // Add binding for working directory selection
+ wv.Bind("selectWorkingDirectory", func() {
+ go func() {
+ // Helper function to call the JavaScript callback with data or null
+ callCallback := func(data interface{}) {
+ dataJSON, _ := json.Marshal(data)
+ wv.Dispatch(func() {
+ wv.Eval(fmt.Sprintf("window.__selectWorkingDirectoryCallback && window.__selectWorkingDirectoryCallback(%s)", dataJSON))
+ })
+ }
+
+ directory, err := dialog.Directory().Title("Select Working Directory").ShowHidden(true).Browse()
+ if err != nil {
+ slog.Debug("Directory selection cancelled or failed", "error", err)
+ callCallback(nil)
+ return
+ }
+ slog.Debug("Directory selected", "path", directory)
+ callCallback(directory)
+ }()
+ })
+
+ wv.Bind("setContextMenuItems", func(items []map[string]interface{}) error {
+ menuMutex.Lock()
+ defer menuMutex.Unlock()
+
+ if len(menuItems) > 0 {
+ pinner.Unpin()
+ }
+
+ menuItems = nil
+ for _, item := range items {
+ menuItem := C.menuItem{
+ label: C.CString(item["label"].(string)),
+ enabled: 0,
+ separator: 0,
+ }
+
+ if item["enabled"] != nil {
+ menuItem.enabled = 1
+ }
+
+ if item["separator"] != nil {
+ menuItem.separator = 1
+ }
+ menuItems = append(menuItems, menuItem)
+ }
+ return nil
+ })
+
+ // Debounce resize events
+ var resizeTimer *time.Timer
+ var resizeMutex sync.Mutex
+
+ wv.Bind("resize", func(width, height int) {
+ if w.Store != nil {
+ resizeMutex.Lock()
+ if resizeTimer != nil {
+ resizeTimer.Stop()
+ }
+ resizeTimer = time.AfterFunc(100*time.Millisecond, func() {
+ err := w.Store.SetWindowSize(width, height)
+ if err != nil {
+ slog.Error("failed to set window size", "error", err)
+ }
+ })
+ resizeMutex.Unlock()
+ }
+ })
+
+ // On Darwin, we can't have 2 threads both running global event loops
+ // but on Windows, the event loops are tied to the window, so we're
+ // able to run in both the tray and webview
+ if runtime.GOOS != "darwin" {
+ slog.Debug("starting webview event loop")
+ go func() {
+ wv.Run()
+ slog.Debug("webview event loop exited")
+ }()
+ }
+
+ if w.Store != nil {
+ width, height, err := w.Store.WindowSize()
+ if err != nil {
+ slog.Error("failed to get window size", "error", err)
+ }
+ if width > 0 && height > 0 {
+ wv.SetSize(width, height, webview.HintNone)
+ } else {
+ wv.SetSize(800, 600, webview.HintNone)
+ }
+ }
+ wv.SetSize(800, 600, webview.HintMin)
+
+ w.webview = wv
+ w.webview.Navigate(url)
+ } else {
+ w.webview.Eval(fmt.Sprintf(`
+ history.pushState({}, '', '%s');
+ `, path))
+ showWindow(w.webview.Window())
+ }
+
+ return w.webview.Window()
+}
+
+func (w *Webview) Terminate() {
+ w.mutex.Lock()
+ if w.webview == nil {
+ w.mutex.Unlock()
+ return
+ }
+
+ wv := w.webview
+ w.webview = nil
+ w.mutex.Unlock()
+ wv.Terminate()
+ wv.Destroy()
+}
+
+func (w *Webview) IsRunning() bool {
+ w.mutex.Lock()
+ defer w.mutex.Unlock()
+ return w.webview != nil
+}
+
+var (
+ menuItems []C.menuItem
+ menuMutex sync.RWMutex
+ pinner runtime.Pinner
+)
+
+//export menu_get_item_count
+func menu_get_item_count() C.int {
+ menuMutex.RLock()
+ defer menuMutex.RUnlock()
+ return C.int(len(menuItems))
+}
+
+//export menu_get_items
+func menu_get_items() unsafe.Pointer {
+ menuMutex.RLock()
+ defer menuMutex.RUnlock()
+
+ if len(menuItems) == 0 {
+ return nil
+ }
+
+ // Return pointer to the slice data
+ pinner.Pin(&menuItems[0])
+ return unsafe.Pointer(&menuItems[0])
+}
+
+//export menu_handle_selection
+func menu_handle_selection(item *C.char) {
+ wv.webview.Eval(fmt.Sprintf("window.handleContextMenuResult('%s')", C.GoString(item)))
+}
diff --git a/western_ai/usa/ollama/app/cmd/squirrel/Info.plist b/western_ai/usa/ollama/app/cmd/squirrel/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..546162cb5ebab6458c51de9263c8be7551b8d8aa
--- /dev/null
+++ b/western_ai/usa/ollama/app/cmd/squirrel/Info.plist
@@ -0,0 +1,40 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ English
+ CFBundleExecutable
+ Squirrel
+ CFBundleIconFile
+
+ CFBundleIdentifier
+ com.github.Squirrel
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ Squirrel
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1
+ DTCompiler
+ com.apple.compilers.llvm.clang.1_0
+ DTSDKBuild
+ 22E245
+ DTSDKName
+ macosx13.3
+ DTXcode
+ 1431
+ DTXcodeBuild
+ 14E300c
+ NSHumanReadableCopyright
+ Copyright © 2013 GitHub. All rights reserved.
+ NSPrincipalClass
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Info.plist b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Info.plist
new file mode 100644
index 0000000000000000000000000000000000000000..665fd3dfbd47f1872cf33ef28d523aedbc461157
--- /dev/null
+++ b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Info.plist
@@ -0,0 +1,51 @@
+
+
+
+
+ CFBundleDisplayName
+ Ollama
+ CFBundleExecutable
+ Ollama
+ CFBundleIconFile
+ icon.icns
+ CFBundleIdentifier
+ com.electron.ollama
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ Ollama
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 0.0.0
+ CFBundleVersion
+ 0.0.0
+ DTCompiler
+ com.apple.compilers.llvm.clang.1_0
+ DTSDKBuild
+ 22E245
+ DTSDKName
+ macosx14.0
+ DTXcode
+ 1431
+ DTXcodeBuild
+ 14E300c
+ LSApplicationCategoryType
+ public.app-category.developer-tools
+ LSMinimumSystemVersion
+ 14.0
+ LSUIElement
+
+ CFBundleURLTypes
+
+
+ CFBundleURLName
+ Ollama URL
+ CFBundleURLSchemes
+
+ ollama
+
+
+
+
+
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Library/LaunchAgents/com.ollama.ollama.plist b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Library/LaunchAgents/com.ollama.ollama.plist
new file mode 100644
index 0000000000000000000000000000000000000000..f759d89c38eee76f19ebd89a660665bcbfb42343
--- /dev/null
+++ b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Library/LaunchAgents/com.ollama.ollama.plist
@@ -0,0 +1,25 @@
+
+
+
+
+ Label
+ com.ollama.ollama
+ BundleProgram
+ Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
+ ProgramArguments
+
+ Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
+ background
+
+ RunAtLoad
+
+ LimitLoadToSessionType
+ Aqua
+ POSIXSpawnType
+ Interactive
+ LSUIElement
+
+ LSBackgroundOnly
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/icon.icns b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/icon.icns
new file mode 100644
index 0000000000000000000000000000000000000000..3ed0467e0a46f11e85bf2573dc61e762191e7087
--- /dev/null
+++ b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/icon.icns
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef937ea24586ca907dd5e1e0921aec822f93dd67594cf873d946a678db5957d4
+size 223821
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama.png
new file mode 100644
index 0000000000000000000000000000000000000000..8daa976076cf66eb39cc12d4ebf46597e4e447e0
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama@2x.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..d226d0f16752988df9f69e0cd5f728e3b3073bd3
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollama@2x.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark.png
new file mode 100644
index 0000000000000000000000000000000000000000..34a8f898e0df314da42d0b47e2b0cf1fa7ce7c04
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark@2x.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..f2436e4d10a6416545e7a76d5c6e448c9b1a99bd
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaDark@2x.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate.png
new file mode 100644
index 0000000000000000000000000000000000000000..2e9aab35cfa75be7f42436ca6303148a378a6a5c
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate@2x.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..471fe130d59f624dcc541dc67c10f9f5c64e2886
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdate@2x.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark.png
new file mode 100644
index 0000000000000000000000000000000000000000..b7f3fd619cf38186ce8636a76117ae91788b44f8
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark.png differ
diff --git a/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark@2x.png b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark@2x.png
new file mode 100644
index 0000000000000000000000000000000000000000..5672c1aa4928f8965f9287a538c10218f1094332
Binary files /dev/null and b/western_ai/usa/ollama/app/darwin/Ollama.app/Contents/Resources/ollamaUpdateDark@2x.png differ
diff --git a/western_ai/usa/ollama/app/dialog/LICENSE b/western_ai/usa/ollama/app/dialog/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..fcafd991e17242bf0c2046a06e9608f4bd2f5e56
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/LICENSE
@@ -0,0 +1,15 @@
+ISC License
+
+Copyright (c) 2018, the dialog authors.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/dialog/cocoa/dlg.h b/western_ai/usa/ollama/app/dialog/cocoa/dlg.h
new file mode 100644
index 0000000000000000000000000000000000000000..89e8df9d208ba420e18fc0b1349480ab43a3a4b3
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/cocoa/dlg.h
@@ -0,0 +1,43 @@
+#include
+
+typedef enum {
+ MSG_YESNO,
+ MSG_ERROR,
+ MSG_INFO,
+} AlertStyle;
+
+typedef struct {
+ char* msg;
+ char* title;
+ AlertStyle style;
+} AlertDlgParams;
+
+#define LOADDLG 0
+#define SAVEDLG 1
+#define DIRDLG 2 // browse for directory
+
+typedef struct {
+ int mode; /* which dialog style to invoke (see earlier defines) */
+ char* buf; /* buffer to store selected file */
+ int nbuf; /* number of bytes allocated at buf */
+ char* title; /* title for dialog box (can be nil) */
+ void** exts; /* list of valid extensions (elements actual type is NSString*) */
+ int numext; /* number of items in exts */
+ int relaxext; /* allow other extensions? */
+ char* startDir; /* directory to start in (can be nil) */
+ char* filename; /* default filename for dialog box (can be nil) */
+ int showHidden; /* show hidden files? */
+ int allowMultiple; /* allow multiple file selection? */
+} FileDlgParams;
+
+typedef enum {
+ DLG_OK,
+ DLG_CANCEL,
+ DLG_URLFAIL,
+} DlgResult;
+
+DlgResult alertDlg(AlertDlgParams*);
+DlgResult fileDlg(FileDlgParams*);
+
+void* NSStr(void* buf, int len);
+void NSRelease(void* obj);
diff --git a/western_ai/usa/ollama/app/dialog/cocoa/dlg.m b/western_ai/usa/ollama/app/dialog/cocoa/dlg.m
new file mode 100644
index 0000000000000000000000000000000000000000..35188a08b9f430d67487d90e124afe4c7652fa8d
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/cocoa/dlg.m
@@ -0,0 +1,218 @@
+#import
+#include "dlg.h"
+#include
+#include
+
+// Import UniformTypeIdentifiers for macOS 11+
+#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 110000
+#import
+#endif
+
+void* NSStr(void* buf, int len) {
+ return (void*)[[NSString alloc] initWithBytes:buf length:len encoding:NSUTF8StringEncoding];
+}
+
+void checkActivationPolicy() {
+ NSApplicationActivationPolicy policy = [NSApp activationPolicy];
+ // prohibited NSApp will not show the panel at all.
+ // It probably means that this is not run in a GUI app, that would set the policy on its own,
+ // but in a terminal app - setting it to accessory will allow dialogs to show
+ if (policy == NSApplicationActivationPolicyProhibited) {
+ [NSApp setActivationPolicy:NSApplicationActivationPolicyAccessory];
+ }
+}
+
+void NSRelease(void* obj) {
+ [(NSObject*)obj release];
+}
+
+@interface AlertDlg : NSObject {
+ AlertDlgParams* params;
+ DlgResult result;
+}
++ (AlertDlg*)init:(AlertDlgParams*)params;
+- (DlgResult)run;
+@end
+
+DlgResult alertDlg(AlertDlgParams* params) {
+ return [[AlertDlg init:params] run];
+}
+
+@implementation AlertDlg
++ (AlertDlg*)init:(AlertDlgParams*)params {
+ AlertDlg* d = [AlertDlg alloc];
+ d->params = params;
+ return d;
+}
+
+- (DlgResult)run {
+ if(![NSThread isMainThread]) {
+ [self performSelectorOnMainThread:@selector(run) withObject:nil waitUntilDone:YES];
+ return self->result;
+ }
+ NSAlert* alert = [[NSAlert alloc] init];
+ if(self->params->title != nil) {
+ [[alert window] setTitle:[[NSString alloc] initWithUTF8String:self->params->title]];
+ }
+ [alert setMessageText:[[NSString alloc] initWithUTF8String:self->params->msg]];
+ switch (self->params->style) {
+ case MSG_YESNO:
+ [alert addButtonWithTitle:@"Yes"];
+ [alert addButtonWithTitle:@"No"];
+ break;
+ case MSG_ERROR:
+ [alert setIcon:[NSImage imageNamed:NSImageNameCaution]];
+ [alert addButtonWithTitle:@"OK"];
+ break;
+ case MSG_INFO:
+ [alert setIcon:[NSImage imageNamed:NSImageNameInfo]];
+ [alert addButtonWithTitle:@"OK"];
+ break;
+ }
+
+ checkActivationPolicy();
+
+ self->result = [alert runModal] == NSAlertFirstButtonReturn ? DLG_OK : DLG_CANCEL;
+ return self->result;
+}
+@end
+
+@interface FileDlg : NSObject {
+ FileDlgParams* params;
+ DlgResult result;
+}
++ (FileDlg*)init:(FileDlgParams*)params;
+- (DlgResult)run;
+@end
+
+DlgResult fileDlg(FileDlgParams* params) {
+ return [[FileDlg init:params] run];
+}
+
+@implementation FileDlg
++ (FileDlg*)init:(FileDlgParams*)params {
+ FileDlg* d = [FileDlg alloc];
+ d->params = params;
+ return d;
+}
+
+- (DlgResult)run {
+ if(![NSThread isMainThread]) {
+ [self performSelectorOnMainThread:@selector(run) withObject:nil waitUntilDone:YES];
+ } else if(self->params->mode == SAVEDLG) {
+ self->result = [self save];
+ } else {
+ self->result = [self load];
+ }
+ return self->result;
+}
+
+- (NSInteger)runPanel:(NSSavePanel*)panel {
+ [panel setFloatingPanel:YES];
+ [panel setShowsHiddenFiles:self->params->showHidden ? YES : NO];
+ [panel setCanCreateDirectories:YES];
+ if(self->params->title != nil) {
+ [panel setTitle:[[NSString alloc] initWithUTF8String:self->params->title]];
+ }
+ // Use modern allowedContentTypes API for better file type support (especially video files)
+ if(self->params->numext > 0) {
+ NSMutableArray *utTypes = [NSMutableArray arrayWithCapacity:self->params->numext];
+ NSString** exts = (NSString**)self->params->exts;
+ for(int i = 0; i < self->params->numext; i++) {
+ UTType *type = [UTType typeWithFilenameExtension:exts[i]];
+ if(type) {
+ [utTypes addObject:type];
+ }
+ }
+ if([utTypes count] > 0) {
+ [panel setAllowedContentTypes:utTypes];
+ }
+ }
+ if(self->params->relaxext) {
+ [panel setAllowsOtherFileTypes:YES];
+ }
+ if(self->params->startDir) {
+ [panel setDirectoryURL:[NSURL URLWithString:[[NSString alloc] initWithUTF8String:self->params->startDir]]];
+ }
+ if(self->params->filename != nil) {
+ [panel setNameFieldStringValue:[[NSString alloc] initWithUTF8String:self->params->filename]];
+ }
+
+ checkActivationPolicy();
+
+ return [panel runModal];
+}
+
+- (DlgResult)save {
+ NSSavePanel* panel = [NSSavePanel savePanel];
+ if(![self runPanel:panel]) {
+ return DLG_CANCEL;
+ } else if(![[panel URL] getFileSystemRepresentation:self->params->buf maxLength:self->params->nbuf]) {
+ return DLG_URLFAIL;
+ }
+ return DLG_OK;
+}
+
+- (DlgResult)load {
+ NSOpenPanel* panel = [NSOpenPanel openPanel];
+ if(self->params->mode == DIRDLG) {
+ [panel setCanChooseDirectories:YES];
+ [panel setCanChooseFiles:NO];
+ }
+
+ if(self->params->allowMultiple) {
+ [panel setAllowsMultipleSelection:YES];
+ }
+
+ if(![self runPanel:panel]) {
+ return DLG_CANCEL;
+ }
+
+ NSArray* urls = [panel URLs];
+ if([urls count] == 0) {
+ return DLG_CANCEL;
+ }
+
+ if(self->params->allowMultiple) {
+ // For multiple files, we need to return all paths separated by null bytes
+ char* bufPtr = self->params->buf;
+ int remainingBuf = self->params->nbuf;
+
+ // Calculate total required buffer size first
+ int totalSize = 0;
+ for(NSURL* url in urls) {
+ char tempBuf[PATH_MAX];
+ if(![url getFileSystemRepresentation:tempBuf maxLength:PATH_MAX]) {
+ return DLG_URLFAIL;
+ }
+ totalSize += strlen(tempBuf) + 1; // +1 for null terminator
+ }
+ totalSize += 1; // Final null terminator
+
+ if(totalSize > self->params->nbuf) {
+ // Not enough buffer space
+ return DLG_URLFAIL;
+ }
+
+ // Now actually copy the paths (we know we have space)
+ bufPtr = self->params->buf;
+ for(NSURL* url in urls) {
+ char tempBuf[PATH_MAX];
+ [url getFileSystemRepresentation:tempBuf maxLength:PATH_MAX];
+ int pathLen = strlen(tempBuf);
+ strcpy(bufPtr, tempBuf);
+ bufPtr += pathLen + 1;
+ }
+ *bufPtr = '\0'; // Final null terminator
+ } else {
+ // Single file/directory selection - write path to buffer
+ NSURL* url = [urls firstObject];
+ if(![url getFileSystemRepresentation:self->params->buf maxLength:self->params->nbuf]) {
+ return DLG_URLFAIL;
+ }
+ }
+
+ return DLG_OK;
+}
+
+@end
diff --git a/western_ai/usa/ollama/app/dialog/cocoa/dlg_darwin.go b/western_ai/usa/ollama/app/dialog/cocoa/dlg_darwin.go
new file mode 100644
index 0000000000000000000000000000000000000000..6bfae5a1aeaa710fb90dca5a5ac40bea46545b0c
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/cocoa/dlg_darwin.go
@@ -0,0 +1,183 @@
+package cocoa
+
+// #cgo darwin LDFLAGS: -framework Cocoa -framework UniformTypeIdentifiers
+// #include
+// #include
+// #include "dlg.h"
+import "C"
+
+import (
+ "bytes"
+ "errors"
+ "unsafe"
+)
+
+type AlertParams struct {
+ p C.AlertDlgParams
+}
+
+func mkAlertParams(msg, title string, style C.AlertStyle) *AlertParams {
+ a := AlertParams{C.AlertDlgParams{msg: C.CString(msg), style: style}}
+ if title != "" {
+ a.p.title = C.CString(title)
+ }
+ return &a
+}
+
+func (a *AlertParams) run() C.DlgResult {
+ return C.alertDlg(&a.p)
+}
+
+func (a *AlertParams) free() {
+ C.free(unsafe.Pointer(a.p.msg))
+ if a.p.title != nil {
+ C.free(unsafe.Pointer(a.p.title))
+ }
+}
+
+func nsStr(s string) unsafe.Pointer {
+ return C.NSStr(unsafe.Pointer(&[]byte(s)[0]), C.int(len(s)))
+}
+
+func YesNoDlg(msg, title string) bool {
+ a := mkAlertParams(msg, title, C.MSG_YESNO)
+ defer a.free()
+ return a.run() == C.DLG_OK
+}
+
+func InfoDlg(msg, title string) {
+ a := mkAlertParams(msg, title, C.MSG_INFO)
+ defer a.free()
+ a.run()
+}
+
+func ErrorDlg(msg, title string) {
+ a := mkAlertParams(msg, title, C.MSG_ERROR)
+ defer a.free()
+ a.run()
+}
+
+const (
+ BUFSIZE = C.PATH_MAX
+ MULTI_FILE_BUF_SIZE = 32768
+)
+
+// MultiFileDlg opens a file dialog that allows multiple file selection
+func MultiFileDlg(title string, exts []string, relaxExt bool, startDir string, showHidden bool) ([]string, error) {
+ return fileDlgWithOptions(C.LOADDLG, title, exts, relaxExt, startDir, "", showHidden, true)
+}
+
+// FileDlg opens a file dialog for single file selection (kept for compatibility)
+func FileDlg(save bool, title string, exts []string, relaxExt bool, startDir string, filename string, showHidden bool) (string, error) {
+ mode := C.LOADDLG
+ if save {
+ mode = C.SAVEDLG
+ }
+ files, err := fileDlgWithOptions(mode, title, exts, relaxExt, startDir, filename, showHidden, false)
+ if err != nil {
+ return "", err
+ }
+ if len(files) == 0 {
+ return "", nil
+ }
+ return files[0], nil
+}
+
+func DirDlg(title string, startDir string, showHidden bool) (string, error) {
+ files, err := fileDlgWithOptions(C.DIRDLG, title, nil, false, startDir, "", showHidden, false)
+ if err != nil {
+ return "", err
+ }
+ if len(files) == 0 {
+ return "", nil
+ }
+ return files[0], nil
+}
+
+// fileDlgWithOptions is the unified file dialog function that handles both single and multiple selection
+func fileDlgWithOptions(mode int, title string, exts []string, relaxExt bool, startDir, filename string, showHidden, allowMultiple bool) ([]string, error) {
+ // Use larger buffer for multiple files, smaller for single
+ bufSize := BUFSIZE
+ if allowMultiple {
+ bufSize = MULTI_FILE_BUF_SIZE
+ }
+
+ p := C.FileDlgParams{
+ mode: C.int(mode),
+ nbuf: C.int(bufSize),
+ }
+
+ if allowMultiple {
+ p.allowMultiple = C.int(1) // Enable multiple selection //nolint:structcheck
+ }
+ if showHidden {
+ p.showHidden = 1
+ }
+
+ p.buf = (*C.char)(C.malloc(C.size_t(bufSize)))
+ defer C.free(unsafe.Pointer(p.buf))
+ buf := (*(*[MULTI_FILE_BUF_SIZE]byte)(unsafe.Pointer(p.buf)))[:bufSize]
+
+ if title != "" {
+ p.title = C.CString(title)
+ defer C.free(unsafe.Pointer(p.title))
+ }
+ if startDir != "" {
+ p.startDir = C.CString(startDir)
+ defer C.free(unsafe.Pointer(p.startDir))
+ }
+ if filename != "" {
+ p.filename = C.CString(filename)
+ defer C.free(unsafe.Pointer(p.filename))
+ }
+
+ if len(exts) > 0 {
+ if len(exts) > 999 {
+ panic("more than 999 extensions not supported")
+ }
+ ptrSize := int(unsafe.Sizeof(&title))
+ p.exts = (*unsafe.Pointer)(C.malloc(C.size_t(ptrSize * len(exts))))
+ defer C.free(unsafe.Pointer(p.exts))
+ cext := (*(*[999]unsafe.Pointer)(unsafe.Pointer(p.exts)))[:]
+ for i, ext := range exts {
+ cext[i] = nsStr(ext)
+ defer C.NSRelease(cext[i])
+ }
+ p.numext = C.int(len(exts))
+ if relaxExt {
+ p.relaxext = 1
+ }
+ }
+
+ // Execute dialog and parse results
+ switch C.fileDlg(&p) {
+ case C.DLG_OK:
+ if allowMultiple {
+ // Parse multiple null-terminated strings from buffer
+ var files []string
+ start := 0
+ for i := range len(buf) - 1 {
+ if buf[i] == 0 {
+ if i > start {
+ files = append(files, string(buf[start:i]))
+ }
+ start = i + 1
+ // Check for double null (end of list)
+ if i+1 < len(buf) && buf[i+1] == 0 {
+ break
+ }
+ }
+ }
+ return files, nil
+ } else {
+ // Single file - return as array for consistency
+ filename := string(buf[:bytes.Index(buf, []byte{0})])
+ return []string{filename}, nil
+ }
+ case C.DLG_CANCEL:
+ return nil, nil
+ case C.DLG_URLFAIL:
+ return nil, errors.New("failed to get file-system representation for selected URL")
+ }
+ panic("unhandled case")
+}
diff --git a/western_ai/usa/ollama/app/dialog/dlgs.go b/western_ai/usa/ollama/app/dialog/dlgs.go
new file mode 100644
index 0000000000000000000000000000000000000000..700f79fc46e7023ba13a1db02099badc382c0348
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/dlgs.go
@@ -0,0 +1,182 @@
+//go:build windows || darwin
+
+// Package dialog provides a simple cross-platform common dialog API.
+// Eg. to prompt the user with a yes/no dialog:
+//
+// if dialog.MsgDlg("%s", "Do you want to continue?").YesNo() {
+// // user pressed Yes
+// }
+//
+// The general usage pattern is to call one of the toplevel *Dlg functions
+// which return a *Builder structure. From here you can optionally call
+// configuration functions (eg. Title) to customise the dialog, before
+// using a launcher function to run the dialog.
+package dialog
+
+import (
+ "errors"
+ "fmt"
+)
+
+// ErrCancelled is an error returned when a user cancels/closes a dialog.
+var ErrCancelled = errors.New("Cancelled")
+
+// Cancelled refers to ErrCancelled.
+// Deprecated: Use ErrCancelled instead.
+var Cancelled = ErrCancelled
+
+// Dlg is the common type for dialogs.
+type Dlg struct {
+ Title string
+}
+
+// MsgBuilder is used for creating message boxes.
+type MsgBuilder struct {
+ Dlg
+ Msg string
+}
+
+// Message initialises a MsgBuilder with the provided message.
+func Message(format string, args ...interface{}) *MsgBuilder {
+ return &MsgBuilder{Msg: fmt.Sprintf(format, args...)}
+}
+
+// Title specifies what the title of the message dialog will be.
+func (b *MsgBuilder) Title(title string) *MsgBuilder {
+ b.Dlg.Title = title
+ return b
+}
+
+// YesNo spawns the message dialog with two buttons, "Yes" and "No".
+// Returns true iff the user selected "Yes".
+func (b *MsgBuilder) YesNo() bool {
+ return b.yesNo()
+}
+
+// Info spawns the message dialog with an information icon and single button, "Ok".
+func (b *MsgBuilder) Info() {
+ b.info()
+}
+
+// Error spawns the message dialog with an error icon and single button, "Ok".
+func (b *MsgBuilder) Error() {
+ b.error()
+}
+
+// FileFilter represents a category of files (eg. audio files, spreadsheets).
+type FileFilter struct {
+ Desc string
+ Extensions []string
+}
+
+// FileBuilder is used for creating file browsing dialogs.
+type FileBuilder struct {
+ Dlg
+ StartDir string
+ StartFile string
+ Filters []FileFilter
+ ShowHiddenFiles bool
+}
+
+// File initialises a FileBuilder using the default configuration.
+func File() *FileBuilder {
+ return &FileBuilder{}
+}
+
+// Title specifies the title to be used for the dialog.
+func (b *FileBuilder) Title(title string) *FileBuilder {
+ b.Dlg.Title = title
+ return b
+}
+
+// Filter adds a category of files to the types allowed by the dialog. Multiple
+// calls to Filter are cumulative - any of the provided categories will be allowed.
+// By default all files can be selected.
+//
+// The special extension '*' allows all files to be selected when the Filter is active.
+func (b *FileBuilder) Filter(desc string, extensions ...string) *FileBuilder {
+ filt := FileFilter{desc, extensions}
+ if len(filt.Extensions) == 0 {
+ filt.Extensions = append(filt.Extensions, "*")
+ }
+ b.Filters = append(b.Filters, filt)
+ return b
+}
+
+// SetStartDir specifies the initial directory of the dialog.
+func (b *FileBuilder) SetStartDir(startDir string) *FileBuilder {
+ b.StartDir = startDir
+ return b
+}
+
+// SetStartFile specifies the initial file name of the dialog.
+func (b *FileBuilder) SetStartFile(startFile string) *FileBuilder {
+ b.StartFile = startFile
+ return b
+}
+
+// ShowHiddenFiles sets whether hidden files should be visible in the dialog.
+func (b *FileBuilder) ShowHidden(show bool) *FileBuilder {
+ b.ShowHiddenFiles = show
+ return b
+}
+
+// Load spawns the file selection dialog using the configured settings,
+// asking the user to select a single file. Returns ErrCancelled as the error
+// if the user cancels or closes the dialog.
+func (b *FileBuilder) Load() (string, error) {
+ return b.load()
+}
+
+// LoadMultiple spawns the file selection dialog using the configured settings,
+// asking the user to select multiple files. Returns ErrCancelled as the error
+// if the user cancels or closes the dialog.
+func (b *FileBuilder) LoadMultiple() ([]string, error) {
+ return b.loadMultiple()
+}
+
+// Save spawns the file selection dialog using the configured settings,
+// asking the user for a filename to save as. If the chosen file exists, the
+// user is prompted whether they want to overwrite the file. Returns
+// ErrCancelled as the error if the user cancels/closes the dialog, or selects
+// not to overwrite the file.
+func (b *FileBuilder) Save() (string, error) {
+ return b.save()
+}
+
+// DirectoryBuilder is used for directory browse dialogs.
+type DirectoryBuilder struct {
+ Dlg
+ StartDir string
+ ShowHiddenFiles bool
+}
+
+// Directory initialises a DirectoryBuilder using the default configuration.
+func Directory() *DirectoryBuilder {
+ return &DirectoryBuilder{}
+}
+
+// Browse spawns the directory selection dialog using the configured settings,
+// asking the user to select a single folder. Returns ErrCancelled as the error
+// if the user cancels or closes the dialog.
+func (b *DirectoryBuilder) Browse() (string, error) {
+ return b.browse()
+}
+
+// Title specifies the title to be used for the dialog.
+func (b *DirectoryBuilder) Title(title string) *DirectoryBuilder {
+ b.Dlg.Title = title
+ return b
+}
+
+// StartDir specifies the initial directory to be used for the dialog.
+func (b *DirectoryBuilder) SetStartDir(dir string) *DirectoryBuilder {
+ b.StartDir = dir
+ return b
+}
+
+// ShowHiddenFiles sets whether hidden files should be visible in the dialog.
+func (b *DirectoryBuilder) ShowHidden(show bool) *DirectoryBuilder {
+ b.ShowHiddenFiles = show
+ return b
+}
diff --git a/western_ai/usa/ollama/app/dialog/dlgs_darwin.go b/western_ai/usa/ollama/app/dialog/dlgs_darwin.go
new file mode 100644
index 0000000000000000000000000000000000000000..8d0f08d65247d47341c64220e356f9b27f010cbe
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/dlgs_darwin.go
@@ -0,0 +1,82 @@
+package dialog
+
+import (
+ "github.com/ollama/ollama/app/dialog/cocoa"
+)
+
+func (b *MsgBuilder) yesNo() bool {
+ return cocoa.YesNoDlg(b.Msg, b.Dlg.Title)
+}
+
+func (b *MsgBuilder) info() {
+ cocoa.InfoDlg(b.Msg, b.Dlg.Title)
+}
+
+func (b *MsgBuilder) error() {
+ cocoa.ErrorDlg(b.Msg, b.Dlg.Title)
+}
+
+func (b *FileBuilder) load() (string, error) {
+ return b.run(false)
+}
+
+func (b *FileBuilder) loadMultiple() ([]string, error) {
+ return b.runMultiple()
+}
+
+func (b *FileBuilder) save() (string, error) {
+ return b.run(true)
+}
+
+func (b *FileBuilder) run(save bool) (string, error) {
+ star := false
+ var exts []string
+ for _, filt := range b.Filters {
+ for _, ext := range filt.Extensions {
+ if ext == "*" {
+ star = true
+ } else {
+ exts = append(exts, ext)
+ }
+ }
+ }
+ if star && save {
+ /* OSX doesn't allow the user to switch visible file types/extensions. Also
+ ** NSSavePanel's allowsOtherFileTypes property has no effect for an open
+ ** dialog, so if "*" is a possible extension we must always show all files. */
+ exts = nil
+ }
+ f, err := cocoa.FileDlg(save, b.Dlg.Title, exts, star, b.StartDir, b.StartFile, b.ShowHiddenFiles)
+ if f == "" && err == nil {
+ return "", ErrCancelled
+ }
+ return f, err
+}
+
+func (b *FileBuilder) runMultiple() ([]string, error) {
+ star := false
+ var exts []string
+ for _, filt := range b.Filters {
+ for _, ext := range filt.Extensions {
+ if ext == "*" {
+ star = true
+ } else {
+ exts = append(exts, ext)
+ }
+ }
+ }
+
+ files, err := cocoa.MultiFileDlg(b.Dlg.Title, exts, star, b.StartDir, b.ShowHiddenFiles)
+ if len(files) == 0 && err == nil {
+ return nil, ErrCancelled
+ }
+ return files, err
+}
+
+func (b *DirectoryBuilder) browse() (string, error) {
+ f, err := cocoa.DirDlg(b.Dlg.Title, b.StartDir, b.ShowHiddenFiles)
+ if f == "" && err == nil {
+ return "", ErrCancelled
+ }
+ return f, err
+}
diff --git a/western_ai/usa/ollama/app/dialog/dlgs_windows.go b/western_ai/usa/ollama/app/dialog/dlgs_windows.go
new file mode 100644
index 0000000000000000000000000000000000000000..51ba9ee69dddf78058edbe709507b60f6ec9394f
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/dlgs_windows.go
@@ -0,0 +1,241 @@
+package dialog
+
+import (
+ "fmt"
+ "reflect"
+ "syscall"
+ "unicode/utf16"
+ "unsafe"
+
+ "github.com/TheTitanrain/w32"
+)
+
+const multiFileBufferSize = w32.MAX_PATH * 10
+
+type WinDlgError int
+
+func (e WinDlgError) Error() string {
+ return fmt.Sprintf("CommDlgExtendedError: %#x", int(e))
+}
+
+func err() error {
+ e := w32.CommDlgExtendedError()
+ if e == 0 {
+ return ErrCancelled
+ }
+ return WinDlgError(e)
+}
+
+func (b *MsgBuilder) yesNo() bool {
+ r := w32.MessageBox(w32.HWND(0), b.Msg, firstOf(b.Dlg.Title, "Confirm?"), w32.MB_YESNO)
+ return r == w32.IDYES
+}
+
+func (b *MsgBuilder) info() {
+ w32.MessageBox(w32.HWND(0), b.Msg, firstOf(b.Dlg.Title, "Information"), w32.MB_OK|w32.MB_ICONINFORMATION)
+}
+
+func (b *MsgBuilder) error() {
+ w32.MessageBox(w32.HWND(0), b.Msg, firstOf(b.Dlg.Title, "Error"), w32.MB_OK|w32.MB_ICONERROR)
+}
+
+type filedlg struct {
+ buf []uint16
+ filters []uint16
+ opf *w32.OPENFILENAME
+}
+
+func (d filedlg) Filename() string {
+ i := 0
+ for i < len(d.buf) && d.buf[i] != 0 {
+ i++
+ }
+ return string(utf16.Decode(d.buf[:i]))
+}
+
+func (d filedlg) parseMultipleFilenames() []string {
+ var files []string
+ i := 0
+
+ // Find first null terminator (directory path)
+ for i < len(d.buf) && d.buf[i] != 0 {
+ i++
+ }
+
+ if i >= len(d.buf) {
+ return files
+ }
+
+ // Get directory path
+ dirPath := string(utf16.Decode(d.buf[:i]))
+ i++ // Skip null terminator
+
+ // Check if there are more files (multiple selection)
+ if i < len(d.buf) && d.buf[i] != 0 {
+ // Multiple files selected - parse filenames
+ for i < len(d.buf) {
+ start := i
+ // Find next null terminator
+ for i < len(d.buf) && d.buf[i] != 0 {
+ i++
+ }
+ if i >= len(d.buf) {
+ break
+ }
+
+ if start < i {
+ filename := string(utf16.Decode(d.buf[start:i]))
+ if dirPath != "" {
+ files = append(files, dirPath+"\\"+filename)
+ } else {
+ files = append(files, filename)
+ }
+ }
+ i++ // Skip null terminator
+ if i >= len(d.buf) || d.buf[i] == 0 {
+ break // End of list
+ }
+ }
+ } else {
+ // Single file selected
+ files = append(files, dirPath)
+ }
+
+ return files
+}
+
+func (b *FileBuilder) load() (string, error) {
+ d := openfile(w32.OFN_FILEMUSTEXIST|w32.OFN_NOCHANGEDIR, b)
+ if w32.GetOpenFileName(d.opf) {
+ return d.Filename(), nil
+ }
+ return "", err()
+}
+
+func (b *FileBuilder) loadMultiple() ([]string, error) {
+ d := openfile(w32.OFN_FILEMUSTEXIST|w32.OFN_NOCHANGEDIR|w32.OFN_ALLOWMULTISELECT|w32.OFN_EXPLORER, b)
+ d.buf = make([]uint16, multiFileBufferSize)
+ d.opf.File = utf16ptr(d.buf)
+ d.opf.MaxFile = uint32(len(d.buf))
+
+ if w32.GetOpenFileName(d.opf) {
+ return d.parseMultipleFilenames(), nil
+ }
+ return nil, err()
+}
+
+func (b *FileBuilder) save() (string, error) {
+ d := openfile(w32.OFN_OVERWRITEPROMPT|w32.OFN_NOCHANGEDIR, b)
+ if w32.GetSaveFileName(d.opf) {
+ return d.Filename(), nil
+ }
+ return "", err()
+}
+
+/* syscall.UTF16PtrFromString not sufficient because we need to encode embedded NUL bytes */
+func utf16ptr(utf16 []uint16) *uint16 {
+ if utf16[len(utf16)-1] != 0 {
+ panic("refusing to make ptr to non-NUL terminated utf16 slice")
+ }
+ h := (*reflect.SliceHeader)(unsafe.Pointer(&utf16))
+ return (*uint16)(unsafe.Pointer(h.Data))
+}
+
+func utf16slice(ptr *uint16) []uint16 { //nolint:unused
+ hdr := reflect.SliceHeader{Data: uintptr(unsafe.Pointer(ptr)), Len: 1, Cap: 1}
+ slice := *((*[]uint16)(unsafe.Pointer(&hdr))) //nolint:govet
+ i := 0
+ for slice[len(slice)-1] != 0 {
+ i++
+ }
+ hdr.Len = i
+ slice = *((*[]uint16)(unsafe.Pointer(&hdr))) //nolint:govet
+ return slice
+}
+
+func openfile(flags uint32, b *FileBuilder) (d filedlg) {
+ d.buf = make([]uint16, w32.MAX_PATH)
+ if b.StartFile != "" {
+ initialName, _ := syscall.UTF16FromString(b.StartFile)
+ for i := 0; i < len(initialName) && i < w32.MAX_PATH; i++ {
+ d.buf[i] = initialName[i]
+ }
+ }
+ d.opf = &w32.OPENFILENAME{
+ File: utf16ptr(d.buf),
+ MaxFile: uint32(len(d.buf)),
+ Flags: flags,
+ }
+ d.opf.StructSize = uint32(unsafe.Sizeof(*d.opf))
+ if b.StartDir != "" {
+ d.opf.InitialDir, _ = syscall.UTF16PtrFromString(b.StartDir)
+ }
+ if b.Dlg.Title != "" {
+ d.opf.Title, _ = syscall.UTF16PtrFromString(b.Dlg.Title)
+ }
+ for _, filt := range b.Filters {
+ /* build utf16 string of form "Music File\0*.mp3;*.ogg;*.wav;\0" */
+ d.filters = append(d.filters, utf16.Encode([]rune(filt.Desc))...)
+ d.filters = append(d.filters, 0)
+ for _, ext := range filt.Extensions {
+ s := fmt.Sprintf("*.%s;", ext)
+ d.filters = append(d.filters, utf16.Encode([]rune(s))...)
+ }
+ d.filters = append(d.filters, 0)
+ }
+ if d.filters != nil {
+ d.filters = append(d.filters, 0, 0) // two extra NUL chars to terminate the list
+ d.opf.Filter = utf16ptr(d.filters)
+ }
+ return d
+}
+
+type dirdlg struct {
+ bi *w32.BROWSEINFO
+}
+
+const (
+ bffm_INITIALIZED = 1
+ bffm_SELCHANGED = 2
+ bffm_VALIDATEFAILEDA = 3
+ bffm_VALIDATEFAILEDW = 4
+ bffm_SETSTATUSTEXTA = (w32.WM_USER + 100)
+ bffm_SETSTATUSTEXTW = (w32.WM_USER + 104)
+ bffm_ENABLEOK = (w32.WM_USER + 101)
+ bffm_SETSELECTIONA = (w32.WM_USER + 102)
+ bffm_SETSELECTIONW = (w32.WM_USER + 103)
+ bffm_SETOKTEXT = (w32.WM_USER + 105)
+ bffm_SETEXPANDED = (w32.WM_USER + 106)
+ bffm_SETSTATUSTEXT = bffm_SETSTATUSTEXTW
+ bffm_SETSELECTION = bffm_SETSELECTIONW
+ bffm_VALIDATEFAILED = bffm_VALIDATEFAILEDW
+)
+
+func callbackDefaultDir(hwnd w32.HWND, msg uint, lParam, lpData uintptr) int {
+ if msg == bffm_INITIALIZED {
+ _ = w32.SendMessage(hwnd, bffm_SETSELECTION, w32.TRUE, lpData)
+ }
+ return 0
+}
+
+func selectdir(b *DirectoryBuilder) (d dirdlg) {
+ d.bi = &w32.BROWSEINFO{Flags: w32.BIF_RETURNONLYFSDIRS | w32.BIF_NEWDIALOGSTYLE}
+ if b.Dlg.Title != "" {
+ d.bi.Title, _ = syscall.UTF16PtrFromString(b.Dlg.Title)
+ }
+ if b.StartDir != "" {
+ s16, _ := syscall.UTF16PtrFromString(b.StartDir)
+ d.bi.LParam = uintptr(unsafe.Pointer(s16))
+ d.bi.CallbackFunc = syscall.NewCallback(callbackDefaultDir)
+ }
+ return d
+}
+
+func (b *DirectoryBuilder) browse() (string, error) {
+ d := selectdir(b)
+ res := w32.SHBrowseForFolder(d.bi)
+ if res == 0 {
+ return "", ErrCancelled
+ }
+ return w32.SHGetPathFromIDList(res), nil
+}
diff --git a/western_ai/usa/ollama/app/dialog/util.go b/western_ai/usa/ollama/app/dialog/util.go
new file mode 100644
index 0000000000000000000000000000000000000000..2848c479805f07df982c7efad6454b3e3a60b745
--- /dev/null
+++ b/western_ai/usa/ollama/app/dialog/util.go
@@ -0,0 +1,12 @@
+//go:build windows
+
+package dialog
+
+func firstOf(args ...string) string {
+ for _, arg := range args {
+ if arg != "" {
+ return arg
+ }
+ }
+ return ""
+}
diff --git a/western_ai/usa/ollama/app/format/field.go b/western_ai/usa/ollama/app/format/field.go
new file mode 100644
index 0000000000000000000000000000000000000000..090bdf7dca00a9c61d13a2a374a5e168a3e49876
--- /dev/null
+++ b/western_ai/usa/ollama/app/format/field.go
@@ -0,0 +1,30 @@
+//go:build windows || darwin
+
+package format
+
+import (
+ "strings"
+ "unicode"
+)
+
+// KebabCase converts a string from camelCase or PascalCase to kebab-case.
+// (e.g. "camelCase" -> "camel-case")
+func KebabCase(str string) string {
+ var result strings.Builder
+
+ for i, char := range str {
+ if i > 0 {
+ prevChar := rune(str[i-1])
+
+ // Add hyphen before uppercase letters
+ if unicode.IsUpper(char) &&
+ (unicode.IsLower(prevChar) || unicode.IsDigit(prevChar) ||
+ (i < len(str)-1 && unicode.IsLower(rune(str[i+1])))) {
+ result.WriteRune('-')
+ }
+ }
+ result.WriteRune(unicode.ToLower(char))
+ }
+
+ return result.String()
+}
diff --git a/western_ai/usa/ollama/app/format/field_test.go b/western_ai/usa/ollama/app/format/field_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..9ea8431837503cc91aa083440fee2bf97cdb42a9
--- /dev/null
+++ b/western_ai/usa/ollama/app/format/field_test.go
@@ -0,0 +1,34 @@
+//go:build windows || darwin
+
+package format
+
+import "testing"
+
+func TestKebabCase(t *testing.T) {
+ tests := []struct {
+ input string
+ expected string
+ }{
+ {"already-kebab-case", "already-kebab-case"},
+ {"simpleCamelCase", "simple-camel-case"},
+ {"PascalCase", "pascal-case"},
+ {"camelCaseWithNumber123", "camel-case-with-number123"},
+ {"APIResponse", "api-response"},
+ {"mixedCASE", "mixed-case"},
+ {"WithACRONYMS", "with-acronyms"},
+ {"ALLCAPS", "allcaps"},
+ {"camelCaseWITHMixedACRONYMS", "camel-case-with-mixed-acronyms"},
+ {"numbers123in456string", "numbers123in456string"},
+ {"5", "5"},
+ {"S", "s"},
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.input, func(t *testing.T) {
+ result := KebabCase(tt.input)
+ if result != tt.expected {
+ t.Errorf("toKebabCase(%q) = %q, want %q", tt.input, result, tt.expected)
+ }
+ })
+ }
+}
diff --git a/western_ai/usa/ollama/app/logrotate/logrotate.go b/western_ai/usa/ollama/app/logrotate/logrotate.go
new file mode 100644
index 0000000000000000000000000000000000000000..df8ba9c01cb8b7f98e6290395a303848848da11d
--- /dev/null
+++ b/western_ai/usa/ollama/app/logrotate/logrotate.go
@@ -0,0 +1,45 @@
+//go:build windows || darwin
+
+// package logrotate provides utilities for rotating logs
+// TODO (jmorgan): this most likely doesn't need it's own
+// package and can be moved to app where log files are created
+package logrotate
+
+import (
+ "log/slog"
+ "os"
+ "strconv"
+ "strings"
+)
+
+const MaxLogFiles = 5
+
+func Rotate(filename string) {
+ if _, err := os.Stat(filename); os.IsNotExist(err) {
+ return
+ }
+
+ index := strings.LastIndex(filename, ".")
+ pre := filename[:index]
+ post := "." + filename[index+1:]
+ for i := MaxLogFiles; i > 0; i-- {
+ older := pre + "-" + strconv.Itoa(i) + post
+ newer := pre + "-" + strconv.Itoa(i-1) + post
+ if i == 1 {
+ newer = pre + post
+ }
+ if _, err := os.Stat(newer); err == nil {
+ if _, err := os.Stat(older); err == nil {
+ err := os.Remove(older)
+ if err != nil {
+ slog.Warn("Failed to remove older log", "older", older, "error", err)
+ continue
+ }
+ }
+ err := os.Rename(newer, older)
+ if err != nil {
+ slog.Warn("Failed to rotate log", "older", older, "newer", newer, "error", err)
+ }
+ }
+ }
+}
diff --git a/western_ai/usa/ollama/app/logrotate/logrotate_test.go b/western_ai/usa/ollama/app/logrotate/logrotate_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..5eef5b4f12f9a176e50c0d6aed0dd5efbc72fa55
--- /dev/null
+++ b/western_ai/usa/ollama/app/logrotate/logrotate_test.go
@@ -0,0 +1,70 @@
+//go:build windows || darwin
+
+package logrotate
+
+import (
+ "os"
+ "path/filepath"
+ "strconv"
+ "testing"
+)
+
+func TestRotate(t *testing.T) {
+ logDir := t.TempDir()
+ logFile := filepath.Join(logDir, "testlog.log")
+
+ // No log exists
+ Rotate(logFile)
+
+ if err := os.WriteFile(logFile, []byte("1"), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if _, err := os.Stat(logFile); os.IsNotExist(err) {
+ t.Fatal("expected log file to exist")
+ }
+
+ // First rotation
+ Rotate(logFile)
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-1.log")); os.IsNotExist(err) {
+ t.Fatal("expected rotated log file to exist")
+ }
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-2.log")); !os.IsNotExist(err) {
+ t.Fatal("expected no second rotated log file")
+ }
+ if _, err := os.Stat(logFile); !os.IsNotExist(err) {
+ t.Fatal("expected original log file to be moved")
+ }
+
+ // Should be a no-op without a new log
+ Rotate(logFile)
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-1.log")); os.IsNotExist(err) {
+ t.Fatal("expected rotated log file to still exist")
+ }
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-2.log")); !os.IsNotExist(err) {
+ t.Fatal("expected no second rotated log file")
+ }
+ if _, err := os.Stat(logFile); !os.IsNotExist(err) {
+ t.Fatal("expected no original log file")
+ }
+
+ for i := 2; i <= MaxLogFiles+1; i++ {
+ if err := os.WriteFile(logFile, []byte(strconv.Itoa(i)), 0o644); err != nil {
+ t.Fatal(err)
+ }
+ if _, err := os.Stat(logFile); os.IsNotExist(err) {
+ t.Fatal("expected log file to exist")
+ }
+ Rotate(logFile)
+ if _, err := os.Stat(logFile); !os.IsNotExist(err) {
+ t.Fatal("expected log file to be moved")
+ }
+ for j := 1; j < i; j++ {
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-"+strconv.Itoa(j)+".log")); os.IsNotExist(err) {
+ t.Fatalf("expected rotated log file %d to exist", j)
+ }
+ }
+ if _, err := os.Stat(filepath.Join(logDir, "testlog-"+strconv.Itoa(i+1)+".log")); !os.IsNotExist(err) {
+ t.Fatalf("expected no rotated log file %d", i+1)
+ }
+ }
+}
diff --git a/western_ai/usa/ollama/app/ollama.iss b/western_ai/usa/ollama/app/ollama.iss
new file mode 100644
index 0000000000000000000000000000000000000000..4b2e0af197f64017d9e0319789fbb7683dc74d15
--- /dev/null
+++ b/western_ai/usa/ollama/app/ollama.iss
@@ -0,0 +1,334 @@
+; Inno Setup Installer for Ollama
+;
+; To build the installer use the build script invoked from the top of the source tree
+;
+; powershell -ExecutionPolicy Bypass -File .\scripts\build_windows.ps
+
+
+#define MyAppName "Ollama"
+#if GetEnv("PKG_VERSION") != ""
+ #define MyAppVersion GetEnv("PKG_VERSION")
+#else
+ #define MyAppVersion "0.0.0"
+#endif
+#define MyAppPublisher "Ollama"
+#define MyAppURL "https://ollama.com/"
+#define MyAppExeName "ollama app.exe"
+#define LlamaServerExeName "llama-server.exe"
+#define MyIcon ".\assets\app.ico"
+
+[Setup]
+; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
+AppId={{44E83376-CE68-45EB-8FC1-393500EB558C}
+AppName={#MyAppName}
+AppVersion={#MyAppVersion}
+VersionInfoVersion={#MyAppVersion}
+;AppVerName={#MyAppName} {#MyAppVersion}
+AppPublisher={#MyAppPublisher}
+AppPublisherURL={#MyAppURL}
+AppSupportURL={#MyAppURL}
+AppUpdatesURL={#MyAppURL}
+ArchitecturesAllowed=x64compatible arm64
+ArchitecturesInstallIn64BitMode=x64compatible arm64
+DefaultDirName={localappdata}\Programs\{#MyAppName}
+DefaultGroupName={#MyAppName}
+DisableProgramGroupPage=yes
+PrivilegesRequired=lowest
+OutputBaseFilename="OllamaSetup"
+SetupIconFile={#MyIcon}
+UninstallDisplayIcon={uninstallexe}
+Compression=lzma2/ultra64
+LZMAUseSeparateProcess=yes
+LZMANumBlockThreads=8
+SolidCompression=yes
+WizardStyle=modern
+ChangesEnvironment=yes
+OutputDir=..\dist\
+
+; Disable logging once everything's battle tested
+; Filename will be %TEMP%\Setup Log*.txt
+SetupLogging=yes
+CloseApplications=no
+RestartApplications=no
+RestartIfNeededByRun=no
+
+; https://jrsoftware.org/ishelp/index.php?topic=setup_wizardimagefile
+WizardSmallImageFile=.\assets\setup.bmp
+
+; Ollama requires Windows 10 22H2 or newer for proper unicode rendering
+; TODO: consider setting this to 10.0.19045
+MinVersion=10.0.10240
+
+; First release that supports WinRT UI Composition for win32 apps
+; MinVersion=10.0.17134
+; First release with XAML Islands - possible UI path forward
+; MinVersion=10.0.18362
+
+; quiet...
+DisableDirPage=yes
+DisableFinishedPage=yes
+DisableReadyMemo=yes
+DisableReadyPage=yes
+DisableStartupPrompt=yes
+
+; TODO - percentage can't be set less than 100, so how to make it shorter?
+; WizardSizePercent=100,80
+
+#if GetEnv("KEY_CONTAINER")
+SignTool=MySignTool
+SignedUninstaller=yes
+#endif
+
+SetupMutex=OllamaSetupMutex
+
+[Languages]
+Name: "english"; MessagesFile: "compiler:Default.isl"
+
+[LangOptions]
+DialogFontSize=12
+
+[Files]
+#if FileExists("..\dist\windows-ollama-app-amd64.exe")
+Source: "..\dist\windows-ollama-app-amd64.exe"; DestDir: "{app}"; DestName: "{#MyAppExeName}" ;Check: not IsArm64(); Flags: ignoreversion 64bit; BeforeInstall: TaskKill('{#MyAppExeName}')
+Source: "..\dist\windows-amd64\ollama.exe"; DestDir: "{app}"; Check: not IsArm64(); Flags: ignoreversion 64bit; BeforeInstall: TaskKill('ollama.exe')
+Source: "..\dist\windows-amd64\lib\ollama\*"; Excludes: "\mlx_*\*"; DestDir: "{app}\lib\ollama\"; Check: not IsArm64(); Flags: ignoreversion 64bit recursesubdirs
+#endif
+
+; For local development, rely on binary compatibility at runtime since we can't cross compile
+#if FileExists("..\dist\windows-ollama-app-arm64.exe")
+Source: "..\dist\windows-ollama-app-arm64.exe"; DestDir: "{app}"; DestName: "{#MyAppExeName}" ;Check: IsArm64(); Flags: ignoreversion 64bit; BeforeInstall: TaskKill('{#MyAppExeName}')
+#else
+Source: "..\dist\windows-ollama-app-amd64.exe"; DestDir: "{app}"; DestName: "{#MyAppExeName}" ;Check: IsArm64(); Flags: ignoreversion 64bit; BeforeInstall: TaskKill('{#MyAppExeName}')
+#endif
+
+#if FileExists("..\dist\windows-arm64\ollama.exe")
+Source: "..\dist\windows-arm64\ollama.exe"; DestDir: "{app}"; Check: IsArm64(); Flags: ignoreversion 64bit; BeforeInstall: TaskKill('ollama.exe')
+#endif
+#if DirExists("..\dist\windows-arm64\lib\ollama")
+Source: "..\dist\windows-arm64\lib\ollama\*"; DestDir: "{app}\lib\ollama\"; Check: IsArm64(); Flags: ignoreversion 64bit recursesubdirs
+#endif
+
+Source: ".\assets\app.ico"; DestDir: "{app}"; Flags: ignoreversion
+
+[Icons]
+Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\app.ico"
+Name: "{app}\lib\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\app.ico"
+Name: "{userprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\app.ico"
+
+[InstallDelete]
+Type: files; Name: "{%LOCALAPPDATA}\Ollama\updates"
+
+[Run]
+Filename: "{cmd}"; Parameters: "/C set PATH={app};%PATH% & ""{app}\{#MyAppExeName}"""; Flags: postinstall nowait runhidden
+
+[UninstallRun]
+; Filename: "{cmd}"; Parameters: "/C ""taskkill /im ''{#MyAppExeName}'' /f /t"; Flags: runhidden
+; Filename: "{cmd}"; Parameters: "/C ""taskkill /im ollama.exe /f /t"; Flags: runhidden
+Filename: "taskkill"; Parameters: "/im ""{#MyAppExeName}"" /f /t"; Flags: runhidden
+Filename: "taskkill"; Parameters: "/im ""ollama.exe"" /f /t"; Flags: runhidden
+Filename: "taskkill"; Parameters: "/im ""{#LlamaServerExeName}"" /f /t"; Flags: runhidden
+; HACK! need to give the server and app enough time to exit
+; TODO - convert this to a Pascal code script so it waits until they're no longer running, then completes
+Filename: "{cmd}"; Parameters: "/c timeout 5"; Flags: runhidden
+
+[UninstallDelete]
+Type: filesandordirs; Name: "{%TEMP}\ollama*"
+Type: filesandordirs; Name: "{%LOCALAPPDATA}\Ollama"
+Type: filesandordirs; Name: "{%LOCALAPPDATA}\Programs\Ollama"
+Type: filesandordirs; Name: "{%USERPROFILE}\.ollama\history"
+Type: filesandordirs; Name: "{userstartup}\{#MyAppName}.lnk"
+; NOTE: if the user has a custom OLLAMA_MODELS it will be preserved
+
+[InstallDelete]
+Type: filesandordirs; Name: "{%TEMP}\ollama*"
+Type: filesandordirs; Name: "{app}\lib\ollama"
+
+[Messages]
+WizardReady=Ollama
+ReadyLabel1=%nLet's get you up and running with your own large language models.
+SetupAppRunningError=Another Ollama installer is running.%n%nPlease cancel or finish the other installer, then click OK to continue with this install, or Cancel to exit.
+
+
+;FinishedHeadingLabel=Run your first model
+;FinishedLabel=%nRun this command in a PowerShell or cmd terminal.%n%n%n ollama run llama3.2
+;ClickFinish=%n
+
+[Registry]
+Root: HKCU; Subkey: "Environment"; \
+ ValueType: expandsz; ValueName: "Path"; ValueData: "{olddata};{app}"; \
+ Check: NeedsAddPath('{app}')
+; Register ollama:// URL protocol
+Root: HKCU; Subkey: "Software\Classes\ollama"; ValueType: string; ValueName: ""; ValueData: "URL:Ollama Protocol"; Flags: uninsdeletekey
+Root: HKCU; Subkey: "Software\Classes\ollama"; ValueType: string; ValueName: "URL Protocol"; ValueData: ""; Flags: uninsdeletekey
+Root: HKCU; Subkey: "Software\Classes\ollama\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Flags: uninsdeletekey
+
+[Code]
+
+function NeedsAddPath(Param: string): boolean;
+var
+ OrigPath: string;
+begin
+ if not RegQueryStringValue(HKEY_CURRENT_USER,
+ 'Environment',
+ 'Path', OrigPath)
+ then begin
+ Result := True;
+ exit;
+ end;
+ { look for the path with leading and trailing semicolon }
+ { Pos() returns 0 if not found }
+ Result := Pos(';' + ExpandConstant(Param) + ';', ';' + OrigPath + ';') = 0;
+end;
+
+function GetDirSize(Path: String): Int64;
+var
+ FindRec: TFindRec;
+ FilePath: string;
+ Size: Int64;
+begin
+ if FindFirst(Path + '\*', FindRec) then begin
+ Result := 0;
+ try
+ repeat
+ if (FindRec.Name <> '.') and (FindRec.Name <> '..') then begin
+ FilePath := Path + '\' + FindRec.Name;
+ if (FindRec.Attributes and FILE_ATTRIBUTE_DIRECTORY) <> 0 then begin
+ Size := GetDirSize(FilePath);
+ end else begin
+ Size := Int64(FindRec.SizeHigh) shl 32 + FindRec.SizeLow;
+ end;
+ Result := Result + Size;
+ end;
+ until not FindNext(FindRec);
+ finally
+ FindClose(FindRec);
+ end;
+ end else begin
+ Log(Format('Failed to list %s', [Path]));
+ Result := -1;
+ end;
+end;
+
+var
+ DeleteModelsChecked: Boolean;
+ ModelsDir: string;
+
+procedure InitializeUninstallProgressForm();
+var
+ UninstallPage: TNewNotebookPage;
+ UninstallButton: TNewButton;
+ DeleteModelsCheckbox: TNewCheckBox;
+ OriginalPageNameLabel: string;
+ OriginalPageDescriptionLabel: string;
+ OriginalCancelButtonEnabled: Boolean;
+ OriginalCancelButtonModalResult: Integer;
+ ctrl: TWinControl;
+ ModelDirA: AnsiString;
+ ModelsSize: Int64;
+begin
+ if not UninstallSilent then begin
+ ctrl := UninstallProgressForm.CancelButton;
+ UninstallButton := TNewButton.Create(UninstallProgressForm);
+ UninstallButton.Parent := UninstallProgressForm;
+ UninstallButton.Left := ctrl.Left - ctrl.Width - ScaleX(10);
+ UninstallButton.Top := ctrl.Top;
+ UninstallButton.Width := ctrl.Width;
+ UninstallButton.Height := ctrl.Height;
+ UninstallButton.TabOrder := ctrl.TabOrder;
+ UninstallButton.Caption := 'Uninstall';
+ UninstallButton.ModalResult := mrOK;
+ UninstallProgressForm.CancelButton.TabOrder := UninstallButton.TabOrder + 1;
+ UninstallPage := TNewNotebookPage.Create(UninstallProgressForm);
+ UninstallPage.Notebook := UninstallProgressForm.InnerNotebook;
+ UninstallPage.Parent := UninstallProgressForm.InnerNotebook;
+ UninstallPage.Align := alClient;
+ UninstallProgressForm.InnerNotebook.ActivePage := UninstallPage;
+
+ ctrl := UninstallProgressForm.StatusLabel;
+ with TNewStaticText.Create(UninstallProgressForm) do begin
+ Parent := UninstallPage;
+ Top := ctrl.Top;
+ Left := ctrl.Left;
+ Width := ctrl.Width;
+ Height := ctrl.Height;
+ AutoSize := False;
+ ShowAccelChar := False;
+ Caption := '';
+ end;
+
+ if (DirExists(GetEnv('USERPROFILE') + '\.ollama\models\blobs')) then begin
+ ModelsDir := GetEnv('USERPROFILE') + '\.ollama\models';
+ ModelsSize := GetDirSize(ModelsDir);
+ end;
+
+ DeleteModelsCheckbox := TNewCheckBox.Create(UninstallProgressForm);
+ DeleteModelsCheckbox.Parent := UninstallPage;
+ DeleteModelsCheckbox.Top := ctrl.Top + ScaleY(30);
+ DeleteModelsCheckbox.Left := ctrl.Left;
+ DeleteModelsCheckbox.Width := ScaleX(300);
+ if ModelsSize > 1024*1024*1024 then begin
+ DeleteModelsCheckbox.Caption := 'Remove models (' + IntToStr(ModelsSize/(1024*1024*1024)) + ' GB) ' + ModelsDir;
+ end else if ModelsSize > 1024*1024 then begin
+ DeleteModelsCheckbox.Caption := 'Remove models (' + IntToStr(ModelsSize/(1024*1024)) + ' MB) ' + ModelsDir;
+ end else begin
+ DeleteModelsCheckbox.Caption := 'Remove models ' + ModelsDir;
+ end;
+ DeleteModelsCheckbox.Checked := True;
+
+ OriginalPageNameLabel := UninstallProgressForm.PageNameLabel.Caption;
+ OriginalPageDescriptionLabel := UninstallProgressForm.PageDescriptionLabel.Caption;
+ OriginalCancelButtonEnabled := UninstallProgressForm.CancelButton.Enabled;
+ OriginalCancelButtonModalResult := UninstallProgressForm.CancelButton.ModalResult;
+
+ UninstallProgressForm.PageNameLabel.Caption := '';
+ UninstallProgressForm.PageDescriptionLabel.Caption := '';
+ UninstallProgressForm.CancelButton.Enabled := True;
+ UninstallProgressForm.CancelButton.ModalResult := mrCancel;
+
+ if UninstallProgressForm.ShowModal = mrCancel then Abort;
+
+ UninstallButton.Visible := False;
+ UninstallProgressForm.PageNameLabel.Caption := OriginalPageNameLabel;
+ UninstallProgressForm.PageDescriptionLabel.Caption := OriginalPageDescriptionLabel;
+ UninstallProgressForm.CancelButton.Enabled := OriginalCancelButtonEnabled;
+ UninstallProgressForm.CancelButton.ModalResult := OriginalCancelButtonModalResult;
+
+ UninstallProgressForm.InnerNotebook.ActivePage := UninstallProgressForm.InstallingPage;
+
+ if DeleteModelsCheckbox.Checked then begin
+ DeleteModelsChecked:=True;
+ end else begin
+ DeleteModelsChecked:=False;
+ end;
+ end;
+end;
+
+procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
+begin
+ if CurUninstallStep = usDone then begin
+ if DeleteModelsChecked then begin
+ Log('user requested model cleanup');
+ if (VarIsEmpty(ModelsDir)) then begin
+ Log('cleaning up home directory models')
+ DelTree(GetEnv('USERPROFILE') + '\.ollama\models', True, True, True);
+ end else begin
+ Log('cleaning up custom directory models ' + ModelsDir)
+ DelTree(ModelsDir + '\blobs', True, True, True);
+ DelTree(ModelsDir + '\manifests', True, True, True);
+ end;
+ end else begin
+ Log('user requested to preserve model dir');
+ end;
+ end;
+end;
+
+procedure TaskKill(FileName: String);
+var
+ ResultCode: Integer;
+begin
+ Exec('taskkill.exe', '/f /t /im ' + '"' + FileName + '"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
+ if FileName <> '{#LlamaServerExeName}' then begin
+ Exec('taskkill.exe', '/f /t /im "{#LlamaServerExeName}"', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
+ end;
+end;
diff --git a/western_ai/usa/ollama/app/ollama.rc b/western_ai/usa/ollama/app/ollama.rc
new file mode 100644
index 0000000000000000000000000000000000000000..696432d242a963f7d286ca7ac4083a95c1df1fc8
--- /dev/null
+++ b/western_ai/usa/ollama/app/ollama.rc
@@ -0,0 +1,29 @@
+#include
+
+VS_VERSION_INFO VERSIONINFO
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "FileDescription", "Ollama"
+ VALUE "InternalName", "Ollama"
+ VALUE "OriginalFilename", "ollama app.exe"
+ VALUE "ProductName", "Ollama"
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/western_ai/usa/ollama/app/server/server.go b/western_ai/usa/ollama/app/server/server.go
new file mode 100644
index 0000000000000000000000000000000000000000..ef5c0576d0c3c0f6d31ae2299ce798cda114b1b1
--- /dev/null
+++ b/western_ai/usa/ollama/app/server/server.go
@@ -0,0 +1,409 @@
+//go:build windows || darwin
+
+package server
+
+import (
+ "bufio"
+ "context"
+ "errors"
+ "fmt"
+ "io"
+ "log/slog"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "regexp"
+ "runtime"
+ "strconv"
+ "strings"
+ "time"
+
+ "github.com/ollama/ollama/app/logrotate"
+ "github.com/ollama/ollama/app/store"
+)
+
+const restartDelay = time.Second
+
+// Server is a managed ollama server process
+type Server struct {
+ store *store.Store
+ bin string // resolved path to `ollama`
+ log io.WriteCloser
+ dev bool // true if running with the dev flag
+}
+
+type InferenceCompute struct {
+ Library string
+ Variant string
+ Compute string
+ Driver string
+ Name string
+ VRAM string
+}
+
+type InferenceInfo struct {
+ Computes []InferenceCompute
+ DefaultContextLength int
+}
+
+func New(s *store.Store, devMode bool) *Server {
+ p := resolvePath("ollama")
+ return &Server{store: s, bin: p, dev: devMode}
+}
+
+func resolvePath(name string) string {
+ // look in the app bundle first
+ if exe, _ := os.Executable(); exe != "" {
+ var dir string
+ if runtime.GOOS == "windows" {
+ dir = filepath.Dir(exe)
+ } else {
+ dir = filepath.Join(filepath.Dir(exe), "..", "Resources")
+ }
+ if _, err := os.Stat(filepath.Join(dir, name)); err == nil {
+ return filepath.Join(dir, name)
+ }
+ }
+
+ // check the development dist path
+ for _, path := range []string{
+ filepath.Join("dist", runtime.GOOS, name),
+ filepath.Join("dist", runtime.GOOS+"-"+runtime.GOARCH, name),
+ } {
+ if _, err := os.Stat(path); err == nil {
+ return path
+ }
+ }
+
+ // fallback to system path
+ if p, _ := exec.LookPath(name); p != "" {
+ return p
+ }
+
+ return name
+}
+
+func ollamaServeArgs(args []string) bool {
+ if len(args) < 2 {
+ return false
+ }
+
+ switch strings.Trim(filepath.Base(args[0]), `"`) {
+ case "ollama", "ollama.exe":
+ default:
+ return false
+ }
+
+ for _, rawArg := range args[1:] {
+ arg := strings.Trim(rawArg, `"`)
+ if strings.HasPrefix(arg, "-") {
+ continue
+ }
+
+ return arg == "serve" || arg == "start"
+ }
+
+ return false
+}
+
+// cleanup checks the pid file for a running ollama process
+// and shuts it down gracefully if it is running
+func cleanup() error {
+ data, err := os.ReadFile(pidFile)
+ if err != nil {
+ if os.IsNotExist(err) {
+ return nil
+ }
+ return err
+ }
+ defer os.Remove(pidFile)
+
+ pid, err := strconv.Atoi(strings.TrimSpace(string(data)))
+ if err != nil {
+ return err
+ }
+
+ proc, err := os.FindProcess(pid)
+ if err != nil {
+ return nil
+ }
+
+ ok, err := terminated(pid)
+ if err != nil {
+ slog.Debug("cleanup: error checking if terminated", "pid", pid, "err", err)
+ }
+ if ok {
+ return nil
+ }
+
+ slog.Info("detected previous ollama process, cleaning up", "pid", pid)
+ return stop(proc)
+}
+
+// stop waits for a process with the provided pid to exit by polling
+// `terminated(pid)`. If the process has not exited within 5 seconds, it logs a
+// warning and kills the process.
+func stop(proc *os.Process) error {
+ if proc == nil {
+ return nil
+ }
+
+ if err := terminate(proc); err != nil {
+ slog.Warn("graceful terminate failed, killing", "err", err)
+ return proc.Kill()
+ }
+
+ deadline := time.NewTimer(5 * time.Second)
+ defer deadline.Stop()
+
+ for {
+ select {
+ case <-deadline.C:
+ slog.Warn("timeout waiting for graceful shutdown; killing", "pid", proc.Pid)
+ return proc.Kill()
+ default:
+ ok, err := terminated(proc.Pid)
+ if err != nil {
+ slog.Error("error checking if ollama process is terminated", "err", err)
+ return err
+ }
+ if ok {
+ return nil
+ }
+ time.Sleep(10 * time.Millisecond)
+ }
+ }
+}
+
+func (s *Server) Run(ctx context.Context) error {
+ l, err := openRotatingLog()
+ if err != nil {
+ return err
+ }
+ s.log = l
+ defer s.log.Close()
+
+ if err := cleanup(); err != nil {
+ slog.Warn("failed to cleanup previous ollama process", "err", err)
+ }
+
+ reaped := false
+ for ctx.Err() == nil {
+ select {
+ case <-ctx.Done():
+ return ctx.Err()
+ case <-time.After(restartDelay):
+ }
+
+ cmd, err := s.cmd(ctx)
+ if err != nil {
+ return err
+ }
+
+ if err := cmd.Start(); err != nil {
+ return err
+ }
+
+ err = os.WriteFile(pidFile, []byte(strconv.Itoa(cmd.Process.Pid)), 0o644)
+ if err != nil {
+ slog.Warn("failed to write pid file", "file", pidFile, "err", err)
+ }
+
+ if err = cmd.Wait(); err != nil && !errors.Is(err, context.Canceled) {
+ var exitErr *exec.ExitError
+ if errors.As(err, &exitErr) && exitErr.ExitCode() == 1 && !s.dev && !reaped {
+ reaped = true
+ // This could be a port conflict, try to kill any existing ollama processes
+ if err := reapServers(); err != nil {
+ slog.Warn("failed to stop existing ollama server", "err", err)
+ } else {
+ slog.Debug("conflicting server stopped, waiting for port to be released")
+ continue
+ }
+ }
+ slog.Error("ollama exited", "err", err)
+ }
+ }
+ return ctx.Err()
+}
+
+func (s *Server) cmd(ctx context.Context) (*exec.Cmd, error) {
+ settings, err := s.store.Settings()
+ if err != nil {
+ return nil, err
+ }
+
+ cloudDisabled, err := s.store.CloudDisabled()
+ if err != nil {
+ return nil, err
+ }
+
+ cmd := commandContext(ctx, s.bin, "serve")
+ cmd.Stdout, cmd.Stderr = s.log, s.log
+
+ // Copy and mutate the environment to merge in settings the user has specified without dups
+ env := map[string]string{}
+ for _, kv := range os.Environ() {
+ s := strings.SplitN(kv, "=", 2)
+ env[s[0]] = s[1]
+ }
+ if settings.Expose {
+ env["OLLAMA_HOST"] = "0.0.0.0"
+ }
+ if settings.Browser {
+ env["OLLAMA_ORIGINS"] = "*"
+ }
+ if settings.Models != "" {
+ if _, err := os.Stat(settings.Models); err == nil {
+ env["OLLAMA_MODELS"] = settings.Models
+ } else {
+ slog.Warn("models path not accessible, using default", "path", settings.Models, "err", err)
+ }
+ }
+ if settings.ContextLength > 0 {
+ env["OLLAMA_CONTEXT_LENGTH"] = strconv.Itoa(settings.ContextLength)
+ }
+ if cloudDisabled {
+ env["OLLAMA_NO_CLOUD"] = "1"
+ } else {
+ env["OLLAMA_NO_CLOUD"] = "0"
+ }
+ cmd.Env = []string{}
+ for k, v := range env {
+ cmd.Env = append(cmd.Env, k+"="+v)
+ }
+
+ cmd.Cancel = func() error {
+ if cmd.Process == nil {
+ return nil
+ }
+ return stop(cmd.Process)
+ }
+
+ return cmd, nil
+}
+
+func openRotatingLog() (io.WriteCloser, error) {
+ // TODO consider rotation based on size or time, not just every server invocation
+ dir := filepath.Dir(serverLogPath)
+ if err := os.MkdirAll(dir, 0o755); err != nil {
+ return nil, fmt.Errorf("create log directory: %w", err)
+ }
+
+ logrotate.Rotate(serverLogPath)
+ f, err := os.OpenFile(serverLogPath, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0o644)
+ if err != nil {
+ return nil, fmt.Errorf("open log file: %w", err)
+ }
+ return f, nil
+}
+
+// Attempt to retrieve inference compute information from the server
+// log. Set ctx to timeout to control how long to wait for the logs to appear
+func GetInferenceInfo(ctx context.Context) (*InferenceInfo, error) {
+ info := &InferenceInfo{}
+ computeMarker := regexp.MustCompile(`inference compute.*library=`)
+ defaultCtxMarker := regexp.MustCompile(`vram-based default context`)
+ defaultCtxRegex := regexp.MustCompile(`default_num_ctx=(\d+)`)
+
+ q := `inference compute.*%s=["]([^"]*)["]`
+ nq := `inference compute.*%s=(\S+)\s`
+ type regex struct {
+ q *regexp.Regexp
+ nq *regexp.Regexp
+ }
+ regexes := map[string]regex{
+ "library": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "library")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "library")),
+ },
+ "variant": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "variant")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "variant")),
+ },
+ "compute": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "compute")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "compute")),
+ },
+ "driver": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "driver")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "driver")),
+ },
+ "name": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "name")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "name")),
+ },
+ "total": {
+ q: regexp.MustCompile(fmt.Sprintf(q, "total")),
+ nq: regexp.MustCompile(fmt.Sprintf(nq, "total")),
+ },
+ }
+ get := func(field, line string) string {
+ regex, ok := regexes[field]
+ if !ok {
+ slog.Warn("missing field", "field", field)
+ return ""
+ }
+ match := regex.q.FindStringSubmatch(line)
+
+ if len(match) > 1 {
+ return match[1]
+ }
+ match = regex.nq.FindStringSubmatch(line)
+ if len(match) > 1 {
+ return match[1]
+ }
+ return ""
+ }
+ for {
+ select {
+ case <-ctx.Done():
+ return nil, fmt.Errorf("timeout scanning server log for inference compute details")
+ default:
+ }
+ file, err := os.Open(serverLogPath)
+ if err != nil {
+ slog.Debug("failed to open server log", "log", serverLogPath, "error", err)
+ time.Sleep(time.Second)
+ continue
+ }
+ defer file.Close()
+ scanner := bufio.NewScanner(file)
+ for scanner.Scan() {
+ line := scanner.Text()
+ // Check for inference compute lines
+ if computeMarker.MatchString(line) {
+ ic := InferenceCompute{
+ Library: get("library", line),
+ Variant: get("variant", line),
+ Compute: get("compute", line),
+ Driver: get("driver", line),
+ Name: get("name", line),
+ VRAM: get("total", line),
+ }
+
+ slog.Info("Matched", "inference compute", ic)
+ info.Computes = append(info.Computes, ic)
+ continue
+ }
+ // Check for default context length line
+ if defaultCtxMarker.MatchString(line) {
+ match := defaultCtxRegex.FindStringSubmatch(line)
+ if len(match) > 1 {
+ numCtx, err := strconv.Atoi(match[1])
+ if err == nil {
+ info.DefaultContextLength = numCtx
+ slog.Info("Matched default context length", "default_num_ctx", numCtx)
+ }
+ }
+ return info, nil
+ }
+ // If we've found compute info but hit a non-matching line, return what we have
+ // This handles older server versions that don't log the default context line
+ if len(info.Computes) > 0 {
+ return info, nil
+ }
+ }
+ time.Sleep(100 * time.Millisecond)
+ }
+}
diff --git a/western_ai/usa/ollama/app/server/server_test.go b/western_ai/usa/ollama/app/server/server_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..cb9674229fea072e82ffd87ef403d10bbcbc4b84
--- /dev/null
+++ b/western_ai/usa/ollama/app/server/server_test.go
@@ -0,0 +1,400 @@
+//go:build windows || darwin
+
+package server
+
+import (
+ "context"
+ "os"
+ "path/filepath"
+ "reflect"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/ollama/ollama/app/store"
+)
+
+func TestNew(t *testing.T) {
+ tmpDir := t.TempDir()
+ st := &store.Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer st.Close() // Ensure database is closed before cleanup
+ s := New(st, false)
+
+ if s == nil {
+ t.Fatal("expected non-nil server")
+ }
+
+ if s.bin == "" {
+ t.Error("expected non-empty bin path")
+ }
+}
+
+func TestServerCmd(t *testing.T) {
+ os.Unsetenv("OLLAMA_HOST")
+ os.Unsetenv("OLLAMA_ORIGINS")
+ os.Unsetenv("OLLAMA_MODELS")
+ var defaultModels string
+ home, err := os.UserHomeDir()
+ if err == nil {
+ defaultModels = filepath.Join(home, ".ollama", "models")
+ os.MkdirAll(defaultModels, 0o755)
+ }
+
+ tmpModels := t.TempDir()
+ tests := []struct {
+ name string
+ settings store.Settings
+ want []string
+ dont []string
+ }{
+ {
+ name: "default",
+ settings: store.Settings{},
+ want: []string{"OLLAMA_MODELS=" + defaultModels},
+ dont: []string{"OLLAMA_HOST=", "OLLAMA_ORIGINS="},
+ },
+ {
+ name: "expose",
+ settings: store.Settings{Expose: true},
+ want: []string{"OLLAMA_HOST=0.0.0.0", "OLLAMA_MODELS=" + defaultModels},
+ dont: []string{"OLLAMA_ORIGINS="},
+ },
+ {
+ name: "browser",
+ settings: store.Settings{Browser: true},
+ want: []string{"OLLAMA_ORIGINS=*", "OLLAMA_MODELS=" + defaultModels},
+ dont: []string{"OLLAMA_HOST="},
+ },
+ {
+ name: "models",
+ settings: store.Settings{Models: tmpModels},
+ want: []string{"OLLAMA_MODELS=" + tmpModels},
+ dont: []string{"OLLAMA_HOST=", "OLLAMA_ORIGINS="},
+ },
+ {
+ name: "inaccessible_models",
+ settings: store.Settings{Models: "/nonexistent/external/drive/models"},
+ want: []string{},
+ dont: []string{"OLLAMA_MODELS="},
+ },
+ {
+ name: "all",
+ settings: store.Settings{
+ Expose: true,
+ Browser: true,
+ Models: tmpModels,
+ },
+ want: []string{
+ "OLLAMA_HOST=0.0.0.0",
+ "OLLAMA_ORIGINS=*",
+ "OLLAMA_MODELS=" + tmpModels,
+ },
+ dont: []string{},
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ tmpDir := t.TempDir()
+ st := &store.Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer st.Close() // Ensure database is closed before cleanup
+ st.SetSettings(tt.settings)
+ s := &Server{
+ store: st,
+ }
+
+ cmd, err := s.cmd(t.Context())
+ if err != nil {
+ t.Fatalf("s.cmd() error = %v", err)
+ }
+
+ for _, want := range tt.want {
+ found := false
+ for _, env := range cmd.Env {
+ if strings.HasPrefix(env, want) {
+ found = true
+ break
+ }
+ }
+ if !found {
+ t.Errorf("expected environment variable containing %s", want)
+ }
+ }
+
+ for _, dont := range tt.dont {
+ for _, env := range cmd.Env {
+ if strings.HasPrefix(env, dont) {
+ t.Errorf("unexpected environment variable: %s", env)
+ }
+ }
+ }
+
+ if cmd.Cancel == nil {
+ t.Error("expected non-nil cancel function")
+ }
+ })
+ }
+}
+
+func TestServerCmdCloudSettingEnv(t *testing.T) {
+ tests := []struct {
+ name string
+ envValue string
+ configContent string
+ want string
+ }{
+ {
+ name: "default cloud enabled",
+ want: "OLLAMA_NO_CLOUD=0",
+ },
+ {
+ name: "env disables cloud",
+ envValue: "1",
+ want: "OLLAMA_NO_CLOUD=1",
+ },
+ {
+ name: "config disables cloud",
+ configContent: `{"disable_ollama_cloud": true}`,
+ want: "OLLAMA_NO_CLOUD=1",
+ },
+ {
+ name: "invalid env disables cloud",
+ envValue: "invalid",
+ want: "OLLAMA_NO_CLOUD=1",
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ tmpHome := t.TempDir()
+ t.Setenv("HOME", tmpHome)
+ t.Setenv("USERPROFILE", tmpHome)
+ t.Setenv("OLLAMA_NO_CLOUD", tt.envValue)
+
+ if tt.configContent != "" {
+ configDir := filepath.Join(tmpHome, ".ollama")
+ if err := os.MkdirAll(configDir, 0o755); err != nil {
+ t.Fatalf("mkdir config dir: %v", err)
+ }
+ configPath := filepath.Join(configDir, "server.json")
+ if err := os.WriteFile(configPath, []byte(tt.configContent), 0o644); err != nil {
+ t.Fatalf("write config: %v", err)
+ }
+ }
+
+ st := &store.Store{DBPath: filepath.Join(t.TempDir(), "db.sqlite")}
+ defer st.Close()
+
+ s := &Server{store: st}
+ cmd, err := s.cmd(t.Context())
+ if err != nil {
+ t.Fatalf("s.cmd() error = %v", err)
+ }
+
+ found := false
+ for _, env := range cmd.Env {
+ if env == tt.want {
+ found = true
+ break
+ }
+ }
+ if !found {
+ t.Fatalf("expected environment variable %q in command env", tt.want)
+ }
+ })
+ }
+}
+
+func TestOllamaServeArgs(t *testing.T) {
+ tests := []struct {
+ name string
+ args []string
+ want bool
+ }{
+ {
+ name: "system ollama serve",
+ args: []string{"ollama", "serve"},
+ want: true,
+ },
+ {
+ name: "relative path ollama serve",
+ args: []string{"./ollama", "serve"},
+ want: true,
+ },
+ {
+ name: "serve after other flags",
+ args: []string{"./ollama", "--verbose", "serve"},
+ want: true,
+ },
+ {
+ name: "start alias",
+ args: []string{"ollama", "start"},
+ want: true,
+ },
+ {
+ name: "launch command",
+ args: []string{"ollama", "launch", "opencode"},
+ want: false,
+ },
+ {
+ name: "run command with model named serve",
+ args: []string{"ollama", "run", "serve"},
+ want: false,
+ },
+ {
+ name: "launch command with serve in passthrough args",
+ args: []string{"ollama", "launch", "codex", "--", "-p", "serve"},
+ want: false,
+ },
+ {
+ name: "different executable",
+ args: []string{"go", "run", "serve"},
+ want: false,
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ if got := ollamaServeArgs(tt.args); got != tt.want {
+ t.Fatalf("ollamaServeArgs(%v) = %v, want %v", tt.args, got, tt.want)
+ }
+ })
+ }
+}
+
+func TestGetInferenceInfo(t *testing.T) {
+ tests := []struct {
+ name string
+ log string
+ expComputes []InferenceCompute
+ expDefaultCtxLen int
+ }{
+ {
+ name: "metal",
+ log: `time=2025-06-30T09:23:07.374-07:00 level=DEBUG source=sched.go:108 msg="starting llm scheduler"
+time=2025-06-30T09:23:07.416-07:00 level=INFO source=types.go:130 msg="inference compute" id=0 library=metal variant="" compute="" driver=0.0 name="" total="96.0 GiB" available="96.0 GiB"
+time=2025-06-30T09:23:07.417-07:00 level=INFO source=routes.go:1721 msg="vram-based default context" total_vram="96.0 GiB" default_num_ctx=262144
+time=2025-06-30T09:25:56.197-07:00 level=DEBUG source=ggml.go:155 msg="key not found" key=general.alignment default=32
+`,
+ expComputes: []InferenceCompute{{
+ Library: "metal",
+ Driver: "0.0",
+ VRAM: "96.0 GiB",
+ }},
+ expDefaultCtxLen: 262144,
+ },
+ {
+ name: "cpu",
+ log: `time=2025-07-01T17:59:51.470Z level=INFO source=gpu.go:377 msg="no compatible GPUs were discovered"
+time=2025-07-01T17:59:51.470Z level=INFO source=types.go:130 msg="inference compute" id=0 library=cpu variant="" compute="" driver=0.0 name="" total="31.3 GiB" available="30.4 GiB"
+time=2025-07-01T17:59:51.471Z level=INFO source=routes.go:1721 msg="vram-based default context" total_vram="31.3 GiB" default_num_ctx=32768
+[GIN] 2025/07/01 - 18:00:09 | 200 | 50.263µs | 100.126.204.152 | HEAD "/"
+`,
+ expComputes: []InferenceCompute{{
+ Library: "cpu",
+ Driver: "0.0",
+ VRAM: "31.3 GiB",
+ }},
+ expDefaultCtxLen: 32768,
+ },
+ {
+ name: "cuda1",
+ log: `time=2025-07-01T19:33:43.162Z level=DEBUG source=amd_linux.go:419 msg="amdgpu driver not detected /sys/module/amdgpu"
+releasing cuda driver library
+time=2025-07-01T19:33:43.162Z level=INFO source=types.go:130 msg="inference compute" id=GPU-452cac9f-6960-839c-4fb3-0cec83699196 library=cuda variant=v12 compute=6.1 driver=12.7 name="NVIDIA GeForce GT 1030" total="3.9 GiB" available="3.9 GiB"
+time=2025-07-01T19:33:43.163Z level=INFO source=routes.go:1721 msg="vram-based default context" total_vram="3.9 GiB" default_num_ctx=4096
+[GIN] 2025/07/01 - 18:00:09 | 200 | 50.263µs | 100.126.204.152 | HEAD "/"
+`,
+ expComputes: []InferenceCompute{{
+ Library: "cuda",
+ Variant: "v12",
+ Compute: "6.1",
+ Driver: "12.7",
+ Name: "NVIDIA GeForce GT 1030",
+ VRAM: "3.9 GiB",
+ }},
+ expDefaultCtxLen: 4096,
+ },
+ {
+ name: "frank",
+ log: `time=2025-07-01T19:36:13.315Z level=INFO source=amd_linux.go:386 msg="amdgpu is supported" gpu=GPU-9abb57639fa80c50 gpu_type=gfx1030
+ releasing cuda driver library
+ time=2025-07-01T19:36:13.315Z level=INFO source=types.go:130 msg="inference compute" id=GPU-d6de3398-9932-6902-11ec-fee8e424c8a2 library=cuda variant=v12 compute=7.5 driver=12.8 name="NVIDIA GeForce RTX 2080 Ti" total="10.6 GiB" available="10.4 GiB"
+ time=2025-07-01T19:36:13.315Z level=INFO source=types.go:130 msg="inference compute" id=GPU-9abb57639fa80c50 library=rocm variant="" compute=gfx1030 driver=6.3 name=1002:73bf total="16.0 GiB" available="1.3 GiB"
+ time=2025-07-01T19:36:13.316Z level=INFO source=routes.go:1721 msg="vram-based default context" total_vram="26.6 GiB" default_num_ctx=32768
+ [GIN] 2025/07/01 - 18:00:09 | 200 | 50.263µs | 100.126.204.152 | HEAD "/"
+ `,
+ expComputes: []InferenceCompute{
+ {
+ Library: "cuda",
+ Variant: "v12",
+ Compute: "7.5",
+ Driver: "12.8",
+ Name: "NVIDIA GeForce RTX 2080 Ti",
+ VRAM: "10.6 GiB",
+ },
+ {
+ Library: "rocm",
+ Compute: "gfx1030",
+ Driver: "6.3",
+ Name: "1002:73bf",
+ VRAM: "16.0 GiB",
+ },
+ },
+ expDefaultCtxLen: 32768,
+ },
+ {
+ name: "missing_default_context",
+ log: `time=2025-06-30T09:23:07.374-07:00 level=DEBUG source=sched.go:108 msg="starting llm scheduler"
+time=2025-06-30T09:23:07.416-07:00 level=INFO source=types.go:130 msg="inference compute" id=0 library=metal variant="" compute="" driver=0.0 name="" total="96.0 GiB" available="96.0 GiB"
+time=2025-06-30T09:25:56.197-07:00 level=DEBUG source=ggml.go:155 msg="key not found" key=general.alignment default=32
+`,
+ expComputes: []InferenceCompute{{
+ Library: "metal",
+ Driver: "0.0",
+ VRAM: "96.0 GiB",
+ }},
+ expDefaultCtxLen: 0, // No default context line, should return 0
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ tmpDir := t.TempDir()
+ serverLogPath = filepath.Join(tmpDir, "server.log")
+ err := os.WriteFile(serverLogPath, []byte(tt.log), 0o644)
+ if err != nil {
+ t.Fatalf("failed to write log file %s: %s", serverLogPath, err)
+ }
+ ctx, cancel := context.WithTimeout(t.Context(), 10*time.Millisecond)
+ defer cancel()
+ info, err := GetInferenceInfo(ctx)
+ if err != nil {
+ t.Fatalf("failed to get inference info: %v", err)
+ }
+ if !reflect.DeepEqual(info.Computes, tt.expComputes) {
+ t.Fatalf("computes mismatch\ngot:\n%#v\nwant:\n%#v", info.Computes, tt.expComputes)
+ }
+ if info.DefaultContextLength != tt.expDefaultCtxLen {
+ t.Fatalf("default context length mismatch: got %d, want %d", info.DefaultContextLength, tt.expDefaultCtxLen)
+ }
+ })
+ }
+}
+
+func TestGetInferenceInfoTimeout(t *testing.T) {
+ ctx, cancel := context.WithTimeout(t.Context(), 10*time.Millisecond)
+ defer cancel()
+ tmpDir := t.TempDir()
+ serverLogPath = filepath.Join(tmpDir, "server.log")
+ err := os.WriteFile(serverLogPath, []byte("foo\nbar\nbaz\n"), 0o644)
+ if err != nil {
+ t.Fatalf("failed to write log file %s: %s", serverLogPath, err)
+ }
+ _, err = GetInferenceInfo(ctx)
+ if err == nil {
+ t.Fatal("expected timeout")
+ }
+ if !strings.Contains(err.Error(), "timeout") {
+ t.Fatalf("unexpected error: %s", err)
+ }
+}
diff --git a/western_ai/usa/ollama/app/server/server_unix.go b/western_ai/usa/ollama/app/server/server_unix.go
new file mode 100644
index 0000000000000000000000000000000000000000..1f40f5b2a9f2970e3372f87902ba75d28bf3bb4b
--- /dev/null
+++ b/western_ai/usa/ollama/app/server/server_unix.go
@@ -0,0 +1,117 @@
+//go:build darwin
+
+package server
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "log/slog"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "strconv"
+ "strings"
+ "syscall"
+)
+
+var (
+ pidFile = filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "ollama.pid")
+ serverLogPath = filepath.Join(os.Getenv("HOME"), ".ollama", "logs", "server.log")
+)
+
+func commandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
+ return exec.CommandContext(ctx, name, arg...)
+}
+
+func terminate(proc *os.Process) error {
+ return proc.Signal(os.Interrupt)
+}
+
+func terminated(pid int) (bool, error) {
+ proc, err := os.FindProcess(pid)
+ if err != nil {
+ return false, fmt.Errorf("failed to find process: %v", err)
+ }
+
+ err = proc.Signal(syscall.Signal(0))
+ if err != nil {
+ if errors.Is(err, os.ErrProcessDone) || errors.Is(err, syscall.ESRCH) {
+ return true, nil
+ }
+
+ return false, fmt.Errorf("error signaling process: %v", err)
+ }
+
+ return false, nil
+}
+
+func ollamaServeProcess(pid int) bool {
+ output, err := exec.Command("ps", "-p", strconv.Itoa(pid), "-o", "args=").Output()
+ if err != nil {
+ slog.Debug("failed to inspect ollama process", "pid", pid, "err", err)
+ return false
+ }
+
+ return ollamaServeArgs(strings.Fields(strings.TrimSpace(string(output))))
+}
+
+// reapServers kills external ollama serve processes except our own.
+func reapServers() error {
+ // Get our own PID to avoid killing ourselves
+ currentPID := os.Getpid()
+
+ // Use pkill to kill ollama processes
+ // -x matches the whole command name exactly
+ // We'll get the list first, then kill selectively
+ cmd := exec.Command("pgrep", "-x", "ollama")
+ output, err := cmd.Output()
+ if err != nil {
+ // No ollama processes found
+ slog.Debug("no ollama processes found")
+ return nil //nolint:nilerr
+ }
+
+ pidsStr := strings.TrimSpace(string(output))
+ if pidsStr == "" {
+ return nil
+ }
+
+ pids := strings.Split(pidsStr, "\n")
+ for _, pidStr := range pids {
+ pidStr = strings.TrimSpace(pidStr)
+ if pidStr == "" {
+ continue
+ }
+
+ pid, err := strconv.Atoi(pidStr)
+ if err != nil {
+ slog.Debug("failed to parse PID", "pidStr", pidStr, "err", err)
+ continue
+ }
+ if pid == currentPID {
+ continue
+ }
+ if !ollamaServeProcess(pid) {
+ continue
+ }
+
+ proc, err := os.FindProcess(pid)
+ if err != nil {
+ slog.Debug("failed to find process", "pid", pid, "err", err)
+ continue
+ }
+
+ if err := proc.Signal(syscall.SIGTERM); err != nil {
+ // Try SIGKILL if SIGTERM fails
+ if err := proc.Signal(syscall.SIGKILL); err != nil {
+ slog.Warn("failed to stop external ollama process", "pid", pid, "err", err)
+ continue
+ }
+ }
+
+ slog.Info("stopped external ollama process", "pid", pid)
+ }
+
+ return nil
+}
diff --git a/western_ai/usa/ollama/app/server/server_windows.go b/western_ai/usa/ollama/app/server/server_windows.go
new file mode 100644
index 0000000000000000000000000000000000000000..b6b3b6530581e4de0c9e054ac4bb2744cacdcb6e
--- /dev/null
+++ b/western_ai/usa/ollama/app/server/server_windows.go
@@ -0,0 +1,174 @@
+package server
+
+import (
+ "context"
+ "fmt"
+ "log/slog"
+ "os"
+ "os/exec"
+ "path/filepath"
+ "strconv"
+ "strings"
+ "syscall"
+
+ "golang.org/x/sys/windows"
+)
+
+var (
+ pidFile = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "ollama.pid")
+ serverLogPath = filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "server.log")
+)
+
+func commandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
+ cmd := exec.CommandContext(ctx, name, arg...)
+ cmd.SysProcAttr = &syscall.SysProcAttr{
+ HideWindow: true,
+ CreationFlags: windows.CREATE_NEW_PROCESS_GROUP,
+ }
+
+ return cmd
+}
+
+func terminate(proc *os.Process) error {
+ dll, err := windows.LoadDLL("kernel32.dll")
+ if err != nil {
+ return err
+ }
+ defer dll.Release()
+
+ pid := proc.Pid
+
+ f, err := dll.FindProc("AttachConsole")
+ if err != nil {
+ return err
+ }
+
+ r1, _, err := f.Call(uintptr(pid))
+ if r1 == 0 && err != syscall.ERROR_ACCESS_DENIED {
+ return err
+ }
+
+ f, err = dll.FindProc("SetConsoleCtrlHandler")
+ if err != nil {
+ return err
+ }
+
+ r1, _, err = f.Call(0, 1)
+ if r1 == 0 {
+ return err
+ }
+
+ f, err = dll.FindProc("GenerateConsoleCtrlEvent")
+ if err != nil {
+ return err
+ }
+
+ r1, _, err = f.Call(windows.CTRL_BREAK_EVENT, uintptr(pid))
+ if r1 == 0 {
+ return err
+ }
+
+ r1, _, err = f.Call(windows.CTRL_C_EVENT, uintptr(pid))
+ if r1 == 0 {
+ return err
+ }
+
+ return nil
+}
+
+const STILL_ACTIVE = 259
+
+func terminated(pid int) (bool, error) {
+ hProcess, err := windows.OpenProcess(windows.PROCESS_QUERY_INFORMATION, false, uint32(pid))
+ if err != nil {
+ if errno, ok := err.(windows.Errno); ok && errno == windows.ERROR_INVALID_PARAMETER {
+ return true, nil
+ }
+ return false, fmt.Errorf("failed to open process: %v", err)
+ }
+ defer windows.CloseHandle(hProcess)
+
+ var exitCode uint32
+ err = windows.GetExitCodeProcess(hProcess, &exitCode)
+ if err != nil {
+ return false, fmt.Errorf("failed to get exit code: %v", err)
+ }
+
+ if exitCode == STILL_ACTIVE {
+ return false, nil
+ }
+
+ return true, nil
+}
+
+func ollamaServeProcess(pid int) bool {
+ cmd := exec.Command("wmic", "process", "where", fmt.Sprintf("ProcessId=%d", pid), "get", "CommandLine", "/value")
+ cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
+ output, err := cmd.Output()
+ if err != nil {
+ slog.Debug("failed to inspect ollama process", "pid", pid, "err", err)
+ return false
+ }
+
+ for _, line := range strings.Split(string(output), "\n") {
+ line = strings.TrimSpace(line)
+ commandLine, ok := strings.CutPrefix(line, "CommandLine=")
+ if !ok {
+ continue
+ }
+
+ return ollamaServeArgs(strings.Fields(strings.ToLower(commandLine)))
+ }
+
+ return false
+}
+
+// reapServers kills external ollama serve processes except our own.
+func reapServers() error {
+ // Get current process ID to avoid killing ourselves
+ currentPID := os.Getpid()
+
+ // Use wmic to find ollama processes
+ cmd := exec.Command("wmic", "process", "where", "name='ollama.exe'", "get", "ProcessId")
+ cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
+ output, err := cmd.Output()
+ if err != nil {
+ // No ollama processes found
+ slog.Debug("no ollama processes found")
+ return nil //nolint:nilerr
+ }
+
+ lines := strings.Split(string(output), "\n")
+ var pids []string
+ for _, line := range lines {
+ line = strings.TrimSpace(line)
+ if line == "" || line == "ProcessId" {
+ continue
+ }
+
+ if _, err := strconv.Atoi(line); err == nil {
+ pids = append(pids, line)
+ }
+ }
+
+ for _, pidStr := range pids {
+ pid, err := strconv.Atoi(pidStr)
+ if err != nil {
+ continue
+ }
+
+ if pid == currentPID {
+ continue
+ }
+ if !ollamaServeProcess(pid) {
+ continue
+ }
+
+ cmd := exec.Command("taskkill", "/F", "/T", "/PID", pidStr)
+ if err := cmd.Run(); err != nil {
+ slog.Warn("failed to kill ollama process", "pid", pid, "err", err)
+ }
+ }
+
+ return nil
+}
diff --git a/western_ai/usa/ollama/app/store/cloud_config.go b/western_ai/usa/ollama/app/store/cloud_config.go
new file mode 100644
index 0000000000000000000000000000000000000000..7a71cbd7bab16ee2309c192690e6d24abddd685d
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/cloud_config.go
@@ -0,0 +1,128 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "encoding/json"
+ "errors"
+ "fmt"
+ "os"
+ "path/filepath"
+
+ "github.com/ollama/ollama/envconfig"
+)
+
+const serverConfigFilename = "server.json"
+
+type serverConfig struct {
+ DisableOllamaCloud bool `json:"disable_ollama_cloud,omitempty"`
+}
+
+// CloudDisabled returns whether cloud features should be disabled.
+// The source of truth is: OLLAMA_NO_CLOUD OR ~/.ollama/server.json:disable_ollama_cloud.
+func (s *Store) CloudDisabled() (bool, error) {
+ disabled, _, err := s.CloudStatus()
+ return disabled, err
+}
+
+// CloudStatus returns whether cloud is disabled and the source of that decision.
+// Source is one of: "none", "env", "config", "both".
+func (s *Store) CloudStatus() (bool, string, error) {
+ if err := s.ensureDB(); err != nil {
+ return false, "", err
+ }
+
+ configDisabled, err := readServerConfigCloudDisabled()
+ if err != nil {
+ return false, "", err
+ }
+
+ envDisabled := envconfig.NoCloudEnv()
+ return envDisabled || configDisabled, cloudStatusSource(envDisabled, configDisabled), nil
+}
+
+// SetCloudEnabled writes the cloud setting to ~/.ollama/server.json.
+func (s *Store) SetCloudEnabled(enabled bool) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+ return setCloudEnabled(enabled)
+}
+
+func setCloudEnabled(enabled bool) error {
+ configPath, err := serverConfigPath()
+ if err != nil {
+ return err
+ }
+
+ if err := os.MkdirAll(filepath.Dir(configPath), 0o755); err != nil {
+ return fmt.Errorf("create server config directory: %w", err)
+ }
+
+ configMap := map[string]any{}
+ if data, err := os.ReadFile(configPath); err == nil {
+ if err := json.Unmarshal(data, &configMap); err != nil {
+ // If the existing file is invalid JSON, overwrite with a fresh object.
+ configMap = map[string]any{}
+ }
+ } else if !errors.Is(err, os.ErrNotExist) {
+ return fmt.Errorf("read server config: %w", err)
+ }
+
+ configMap["disable_ollama_cloud"] = !enabled
+
+ data, err := json.MarshalIndent(configMap, "", " ")
+ if err != nil {
+ return fmt.Errorf("marshal server config: %w", err)
+ }
+ data = append(data, '\n')
+
+ if err := os.WriteFile(configPath, data, 0o644); err != nil {
+ return fmt.Errorf("write server config: %w", err)
+ }
+
+ return nil
+}
+
+func readServerConfigCloudDisabled() (bool, error) {
+ configPath, err := serverConfigPath()
+ if err != nil {
+ return false, err
+ }
+
+ data, err := os.ReadFile(configPath)
+ if err != nil {
+ if errors.Is(err, os.ErrNotExist) {
+ return false, nil
+ }
+ return false, fmt.Errorf("read server config: %w", err)
+ }
+
+ var cfg serverConfig
+ // Invalid or unexpected JSON should not block startup; treat as default.
+ if json.Unmarshal(data, &cfg) == nil {
+ return cfg.DisableOllamaCloud, nil
+ }
+ return false, nil
+}
+
+func serverConfigPath() (string, error) {
+ home, err := os.UserHomeDir()
+ if err != nil {
+ return "", fmt.Errorf("resolve home directory: %w", err)
+ }
+ return filepath.Join(home, ".ollama", serverConfigFilename), nil
+}
+
+func cloudStatusSource(envDisabled bool, configDisabled bool) string {
+ switch {
+ case envDisabled && configDisabled:
+ return "both"
+ case envDisabled:
+ return "env"
+ case configDisabled:
+ return "config"
+ default:
+ return "none"
+ }
+}
diff --git a/western_ai/usa/ollama/app/store/cloud_config_test.go b/western_ai/usa/ollama/app/store/cloud_config_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..a8154d60cc7affafbb66fb9da6af0df5c01e3af6
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/cloud_config_test.go
@@ -0,0 +1,130 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "encoding/json"
+ "os"
+ "path/filepath"
+ "testing"
+)
+
+func TestCloudDisabled(t *testing.T) {
+ tests := []struct {
+ name string
+ envValue string
+ configContent string
+ wantDisabled bool
+ wantSource string
+ }{
+ {
+ name: "default enabled",
+ wantDisabled: false,
+ wantSource: "none",
+ },
+ {
+ name: "env disables cloud",
+ envValue: "1",
+ wantDisabled: true,
+ wantSource: "env",
+ },
+ {
+ name: "config disables cloud",
+ configContent: `{"disable_ollama_cloud": true}`,
+ wantDisabled: true,
+ wantSource: "config",
+ },
+ {
+ name: "env and config",
+ envValue: "1",
+ configContent: `{"disable_ollama_cloud": false}`,
+ wantDisabled: true,
+ wantSource: "env",
+ },
+ {
+ name: "invalid config is ignored",
+ configContent: `{bad`,
+ wantDisabled: false,
+ wantSource: "none",
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ tmpHome := t.TempDir()
+ setTestHome(t, tmpHome)
+ t.Setenv("OLLAMA_NO_CLOUD", tt.envValue)
+
+ if tt.configContent != "" {
+ configDir := filepath.Join(tmpHome, ".ollama")
+ if err := os.MkdirAll(configDir, 0o755); err != nil {
+ t.Fatalf("mkdir config dir: %v", err)
+ }
+ configPath := filepath.Join(configDir, serverConfigFilename)
+ if err := os.WriteFile(configPath, []byte(tt.configContent), 0o644); err != nil {
+ t.Fatalf("write config: %v", err)
+ }
+ }
+
+ s := &Store{DBPath: filepath.Join(tmpHome, "db.sqlite")}
+ defer s.Close()
+
+ disabled, err := s.CloudDisabled()
+ if err != nil {
+ t.Fatalf("CloudDisabled() error = %v", err)
+ }
+ if disabled != tt.wantDisabled {
+ t.Fatalf("CloudDisabled() = %v, want %v", disabled, tt.wantDisabled)
+ }
+
+ statusDisabled, source, err := s.CloudStatus()
+ if err != nil {
+ t.Fatalf("CloudStatus() error = %v", err)
+ }
+ if statusDisabled != tt.wantDisabled {
+ t.Fatalf("CloudStatus() disabled = %v, want %v", statusDisabled, tt.wantDisabled)
+ }
+ if source != tt.wantSource {
+ t.Fatalf("CloudStatus() source = %v, want %v", source, tt.wantSource)
+ }
+ })
+ }
+}
+
+func TestSetCloudEnabled(t *testing.T) {
+ tmpHome := t.TempDir()
+ setTestHome(t, tmpHome)
+
+ configDir := filepath.Join(tmpHome, ".ollama")
+ if err := os.MkdirAll(configDir, 0o755); err != nil {
+ t.Fatalf("mkdir config dir: %v", err)
+ }
+ configPath := filepath.Join(configDir, serverConfigFilename)
+ if err := os.WriteFile(configPath, []byte(`{"another_key":"value","disable_ollama_cloud":true}`), 0o644); err != nil {
+ t.Fatalf("seed config: %v", err)
+ }
+
+ s := &Store{DBPath: filepath.Join(tmpHome, "db.sqlite")}
+ defer s.Close()
+
+ if err := s.SetCloudEnabled(true); err != nil {
+ t.Fatalf("SetCloudEnabled(true) error = %v", err)
+ }
+
+ data, err := os.ReadFile(configPath)
+ if err != nil {
+ t.Fatalf("read config: %v", err)
+ }
+
+ var got map[string]any
+ if err := json.Unmarshal(data, &got); err != nil {
+ t.Fatalf("unmarshal config: %v", err)
+ }
+
+ if got["disable_ollama_cloud"] != false {
+ t.Fatalf("disable_ollama_cloud = %v, want false", got["disable_ollama_cloud"])
+ }
+ if got["another_key"] != "value" {
+ t.Fatalf("another_key = %v, want value", got["another_key"])
+ }
+}
diff --git a/western_ai/usa/ollama/app/store/database.go b/western_ai/usa/ollama/app/store/database.go
new file mode 100644
index 0000000000000000000000000000000000000000..6c6767c52726616fc3cadb93df646ee6c9c990c3
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/database.go
@@ -0,0 +1,1347 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "database/sql"
+ "encoding/json"
+ "fmt"
+ "strings"
+ "time"
+
+ _ "github.com/mattn/go-sqlite3"
+)
+
+// currentSchemaVersion defines the current database schema version.
+// Increment this when making schema changes that require migrations.
+const currentSchemaVersion = 16
+
+// database wraps the SQLite connection.
+// SQLite handles its own locking for concurrent access:
+// - Multiple readers can access the database simultaneously
+// - Writers are serialized (only one writer at a time)
+// - WAL mode allows readers to not block writers
+// This means we don't need application-level locks for database operations.
+type database struct {
+ conn *sql.DB
+}
+
+func newDatabase(dbPath string) (*database, error) {
+ // Open database connection
+ conn, err := sql.Open("sqlite3", dbPath+"?_foreign_keys=on&_journal_mode=WAL&_busy_timeout=5000&_txlock=immediate")
+ if err != nil {
+ return nil, fmt.Errorf("open database: %w", err)
+ }
+
+ // Test the connection
+ if err := conn.Ping(); err != nil {
+ conn.Close()
+ return nil, fmt.Errorf("ping database: %w", err)
+ }
+
+ db := &database{conn: conn}
+
+ // Initialize schema
+ if err := db.init(); err != nil {
+ conn.Close()
+ return nil, fmt.Errorf("initialize database: %w", err)
+ }
+
+ return db, nil
+}
+
+func (db *database) Close() error {
+ _, _ = db.conn.Exec("PRAGMA wal_checkpoint(TRUNCATE);")
+
+ return db.conn.Close()
+}
+
+func (db *database) init() error {
+ if _, err := db.conn.Exec("PRAGMA foreign_keys = ON"); err != nil {
+ return fmt.Errorf("enable foreign keys: %w", err)
+ }
+
+ schema := fmt.Sprintf(`
+ CREATE TABLE IF NOT EXISTS settings (
+ id INTEGER PRIMARY KEY CHECK (id = 1),
+ device_id TEXT NOT NULL DEFAULT '',
+ has_completed_first_run BOOLEAN NOT NULL DEFAULT 0,
+ expose BOOLEAN NOT NULL DEFAULT 0,
+ survey BOOLEAN NOT NULL DEFAULT TRUE,
+ browser BOOLEAN NOT NULL DEFAULT 0,
+ models TEXT NOT NULL DEFAULT '',
+ agent BOOLEAN NOT NULL DEFAULT 0,
+ tools BOOLEAN NOT NULL DEFAULT 0,
+ working_dir TEXT NOT NULL DEFAULT '',
+ context_length INTEGER NOT NULL DEFAULT 0,
+ window_width INTEGER NOT NULL DEFAULT 0,
+ window_height INTEGER NOT NULL DEFAULT 0,
+ config_migrated BOOLEAN NOT NULL DEFAULT 0,
+ airplane_mode BOOLEAN NOT NULL DEFAULT 0,
+ turbo_enabled BOOLEAN NOT NULL DEFAULT 0,
+ websearch_enabled BOOLEAN NOT NULL DEFAULT 0,
+ selected_model TEXT NOT NULL DEFAULT '',
+ sidebar_open BOOLEAN NOT NULL DEFAULT 0,
+ last_home_view TEXT NOT NULL DEFAULT 'launch',
+ think_enabled BOOLEAN NOT NULL DEFAULT 0,
+ think_level TEXT NOT NULL DEFAULT '',
+ cloud_setting_migrated BOOLEAN NOT NULL DEFAULT 0,
+ remote TEXT NOT NULL DEFAULT '', -- deprecated
+ auto_update_enabled BOOLEAN NOT NULL DEFAULT 1,
+ schema_version INTEGER NOT NULL DEFAULT %d
+ );
+
+ -- Insert default settings row if it doesn't exist
+ INSERT OR IGNORE INTO settings (id) VALUES (1);
+
+ CREATE TABLE IF NOT EXISTS chats (
+ id TEXT PRIMARY KEY,
+ title TEXT NOT NULL DEFAULT '',
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ browser_state TEXT
+ );
+
+ CREATE TABLE IF NOT EXISTS messages (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ chat_id TEXT NOT NULL,
+ role TEXT NOT NULL,
+ content TEXT NOT NULL DEFAULT '',
+ thinking TEXT NOT NULL DEFAULT '',
+ stream BOOLEAN NOT NULL DEFAULT 0,
+ model_name TEXT,
+ model_cloud BOOLEAN, -- deprecated
+ model_ollama_host BOOLEAN, -- deprecated
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ thinking_time_start TIMESTAMP,
+ thinking_time_end TIMESTAMP,
+ tool_result TEXT,
+ FOREIGN KEY (chat_id) REFERENCES chats(id) ON DELETE CASCADE
+ );
+
+ CREATE INDEX IF NOT EXISTS idx_messages_chat_id ON messages(chat_id);
+
+ CREATE TABLE IF NOT EXISTS tool_calls (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ type TEXT NOT NULL,
+ function_name TEXT NOT NULL,
+ function_arguments TEXT NOT NULL,
+ function_result TEXT,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+ );
+
+ CREATE INDEX IF NOT EXISTS idx_tool_calls_message_id ON tool_calls(message_id);
+
+ CREATE TABLE IF NOT EXISTS attachments (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ filename TEXT NOT NULL,
+ data BLOB NOT NULL,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+ );
+
+ CREATE INDEX IF NOT EXISTS idx_attachments_message_id ON attachments(message_id);
+
+ CREATE TABLE IF NOT EXISTS users (
+ name TEXT NOT NULL DEFAULT '',
+ email TEXT NOT NULL DEFAULT '',
+ plan TEXT NOT NULL DEFAULT '',
+ cached_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
+ );
+ `, currentSchemaVersion)
+
+ _, err := db.conn.Exec(schema)
+ if err != nil {
+ return err
+ }
+
+ // Check and upgrade schema version if needed
+ if err := db.migrate(); err != nil {
+ return fmt.Errorf("migrate schema: %w", err)
+ }
+
+ // Clean up orphaned records created before foreign key constraints were properly enforced
+ // TODO: Can eventually be removed - cleans up data from foreign key bug (ollama/ollama#11785, ollama/app#476)
+ if err := db.cleanupOrphanedData(); err != nil {
+ return fmt.Errorf("cleanup orphaned data: %w", err)
+ }
+
+ return nil
+}
+
+// migrate handles database schema migrations
+func (db *database) migrate() error {
+ // Get current schema version
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ return fmt.Errorf("get schema version after migration attempt: %w", err)
+ }
+
+ // Run migrations for each version
+ for version < currentSchemaVersion {
+ switch version {
+ case 1:
+ // Migrate from version 1 to 2: add context_length column
+ if err := db.migrateV1ToV2(); err != nil {
+ return fmt.Errorf("migrate v1 to v2: %w", err)
+ }
+ version = 2
+ case 2:
+ // Migrate from version 2 to 3: create attachments table
+ if err := db.migrateV2ToV3(); err != nil {
+ return fmt.Errorf("migrate v2 to v3: %w", err)
+ }
+ version = 3
+ case 3:
+ // Migrate from version 3 to 4: add tool_result column to messages table
+ if err := db.migrateV3ToV4(); err != nil {
+ return fmt.Errorf("migrate v3 to v4: %w", err)
+ }
+ version = 4
+ case 4:
+ // add airplane_mode column to settings table
+ if err := db.migrateV4ToV5(); err != nil {
+ return fmt.Errorf("migrate v4 to v5: %w", err)
+ }
+ version = 5
+ case 5:
+ // add turbo_enabled column to settings table
+ if err := db.migrateV5ToV6(); err != nil {
+ return fmt.Errorf("migrate v5 to v6: %w", err)
+ }
+ version = 6
+ case 6:
+ // add missing index for attachments table
+ if err := db.migrateV6ToV7(); err != nil {
+ return fmt.Errorf("migrate v6 to v7: %w", err)
+ }
+ version = 7
+ case 7:
+ // add think_enabled and think_level columns to settings table
+ if err := db.migrateV7ToV8(); err != nil {
+ return fmt.Errorf("migrate v7 to v8: %w", err)
+ }
+ version = 8
+ case 8:
+ // add browser_state column to chats table
+ if err := db.migrateV8ToV9(); err != nil {
+ return fmt.Errorf("migrate v8 to v9: %w", err)
+ }
+ version = 9
+ case 9:
+ // add cached user table
+ if err := db.migrateV9ToV10(); err != nil {
+ return fmt.Errorf("migrate v9 to v10: %w", err)
+ }
+ version = 10
+ case 10:
+ // remove remote column from settings table
+ if err := db.migrateV10ToV11(); err != nil {
+ return fmt.Errorf("migrate v10 to v11: %w", err)
+ }
+ version = 11
+ case 11:
+ // bring back remote column for backwards compatibility (deprecated)
+ if err := db.migrateV11ToV12(); err != nil {
+ return fmt.Errorf("migrate v11 to v12: %w", err)
+ }
+ version = 12
+ case 12:
+ // add cloud_setting_migrated column to settings table
+ if err := db.migrateV12ToV13(); err != nil {
+ return fmt.Errorf("migrate v12 to v13: %w", err)
+ }
+ version = 13
+ case 13:
+ // change default context_length from 4096 to 0 (VRAM-based tiered defaults)
+ if err := db.migrateV13ToV14(); err != nil {
+ return fmt.Errorf("migrate v13 to v14: %w", err)
+ }
+ version = 14
+ case 14:
+ // add auto_update_enabled column to settings table
+ if err := db.migrateV14ToV15(); err != nil {
+ return fmt.Errorf("migrate v14 to v15: %w", err)
+ }
+ version = 15
+ case 15:
+ // add last_home_view column to settings table
+ if err := db.migrateV15ToV16(); err != nil {
+ return fmt.Errorf("migrate v15 to v16: %w", err)
+ }
+ version = 16
+ default:
+ // If we have a version we don't recognize, just set it to current
+ // This might happen during development
+ version = currentSchemaVersion
+ }
+ }
+
+ return nil
+}
+
+// migrateV1ToV2 adds the context_length column to the settings table
+func (db *database) migrateV1ToV2() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN context_length INTEGER NOT NULL DEFAULT 4096;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add context_length column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`ALTER TABLE settings ADD COLUMN survey BOOLEAN NOT NULL DEFAULT TRUE;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add survey column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 2;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+ return nil
+}
+
+// migrateV2ToV3 creates the attachments table
+func (db *database) migrateV2ToV3() error {
+ _, err := db.conn.Exec(`
+ CREATE TABLE IF NOT EXISTS attachments (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ filename TEXT NOT NULL,
+ data BLOB NOT NULL,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+ )
+ `)
+ if err != nil {
+ return fmt.Errorf("create attachments table: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 3`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+func (db *database) migrateV3ToV4() error {
+ _, err := db.conn.Exec(`ALTER TABLE messages ADD COLUMN tool_result TEXT;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add tool_result column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 4;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV4ToV5 adds the airplane_mode column to the settings table
+func (db *database) migrateV4ToV5() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN airplane_mode BOOLEAN NOT NULL DEFAULT 0;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add airplane_mode column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 5;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV5ToV6 adds the turbo_enabled, websearch_enabled, selected_model, sidebar_open columns to the settings table
+func (db *database) migrateV5ToV6() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN turbo_enabled BOOLEAN NOT NULL DEFAULT 0;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add turbo_enabled column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`ALTER TABLE settings ADD COLUMN websearch_enabled BOOLEAN NOT NULL DEFAULT 0;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add websearch_enabled column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`ALTER TABLE settings ADD COLUMN selected_model TEXT NOT NULL DEFAULT '';`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add selected_model column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`ALTER TABLE settings ADD COLUMN sidebar_open BOOLEAN NOT NULL DEFAULT 0;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add sidebar_open column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 6;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV6ToV7 adds the missing index for the attachments table
+func (db *database) migrateV6ToV7() error {
+ _, err := db.conn.Exec(`CREATE INDEX IF NOT EXISTS idx_attachments_message_id ON attachments(message_id);`)
+ if err != nil {
+ return fmt.Errorf("create attachments index: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 7;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV7ToV8 adds the think_enabled and think_level columns to the settings table
+func (db *database) migrateV7ToV8() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN think_enabled BOOLEAN NOT NULL DEFAULT 0;`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add think_enabled column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`ALTER TABLE settings ADD COLUMN think_level TEXT NOT NULL DEFAULT '';`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add think_level column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 8;`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV8ToV9 adds browser_state to chats and bumps schema
+func (db *database) migrateV8ToV9() error {
+ _, err := db.conn.Exec(`
+ ALTER TABLE chats ADD COLUMN browser_state TEXT;
+ UPDATE settings SET schema_version = 9;
+ `)
+
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add browser_state column: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV9ToV10 adds users table
+func (db *database) migrateV9ToV10() error {
+ _, err := db.conn.Exec(`
+ CREATE TABLE IF NOT EXISTS users (
+ name TEXT NOT NULL DEFAULT '',
+ email TEXT NOT NULL DEFAULT '',
+ plan TEXT NOT NULL DEFAULT '',
+ cached_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
+ );
+ UPDATE settings SET schema_version = 10;
+ `)
+ if err != nil {
+ return fmt.Errorf("create users table: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV10ToV11 removes the remote column from the settings table
+func (db *database) migrateV10ToV11() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings DROP COLUMN remote`)
+ if err != nil && !columnNotExists(err) {
+ return fmt.Errorf("drop remote column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 11`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV11ToV12 brings back the remote column for backwards compatibility (deprecated)
+func (db *database) migrateV11ToV12() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN remote TEXT NOT NULL DEFAULT ''`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add remote column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 12`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV12ToV13 adds cloud_setting_migrated to settings.
+func (db *database) migrateV12ToV13() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN cloud_setting_migrated BOOLEAN NOT NULL DEFAULT 0`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add cloud_setting_migrated column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 13`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV13ToV14 changes the default context_length from 4096 to 0.
+// When context_length is 0, the ollama server uses VRAM-based tiered defaults.
+func (db *database) migrateV13ToV14() error {
+ _, err := db.conn.Exec(`UPDATE settings SET context_length = 0 WHERE context_length = 4096`)
+ if err != nil {
+ return fmt.Errorf("update context_length default: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 14`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV14ToV15 adds the auto_update_enabled column to the settings table
+func (db *database) migrateV14ToV15() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN auto_update_enabled BOOLEAN NOT NULL DEFAULT 1`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add auto_update_enabled column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 15`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// migrateV15ToV16 adds the last_home_view column to the settings table
+func (db *database) migrateV15ToV16() error {
+ _, err := db.conn.Exec(`ALTER TABLE settings ADD COLUMN last_home_view TEXT NOT NULL DEFAULT 'launch'`)
+ if err != nil && !duplicateColumnError(err) {
+ return fmt.Errorf("add last_home_view column: %w", err)
+ }
+
+ _, err = db.conn.Exec(`UPDATE settings SET schema_version = 16`)
+ if err != nil {
+ return fmt.Errorf("update schema version: %w", err)
+ }
+
+ return nil
+}
+
+// cleanupOrphanedData removes orphaned records that may exist due to the foreign key bug
+func (db *database) cleanupOrphanedData() error {
+ _, err := db.conn.Exec(`
+ DELETE FROM tool_calls
+ WHERE message_id NOT IN (SELECT id FROM messages)
+ `)
+ if err != nil {
+ return fmt.Errorf("cleanup orphaned tool_calls: %w", err)
+ }
+
+ _, err = db.conn.Exec(`
+ DELETE FROM attachments
+ WHERE message_id NOT IN (SELECT id FROM messages)
+ `)
+ if err != nil {
+ return fmt.Errorf("cleanup orphaned attachments: %w", err)
+ }
+
+ _, err = db.conn.Exec(`
+ DELETE FROM messages
+ WHERE chat_id NOT IN (SELECT id FROM chats)
+ `)
+ if err != nil {
+ return fmt.Errorf("cleanup orphaned messages: %w", err)
+ }
+
+ return nil
+}
+
+func duplicateColumnError(err error) bool {
+ return err != nil && strings.Contains(err.Error(), "duplicate column name")
+}
+
+func columnNotExists(err error) bool {
+ return err != nil && strings.Contains(err.Error(), "no such column")
+}
+
+func (db *database) getAllChats() ([]Chat, error) {
+ // Query chats with their first user message and latest update time
+ query := `
+ SELECT
+ c.id,
+ c.title,
+ c.created_at,
+ COALESCE(first_msg.content, '') as first_user_content,
+ COALESCE(datetime(MAX(m.updated_at)), datetime(c.created_at)) as last_updated
+ FROM chats c
+ LEFT JOIN (
+ SELECT chat_id, content, MIN(id) as min_id
+ FROM messages
+ WHERE role = 'user'
+ GROUP BY chat_id
+ ) first_msg ON c.id = first_msg.chat_id
+ LEFT JOIN messages m ON c.id = m.chat_id
+ GROUP BY c.id, c.title, c.created_at, first_msg.content
+ ORDER BY last_updated DESC
+ `
+
+ rows, err := db.conn.Query(query)
+ if err != nil {
+ return nil, fmt.Errorf("query chats: %w", err)
+ }
+ defer rows.Close()
+
+ var chats []Chat
+ for rows.Next() {
+ var chat Chat
+ var createdAt time.Time
+ var firstUserContent string
+ var lastUpdatedStr string
+
+ err := rows.Scan(
+ &chat.ID,
+ &chat.Title,
+ &createdAt,
+ &firstUserContent,
+ &lastUpdatedStr,
+ )
+
+ // Parse the last updated time
+ lastUpdated, _ := time.Parse("2006-01-02 15:04:05", lastUpdatedStr)
+ if err != nil {
+ return nil, fmt.Errorf("scan chat: %w", err)
+ }
+
+ chat.CreatedAt = createdAt
+
+ // Add a dummy first user message for the UI to display
+ // This is just for the excerpt, full messages are loaded when needed
+ chat.Messages = []Message{}
+ if firstUserContent != "" {
+ chat.Messages = append(chat.Messages, Message{
+ Role: "user",
+ Content: firstUserContent,
+ UpdatedAt: lastUpdated,
+ })
+ }
+
+ chats = append(chats, chat)
+ }
+
+ if err := rows.Err(); err != nil {
+ return nil, fmt.Errorf("iterate chats: %w", err)
+ }
+
+ return chats, nil
+}
+
+func (db *database) getChatWithOptions(id string, loadAttachmentData bool) (*Chat, error) {
+ query := `
+ SELECT id, title, created_at, browser_state
+ FROM chats
+ WHERE id = ?
+ `
+
+ var chat Chat
+ var createdAt time.Time
+ var browserState sql.NullString
+
+ err := db.conn.QueryRow(query, id).Scan(
+ &chat.ID,
+ &chat.Title,
+ &createdAt,
+ &browserState,
+ )
+ if err != nil {
+ if err == sql.ErrNoRows {
+ return nil, fmt.Errorf("chat not found")
+ }
+ return nil, fmt.Errorf("query chat: %w", err)
+ }
+
+ chat.CreatedAt = createdAt
+ if browserState.Valid && browserState.String != "" {
+ var raw json.RawMessage
+ if err := json.Unmarshal([]byte(browserState.String), &raw); err == nil {
+ chat.BrowserState = raw
+ }
+ }
+
+ messages, err := db.getMessages(id, loadAttachmentData)
+ if err != nil {
+ return nil, fmt.Errorf("get messages: %w", err)
+ }
+ chat.Messages = messages
+
+ return &chat, nil
+}
+
+func (db *database) saveChat(chat Chat) error {
+ tx, err := db.conn.Begin()
+ if err != nil {
+ return fmt.Errorf("begin transaction: %w", err)
+ }
+ defer tx.Rollback()
+
+ // Use COALESCE for browser_state to avoid wiping an existing
+ // chat-level browser_state when saving a chat that doesn't include a new state payload.
+ // Many code paths call SetChat to update metadata/messages only; without COALESCE the
+ // UPSERT would overwrite browser_state with NULL, breaking revisit rendering that relies
+ // on the last persisted full tool state.
+ query := `
+ INSERT INTO chats (id, title, created_at, browser_state)
+ VALUES (?, ?, ?, ?)
+ ON CONFLICT(id) DO UPDATE SET
+ title = excluded.title,
+ browser_state = COALESCE(excluded.browser_state, chats.browser_state)
+ `
+
+ var browserState sql.NullString
+ if chat.BrowserState != nil {
+ browserState = sql.NullString{String: string(chat.BrowserState), Valid: true}
+ }
+
+ _, err = tx.Exec(query,
+ chat.ID,
+ chat.Title,
+ chat.CreatedAt,
+ browserState,
+ )
+ if err != nil {
+ return fmt.Errorf("save chat: %w", err)
+ }
+
+ // Delete existing messages (we'll re-insert all)
+ _, err = tx.Exec("DELETE FROM messages WHERE chat_id = ?", chat.ID)
+ if err != nil {
+ return fmt.Errorf("delete messages: %w", err)
+ }
+
+ // Insert messages
+ for _, msg := range chat.Messages {
+ messageID, err := db.insertMessage(tx, chat.ID, msg)
+ if err != nil {
+ return fmt.Errorf("insert message: %w", err)
+ }
+
+ // Insert tool calls if any
+ for _, toolCall := range msg.ToolCalls {
+ err := db.insertToolCall(tx, messageID, toolCall)
+ if err != nil {
+ return fmt.Errorf("insert tool call: %w", err)
+ }
+ }
+ }
+
+ return tx.Commit()
+}
+
+// updateChatBrowserState updates only the browser_state for a chat
+func (db *database) updateChatBrowserState(chatID string, state json.RawMessage) error {
+ _, err := db.conn.Exec(`UPDATE chats SET browser_state = ? WHERE id = ?`, string(state), chatID)
+ if err != nil {
+ return fmt.Errorf("update chat browser state: %w", err)
+ }
+ return nil
+}
+
+func (db *database) deleteChat(id string) error {
+ _, err := db.conn.Exec("DELETE FROM chats WHERE id = ?", id)
+ if err != nil {
+ return fmt.Errorf("delete chat: %w", err)
+ }
+
+ _, _ = db.conn.Exec("PRAGMA wal_checkpoint(TRUNCATE);")
+
+ return nil
+}
+
+func (db *database) updateLastMessage(chatID string, msg Message) error {
+ tx, err := db.conn.Begin()
+ if err != nil {
+ return fmt.Errorf("begin transaction: %w", err)
+ }
+ defer tx.Rollback()
+
+ // Get the ID of the last message
+ var messageID int64
+ err = tx.QueryRow(`
+ SELECT MAX(id) FROM messages WHERE chat_id = ?
+ `, chatID).Scan(&messageID)
+ if err != nil {
+ return fmt.Errorf("get last message id: %w", err)
+ }
+
+ query := `
+ UPDATE messages
+ SET content = ?, thinking = ?, model_name = ?, updated_at = ?, thinking_time_start = ?, thinking_time_end = ?, tool_result = ?
+ WHERE id = ?
+ `
+
+ var thinkingTimeStart, thinkingTimeEnd sql.NullTime
+ if msg.ThinkingTimeStart != nil {
+ thinkingTimeStart = sql.NullTime{Time: *msg.ThinkingTimeStart, Valid: true}
+ }
+ if msg.ThinkingTimeEnd != nil {
+ thinkingTimeEnd = sql.NullTime{Time: *msg.ThinkingTimeEnd, Valid: true}
+ }
+
+ var modelName sql.NullString
+ if msg.Model != "" {
+ modelName = sql.NullString{String: msg.Model, Valid: true}
+ }
+
+ var toolResultJSON sql.NullString
+ if msg.ToolResult != nil {
+ resultBytes, err := json.Marshal(msg.ToolResult)
+ if err != nil {
+ return fmt.Errorf("marshal tool result: %w", err)
+ }
+ toolResultJSON = sql.NullString{String: string(resultBytes), Valid: true}
+ }
+
+ result, err := tx.Exec(query,
+ msg.Content,
+ msg.Thinking,
+ modelName,
+ msg.UpdatedAt,
+ thinkingTimeStart,
+ thinkingTimeEnd,
+ toolResultJSON,
+ messageID,
+ )
+ if err != nil {
+ return fmt.Errorf("update last message: %w", err)
+ }
+
+ rowsAffected, err := result.RowsAffected()
+ if err != nil {
+ return fmt.Errorf("get rows affected: %w", err)
+ }
+ if rowsAffected == 0 {
+ return fmt.Errorf("no message found to update")
+ }
+
+ _, err = tx.Exec("DELETE FROM attachments WHERE message_id = ?", messageID)
+ if err != nil {
+ return fmt.Errorf("delete existing attachments: %w", err)
+ }
+ for _, att := range msg.Attachments {
+ err := db.insertAttachment(tx, messageID, att)
+ if err != nil {
+ return fmt.Errorf("insert attachment: %w", err)
+ }
+ }
+
+ _, err = tx.Exec("DELETE FROM tool_calls WHERE message_id = ?", messageID)
+ if err != nil {
+ return fmt.Errorf("delete existing tool calls: %w", err)
+ }
+ for _, toolCall := range msg.ToolCalls {
+ err := db.insertToolCall(tx, messageID, toolCall)
+ if err != nil {
+ return fmt.Errorf("insert tool call: %w", err)
+ }
+ }
+
+ return tx.Commit()
+}
+
+func (db *database) appendMessage(chatID string, msg Message) error {
+ tx, err := db.conn.Begin()
+ if err != nil {
+ return fmt.Errorf("begin transaction: %w", err)
+ }
+ defer tx.Rollback()
+
+ messageID, err := db.insertMessage(tx, chatID, msg)
+ if err != nil {
+ return fmt.Errorf("insert message: %w", err)
+ }
+
+ // Insert tool calls if any
+ for _, toolCall := range msg.ToolCalls {
+ err := db.insertToolCall(tx, messageID, toolCall)
+ if err != nil {
+ return fmt.Errorf("insert tool call: %w", err)
+ }
+ }
+
+ return tx.Commit()
+}
+
+func (db *database) getMessages(chatID string, loadAttachmentData bool) ([]Message, error) {
+ query := `
+ SELECT id, role, content, thinking, stream, model_name, created_at, updated_at, thinking_time_start, thinking_time_end, tool_result
+ FROM messages
+ WHERE chat_id = ?
+ ORDER BY id ASC
+ `
+
+ rows, err := db.conn.Query(query, chatID)
+ if err != nil {
+ return nil, fmt.Errorf("query messages: %w", err)
+ }
+ defer rows.Close()
+
+ var messages []Message
+ for rows.Next() {
+ var msg Message
+ var messageID int64
+ var thinkingTimeStart, thinkingTimeEnd sql.NullTime
+ var modelName sql.NullString
+ var toolResult sql.NullString
+
+ err := rows.Scan(
+ &messageID,
+ &msg.Role,
+ &msg.Content,
+ &msg.Thinking,
+ &msg.Stream,
+ &modelName,
+ &msg.CreatedAt,
+ &msg.UpdatedAt,
+ &thinkingTimeStart,
+ &thinkingTimeEnd,
+ &toolResult,
+ )
+ if err != nil {
+ return nil, fmt.Errorf("scan message: %w", err)
+ }
+
+ attachments, err := db.getAttachments(messageID, loadAttachmentData)
+ if err != nil {
+ return nil, fmt.Errorf("get attachments: %w", err)
+ }
+ msg.Attachments = attachments
+
+ if thinkingTimeStart.Valid {
+ msg.ThinkingTimeStart = &thinkingTimeStart.Time
+ }
+ if thinkingTimeEnd.Valid {
+ msg.ThinkingTimeEnd = &thinkingTimeEnd.Time
+ }
+
+ // Parse tool result from JSON if present
+ if toolResult.Valid && toolResult.String != "" {
+ var result json.RawMessage
+ if err := json.Unmarshal([]byte(toolResult.String), &result); err == nil {
+ msg.ToolResult = &result
+ }
+ }
+
+ // Set model if present
+ if modelName.Valid && modelName.String != "" {
+ msg.Model = modelName.String
+ }
+
+ // Get tool calls for this message
+ toolCalls, err := db.getToolCalls(messageID)
+ if err != nil {
+ return nil, fmt.Errorf("get tool calls: %w", err)
+ }
+ msg.ToolCalls = toolCalls
+
+ messages = append(messages, msg)
+ }
+
+ if err := rows.Err(); err != nil {
+ return nil, fmt.Errorf("iterate messages: %w", err)
+ }
+
+ return messages, nil
+}
+
+func (db *database) insertMessage(tx *sql.Tx, chatID string, msg Message) (int64, error) {
+ query := `
+ INSERT INTO messages (chat_id, role, content, thinking, stream, model_name, created_at, updated_at, thinking_time_start, thinking_time_end, tool_result)
+ VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
+ `
+
+ var thinkingTimeStart, thinkingTimeEnd sql.NullTime
+ if msg.ThinkingTimeStart != nil {
+ thinkingTimeStart = sql.NullTime{Time: *msg.ThinkingTimeStart, Valid: true}
+ }
+ if msg.ThinkingTimeEnd != nil {
+ thinkingTimeEnd = sql.NullTime{Time: *msg.ThinkingTimeEnd, Valid: true}
+ }
+
+ var modelName sql.NullString
+ if msg.Model != "" {
+ modelName = sql.NullString{String: msg.Model, Valid: true}
+ }
+
+ var toolResultJSON sql.NullString
+ if msg.ToolResult != nil {
+ resultBytes, err := json.Marshal(msg.ToolResult)
+ if err != nil {
+ return 0, fmt.Errorf("marshal tool result: %w", err)
+ }
+ toolResultJSON = sql.NullString{String: string(resultBytes), Valid: true}
+ }
+
+ result, err := tx.Exec(query,
+ chatID,
+ msg.Role,
+ msg.Content,
+ msg.Thinking,
+ msg.Stream,
+ modelName,
+ msg.CreatedAt,
+ msg.UpdatedAt,
+ thinkingTimeStart,
+ thinkingTimeEnd,
+ toolResultJSON,
+ )
+ if err != nil {
+ return 0, err
+ }
+
+ messageID, err := result.LastInsertId()
+ if err != nil {
+ return 0, err
+ }
+
+ for _, att := range msg.Attachments {
+ err := db.insertAttachment(tx, messageID, att)
+ if err != nil {
+ return 0, fmt.Errorf("insert attachment: %w", err)
+ }
+ }
+
+ return messageID, nil
+}
+
+func (db *database) getAttachments(messageID int64, loadData bool) ([]File, error) {
+ var query string
+ if loadData {
+ query = `
+ SELECT filename, data
+ FROM attachments
+ WHERE message_id = ?
+ ORDER BY id ASC
+ `
+ } else {
+ query = `
+ SELECT filename, '' as data
+ FROM attachments
+ WHERE message_id = ?
+ ORDER BY id ASC
+ `
+ }
+
+ rows, err := db.conn.Query(query, messageID)
+ if err != nil {
+ return nil, fmt.Errorf("query attachments: %w", err)
+ }
+ defer rows.Close()
+
+ var attachments []File
+ for rows.Next() {
+ var file File
+ err := rows.Scan(&file.Filename, &file.Data)
+ if err != nil {
+ return nil, fmt.Errorf("scan attachment: %w", err)
+ }
+ attachments = append(attachments, file)
+ }
+
+ if err := rows.Err(); err != nil {
+ return nil, fmt.Errorf("iterate attachments: %w", err)
+ }
+
+ return attachments, nil
+}
+
+func (db *database) getToolCalls(messageID int64) ([]ToolCall, error) {
+ query := `
+ SELECT type, function_name, function_arguments, function_result
+ FROM tool_calls
+ WHERE message_id = ?
+ ORDER BY id ASC
+ `
+
+ rows, err := db.conn.Query(query, messageID)
+ if err != nil {
+ return nil, fmt.Errorf("query tool calls: %w", err)
+ }
+ defer rows.Close()
+
+ var toolCalls []ToolCall
+ for rows.Next() {
+ var tc ToolCall
+ var functionResult sql.NullString
+
+ err := rows.Scan(
+ &tc.Type,
+ &tc.Function.Name,
+ &tc.Function.Arguments,
+ &functionResult,
+ )
+ if err != nil {
+ return nil, fmt.Errorf("scan tool call: %w", err)
+ }
+
+ if functionResult.Valid && functionResult.String != "" {
+ // Parse the JSON result
+ var result json.RawMessage
+ if err := json.Unmarshal([]byte(functionResult.String), &result); err == nil {
+ tc.Function.Result = &result
+ }
+ }
+
+ toolCalls = append(toolCalls, tc)
+ }
+
+ if err := rows.Err(); err != nil {
+ return nil, fmt.Errorf("iterate tool calls: %w", err)
+ }
+
+ return toolCalls, nil
+}
+
+func (db *database) insertAttachment(tx *sql.Tx, messageID int64, file File) error {
+ query := `
+ INSERT INTO attachments (message_id, filename, data)
+ VALUES (?, ?, ?)
+ `
+ _, err := tx.Exec(query, messageID, file.Filename, file.Data)
+ return err
+}
+
+func (db *database) insertToolCall(tx *sql.Tx, messageID int64, tc ToolCall) error {
+ query := `
+ INSERT INTO tool_calls (message_id, type, function_name, function_arguments, function_result)
+ VALUES (?, ?, ?, ?, ?)
+ `
+
+ var functionResult sql.NullString
+ if tc.Function.Result != nil {
+ // Convert result to JSON
+ resultJSON, err := json.Marshal(tc.Function.Result)
+ if err != nil {
+ return fmt.Errorf("marshal tool result: %w", err)
+ }
+ functionResult = sql.NullString{String: string(resultJSON), Valid: true}
+ }
+
+ _, err := tx.Exec(query,
+ messageID,
+ tc.Type,
+ tc.Function.Name,
+ tc.Function.Arguments,
+ functionResult,
+ )
+ return err
+}
+
+// Settings operations
+
+func (db *database) getID() (string, error) {
+ var id string
+ err := db.conn.QueryRow("SELECT device_id FROM settings").Scan(&id)
+ if err != nil {
+ return "", fmt.Errorf("get device id: %w", err)
+ }
+ return id, nil
+}
+
+func (db *database) setID(id string) error {
+ _, err := db.conn.Exec("UPDATE settings SET device_id = ?", id)
+ if err != nil {
+ return fmt.Errorf("set device id: %w", err)
+ }
+ return nil
+}
+
+func (db *database) getHasCompletedFirstRun() (bool, error) {
+ var hasCompletedFirstRun bool
+ err := db.conn.QueryRow("SELECT has_completed_first_run FROM settings").Scan(&hasCompletedFirstRun)
+ if err != nil {
+ return false, fmt.Errorf("get has completed first run: %w", err)
+ }
+ return hasCompletedFirstRun, nil
+}
+
+func (db *database) setHasCompletedFirstRun(hasCompletedFirstRun bool) error {
+ _, err := db.conn.Exec("UPDATE settings SET has_completed_first_run = ?", hasCompletedFirstRun)
+ if err != nil {
+ return fmt.Errorf("set has completed first run: %w", err)
+ }
+ return nil
+}
+
+func (db *database) getSettings() (Settings, error) {
+ var s Settings
+
+ err := db.conn.QueryRow(`
+ SELECT expose, survey, browser, models, agent, tools, working_dir, context_length, turbo_enabled, websearch_enabled, selected_model, sidebar_open, last_home_view, think_enabled, think_level, auto_update_enabled
+ FROM settings
+ `).Scan(&s.Expose, &s.Survey, &s.Browser, &s.Models, &s.Agent, &s.Tools, &s.WorkingDir, &s.ContextLength, &s.TurboEnabled, &s.WebSearchEnabled, &s.SelectedModel, &s.SidebarOpen, &s.LastHomeView, &s.ThinkEnabled, &s.ThinkLevel, &s.AutoUpdateEnabled)
+ if err != nil {
+ return Settings{}, fmt.Errorf("get settings: %w", err)
+ }
+
+ return s, nil
+}
+
+func (db *database) setSettings(s Settings) error {
+ lastHomeView := strings.ToLower(strings.TrimSpace(s.LastHomeView))
+ validLaunchView := map[string]struct{}{
+ "launch": {},
+ "openclaw": {},
+ "claude": {},
+ "hermes": {},
+ "codex": {},
+ "codex-app": {},
+ "copilot": {},
+ "opencode": {},
+ "droid": {},
+ "pi": {},
+ }
+ if lastHomeView != "chat" {
+ if _, ok := validLaunchView[lastHomeView]; !ok {
+ lastHomeView = "launch"
+ }
+ }
+
+ _, err := db.conn.Exec(`
+ UPDATE settings
+ SET expose = ?, survey = ?, browser = ?, models = ?, agent = ?, tools = ?, working_dir = ?, context_length = ?, turbo_enabled = ?, websearch_enabled = ?, selected_model = ?, sidebar_open = ?, last_home_view = ?, think_enabled = ?, think_level = ?, auto_update_enabled = ?
+ `, s.Expose, s.Survey, s.Browser, s.Models, s.Agent, s.Tools, s.WorkingDir, s.ContextLength, s.TurboEnabled, s.WebSearchEnabled, s.SelectedModel, s.SidebarOpen, lastHomeView, s.ThinkEnabled, s.ThinkLevel, s.AutoUpdateEnabled)
+ if err != nil {
+ return fmt.Errorf("set settings: %w", err)
+ }
+ return nil
+}
+
+func (db *database) isCloudSettingMigrated() (bool, error) {
+ var migrated bool
+ err := db.conn.QueryRow("SELECT cloud_setting_migrated FROM settings").Scan(&migrated)
+ if err != nil {
+ return false, fmt.Errorf("get cloud setting migration status: %w", err)
+ }
+ return migrated, nil
+}
+
+func (db *database) setCloudSettingMigrated(migrated bool) error {
+ _, err := db.conn.Exec("UPDATE settings SET cloud_setting_migrated = ?", migrated)
+ if err != nil {
+ return fmt.Errorf("set cloud setting migration status: %w", err)
+ }
+ return nil
+}
+
+func (db *database) getAirplaneMode() (bool, error) {
+ var airplaneMode bool
+ err := db.conn.QueryRow("SELECT airplane_mode FROM settings").Scan(&airplaneMode)
+ if err != nil {
+ return false, fmt.Errorf("get airplane_mode: %w", err)
+ }
+ return airplaneMode, nil
+}
+
+func (db *database) getWindowSize() (int, int, error) {
+ var width, height int
+ err := db.conn.QueryRow("SELECT window_width, window_height FROM settings").Scan(&width, &height)
+ if err != nil {
+ return 0, 0, fmt.Errorf("get window size: %w", err)
+ }
+ return width, height, nil
+}
+
+func (db *database) setWindowSize(width, height int) error {
+ _, err := db.conn.Exec("UPDATE settings SET window_width = ?, window_height = ?", width, height)
+ if err != nil {
+ return fmt.Errorf("set window size: %w", err)
+ }
+ return nil
+}
+
+func (db *database) isConfigMigrated() (bool, error) {
+ var migrated bool
+ err := db.conn.QueryRow("SELECT config_migrated FROM settings").Scan(&migrated)
+ if err != nil {
+ return false, fmt.Errorf("get config migrated: %w", err)
+ }
+ return migrated, nil
+}
+
+func (db *database) setConfigMigrated(migrated bool) error {
+ _, err := db.conn.Exec("UPDATE settings SET config_migrated = ?", migrated)
+ if err != nil {
+ return fmt.Errorf("set config migrated: %w", err)
+ }
+ return nil
+}
+
+func (db *database) getSchemaVersion() (int, error) {
+ var version int
+ err := db.conn.QueryRow("SELECT schema_version FROM settings").Scan(&version)
+ if err != nil {
+ return 0, fmt.Errorf("get schema version: %w", err)
+ }
+ return version, nil
+}
+
+func (db *database) setSchemaVersion(version int) error {
+ _, err := db.conn.Exec("UPDATE settings SET schema_version = ?", version)
+ if err != nil {
+ return fmt.Errorf("set schema version: %w", err)
+ }
+ return nil
+}
+
+func (db *database) getUser() (*User, error) {
+ var user User
+ err := db.conn.QueryRow(`
+ SELECT name, email, plan, cached_at
+ FROM users
+ LIMIT 1
+ `).Scan(&user.Name, &user.Email, &user.Plan, &user.CachedAt)
+ if err != nil {
+ if err == sql.ErrNoRows {
+ return nil, nil // No user cached yet
+ }
+ return nil, fmt.Errorf("get user: %w", err)
+ }
+
+ return &user, nil
+}
+
+func (db *database) setUser(user User) error {
+ if err := db.clearUser(); err != nil {
+ return fmt.Errorf("before set: %w", err)
+ }
+
+ _, err := db.conn.Exec(`
+ INSERT INTO users (name, email, plan, cached_at)
+ VALUES (?, ?, ?, ?)
+ `, user.Name, user.Email, user.Plan, user.CachedAt)
+ if err != nil {
+ return fmt.Errorf("set user: %w", err)
+ }
+
+ return nil
+}
+
+func (db *database) clearUser() error {
+ _, err := db.conn.Exec("DELETE FROM users")
+ if err != nil {
+ return fmt.Errorf("clear user: %w", err)
+ }
+ return nil
+}
diff --git a/western_ai/usa/ollama/app/store/database_test.go b/western_ai/usa/ollama/app/store/database_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..3411e11bf7bf71ae6ce7f0c18a1190112fe53e42
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/database_test.go
@@ -0,0 +1,483 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "database/sql"
+ "fmt"
+ "os"
+ "path/filepath"
+ "sort"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/google/go-cmp/cmp"
+ _ "github.com/mattn/go-sqlite3"
+)
+
+func TestSchemaMigrations(t *testing.T) {
+ t.Run("schema comparison after migration", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ migratedDBPath := filepath.Join(tmpDir, "migrated.db")
+ migratedDB := loadV2Schema(t, migratedDBPath)
+ defer migratedDB.Close()
+
+ if err := migratedDB.migrate(); err != nil {
+ t.Fatalf("migration failed: %v", err)
+ }
+
+ // Create fresh database with current schema
+ freshDBPath := filepath.Join(tmpDir, "fresh.db")
+ freshDB, err := newDatabase(freshDBPath)
+ if err != nil {
+ t.Fatalf("failed to create fresh database: %v", err)
+ }
+ defer freshDB.Close()
+
+ // Extract tables and indexes from both databases, directly comparing their schemas won't work due to ordering
+ migratedSchema := schemaMap(migratedDB)
+ freshSchema := schemaMap(freshDB)
+
+ if !cmp.Equal(migratedSchema, freshSchema) {
+ t.Errorf("Schema difference found:\n%s", cmp.Diff(freshSchema, migratedSchema))
+ }
+
+ // Verify both databases have the same final schema version
+ migratedVersion, _ := migratedDB.getSchemaVersion()
+ freshVersion, _ := freshDB.getSchemaVersion()
+ if migratedVersion != freshVersion {
+ t.Errorf("schema version mismatch: migrated=%d, fresh=%d", migratedVersion, freshVersion)
+ }
+ })
+
+ t.Run("idempotent migrations", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+ db := loadV2Schema(t, dbPath)
+ defer db.Close()
+
+ // Run migration twice
+ if err := db.migrate(); err != nil {
+ t.Fatalf("first migration failed: %v", err)
+ }
+
+ if err := db.migrate(); err != nil {
+ t.Fatalf("second migration failed: %v", err)
+ }
+
+ // Verify schema version is still correct
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+ if version != currentSchemaVersion {
+ t.Errorf("expected schema version %d after double migration, got %d", currentSchemaVersion, version)
+ }
+ })
+
+ t.Run("init database has correct schema version", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // Get the schema version from the newly initialized database
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+
+ // Verify it matches the currentSchemaVersion constant
+ if version != currentSchemaVersion {
+ t.Errorf("expected schema version %d in initialized database, got %d", currentSchemaVersion, version)
+ }
+ })
+}
+
+func TestMigrationV13ToV14ContextLength(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ _, err = db.conn.Exec("UPDATE settings SET context_length = 4096, schema_version = 13")
+ if err != nil {
+ t.Fatalf("failed to seed v13 settings row: %v", err)
+ }
+
+ if err := db.migrate(); err != nil {
+ t.Fatalf("migration from v13 to v14 failed: %v", err)
+ }
+
+ var contextLength int
+ if err := db.conn.QueryRow("SELECT context_length FROM settings").Scan(&contextLength); err != nil {
+ t.Fatalf("failed to read context_length: %v", err)
+ }
+
+ if contextLength != 0 {
+ t.Fatalf("expected context_length to migrate to 0, got %d", contextLength)
+ }
+
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+ if version != currentSchemaVersion {
+ t.Fatalf("expected schema version %d, got %d", currentSchemaVersion, version)
+ }
+}
+
+func TestMigrationV15ToV16LastHomeViewDefaultsToLaunch(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ if _, err := db.conn.Exec(`
+ ALTER TABLE settings DROP COLUMN last_home_view;
+ UPDATE settings SET schema_version = 15;
+ `); err != nil {
+ t.Fatalf("failed to seed v15 settings row: %v", err)
+ }
+
+ if err := db.migrate(); err != nil {
+ t.Fatalf("migration from v15 to v16 failed: %v", err)
+ }
+
+ var lastHomeView string
+ if err := db.conn.QueryRow("SELECT last_home_view FROM settings").Scan(&lastHomeView); err != nil {
+ t.Fatalf("failed to read last_home_view: %v", err)
+ }
+
+ if lastHomeView != "launch" {
+ t.Fatalf("expected last_home_view to default to launch after migration, got %q", lastHomeView)
+ }
+
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+ if version != currentSchemaVersion {
+ t.Fatalf("expected schema version %d, got %d", currentSchemaVersion, version)
+ }
+}
+
+func TestChatDeletionWithCascade(t *testing.T) {
+ t.Run("chat deletion cascades to related messages", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // Create test chat
+ testChatID := "test-chat-cascade-123"
+ testChat := Chat{
+ ID: testChatID,
+ Title: "Test Chat for Cascade Delete",
+ CreatedAt: time.Now(),
+ Messages: []Message{
+ {
+ Role: "user",
+ Content: "Hello, this is a test message",
+ CreatedAt: time.Now(),
+ UpdatedAt: time.Now(),
+ },
+ {
+ Role: "assistant",
+ Content: "Hi there! This is a response.",
+ CreatedAt: time.Now(),
+ UpdatedAt: time.Now(),
+ },
+ },
+ }
+
+ // Save the chat with messages
+ if err := db.saveChat(testChat); err != nil {
+ t.Fatalf("failed to save test chat: %v", err)
+ }
+
+ // Verify chat and messages exist
+ chatCount := countRows(t, db, "chats")
+ messageCount := countRows(t, db, "messages")
+
+ if chatCount != 1 {
+ t.Errorf("expected 1 chat, got %d", chatCount)
+ }
+ if messageCount != 2 {
+ t.Errorf("expected 2 messages, got %d", messageCount)
+ }
+
+ // Verify specific chat exists
+ var exists bool
+ err = db.conn.QueryRow("SELECT EXISTS(SELECT 1 FROM chats WHERE id = ?)", testChatID).Scan(&exists)
+ if err != nil {
+ t.Fatalf("failed to check chat existence: %v", err)
+ }
+ if !exists {
+ t.Error("test chat should exist before deletion")
+ }
+
+ // Verify messages exist for this chat
+ messageCountForChat := countRowsWithCondition(t, db, "messages", "chat_id = ?", testChatID)
+ if messageCountForChat != 2 {
+ t.Errorf("expected 2 messages for test chat, got %d", messageCountForChat)
+ }
+
+ // Delete the chat
+ if err := db.deleteChat(testChatID); err != nil {
+ t.Fatalf("failed to delete chat: %v", err)
+ }
+
+ // Verify chat is deleted
+ chatCountAfter := countRows(t, db, "chats")
+ if chatCountAfter != 0 {
+ t.Errorf("expected 0 chats after deletion, got %d", chatCountAfter)
+ }
+
+ // Verify messages are CASCADE deleted
+ messageCountAfter := countRows(t, db, "messages")
+ if messageCountAfter != 0 {
+ t.Errorf("expected 0 messages after CASCADE deletion, got %d", messageCountAfter)
+ }
+
+ // Verify specific chat no longer exists
+ err = db.conn.QueryRow("SELECT EXISTS(SELECT 1 FROM chats WHERE id = ?)", testChatID).Scan(&exists)
+ if err != nil {
+ t.Fatalf("failed to check chat existence after deletion: %v", err)
+ }
+ if exists {
+ t.Error("test chat should not exist after deletion")
+ }
+
+ // Verify no orphaned messages remain
+ orphanedCount := countRowsWithCondition(t, db, "messages", "chat_id = ?", testChatID)
+ if orphanedCount != 0 {
+ t.Errorf("expected 0 orphaned messages, got %d", orphanedCount)
+ }
+ })
+
+ t.Run("foreign keys are enabled", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // Verify foreign keys are enabled
+ var foreignKeysEnabled int
+ err = db.conn.QueryRow("PRAGMA foreign_keys").Scan(&foreignKeysEnabled)
+ if err != nil {
+ t.Fatalf("failed to check foreign keys: %v", err)
+ }
+ if foreignKeysEnabled != 1 {
+ t.Errorf("expected foreign keys to be enabled (1), got %d", foreignKeysEnabled)
+ }
+ })
+
+ // This test is only relevant for v8 migrations, but we keep it here for now
+ // since it's a useful test to ensure that we don't introduce any new orphaned data
+ t.Run("cleanup orphaned data", func(t *testing.T) {
+ tmpDir := t.TempDir()
+ dbPath := filepath.Join(tmpDir, "test.db")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // First disable foreign keys to simulate the bug from ollama/ollama#11785
+ _, err = db.conn.Exec("PRAGMA foreign_keys = OFF")
+ if err != nil {
+ t.Fatalf("failed to disable foreign keys: %v", err)
+ }
+
+ // Create a chat and message
+ testChatID := "orphaned-test-chat"
+ testMessageID := int64(999)
+
+ _, err = db.conn.Exec("INSERT INTO chats (id, title) VALUES (?, ?)", testChatID, "Orphaned Test Chat")
+ if err != nil {
+ t.Fatalf("failed to insert test chat: %v", err)
+ }
+
+ _, err = db.conn.Exec("INSERT INTO messages (id, chat_id, role, content) VALUES (?, ?, ?, ?)",
+ testMessageID, testChatID, "user", "test message")
+ if err != nil {
+ t.Fatalf("failed to insert test message: %v", err)
+ }
+
+ // Delete chat but keep message (simulating the bug from ollama/ollama#11785)
+ _, err = db.conn.Exec("DELETE FROM chats WHERE id = ?", testChatID)
+ if err != nil {
+ t.Fatalf("failed to delete chat: %v", err)
+ }
+
+ // Verify we have orphaned message
+ orphanedCount := countRowsWithCondition(t, db, "messages", "chat_id = ?", testChatID)
+ if orphanedCount != 1 {
+ t.Errorf("expected 1 orphaned message, got %d", orphanedCount)
+ }
+
+ // Run cleanup
+ if err := db.cleanupOrphanedData(); err != nil {
+ t.Fatalf("failed to cleanup orphaned data: %v", err)
+ }
+
+ // Verify orphaned message is gone
+ orphanedCountAfter := countRowsWithCondition(t, db, "messages", "chat_id = ?", testChatID)
+ if orphanedCountAfter != 0 {
+ t.Errorf("expected 0 orphaned messages after cleanup, got %d", orphanedCountAfter)
+ }
+ })
+}
+
+func countRows(t *testing.T, db *database, table string) int {
+ t.Helper()
+ var count int
+ err := db.conn.QueryRow(fmt.Sprintf("SELECT COUNT(*) FROM %s", table)).Scan(&count)
+ if err != nil {
+ t.Fatalf("failed to count rows in %s: %v", table, err)
+ }
+ return count
+}
+
+func countRowsWithCondition(t *testing.T, db *database, table, condition string, args ...interface{}) int {
+ t.Helper()
+ var count int
+ query := fmt.Sprintf("SELECT COUNT(*) FROM %s WHERE %s", table, condition)
+ err := db.conn.QueryRow(query, args...).Scan(&count)
+ if err != nil {
+ t.Fatalf("failed to count rows with condition: %v", err)
+ }
+ return count
+}
+
+// Test helpers for schema migration testing
+
+// schemaMap returns both tables/columns and indexes (ignoring order)
+func schemaMap(db *database) map[string]interface{} {
+ result := make(map[string]any)
+
+ result["tables"] = columnMap(db)
+ result["indexes"] = indexMap(db)
+
+ return result
+}
+
+// columnMap returns a map of table names to their column sets (ignoring order)
+func columnMap(db *database) map[string][]string {
+ result := make(map[string][]string)
+
+ // Get all table names
+ tableQuery := `SELECT name FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%' ORDER BY name`
+ rows, _ := db.conn.Query(tableQuery)
+ defer rows.Close()
+
+ for rows.Next() {
+ var tableName string
+ rows.Scan(&tableName)
+
+ // Get columns for this table
+ colQuery := fmt.Sprintf("PRAGMA table_info(%s)", tableName)
+ colRows, _ := db.conn.Query(colQuery)
+
+ var columns []string
+ for colRows.Next() {
+ var cid int
+ var name, dataType sql.NullString
+ var notNull, primaryKey int
+ var defaultValue sql.NullString
+
+ colRows.Scan(&cid, &name, &dataType, ¬Null, &defaultValue, &primaryKey)
+
+ // Create a normalized column description
+ colDesc := fmt.Sprintf("%s %s", name.String, dataType.String)
+ if notNull == 1 {
+ colDesc += " NOT NULL"
+ }
+ if defaultValue.Valid && defaultValue.String != "" {
+ // Skip DEFAULT for schema_version as it doesn't get updated during migrations
+ if name.String != "schema_version" {
+ colDesc += " DEFAULT " + defaultValue.String
+ }
+ }
+ if primaryKey == 1 {
+ colDesc += " PRIMARY KEY"
+ }
+
+ columns = append(columns, colDesc)
+ }
+ colRows.Close()
+
+ // Sort columns to ignore order differences
+ sort.Strings(columns)
+ result[tableName] = columns
+ }
+
+ return result
+}
+
+// indexMap returns a map of index names to their definitions
+func indexMap(db *database) map[string]string {
+ result := make(map[string]string)
+
+ // Get all indexes (excluding auto-created primary key indexes)
+ indexQuery := `SELECT name, sql FROM sqlite_master WHERE type='index' AND name NOT LIKE 'sqlite_%' AND sql IS NOT NULL ORDER BY name`
+ rows, _ := db.conn.Query(indexQuery)
+ defer rows.Close()
+
+ for rows.Next() {
+ var name, sql string
+ rows.Scan(&name, &sql)
+
+ // Normalize the SQL by removing extra whitespace
+ sql = strings.Join(strings.Fields(sql), " ")
+ result[name] = sql
+ }
+
+ return result
+}
+
+// loadV2Schema loads the version 2 schema from testdata/schema.sql
+func loadV2Schema(t *testing.T, dbPath string) *database {
+ t.Helper()
+
+ // Read the v1 schema file
+ schemaFile := filepath.Join("testdata", "schema.sql")
+ schemaSQL, err := os.ReadFile(schemaFile)
+ if err != nil {
+ t.Fatalf("failed to read schema file: %v", err)
+ }
+
+ // Open database connection
+ conn, err := sql.Open("sqlite3", dbPath+"?_foreign_keys=on&_journal_mode=WAL&_busy_timeout=5000&_txlock=immediate")
+ if err != nil {
+ t.Fatalf("failed to open database: %v", err)
+ }
+
+ // Execute the v1 schema
+ _, err = conn.Exec(string(schemaSQL))
+ if err != nil {
+ conn.Close()
+ t.Fatalf("failed to execute v1 schema: %v", err)
+ }
+
+ return &database{conn: conn}
+}
diff --git a/western_ai/usa/ollama/app/store/image.go b/western_ai/usa/ollama/app/store/image.go
new file mode 100644
index 0000000000000000000000000000000000000000..c7e6f9fd83787794b22d642088f32e7f50354044
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/image.go
@@ -0,0 +1,128 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "crypto/sha256"
+ "encoding/hex"
+ "fmt"
+ "os"
+ "path/filepath"
+ "strings"
+)
+
+type Image struct {
+ Filename string `json:"filename"`
+ Path string `json:"path"`
+ Size int64 `json:"size,omitempty"`
+ MimeType string `json:"mime_type,omitempty"`
+}
+
+// Bytes loads image data from disk for a given ImageData reference
+func (i *Image) Bytes() ([]byte, error) {
+ return ImgBytes(i.Path)
+}
+
+// ImgBytes reads image data from the specified file path
+func ImgBytes(path string) ([]byte, error) {
+ if path == "" {
+ return nil, fmt.Errorf("empty image path")
+ }
+
+ data, err := os.ReadFile(path)
+ if err != nil {
+ return nil, fmt.Errorf("read image file %s: %w", path, err)
+ }
+
+ return data, nil
+}
+
+// ImgDir returns the directory path for storing images for a specific chat
+func (s *Store) ImgDir() string {
+ dbPath := s.DBPath
+ if dbPath == "" {
+ dbPath = defaultDBPath
+ }
+ storeDir := filepath.Dir(dbPath)
+ return filepath.Join(storeDir, "cache", "images")
+}
+
+// ImgToFile saves image data to disk and returns ImageData reference
+func (s *Store) ImgToFile(chatID string, imageBytes []byte, filename, mimeType string) (Image, error) {
+ baseImageDir := s.ImgDir()
+ if err := os.MkdirAll(baseImageDir, 0o755); err != nil {
+ return Image{}, fmt.Errorf("create base image directory: %w", err)
+ }
+
+ // Root prevents path traversal issues
+ root, err := os.OpenRoot(baseImageDir)
+ if err != nil {
+ return Image{}, fmt.Errorf("open image root directory: %w", err)
+ }
+ defer root.Close()
+
+ // Create chat-specific subdirectory within the root
+ chatDir := sanitize(chatID)
+ if err := root.Mkdir(chatDir, 0o755); err != nil && !os.IsExist(err) {
+ return Image{}, fmt.Errorf("create chat directory: %w", err)
+ }
+
+ // Generate a unique filename to avoid conflicts
+ // Use hash of content + original filename for uniqueness
+ hash := sha256.Sum256(imageBytes)
+ hashStr := hex.EncodeToString(hash[:])[:16] // Use first 16 chars of hash
+
+ // Extract file extension from original filename or mime type
+ ext := filepath.Ext(filename)
+ if ext == "" {
+ switch mimeType {
+ case "image/jpeg":
+ ext = ".jpg"
+ case "image/png":
+ ext = ".png"
+ case "image/webp":
+ ext = ".webp"
+ default:
+ ext = ".img"
+ }
+ }
+
+ // Create unique filename: hash + original name + extension
+ baseFilename := sanitize(strings.TrimSuffix(filename, ext))
+ uniqueFilename := fmt.Sprintf("%s_%s%s", hashStr, baseFilename, ext)
+ relativePath := filepath.Join(chatDir, uniqueFilename)
+ file, err := root.Create(relativePath)
+ if err != nil {
+ return Image{}, fmt.Errorf("create image file: %w", err)
+ }
+ defer file.Close()
+
+ if _, err := file.Write(imageBytes); err != nil {
+ return Image{}, fmt.Errorf("write image data: %w", err)
+ }
+
+ return Image{
+ Filename: uniqueFilename,
+ Path: filepath.Join(baseImageDir, relativePath),
+ Size: int64(len(imageBytes)),
+ MimeType: mimeType,
+ }, nil
+}
+
+// sanitize removes unsafe characters from filenames
+func sanitize(filename string) string {
+ // Convert to safe characters only
+ safe := strings.Map(func(r rune) rune {
+ if (r >= 'a' && r <= 'z') || (r >= 'A' && r <= 'Z') || (r >= '0' && r <= '9') || r == '-' {
+ return r
+ }
+ return '_'
+ }, filename)
+
+ // Clean up and validate
+ safe = strings.Trim(safe, "_")
+ if safe == "" {
+ return "image"
+ }
+ return safe
+}
diff --git a/western_ai/usa/ollama/app/store/migration_test.go b/western_ai/usa/ollama/app/store/migration_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..0b3c061124608c4bed9155ed88d7d100563e3c49
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/migration_test.go
@@ -0,0 +1,290 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "database/sql"
+ "encoding/json"
+ "os"
+ "path/filepath"
+ "testing"
+)
+
+func TestConfigMigration(t *testing.T) {
+ tmpDir := t.TempDir()
+ // Create a legacy config.json
+ legacyConfig := legacyData{
+ ID: "test-device-id-12345",
+ FirstTimeRun: true, // In old system, true meant "has completed first run"
+ }
+
+ configData, err := json.MarshalIndent(legacyConfig, "", " ")
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ configPath := filepath.Join(tmpDir, "config.json")
+ if err := os.WriteFile(configPath, configData, 0o644); err != nil {
+ t.Fatal(err)
+ }
+
+ // Override the legacy config path for testing
+ oldLegacyConfigPath := legacyConfigPath
+ legacyConfigPath = configPath
+ defer func() { legacyConfigPath = oldLegacyConfigPath }()
+
+ // Create store with database in same directory
+ s := Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer s.Close()
+
+ // First access should trigger migration
+ id, err := s.ID()
+ if err != nil {
+ t.Fatalf("failed to get ID: %v", err)
+ }
+
+ if id != "test-device-id-12345" {
+ t.Errorf("expected migrated ID 'test-device-id-12345', got '%s'", id)
+ }
+
+ // Check HasCompletedFirstRun
+ hasCompleted, err := s.HasCompletedFirstRun()
+ if err != nil {
+ t.Fatalf("failed to get has completed first run: %v", err)
+ }
+
+ if !hasCompleted {
+ t.Error("expected has completed first run to be true after migration")
+ }
+
+ // Verify migration is marked as complete
+ migrated, err := s.db.isConfigMigrated()
+ if err != nil {
+ t.Fatalf("failed to check migration status: %v", err)
+ }
+
+ if !migrated {
+ t.Error("expected config to be marked as migrated")
+ }
+
+ // Create a new store instance to verify migration doesn't run again
+ s2 := Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer s2.Close()
+
+ // Delete the config file to ensure we're not reading from it
+ os.Remove(configPath)
+
+ // Verify data is still there
+ id2, err := s2.ID()
+ if err != nil {
+ t.Fatalf("failed to get ID from second store: %v", err)
+ }
+
+ if id2 != "test-device-id-12345" {
+ t.Errorf("expected persisted ID 'test-device-id-12345', got '%s'", id2)
+ }
+}
+
+func TestNoConfigToMigrate(t *testing.T) {
+ tmpDir := t.TempDir()
+ // Override the legacy config path for testing
+ oldLegacyConfigPath := legacyConfigPath
+ legacyConfigPath = filepath.Join(tmpDir, "config.json")
+ defer func() { legacyConfigPath = oldLegacyConfigPath }()
+
+ // Create store without any config.json
+ s := Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer s.Close()
+
+ // Should generate a new ID
+ id, err := s.ID()
+ if err != nil {
+ t.Fatalf("failed to get ID: %v", err)
+ }
+
+ if id == "" {
+ t.Error("expected auto-generated ID, got empty string")
+ }
+
+ // HasCompletedFirstRun should be false (default)
+ hasCompleted, err := s.HasCompletedFirstRun()
+ if err != nil {
+ t.Fatalf("failed to get has completed first run: %v", err)
+ }
+
+ if hasCompleted {
+ t.Error("expected has completed first run to be false by default")
+ }
+
+ // Migration should still be marked as complete
+ migrated, err := s.db.isConfigMigrated()
+ if err != nil {
+ t.Fatalf("failed to check migration status: %v", err)
+ }
+
+ if !migrated {
+ t.Error("expected config to be marked as migrated even with no config.json")
+ }
+}
+
+func TestCloudMigrationFromAirplaneMode(t *testing.T) {
+ tmpHome := t.TempDir()
+ setTestHome(t, tmpHome)
+ t.Setenv("OLLAMA_NO_CLOUD", "")
+
+ dbPath := filepath.Join(tmpHome, "db.sqlite")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+
+ if _, err := db.conn.Exec("UPDATE settings SET airplane_mode = 1, cloud_setting_migrated = 0"); err != nil {
+ db.Close()
+ t.Fatalf("failed to seed airplane migration state: %v", err)
+ }
+ db.Close()
+
+ s := Store{DBPath: dbPath}
+ defer s.Close()
+
+ // Trigger DB initialization + one-time cloud migration.
+ if _, err := s.ID(); err != nil {
+ t.Fatalf("failed to initialize store: %v", err)
+ }
+
+ disabled, err := s.CloudDisabled()
+ if err != nil {
+ t.Fatalf("CloudDisabled() error: %v", err)
+ }
+ if !disabled {
+ t.Fatal("expected cloud to be disabled after migrating airplane_mode=true")
+ }
+
+ configPath := filepath.Join(tmpHome, ".ollama", serverConfigFilename)
+ data, err := os.ReadFile(configPath)
+ if err != nil {
+ t.Fatalf("failed to read migrated server config: %v", err)
+ }
+
+ var cfg map[string]any
+ if err := json.Unmarshal(data, &cfg); err != nil {
+ t.Fatalf("failed to parse migrated server config: %v", err)
+ }
+ if cfg["disable_ollama_cloud"] != true {
+ t.Fatalf("disable_ollama_cloud = %v, want true", cfg["disable_ollama_cloud"])
+ }
+
+ var airplaneMode, migrated bool
+ if err := s.db.conn.QueryRow("SELECT airplane_mode, cloud_setting_migrated FROM settings").Scan(&airplaneMode, &migrated); err != nil {
+ t.Fatalf("failed to read migration flags from DB: %v", err)
+ }
+ if !airplaneMode {
+ t.Fatal("expected legacy airplane_mode value to remain unchanged")
+ }
+ if !migrated {
+ t.Fatal("expected cloud_setting_migrated to be true")
+ }
+}
+
+const (
+ v1Schema = `
+ CREATE TABLE IF NOT EXISTS settings (
+ id INTEGER PRIMARY KEY CHECK (id = 1),
+ device_id TEXT NOT NULL DEFAULT '',
+ has_completed_first_run BOOLEAN NOT NULL DEFAULT 0,
+ expose BOOLEAN NOT NULL DEFAULT 0,
+ browser BOOLEAN NOT NULL DEFAULT 0,
+ models TEXT NOT NULL DEFAULT '',
+ remote TEXT NOT NULL DEFAULT '',
+ agent BOOLEAN NOT NULL DEFAULT 0,
+ tools BOOLEAN NOT NULL DEFAULT 0,
+ working_dir TEXT NOT NULL DEFAULT '',
+ window_width INTEGER NOT NULL DEFAULT 0,
+ window_height INTEGER NOT NULL DEFAULT 0,
+ config_migrated BOOLEAN NOT NULL DEFAULT 0,
+ schema_version INTEGER NOT NULL DEFAULT 1
+ );
+
+ -- Insert default settings row if it doesn't exist
+ INSERT OR IGNORE INTO settings (id) VALUES (1);
+
+ CREATE TABLE IF NOT EXISTS chats (
+ id TEXT PRIMARY KEY,
+ title TEXT NOT NULL DEFAULT '',
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
+ );
+
+ CREATE TABLE IF NOT EXISTS messages (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ chat_id TEXT NOT NULL,
+ role TEXT NOT NULL,
+ content TEXT NOT NULL DEFAULT '',
+ thinking TEXT NOT NULL DEFAULT '',
+ stream BOOLEAN NOT NULL DEFAULT 0,
+ model_name TEXT,
+ model_cloud BOOLEAN,
+ model_ollama_host BOOLEAN,
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ thinking_time_start TIMESTAMP,
+ thinking_time_end TIMESTAMP,
+ FOREIGN KEY (chat_id) REFERENCES chats(id) ON DELETE CASCADE
+ );
+
+ CREATE INDEX IF NOT EXISTS idx_messages_chat_id ON messages(chat_id);
+
+ CREATE TABLE IF NOT EXISTS tool_calls (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ type TEXT NOT NULL,
+ function_name TEXT NOT NULL,
+ function_arguments TEXT NOT NULL,
+ function_result TEXT,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+ );
+
+ CREATE INDEX IF NOT EXISTS idx_tool_calls_message_id ON tool_calls(message_id);
+ `
+)
+
+func TestMigrationFromEpoc(t *testing.T) {
+ tmpDir := t.TempDir()
+ s := Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+ defer s.Close()
+ // Open database connection
+ conn, err := sql.Open("sqlite3", s.DBPath+"?_foreign_keys=on&_journal_mode=WAL")
+ if err != nil {
+ t.Fatal(err)
+ }
+ // Test the connection
+ if err := conn.Ping(); err != nil {
+ conn.Close()
+ t.Fatal(err)
+ }
+ s.db = &database{conn: conn}
+ t.Logf("DB created: %s", s.DBPath)
+ _, err = s.db.conn.Exec(v1Schema)
+ if err != nil {
+ t.Fatal(err)
+ }
+ version, err := s.db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+ if version != 1 {
+ t.Fatalf("expected: %d\n got: %d", 1, version)
+ }
+
+ t.Logf("v1 schema created")
+ if err := s.db.migrate(); err != nil {
+ t.Fatal(err)
+ }
+ t.Logf("migrations completed")
+ version, err = s.db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+ if version != currentSchemaVersion {
+ t.Fatalf("expected: %d\n got: %d", currentSchemaVersion, version)
+ }
+}
diff --git a/western_ai/usa/ollama/app/store/schema.sql b/western_ai/usa/ollama/app/store/schema.sql
new file mode 100644
index 0000000000000000000000000000000000000000..3a988c4a0cbfce0ef14512106a8f5b2c8b85f75d
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/schema.sql
@@ -0,0 +1,61 @@
+-- This is the version 2 schema for the app database, the first released schema to users.
+-- Do not modify this file. It is used to test that the database schema stays in a consistent state between schema migrations.
+
+CREATE TABLE IF NOT EXISTS settings (
+ id INTEGER PRIMARY KEY CHECK (id = 1),
+ device_id TEXT NOT NULL DEFAULT '',
+ has_completed_first_run BOOLEAN NOT NULL DEFAULT 0,
+ expose BOOLEAN NOT NULL DEFAULT 0,
+ survey BOOLEAN NOT NULL DEFAULT TRUE,
+ browser BOOLEAN NOT NULL DEFAULT 0,
+ models TEXT NOT NULL DEFAULT '',
+ remote TEXT NOT NULL DEFAULT '',
+ agent BOOLEAN NOT NULL DEFAULT 0,
+ tools BOOLEAN NOT NULL DEFAULT 0,
+ working_dir TEXT NOT NULL DEFAULT '',
+ context_length INTEGER NOT NULL DEFAULT 4096,
+ window_width INTEGER NOT NULL DEFAULT 0,
+ window_height INTEGER NOT NULL DEFAULT 0,
+ config_migrated BOOLEAN NOT NULL DEFAULT 0,
+ schema_version INTEGER NOT NULL DEFAULT 2
+);
+
+-- Insert default settings row if it doesn't exist
+INSERT OR IGNORE INTO settings (id) VALUES (1);
+
+CREATE TABLE IF NOT EXISTS chats (
+ id TEXT PRIMARY KEY,
+ title TEXT NOT NULL DEFAULT '',
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
+);
+
+CREATE TABLE IF NOT EXISTS messages (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ chat_id TEXT NOT NULL,
+ role TEXT NOT NULL,
+ content TEXT NOT NULL DEFAULT '',
+ thinking TEXT NOT NULL DEFAULT '',
+ stream BOOLEAN NOT NULL DEFAULT 0,
+ model_name TEXT,
+ model_cloud BOOLEAN,
+ model_ollama_host BOOLEAN,
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ thinking_time_start TIMESTAMP,
+ thinking_time_end TIMESTAMP,
+ FOREIGN KEY (chat_id) REFERENCES chats(id) ON DELETE CASCADE
+);
+
+CREATE INDEX IF NOT EXISTS idx_messages_chat_id ON messages(chat_id);
+
+CREATE TABLE IF NOT EXISTS tool_calls (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ type TEXT NOT NULL,
+ function_name TEXT NOT NULL,
+ function_arguments TEXT NOT NULL,
+ function_result TEXT,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+);
+
+CREATE INDEX IF NOT EXISTS idx_tool_calls_message_id ON tool_calls(message_id);
diff --git a/western_ai/usa/ollama/app/store/schema_test.go b/western_ai/usa/ollama/app/store/schema_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..a6d469000f58fb75bd8e9452c2a25e8bfbec82c8
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/schema_test.go
@@ -0,0 +1,60 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "path/filepath"
+ "testing"
+)
+
+func TestSchemaVersioning(t *testing.T) {
+ tmpDir := t.TempDir()
+ // Override legacy config path to avoid migration logs
+ oldLegacyConfigPath := legacyConfigPath
+ legacyConfigPath = filepath.Join(tmpDir, "config.json")
+ defer func() { legacyConfigPath = oldLegacyConfigPath }()
+
+ t.Run("new database has correct schema version", func(t *testing.T) {
+ dbPath := filepath.Join(tmpDir, "new_db.sqlite")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // Check schema version
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+
+ if version != currentSchemaVersion {
+ t.Errorf("expected schema version %d, got %d", currentSchemaVersion, version)
+ }
+ })
+
+ t.Run("can update schema version", func(t *testing.T) {
+ dbPath := filepath.Join(tmpDir, "update_db.sqlite")
+ db, err := newDatabase(dbPath)
+ if err != nil {
+ t.Fatalf("failed to create database: %v", err)
+ }
+ defer db.Close()
+
+ // Set a different version
+ testVersion := 42
+ if err := db.setSchemaVersion(testVersion); err != nil {
+ t.Fatalf("failed to set schema version: %v", err)
+ }
+
+ // Verify it was updated
+ version, err := db.getSchemaVersion()
+ if err != nil {
+ t.Fatalf("failed to get schema version: %v", err)
+ }
+
+ if version != testVersion {
+ t.Errorf("expected schema version %d, got %d", testVersion, version)
+ }
+ })
+}
diff --git a/western_ai/usa/ollama/app/store/store.go b/western_ai/usa/ollama/app/store/store.go
new file mode 100644
index 0000000000000000000000000000000000000000..369c1db204d05c7eb7560ce82d1665c81b608f52
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/store.go
@@ -0,0 +1,536 @@
+//go:build windows || darwin
+
+// Package store provides a simple JSON file store for the desktop application
+// to save and load data such as ollama server configuration, messages,
+// login information and more.
+package store
+
+import (
+ "encoding/json"
+ "fmt"
+ "log/slog"
+ "os"
+ "path/filepath"
+ "runtime"
+ "sync"
+ "time"
+
+ "github.com/google/uuid"
+ "github.com/ollama/ollama/app/types/not"
+)
+
+type File struct {
+ Filename string `json:"filename"`
+ Data []byte `json:"data"`
+}
+
+type User struct {
+ Name string `json:"name"`
+ Email string `json:"email"`
+ Plan string `json:"plan"`
+ CachedAt time.Time `json:"cachedAt"`
+}
+
+type Message struct {
+ Role string `json:"role"`
+ Content string `json:"content"`
+ Thinking string `json:"thinking"`
+ Stream bool `json:"stream"`
+ Model string `json:"model,omitempty"`
+ Attachments []File `json:"attachments,omitempty"`
+ ToolCalls []ToolCall `json:"tool_calls,omitempty"`
+ ToolCall *ToolCall `json:"tool_call,omitempty"`
+ ToolName string `json:"tool_name,omitempty"`
+ ToolResult *json.RawMessage `json:"tool_result,omitempty"`
+ CreatedAt time.Time `json:"created_at"`
+ UpdatedAt time.Time `json:"updated_at"`
+ ThinkingTimeStart *time.Time `json:"thinkingTimeStart,omitempty" ts_type:"Date | undefined" ts_transform:"__VALUE__ && new Date(__VALUE__)"`
+ ThinkingTimeEnd *time.Time `json:"thinkingTimeEnd,omitempty" ts_type:"Date | undefined" ts_transform:"__VALUE__ && new Date(__VALUE__)"`
+}
+
+// MessageOptions contains optional parameters for creating a Message
+type MessageOptions struct {
+ Model string
+ Attachments []File
+ Stream bool
+ Thinking string
+ ToolCalls []ToolCall
+ ToolCall *ToolCall
+ ToolResult *json.RawMessage
+ ThinkingTimeStart *time.Time
+ ThinkingTimeEnd *time.Time
+}
+
+// NewMessage creates a new Message with the given options
+func NewMessage(role, content string, opts *MessageOptions) Message {
+ now := time.Now()
+ msg := Message{
+ Role: role,
+ Content: content,
+ CreatedAt: now,
+ UpdatedAt: now,
+ }
+
+ if opts != nil {
+ msg.Model = opts.Model
+ msg.Attachments = opts.Attachments
+ msg.Stream = opts.Stream
+ msg.Thinking = opts.Thinking
+ msg.ToolCalls = opts.ToolCalls
+ msg.ToolCall = opts.ToolCall
+ msg.ToolResult = opts.ToolResult
+ msg.ThinkingTimeStart = opts.ThinkingTimeStart
+ msg.ThinkingTimeEnd = opts.ThinkingTimeEnd
+ }
+
+ return msg
+}
+
+type ToolCall struct {
+ Type string `json:"type"`
+ Function ToolFunction `json:"function"`
+}
+
+type ToolFunction struct {
+ Name string `json:"name"`
+ Arguments string `json:"arguments"`
+ Result any `json:"result,omitempty"`
+}
+
+type Model struct {
+ Model string `json:"model"` // Model name
+ Digest string `json:"digest,omitempty"` // Model digest from the registry
+ ModifiedAt *time.Time `json:"modified_at,omitempty"` // When the model was last modified locally
+}
+
+type Chat struct {
+ ID string `json:"id"`
+ Messages []Message `json:"messages"`
+ Title string `json:"title"`
+ CreatedAt time.Time `json:"created_at"`
+ BrowserState json.RawMessage `json:"browser_state,omitempty" ts_type:"BrowserStateData"`
+}
+
+// NewChat creates a new Chat with the ID, with CreatedAt timestamp initialized
+func NewChat(id string) *Chat {
+ return &Chat{
+ ID: id,
+ Messages: []Message{},
+ CreatedAt: time.Now(),
+ }
+}
+
+type Settings struct {
+ // Expose is a boolean that indicates if the ollama server should
+ // be exposed to the network
+ Expose bool
+
+ // Browser is a boolean that indicates if the ollama server should
+ // be exposed to browser windows (e.g. CORS set to allow all origins)
+ Browser bool
+
+ // Survey is a boolean that indicates if the user allows anonymous
+ // inference information to be shared with Ollama
+ Survey bool
+
+ // Models is a string that contains the models to load on startup
+ Models string
+
+ // TODO(parthsareen): temporary for experimentation
+ // Agent indicates if the app should use multi-turn tools to fulfill user requests
+ Agent bool
+
+ // Tools indicates if the app should use single-turn tools to fulfill user requests
+ Tools bool
+
+ // WorkingDir specifies the working directory for all agent operations
+ WorkingDir string
+
+ // ContextLength specifies the context length for the ollama server (using OLLAMA_CONTEXT_LENGTH)
+ ContextLength int
+
+ // TurboEnabled indicates if Ollama Turbo features are enabled
+ TurboEnabled bool
+
+ // Maps gpt-oss specific frontend name' BrowserToolEnabled' to db field 'websearch_enabled'
+ WebSearchEnabled bool
+
+ // ThinkEnabled indicates if thinking is enabled
+ ThinkEnabled bool
+
+ // ThinkLevel indicates the level of thinking to use for models that support multiple levels
+ ThinkLevel string
+
+ // SelectedModel stores the last model that the user selected
+ SelectedModel string
+
+ // SidebarOpen indicates if the chat sidebar is open
+ SidebarOpen bool
+
+ // LastHomeView stores the preferred home route target ("chat" or integration name)
+ LastHomeView string
+
+ // AutoUpdateEnabled indicates if automatic updates should be downloaded
+ AutoUpdateEnabled bool
+}
+
+type Store struct {
+ // DBPath allows overriding the default database path (mainly for testing)
+ DBPath string
+
+ // dbMu protects database initialization only
+ dbMu sync.Mutex
+ db *database
+}
+
+var defaultDBPath = func() string {
+ switch runtime.GOOS {
+ case "windows":
+ return filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "db.sqlite")
+ case "darwin":
+ return filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "db.sqlite")
+ default:
+ return filepath.Join(os.Getenv("HOME"), ".ollama", "db.sqlite")
+ }
+}()
+
+// legacyConfigPath is the path to the old config.json file
+var legacyConfigPath = func() string {
+ switch runtime.GOOS {
+ case "windows":
+ return filepath.Join(os.Getenv("LOCALAPPDATA"), "Ollama", "config.json")
+ case "darwin":
+ return filepath.Join(os.Getenv("HOME"), "Library", "Application Support", "Ollama", "config.json")
+ default:
+ return filepath.Join(os.Getenv("HOME"), ".ollama", "config.json")
+ }
+}()
+
+// legacyData represents the old config.json structure (only fields we need to migrate)
+type legacyData struct {
+ ID string `json:"id"`
+ FirstTimeRun bool `json:"first-time-run"`
+}
+
+func (s *Store) ensureDB() error {
+ // Fast path: check if db is already initialized
+ if s.db != nil {
+ return nil
+ }
+
+ // Slow path: initialize database with lock
+ s.dbMu.Lock()
+ defer s.dbMu.Unlock()
+
+ // Double-check after acquiring lock
+ if s.db != nil {
+ return nil
+ }
+
+ dbPath := s.DBPath
+ if dbPath == "" {
+ dbPath = defaultDBPath
+ }
+
+ // Ensure directory exists
+ if err := os.MkdirAll(filepath.Dir(dbPath), 0o755); err != nil {
+ return fmt.Errorf("create db directory: %w", err)
+ }
+
+ database, err := newDatabase(dbPath)
+ if err != nil {
+ return fmt.Errorf("open database: %w", err)
+ }
+
+ // Generate device ID if needed
+ id, err := database.getID()
+ if err != nil || id == "" {
+ // Generate new UUID for device
+ u, err := uuid.NewV7()
+ if err == nil {
+ database.setID(u.String())
+ }
+ }
+
+ s.db = database
+
+ // Check if we need to migrate from config.json
+ migrated, err := database.isConfigMigrated()
+ if err != nil || !migrated {
+ if err := s.migrateFromConfig(database); err != nil {
+ slog.Warn("failed to migrate from config.json", "error", err)
+ }
+ }
+
+ // Run one-time migration from legacy airplane_mode behavior.
+ if err := s.migrateCloudSetting(database); err != nil {
+ return fmt.Errorf("migrate cloud setting: %w", err)
+ }
+
+ return nil
+}
+
+// migrateCloudSetting migrates legacy airplane_mode into server.json exactly once.
+// After this, cloud state is sourced from server.json OR OLLAMA_NO_CLOUD.
+func (s *Store) migrateCloudSetting(database *database) error {
+ migrated, err := database.isCloudSettingMigrated()
+ if err != nil {
+ return err
+ }
+ if migrated {
+ return nil
+ }
+
+ airplaneMode, err := database.getAirplaneMode()
+ if err != nil {
+ return err
+ }
+
+ if airplaneMode {
+ if err := setCloudEnabled(false); err != nil {
+ return fmt.Errorf("migrate airplane_mode to cloud disabled: %w", err)
+ }
+ }
+
+ if err := database.setCloudSettingMigrated(true); err != nil {
+ return err
+ }
+
+ return nil
+}
+
+// migrateFromConfig attempts to migrate ID and FirstTimeRun from config.json
+func (s *Store) migrateFromConfig(database *database) error {
+ configPath := legacyConfigPath
+
+ // Check if config.json exists
+ if _, err := os.Stat(configPath); os.IsNotExist(err) {
+ // No config to migrate, mark as migrated
+ return database.setConfigMigrated(true)
+ }
+
+ // Read the config file
+ b, err := os.ReadFile(configPath)
+ if err != nil {
+ return fmt.Errorf("read legacy config: %w", err)
+ }
+
+ var legacy legacyData
+ if err := json.Unmarshal(b, &legacy); err != nil {
+ // If we can't parse it, just mark as migrated and move on
+ slog.Warn("failed to parse legacy config.json", "error", err)
+ return database.setConfigMigrated(true)
+ }
+
+ // Migrate the ID if present
+ if legacy.ID != "" {
+ if err := database.setID(legacy.ID); err != nil {
+ return fmt.Errorf("migrate device ID: %w", err)
+ }
+ slog.Info("migrated device ID from config.json")
+ }
+
+ hasCompleted := legacy.FirstTimeRun // If old FirstTimeRun is true, it means first run was completed
+ if err := database.setHasCompletedFirstRun(hasCompleted); err != nil {
+ return fmt.Errorf("migrate first time run: %w", err)
+ }
+ slog.Info("migrated first run status from config.json", "hasCompleted", hasCompleted)
+
+ // Mark as migrated
+ if err := database.setConfigMigrated(true); err != nil {
+ return fmt.Errorf("mark config as migrated: %w", err)
+ }
+
+ slog.Info("successfully migrated settings from config.json")
+ return nil
+}
+
+func (s *Store) ID() (string, error) {
+ if err := s.ensureDB(); err != nil {
+ return "", err
+ }
+
+ return s.db.getID()
+}
+
+func (s *Store) HasCompletedFirstRun() (bool, error) {
+ if err := s.ensureDB(); err != nil {
+ return false, err
+ }
+
+ return s.db.getHasCompletedFirstRun()
+}
+
+func (s *Store) SetHasCompletedFirstRun(hasCompleted bool) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.setHasCompletedFirstRun(hasCompleted)
+}
+
+func (s *Store) Settings() (Settings, error) {
+ if err := s.ensureDB(); err != nil {
+ return Settings{}, fmt.Errorf("load settings: %w", err)
+ }
+
+ settings, err := s.db.getSettings()
+ if err != nil {
+ return Settings{}, err
+ }
+
+ // Set default models directory if not set
+ if settings.Models == "" {
+ dir := os.Getenv("OLLAMA_MODELS")
+ if dir != "" {
+ settings.Models = dir
+ } else {
+ home, err := os.UserHomeDir()
+ if err == nil {
+ settings.Models = filepath.Join(home, ".ollama", "models")
+ }
+ }
+ }
+
+ if settings.LastHomeView == "" {
+ settings.LastHomeView = "launch"
+ }
+
+ return settings, nil
+}
+
+func (s *Store) SetSettings(settings Settings) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.setSettings(settings)
+}
+
+func (s *Store) Chats() ([]Chat, error) {
+ if err := s.ensureDB(); err != nil {
+ return nil, err
+ }
+
+ return s.db.getAllChats()
+}
+
+func (s *Store) Chat(id string) (*Chat, error) {
+ return s.ChatWithOptions(id, true)
+}
+
+func (s *Store) ChatWithOptions(id string, loadAttachmentData bool) (*Chat, error) {
+ if err := s.ensureDB(); err != nil {
+ return nil, err
+ }
+
+ chat, err := s.db.getChatWithOptions(id, loadAttachmentData)
+ if err != nil {
+ return nil, fmt.Errorf("%w: chat %s", not.Found, id)
+ }
+
+ return chat, nil
+}
+
+func (s *Store) SetChat(chat Chat) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.saveChat(chat)
+}
+
+func (s *Store) DeleteChat(id string) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ // Delete from database
+ if err := s.db.deleteChat(id); err != nil {
+ return fmt.Errorf("%w: chat %s", not.Found, id)
+ }
+
+ // Also delete associated images
+ chatImgDir := filepath.Join(s.ImgDir(), id)
+ if err := os.RemoveAll(chatImgDir); err != nil {
+ // Log error but don't fail the deletion
+ slog.Warn("failed to delete chat images", "chat_id", id, "error", err)
+ }
+
+ return nil
+}
+
+func (s *Store) WindowSize() (int, int, error) {
+ if err := s.ensureDB(); err != nil {
+ return 0, 0, err
+ }
+
+ return s.db.getWindowSize()
+}
+
+func (s *Store) SetWindowSize(width, height int) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.setWindowSize(width, height)
+}
+
+func (s *Store) UpdateLastMessage(chatID string, message Message) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.updateLastMessage(chatID, message)
+}
+
+func (s *Store) AppendMessage(chatID string, message Message) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.appendMessage(chatID, message)
+}
+
+func (s *Store) UpdateChatBrowserState(chatID string, state json.RawMessage) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.updateChatBrowserState(chatID, state)
+}
+
+func (s *Store) User() (*User, error) {
+ if err := s.ensureDB(); err != nil {
+ return nil, err
+ }
+
+ return s.db.getUser()
+}
+
+func (s *Store) SetUser(user User) error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ user.CachedAt = time.Now()
+ return s.db.setUser(user)
+}
+
+func (s *Store) ClearUser() error {
+ if err := s.ensureDB(); err != nil {
+ return err
+ }
+
+ return s.db.clearUser()
+}
+
+func (s *Store) Close() error {
+ s.dbMu.Lock()
+ defer s.dbMu.Unlock()
+
+ if s.db != nil {
+ return s.db.Close()
+ }
+ return nil
+}
diff --git a/western_ai/usa/ollama/app/store/store_test.go b/western_ai/usa/ollama/app/store/store_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..d4a08a8adb798e7bbb26c044276b8fee284548fd
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/store_test.go
@@ -0,0 +1,248 @@
+//go:build windows || darwin
+
+package store
+
+import (
+ "path/filepath"
+ "testing"
+)
+
+func TestStore(t *testing.T) {
+ s, cleanup := setupTestStore(t)
+ defer cleanup()
+
+ t.Run("default id", func(t *testing.T) {
+ // ID should be automatically generated
+ id, err := s.ID()
+ if err != nil {
+ t.Fatal(err)
+ }
+ if id == "" {
+ t.Error("expected non-empty ID")
+ }
+
+ // Verify ID is persisted
+ id2, err := s.ID()
+ if err != nil {
+ t.Fatal(err)
+ }
+ if id != id2 {
+ t.Errorf("expected ID %s, got %s", id, id2)
+ }
+ })
+
+ t.Run("has completed first run", func(t *testing.T) {
+ // Default should be false (hasn't completed first run yet)
+ hasCompleted, err := s.HasCompletedFirstRun()
+ if err != nil {
+ t.Fatal(err)
+ }
+ if hasCompleted {
+ t.Error("expected has completed first run to be false by default")
+ }
+
+ if err := s.SetHasCompletedFirstRun(true); err != nil {
+ t.Fatal(err)
+ }
+
+ hasCompleted, err = s.HasCompletedFirstRun()
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !hasCompleted {
+ t.Error("expected has completed first run to be true")
+ }
+ })
+
+ t.Run("settings", func(t *testing.T) {
+ sc := Settings{
+ Expose: true,
+ Browser: true,
+ Survey: true,
+ Models: "/tmp/models",
+ Agent: true,
+ Tools: false,
+ WorkingDir: "/tmp/work",
+ }
+
+ if err := s.SetSettings(sc); err != nil {
+ t.Fatal(err)
+ }
+
+ loaded, err := s.Settings()
+ if err != nil {
+ t.Fatal(err)
+ }
+ // Compare fields individually since Models might get a default
+ if loaded.Expose != sc.Expose || loaded.Browser != sc.Browser ||
+ loaded.Agent != sc.Agent || loaded.Survey != sc.Survey ||
+ loaded.Tools != sc.Tools || loaded.WorkingDir != sc.WorkingDir {
+ t.Errorf("expected %v, got %v", sc, loaded)
+ }
+ })
+
+ t.Run("settings default home view is launch", func(t *testing.T) {
+ loaded, err := s.Settings()
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if loaded.LastHomeView != "launch" {
+ t.Fatalf("expected default LastHomeView to be launch, got %q", loaded.LastHomeView)
+ }
+ })
+
+ t.Run("settings empty home view falls back to launch", func(t *testing.T) {
+ if err := s.SetSettings(Settings{LastHomeView: ""}); err != nil {
+ t.Fatal(err)
+ }
+
+ loaded, err := s.Settings()
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if loaded.LastHomeView != "launch" {
+ t.Fatalf("expected empty LastHomeView to fall back to launch, got %q", loaded.LastHomeView)
+ }
+ })
+
+ t.Run("settings disabled home view falls back to launch", func(t *testing.T) {
+ if err := s.SetSettings(Settings{LastHomeView: "claude-desktop"}); err != nil {
+ t.Fatal(err)
+ }
+
+ loaded, err := s.Settings()
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if loaded.LastHomeView != "launch" {
+ t.Fatalf("expected disabled LastHomeView to fall back to launch, got %q", loaded.LastHomeView)
+ }
+ })
+
+ t.Run("settings codex app home view is accepted", func(t *testing.T) {
+ if err := s.SetSettings(Settings{LastHomeView: "codex-app"}); err != nil {
+ t.Fatal(err)
+ }
+
+ loaded, err := s.Settings()
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ if loaded.LastHomeView != "codex-app" {
+ t.Fatalf("expected codex-app LastHomeView to be preserved, got %q", loaded.LastHomeView)
+ }
+ })
+
+ t.Run("window size", func(t *testing.T) {
+ if err := s.SetWindowSize(1024, 768); err != nil {
+ t.Fatal(err)
+ }
+
+ width, height, err := s.WindowSize()
+ if err != nil {
+ t.Fatal(err)
+ }
+ if width != 1024 || height != 768 {
+ t.Errorf("expected 1024x768, got %dx%d", width, height)
+ }
+ })
+
+ t.Run("create and retrieve chat", func(t *testing.T) {
+ chat := NewChat("test-chat-1")
+ chat.Title = "Test Chat"
+
+ chat.Messages = append(chat.Messages, NewMessage("user", "Hello", nil))
+ chat.Messages = append(chat.Messages, NewMessage("assistant", "Hi there!", &MessageOptions{
+ Model: "llama4",
+ }))
+
+ if err := s.SetChat(*chat); err != nil {
+ t.Fatalf("failed to save chat: %v", err)
+ }
+
+ retrieved, err := s.Chat("test-chat-1")
+ if err != nil {
+ t.Fatalf("failed to retrieve chat: %v", err)
+ }
+
+ if retrieved.ID != chat.ID {
+ t.Errorf("expected ID %s, got %s", chat.ID, retrieved.ID)
+ }
+ if retrieved.Title != chat.Title {
+ t.Errorf("expected title %s, got %s", chat.Title, retrieved.Title)
+ }
+ if len(retrieved.Messages) != 2 {
+ t.Fatalf("expected 2 messages, got %d", len(retrieved.Messages))
+ }
+ if retrieved.Messages[0].Content != "Hello" {
+ t.Errorf("expected first message 'Hello', got %s", retrieved.Messages[0].Content)
+ }
+ if retrieved.Messages[1].Content != "Hi there!" {
+ t.Errorf("expected second message 'Hi there!', got %s", retrieved.Messages[1].Content)
+ }
+ })
+
+ t.Run("list chats", func(t *testing.T) {
+ chat2 := NewChat("test-chat-2")
+ chat2.Title = "Another Chat"
+ chat2.Messages = append(chat2.Messages, NewMessage("user", "Test", nil))
+
+ if err := s.SetChat(*chat2); err != nil {
+ t.Fatalf("failed to save chat: %v", err)
+ }
+
+ chats, err := s.Chats()
+ if err != nil {
+ t.Fatalf("failed to list chats: %v", err)
+ }
+
+ if len(chats) != 2 {
+ t.Fatalf("expected 2 chats, got %d", len(chats))
+ }
+ })
+
+ t.Run("delete chat", func(t *testing.T) {
+ if err := s.DeleteChat("test-chat-1"); err != nil {
+ t.Fatalf("failed to delete chat: %v", err)
+ }
+
+ // Verify it's gone
+ _, err := s.Chat("test-chat-1")
+ if err == nil {
+ t.Error("expected error retrieving deleted chat")
+ }
+
+ // Verify other chat still exists
+ chats, err := s.Chats()
+ if err != nil {
+ t.Fatalf("failed to list chats: %v", err)
+ }
+ if len(chats) != 1 {
+ t.Fatalf("expected 1 chat after deletion, got %d", len(chats))
+ }
+ })
+}
+
+// setupTestStore creates a temporary store for testing
+func setupTestStore(t *testing.T) (*Store, func()) {
+ t.Helper()
+
+ tmpDir := t.TempDir()
+
+ // Override legacy config path to ensure no migration happens
+ oldLegacyConfigPath := legacyConfigPath
+ legacyConfigPath = filepath.Join(tmpDir, "config.json")
+
+ s := &Store{DBPath: filepath.Join(tmpDir, "db.sqlite")}
+
+ cleanup := func() {
+ s.Close()
+ legacyConfigPath = oldLegacyConfigPath
+ }
+
+ return s, cleanup
+}
diff --git a/western_ai/usa/ollama/app/store/test_home_test.go b/western_ai/usa/ollama/app/store/test_home_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..df2f988514943c0da3fac0efc7bf639340cd6b76
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/test_home_test.go
@@ -0,0 +1,11 @@
+//go:build windows || darwin
+
+package store
+
+import "testing"
+
+func setTestHome(t *testing.T, home string) {
+ t.Helper()
+ t.Setenv("HOME", home)
+ t.Setenv("USERPROFILE", home)
+}
diff --git a/western_ai/usa/ollama/app/store/testdata/schema.sql b/western_ai/usa/ollama/app/store/testdata/schema.sql
new file mode 100644
index 0000000000000000000000000000000000000000..ec2e683e24f630322cd30871903835cff62f4595
--- /dev/null
+++ b/western_ai/usa/ollama/app/store/testdata/schema.sql
@@ -0,0 +1,61 @@
+-- This is the version 2 schema for the app database, the first released schema to users.
+-- Do not modify this file. It is used to test that the database schema stays in a consistent state between schema migrations.
+
+CREATE TABLE IF NOT EXISTS settings (
+ id INTEGER PRIMARY KEY CHECK (id = 1),
+ device_id TEXT NOT NULL DEFAULT '',
+ has_completed_first_run BOOLEAN NOT NULL DEFAULT 0,
+ expose BOOLEAN NOT NULL DEFAULT 0,
+ survey BOOLEAN NOT NULL DEFAULT TRUE,
+ browser BOOLEAN NOT NULL DEFAULT 0,
+ models TEXT NOT NULL DEFAULT '',
+ remote TEXT NOT NULL DEFAULT '',
+ agent BOOLEAN NOT NULL DEFAULT 0,
+ tools BOOLEAN NOT NULL DEFAULT 0,
+ working_dir TEXT NOT NULL DEFAULT '',
+ context_length INTEGER NOT NULL DEFAULT 0,
+ window_width INTEGER NOT NULL DEFAULT 0,
+ window_height INTEGER NOT NULL DEFAULT 0,
+ config_migrated BOOLEAN NOT NULL DEFAULT 0,
+ schema_version INTEGER NOT NULL DEFAULT 2
+);
+
+-- Insert default settings row if it doesn't exist
+INSERT OR IGNORE INTO settings (id) VALUES (1);
+
+CREATE TABLE IF NOT EXISTS chats (
+ id TEXT PRIMARY KEY,
+ title TEXT NOT NULL DEFAULT '',
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
+);
+
+CREATE TABLE IF NOT EXISTS messages (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ chat_id TEXT NOT NULL,
+ role TEXT NOT NULL,
+ content TEXT NOT NULL DEFAULT '',
+ thinking TEXT NOT NULL DEFAULT '',
+ stream BOOLEAN NOT NULL DEFAULT 0,
+ model_name TEXT,
+ model_cloud BOOLEAN,
+ model_ollama_host BOOLEAN,
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ updated_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ thinking_time_start TIMESTAMP,
+ thinking_time_end TIMESTAMP,
+ FOREIGN KEY (chat_id) REFERENCES chats(id) ON DELETE CASCADE
+);
+
+CREATE INDEX IF NOT EXISTS idx_messages_chat_id ON messages(chat_id);
+
+CREATE TABLE IF NOT EXISTS tool_calls (
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
+ message_id INTEGER NOT NULL,
+ type TEXT NOT NULL,
+ function_name TEXT NOT NULL,
+ function_arguments TEXT NOT NULL,
+ function_result TEXT,
+ FOREIGN KEY (message_id) REFERENCES messages(id) ON DELETE CASCADE
+);
+
+CREATE INDEX IF NOT EXISTS idx_tool_calls_message_id ON tool_calls(message_id);
diff --git a/western_ai/usa/ollama/app/tools/browser.go b/western_ai/usa/ollama/app/tools/browser.go
new file mode 100644
index 0000000000000000000000000000000000000000..66690a1c90a469a7ae016d260eacb62cdd1b37ca
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/browser.go
@@ -0,0 +1,867 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "fmt"
+ "net/url"
+ "regexp"
+ "strings"
+ "sync"
+ "time"
+
+ "github.com/ollama/ollama/app/ui/responses"
+)
+
+type PageType string
+
+const (
+ PageTypeSearchResults PageType = "initial_results"
+ PageTypeWebpage PageType = "webpage"
+)
+
+// DefaultViewTokens is the number of tokens to show to the model used when calling displayPage
+const DefaultViewTokens = 1024
+
+/*
+The Browser tool provides web browsing capability for gpt-oss.
+The model uses the tool by usually doing a search first and then choosing to either open a page,
+find a term in a page, or do another search.
+
+The tool optionally may open a URL directly - especially if one is passed in.
+
+Each action is saved into an append-only page stack `responses.BrowserStateData` to keep
+track of the history of the browsing session.
+
+Each `Execute()` for a tool returns the full current state of the browser. ui.go manages the
+browser state representation between the tool, ui, and db.
+
+A new Browser object is created per request - the state is reconstructed by ui.go.
+The initialization of the browser will receive a `responses.BrowserStateData` with the stitched history.
+*/
+
+// BrowserState manages the browsing session on a per-chat basis
+type BrowserState struct {
+ mu sync.RWMutex
+ Data *responses.BrowserStateData
+}
+type Browser struct {
+ state *BrowserState
+}
+
+// State is only accessed in a single thread, as each chat has its own browser state
+func (b *Browser) State() *responses.BrowserStateData {
+ b.state.mu.RLock()
+ defer b.state.mu.RUnlock()
+ return b.state.Data
+}
+
+func (b *Browser) savePage(page *responses.Page) {
+ b.state.Data.URLToPage[page.URL] = page
+ b.state.Data.PageStack = append(b.state.Data.PageStack, page.URL)
+}
+
+func (b *Browser) getPageFromStack(url string) (*responses.Page, error) {
+ page, ok := b.state.Data.URLToPage[url]
+ if !ok {
+ return nil, fmt.Errorf("page not found for url %s", url)
+ }
+ return page, nil
+}
+
+func NewBrowser(state *responses.BrowserStateData) *Browser {
+ if state == nil {
+ state = &responses.BrowserStateData{
+ PageStack: []string{},
+ ViewTokens: DefaultViewTokens,
+ URLToPage: make(map[string]*responses.Page),
+ }
+ }
+ b := &BrowserState{
+ Data: state,
+ }
+
+ return &Browser{
+ state: b,
+ }
+}
+
+type BrowserSearch struct {
+ Browser
+ webSearch *BrowserWebSearch
+}
+
+// NewBrowserSearch creates a new browser search instance
+func NewBrowserSearch(bb *Browser) *BrowserSearch {
+ if bb == nil {
+ bb = &Browser{
+ state: &BrowserState{
+ Data: &responses.BrowserStateData{
+ PageStack: []string{},
+ ViewTokens: DefaultViewTokens,
+ URLToPage: make(map[string]*responses.Page),
+ },
+ },
+ }
+ }
+ return &BrowserSearch{
+ Browser: *bb,
+ webSearch: &BrowserWebSearch{},
+ }
+}
+
+func (b *BrowserSearch) Name() string {
+ return "browser.search"
+}
+
+func (b *BrowserSearch) Description() string {
+ return "Search the web for information"
+}
+
+func (b *BrowserSearch) Prompt() string {
+ return ""
+}
+
+func (b *BrowserSearch) Schema() map[string]any {
+ return map[string]any{}
+}
+
+func (b *BrowserSearch) Execute(ctx context.Context, args map[string]any) (any, string, error) {
+ query, ok := args["query"].(string)
+ if !ok {
+ return nil, "", fmt.Errorf("query parameter is required")
+ }
+
+ topn, ok := args["topn"].(int)
+ if !ok {
+ topn = 5
+ }
+
+ searchArgs := map[string]any{
+ "queries": []any{query},
+ "max_results": topn,
+ }
+
+ result, err := b.webSearch.Execute(ctx, searchArgs)
+ if err != nil {
+ return nil, "", fmt.Errorf("search error: %w", err)
+ }
+
+ searchResponse, ok := result.(*WebSearchResponse)
+ if !ok {
+ return nil, "", fmt.Errorf("invalid search results format")
+ }
+
+ // Build main search results page that contains all search results
+ searchResultsPage := b.buildSearchResultsPageCollection(query, searchResponse)
+ b.savePage(searchResultsPage)
+ cursor := len(b.state.Data.PageStack) - 1
+ // cache result for each page
+ for _, queryResults := range searchResponse.Results {
+ for i, result := range queryResults {
+ resultPage := b.buildSearchResultsPage(&result, i+1)
+ // save to global only, do not add to visited stack
+ b.state.Data.URLToPage[resultPage.URL] = resultPage
+ }
+ }
+
+ page := searchResultsPage
+
+ pageText, err := b.displayPage(page, cursor, 0, -1)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+
+ return b.state.Data, pageText, nil
+}
+
+func (b *Browser) buildSearchResultsPageCollection(query string, results *WebSearchResponse) *responses.Page {
+ page := &responses.Page{
+ URL: "search_results_" + query,
+ Title: query,
+ Links: make(map[int]string),
+ FetchedAt: time.Now(),
+ }
+
+ var textBuilder strings.Builder
+ linkIdx := 0
+
+ // Add the header lines to match format
+ textBuilder.WriteString("\n") // L0: empty
+ textBuilder.WriteString("URL: \n") // L1: URL: (empty for search)
+ textBuilder.WriteString("# Search Results\n") // L2: # Search Results
+ textBuilder.WriteString("\n") // L3: empty
+
+ for _, queryResults := range results.Results {
+ for _, result := range queryResults {
+ domain := result.URL
+ if u, err := url.Parse(result.URL); err == nil && u.Host != "" {
+ domain = u.Host
+ domain = strings.TrimPrefix(domain, "www.")
+ }
+
+ linkFormat := fmt.Sprintf("* 【%d†%s†%s】", linkIdx, result.Title, domain)
+ textBuilder.WriteString(linkFormat)
+
+ numChars := min(len(result.Content.FullText), 400)
+ snippet := strings.TrimSpace(result.Content.FullText[:numChars])
+ textBuilder.WriteString(snippet)
+ textBuilder.WriteString("\n")
+
+ page.Links[linkIdx] = result.URL
+ linkIdx++
+ }
+ }
+
+ page.Text = textBuilder.String()
+ page.Lines = wrapLines(page.Text, 80)
+
+ return page
+}
+
+func (b *Browser) buildSearchResultsPage(result *WebSearchResult, linkIdx int) *responses.Page {
+ page := &responses.Page{
+ URL: result.URL,
+ Title: result.Title,
+ Links: make(map[int]string),
+ FetchedAt: time.Now(),
+ }
+
+ var textBuilder strings.Builder
+
+ // Format the individual result page (only used when no full text is available)
+ linkFormat := fmt.Sprintf("【%d†%s】", linkIdx, result.Title)
+ textBuilder.WriteString(linkFormat)
+ textBuilder.WriteString("\n")
+ textBuilder.WriteString(fmt.Sprintf("URL: %s\n", result.URL))
+ numChars := min(len(result.Content.FullText), 300)
+ textBuilder.WriteString(result.Content.FullText[:numChars])
+ textBuilder.WriteString("\n\n")
+
+ // Only store link and snippet if we won't be processing full text later
+ // (full text processing will handle all links consistently)
+ if result.Content.FullText == "" {
+ page.Links[linkIdx] = result.URL
+ }
+
+ // Use full text if available, otherwise use snippet
+ if result.Content.FullText != "" {
+ // Prepend the URL line to the full text
+ page.Text = fmt.Sprintf("URL: %s\n%s", result.URL, result.Content.FullText)
+ // Process markdown links in the full text
+ processedText, processedLinks := processMarkdownLinks(page.Text)
+ page.Text = processedText
+ page.Links = processedLinks
+ } else {
+ page.Text = textBuilder.String()
+ }
+
+ page.Lines = wrapLines(page.Text, 80)
+
+ return page
+}
+
+// getEndLoc calculates the end location for viewport based on token limits
+func (b *Browser) getEndLoc(loc, numLines, totalLines int, lines []string) int {
+ if numLines <= 0 {
+ // Auto-calculate based on viewTokens
+ txt := b.joinLinesWithNumbers(lines[loc:])
+
+ // If text is very short, no need to truncate (at least 1 char per token)
+ if len(txt) > b.state.Data.ViewTokens {
+ // Simple heuristic: approximate token counting
+ // Typical token is ~4 characters, but can be up to 128 chars
+ maxCharsPerToken := 128
+
+ // upper bound for text to analyze
+ upperBound := min((b.state.Data.ViewTokens+1)*maxCharsPerToken, len(txt))
+ textToAnalyze := txt[:upperBound]
+
+ // Simple approximation: count tokens as ~4 chars each
+ // This is less accurate than tiktoken but more performant
+ approxTokens := len(textToAnalyze) / 4
+
+ if approxTokens > b.state.Data.ViewTokens {
+ // Find the character position at viewTokens
+ endIdx := min(b.state.Data.ViewTokens*4, len(txt))
+
+ // Count newlines up to that position to get line count
+ numLines = strings.Count(txt[:endIdx], "\n") + 1
+ } else {
+ numLines = totalLines
+ }
+ } else {
+ numLines = totalLines
+ }
+ }
+
+ return min(loc+numLines, totalLines)
+}
+
+// joinLinesWithNumbers creates a string with line numbers, matching Python's join_lines
+func (b *Browser) joinLinesWithNumbers(lines []string) string {
+ var builder strings.Builder
+ var hadZeroLine bool
+ for i, line := range lines {
+ if i == 0 {
+ builder.WriteString("L0:\n")
+ hadZeroLine = true
+ }
+ if hadZeroLine {
+ builder.WriteString(fmt.Sprintf("L%d: %s\n", i+1, line))
+ } else {
+ builder.WriteString(fmt.Sprintf("L%d: %s\n", i, line))
+ }
+ }
+ return builder.String()
+}
+
+// processMarkdownLinks finds all markdown links in the text and replaces them with the special format
+// Returns the processed text and a map of link IDs to URLs
+func processMarkdownLinks(text string) (string, map[int]string) {
+ links := make(map[int]string)
+
+ // Always start from 0 for consistent numbering across all pages
+ linkID := 0
+
+ // First, handle multi-line markdown links by joining them
+ // This regex finds markdown links that might be split across lines
+ multiLinePattern := regexp.MustCompile(`\[([^\]]+)\]\s*\n\s*\(([^)]+)\)`)
+ text = multiLinePattern.ReplaceAllStringFunc(text, func(match string) string {
+ // Replace newlines with spaces in the match
+ cleaned := strings.ReplaceAll(match, "\n", " ")
+ // Remove extra spaces
+ cleaned = regexp.MustCompile(`\s+`).ReplaceAllString(cleaned, " ")
+ return cleaned
+ })
+
+ // Now process all markdown links (including the cleaned multi-line ones)
+ linkPattern := regexp.MustCompile(`\[([^\]]+)\]\(([^)]+)\)`)
+
+ processedText := linkPattern.ReplaceAllStringFunc(text, func(match string) string {
+ matches := linkPattern.FindStringSubmatch(match)
+ if len(matches) != 3 {
+ return match
+ }
+
+ linkText := strings.TrimSpace(matches[1])
+ linkURL := strings.TrimSpace(matches[2])
+
+ // Extract domain from URL
+ domain := linkURL
+ if u, err := url.Parse(linkURL); err == nil && u.Host != "" {
+ domain = u.Host
+ // Remove www. prefix if present
+ domain = strings.TrimPrefix(domain, "www.")
+ }
+
+ // Create the formatted link
+ formatted := fmt.Sprintf("【%d†%s†%s】", linkID, linkText, domain)
+
+ // Store the link
+ links[linkID] = linkURL
+ linkID++
+
+ return formatted
+ })
+
+ return processedText, links
+}
+
+func wrapLines(text string, width int) []string {
+ if width <= 0 {
+ width = 80
+ }
+
+ lines := strings.Split(text, "\n")
+ var wrapped []string
+
+ for _, line := range lines {
+ if line == "" {
+ // Preserve empty lines
+ wrapped = append(wrapped, "")
+ } else if len(line) <= width {
+ wrapped = append(wrapped, line)
+ } else {
+ // Word wrapping while preserving whitespace structure
+ words := strings.Fields(line)
+ if len(words) == 0 {
+ // Line with only whitespace
+ wrapped = append(wrapped, line)
+ continue
+ }
+
+ currentLine := ""
+ for _, word := range words {
+ // Check if adding this word would exceed width
+ testLine := currentLine
+ if testLine != "" {
+ testLine += " "
+ }
+ testLine += word
+
+ if len(testLine) > width && currentLine != "" {
+ // Current line would be too long, wrap it
+ wrapped = append(wrapped, currentLine)
+ currentLine = word
+ } else {
+ // Add word to current line
+ if currentLine != "" {
+ currentLine += " "
+ }
+ currentLine += word
+ }
+ }
+
+ // Add any remaining content
+ if currentLine != "" {
+ wrapped = append(wrapped, currentLine)
+ }
+ }
+ }
+
+ return wrapped
+}
+
+// displayPage formats and returns the page display for the model
+func (b *Browser) displayPage(page *responses.Page, cursor, loc, numLines int) (string, error) {
+ totalLines := len(page.Lines)
+
+ if loc >= totalLines {
+ return "", fmt.Errorf("invalid location: %d (max: %d)", loc, totalLines-1)
+ }
+
+ // get viewport end location
+ endLoc := b.getEndLoc(loc, numLines, totalLines, page.Lines)
+
+ var displayBuilder strings.Builder
+ displayBuilder.WriteString(fmt.Sprintf("[%d] %s", cursor, page.Title))
+ if page.URL != "" {
+ displayBuilder.WriteString(fmt.Sprintf("(%s)\n", page.URL))
+ } else {
+ displayBuilder.WriteString("\n")
+ }
+ displayBuilder.WriteString(fmt.Sprintf("**viewing lines [%d - %d] of %d**\n\n", loc, endLoc-1, totalLines-1))
+
+ // Content with line numbers
+ var hadZeroLine bool
+ for i := loc; i < endLoc; i++ {
+ if i == 0 {
+ displayBuilder.WriteString("L0:\n")
+ hadZeroLine = true
+ }
+ if hadZeroLine {
+ displayBuilder.WriteString(fmt.Sprintf("L%d: %s\n", i+1, page.Lines[i]))
+ } else {
+ displayBuilder.WriteString(fmt.Sprintf("L%d: %s\n", i, page.Lines[i]))
+ }
+ }
+
+ return displayBuilder.String(), nil
+}
+
+type BrowserOpen struct {
+ Browser
+ crawlPage *BrowserCrawler
+}
+
+func NewBrowserOpen(bb *Browser) *BrowserOpen {
+ if bb == nil {
+ bb = &Browser{
+ state: &BrowserState{
+ Data: &responses.BrowserStateData{
+ PageStack: []string{},
+ ViewTokens: DefaultViewTokens,
+ URLToPage: make(map[string]*responses.Page),
+ },
+ },
+ }
+ }
+ return &BrowserOpen{
+ Browser: *bb,
+ crawlPage: &BrowserCrawler{},
+ }
+}
+
+func (b *BrowserOpen) Name() string {
+ return "browser.open"
+}
+
+func (b *BrowserOpen) Description() string {
+ return "Open a link in the browser"
+}
+
+func (b *BrowserOpen) Prompt() string {
+ return ""
+}
+
+func (b *BrowserOpen) Schema() map[string]any {
+ return map[string]any{}
+}
+
+func (b *BrowserOpen) Execute(ctx context.Context, args map[string]any) (any, string, error) {
+ // Get cursor parameter first
+ cursor := -1
+ if c, ok := args["cursor"].(float64); ok {
+ cursor = int(c)
+ } else if c, ok := args["cursor"].(int); ok {
+ cursor = c
+ }
+
+ // Get loc parameter
+ loc := 0
+ if l, ok := args["loc"].(float64); ok {
+ loc = int(l)
+ } else if l, ok := args["loc"].(int); ok {
+ loc = l
+ }
+
+ // Get num_lines parameter
+ numLines := -1
+ if n, ok := args["num_lines"].(float64); ok {
+ numLines = int(n)
+ } else if n, ok := args["num_lines"].(int); ok {
+ numLines = n
+ }
+
+ // get page from cursor
+ var page *responses.Page
+ if cursor >= 0 {
+ if cursor >= len(b.state.Data.PageStack) {
+ return nil, "", fmt.Errorf("cursor %d is out of range (pageStack length: %d)", cursor, len(b.state.Data.PageStack))
+ }
+ var err error
+ page, err = b.getPageFromStack(b.state.Data.PageStack[cursor])
+ if err != nil {
+ return nil, "", fmt.Errorf("page not found for cursor %d: %w", cursor, err)
+ }
+ } else {
+ // get last page
+ if len(b.state.Data.PageStack) != 0 {
+ pageURL := b.state.Data.PageStack[len(b.state.Data.PageStack)-1]
+ var err error
+ page, err = b.getPageFromStack(pageURL)
+ if err != nil {
+ return nil, "", fmt.Errorf("page not found for cursor %d: %w", cursor, err)
+ }
+ }
+ }
+
+ // Try to get id as string (URL) first
+ if url, ok := args["id"].(string); ok {
+ // Check if we already have this page cached
+ if existingPage, ok := b.state.Data.URLToPage[url]; ok {
+ // Use cached page
+ b.savePage(existingPage)
+ // Always update cursor to point to the newly added page
+ cursor = len(b.state.Data.PageStack) - 1
+ pageText, err := b.displayPage(existingPage, cursor, loc, numLines)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+ return b.state.Data, pageText, nil
+ }
+
+ if !allowedDirectURL(ctx, url) {
+ return nil, "", fmt.Errorf("direct URL open is only allowed for URLs provided by the user")
+ }
+
+ // Page not in cache, need to crawl it
+ if b.crawlPage == nil {
+ b.crawlPage = &BrowserCrawler{}
+ }
+ crawlResponse, err := b.crawlPage.Execute(ctx, map[string]any{
+ "urls": []any{url},
+ "latest": false,
+ })
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to crawl URL %s: %w", url, err)
+ }
+
+ newPage, err := b.buildPageFromCrawlResult(url, crawlResponse)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to build page from crawl result: %w", err)
+ }
+
+ // Need to fall through if first search is directly an open command - no existing page
+ b.savePage(newPage)
+ // Always update cursor to point to the newly added page
+ cursor = len(b.state.Data.PageStack) - 1
+ pageText, err := b.displayPage(newPage, cursor, loc, numLines)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+ return b.state.Data, pageText, nil
+ }
+
+ // Try to get id as integer (link ID from current page)
+ if id, ok := args["id"].(float64); ok {
+ if page == nil {
+ return nil, "", fmt.Errorf("no current page to resolve link from")
+ }
+ idInt := int(id)
+ pageURL, ok := page.Links[idInt]
+ if !ok {
+ return nil, "", fmt.Errorf("invalid link id %d", idInt)
+ }
+
+ // Check if we have the linked page cached
+ newPage, ok := b.state.Data.URLToPage[pageURL]
+ if !ok {
+ if b.crawlPage == nil {
+ b.crawlPage = &BrowserCrawler{}
+ }
+ crawlResponse, err := b.crawlPage.Execute(ctx, map[string]any{
+ "urls": []any{pageURL},
+ "latest": false,
+ })
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to crawl URL %s: %w", pageURL, err)
+ }
+
+ // Create new page from crawl result
+ newPage, err = b.buildPageFromCrawlResult(pageURL, crawlResponse)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to build page from crawl result: %w", err)
+ }
+ }
+
+ // Add to history stack regardless of cache status
+ b.savePage(newPage)
+
+ // Always update cursor to point to the newly added page
+ cursor = len(b.state.Data.PageStack) - 1
+ pageText, err := b.displayPage(newPage, cursor, loc, numLines)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+ return b.state.Data, pageText, nil
+ }
+
+ // If no id provided, just display current page
+ if page == nil {
+ return nil, "", fmt.Errorf("no current page to display")
+ }
+ // Only add to PageStack without updating URLToPage
+ b.state.Data.PageStack = append(b.state.Data.PageStack, page.URL)
+ cursor = len(b.state.Data.PageStack) - 1
+
+ pageText, err := b.displayPage(page, cursor, loc, numLines)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+ return b.state.Data, pageText, nil
+}
+
+// buildPageFromCrawlResult creates a Page from crawl API results
+func (b *Browser) buildPageFromCrawlResult(requestedURL string, crawlResponse *CrawlResponse) (*responses.Page, error) {
+ // Initialize page with defaults
+ page := &responses.Page{
+ URL: requestedURL,
+ Title: requestedURL,
+ Text: "",
+ Links: make(map[int]string),
+ FetchedAt: time.Now(),
+ }
+
+ // Process crawl results - the API returns results grouped by URL
+ for url, urlResults := range crawlResponse.Results {
+ if len(urlResults) > 0 {
+ // Get the first result for this URL
+ result := urlResults[0]
+
+ // Extract content
+ if result.Content.FullText != "" {
+ page.Text = result.Content.FullText
+ }
+
+ // Extract title if available
+ if result.Title != "" {
+ page.Title = result.Title
+ }
+
+ // Update URL to the actual URL from results
+ page.URL = url
+
+ // Extract links if available from extras
+ for i, link := range result.Extras.Links {
+ if link.Href != "" {
+ page.Links[i] = link.Href
+ } else if link.URL != "" {
+ page.Links[i] = link.URL
+ }
+ }
+
+ // Only process the first URL's results
+ break
+ }
+ }
+
+ // If no text was extracted, set a default message
+ if page.Text == "" {
+ page.Text = "No content could be extracted from this page."
+ } else {
+ // Prepend the URL line to match Python implementation
+ page.Text = fmt.Sprintf("URL: %s\n%s", page.URL, page.Text)
+ }
+
+ // Process markdown links in the text
+ processedText, processedLinks := processMarkdownLinks(page.Text)
+ page.Text = processedText
+ page.Links = processedLinks
+
+ // Wrap lines for display
+ page.Lines = wrapLines(page.Text, 80)
+
+ return page, nil
+}
+
+type BrowserFind struct {
+ Browser
+}
+
+func NewBrowserFind(bb *Browser) *BrowserFind {
+ return &BrowserFind{
+ Browser: *bb,
+ }
+}
+
+func (b *BrowserFind) Name() string {
+ return "browser.find"
+}
+
+func (b *BrowserFind) Description() string {
+ return "Find a term in the browser"
+}
+
+func (b *BrowserFind) Prompt() string {
+ return ""
+}
+
+func (b *BrowserFind) Schema() map[string]any {
+ return map[string]any{}
+}
+
+func (b *BrowserFind) Execute(ctx context.Context, args map[string]any) (any, string, error) {
+ pattern, ok := args["pattern"].(string)
+ if !ok {
+ return nil, "", fmt.Errorf("pattern parameter is required")
+ }
+
+ // Get cursor parameter if provided, default to current page
+ cursor := -1
+ if c, ok := args["cursor"].(float64); ok {
+ cursor = int(c)
+ }
+
+ // Get the page to search in
+ var page *responses.Page
+ if cursor == -1 {
+ // Use current page
+ if len(b.state.Data.PageStack) == 0 {
+ return nil, "", fmt.Errorf("no pages to search in")
+ }
+ var err error
+ page, err = b.getPageFromStack(b.state.Data.PageStack[len(b.state.Data.PageStack)-1])
+ if err != nil {
+ return nil, "", fmt.Errorf("page not found for cursor %d: %w", cursor, err)
+ }
+ } else {
+ // Use specific cursor
+ if cursor < 0 || cursor >= len(b.state.Data.PageStack) {
+ return nil, "", fmt.Errorf("cursor %d is out of range [0-%d]", cursor, len(b.state.Data.PageStack)-1)
+ }
+ var err error
+ page, err = b.getPageFromStack(b.state.Data.PageStack[cursor])
+ if err != nil {
+ return nil, "", fmt.Errorf("page not found for cursor %d: %w", cursor, err)
+ }
+ }
+
+ if page == nil {
+ return nil, "", fmt.Errorf("page not found")
+ }
+
+ // Create find results page
+ findPage := b.buildFindResultsPage(pattern, page)
+
+ // Add the find results page to state
+ b.savePage(findPage)
+ newCursor := len(b.state.Data.PageStack) - 1
+
+ pageText, err := b.displayPage(findPage, newCursor, 0, -1)
+ if err != nil {
+ return nil, "", fmt.Errorf("failed to display page: %w", err)
+ }
+
+ return b.state.Data, pageText, nil
+}
+
+func (b *Browser) buildFindResultsPage(pattern string, page *responses.Page) *responses.Page {
+ findPage := &responses.Page{
+ Title: fmt.Sprintf("Find results for text: `%s` in `%s`", pattern, page.Title),
+ Links: make(map[int]string),
+ FetchedAt: time.Now(),
+ }
+
+ findPage.URL = fmt.Sprintf("find_results_%s", pattern)
+
+ var textBuilder strings.Builder
+ matchIdx := 0
+ maxResults := 50
+ numShowLines := 4
+ patternLower := strings.ToLower(pattern)
+
+ // Search through the page lines following the reference algorithm
+ var resultChunks []string
+ lineIdx := 0
+
+ for lineIdx < len(page.Lines) {
+ line := page.Lines[lineIdx]
+ lineLower := strings.ToLower(line)
+
+ if !strings.Contains(lineLower, patternLower) {
+ lineIdx++
+ continue
+ }
+
+ // Build snippet context
+ endLine := min(lineIdx+numShowLines, len(page.Lines))
+
+ var snippetBuilder strings.Builder
+ for j := lineIdx; j < endLine; j++ {
+ snippetBuilder.WriteString(page.Lines[j])
+ if j < endLine-1 {
+ snippetBuilder.WriteString("\n")
+ }
+ }
+ snippet := snippetBuilder.String()
+
+ // Format the match
+ linkFormat := fmt.Sprintf("【%d†match at L%d】", matchIdx, lineIdx)
+ resultChunk := fmt.Sprintf("%s\n%s", linkFormat, snippet)
+ resultChunks = append(resultChunks, resultChunk)
+
+ if len(resultChunks) >= maxResults {
+ break
+ }
+
+ matchIdx++
+ lineIdx += numShowLines
+ }
+
+ // Build final display text
+ if len(resultChunks) > 0 {
+ textBuilder.WriteString(strings.Join(resultChunks, "\n\n"))
+ }
+
+ if matchIdx == 0 {
+ findPage.Text = fmt.Sprintf("No `find` results for pattern: `%s`", pattern)
+ } else {
+ findPage.Text = textBuilder.String()
+ }
+
+ findPage.Lines = wrapLines(findPage.Text, 80)
+ return findPage
+}
diff --git a/western_ai/usa/ollama/app/tools/browser_crawl.go b/western_ai/usa/ollama/app/tools/browser_crawl.go
new file mode 100644
index 0000000000000000000000000000000000000000..fd9c2bd4dce1c5290c56e564e838442efbf280ce
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/browser_crawl.go
@@ -0,0 +1,136 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+)
+
+// CrawlContent represents the content of a crawled page
+type CrawlContent struct {
+ Snippet string `json:"snippet"`
+ FullText string `json:"full_text"`
+}
+
+// CrawlExtras represents additional data from the crawl API
+type CrawlExtras struct {
+ Links []CrawlLink `json:"links"`
+}
+
+// CrawlLink represents a link found on a crawled page
+type CrawlLink struct {
+ URL string `json:"url"`
+ Href string `json:"href"`
+ Text string `json:"text"`
+}
+
+// CrawlResult represents a single crawl result
+type CrawlResult struct {
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Content CrawlContent `json:"content"`
+ Extras CrawlExtras `json:"extras"`
+}
+
+// CrawlResponse represents the complete response from the crawl API
+type CrawlResponse struct {
+ Results map[string][]CrawlResult `json:"results"`
+}
+
+// BrowserCrawler tool for crawling web pages using ollama.com crawl API
+type BrowserCrawler struct{}
+
+func (g *BrowserCrawler) Name() string {
+ return "get_webpage"
+}
+
+func (g *BrowserCrawler) Description() string {
+ return "Crawl and extract text content from web pages"
+}
+
+func (g *BrowserCrawler) Prompt() string {
+ return `When you need to read content from web pages, use the get_webpage tool. Simply provide the URLs you want to read and I'll fetch their content for you.
+
+For each URL, I'll extract the main text content in a readable format. If you need to discover links within those pages, set extract_links to true. If the user requires the latest information, set livecrawl to true.
+
+Only use this tool when you need to access current web content. Make sure the URLs are valid and accessible. Do not use this tool for:
+- Downloading files or media
+- Accessing private/authenticated pages
+- Scraping data at high volumes
+
+Always check the returned content to ensure it's relevant before using it in your response.`
+}
+
+func (g *BrowserCrawler) Schema() map[string]any {
+ schemaBytes := []byte(`{
+ "type": "object",
+ "properties": {
+ "urls": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of URLs to crawl and extract content from"
+ }
+ },
+ "required": ["urls"]
+ }`)
+ var schema map[string]any
+ if err := json.Unmarshal(schemaBytes, &schema); err != nil {
+ return nil
+ }
+ return schema
+}
+
+func (g *BrowserCrawler) Execute(ctx context.Context, args map[string]any) (*CrawlResponse, error) {
+ urlsRaw, ok := args["urls"].([]any)
+ if !ok {
+ return nil, fmt.Errorf("urls parameter is required and must be an array of strings")
+ }
+
+ urls := make([]string, 0, len(urlsRaw))
+ for _, u := range urlsRaw {
+ if urlStr, ok := u.(string); ok {
+ urls = append(urls, urlStr)
+ }
+ }
+
+ if len(urls) == 0 {
+ return nil, fmt.Errorf("at least one URL is required")
+ }
+
+ return g.performWebCrawl(ctx, urls)
+}
+
+// performWebCrawl handles the actual HTTP request to ollama.com crawl API
+func (g *BrowserCrawler) performWebCrawl(ctx context.Context, urls []string) (*CrawlResponse, error) {
+ result := &CrawlResponse{Results: make(map[string][]CrawlResult, len(urls))}
+
+ for _, targetURL := range urls {
+ fetchResp, err := performWebFetch(ctx, targetURL)
+ if err != nil {
+ return nil, fmt.Errorf("web_fetch failed for %q: %w", targetURL, err)
+ }
+
+ links := make([]CrawlLink, 0, len(fetchResp.Links))
+ for _, link := range fetchResp.Links {
+ links = append(links, CrawlLink{URL: link, Href: link})
+ }
+
+ snippet := truncateString(fetchResp.Content, 400)
+
+ result.Results[targetURL] = []CrawlResult{{
+ Title: fetchResp.Title,
+ URL: targetURL,
+ Content: CrawlContent{
+ Snippet: snippet,
+ FullText: fetchResp.Content,
+ },
+ Extras: CrawlExtras{Links: links},
+ }}
+ }
+
+ return result, nil
+}
diff --git a/western_ai/usa/ollama/app/tools/browser_test.go b/western_ai/usa/ollama/app/tools/browser_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..fe3d2fa11843a28daa1f3600682885e7a0760d58
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/browser_test.go
@@ -0,0 +1,168 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/ollama/ollama/app/ui/responses"
+)
+
+func makeTestPage(url string) *responses.Page {
+ return &responses.Page{
+ URL: url,
+ Title: "Title " + url,
+ Text: "Body for " + url,
+ Lines: []string{"line1", "line2", "line3"},
+ Links: map[int]string{0: url},
+ FetchedAt: time.Now(),
+ }
+}
+
+func TestBrowser_Scroll_AppendsOnlyPageStack(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ p1 := makeTestPage("https://example.com/1")
+ b.savePage(p1)
+ initialStackLen := len(b.state.Data.PageStack)
+ initialMapLen := len(b.state.Data.URLToPage)
+
+ bo := NewBrowserOpen(b)
+ // Scroll without id — should push only to PageStack
+ _, _, err := bo.Execute(t.Context(), map[string]any{"loc": float64(1), "num_lines": float64(1)})
+ if err != nil {
+ t.Fatalf("scroll execute failed: %v", err)
+ }
+
+ if got, want := len(b.state.Data.PageStack), initialStackLen+1; got != want {
+ t.Fatalf("page stack length = %d, want %d", got, want)
+ }
+ if got, want := len(b.state.Data.URLToPage), initialMapLen; got != want {
+ t.Fatalf("url_to_page length changed = %d, want %d", got, want)
+ }
+}
+
+func TestBrowserOpen_UseCacheByURL(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ bo := NewBrowserOpen(b)
+
+ p := makeTestPage("https://example.com/cached")
+ b.state.Data.URLToPage[p.URL] = p
+ initialStackLen := len(b.state.Data.PageStack)
+ initialMapLen := len(b.state.Data.URLToPage)
+
+ _, _, err := bo.Execute(t.Context(), map[string]any{"id": p.URL})
+ if err != nil {
+ t.Fatalf("open cached execute failed: %v", err)
+ }
+
+ if got, want := len(b.state.Data.PageStack), initialStackLen+1; got != want {
+ t.Fatalf("page stack length = %d, want %d", got, want)
+ }
+ if got, want := len(b.state.Data.URLToPage), initialMapLen; got != want {
+ t.Fatalf("url_to_page length changed = %d, want %d", got, want)
+ }
+}
+
+func TestBrowserOpen_RejectsUncachedDirectURL(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ bo := NewBrowserOpen(b)
+
+ _, _, err := bo.Execute(t.Context(), map[string]any{"id": "https://attacker.example/?data=secret"})
+ if err == nil || !strings.Contains(err.Error(), "only allowed for URLs provided by the user") {
+ t.Fatalf("expected direct URL rejection, got %v", err)
+ }
+}
+
+func TestDirectURLsFromText_AllowsExactUserURLsOnly(t *testing.T) {
+ ctx := WithAllowedDirectURLs(t.Context(), "summarize https://example.com/article?q=1 please")
+
+ if !allowedDirectURL(ctx, "https://example.com/article?q=1") {
+ t.Fatal("expected exact user-provided URL to be allowed")
+ }
+ if allowedDirectURL(ctx, "https://example.com/article?q=secret") {
+ t.Fatal("did not expect modified URL to be allowed")
+ }
+}
+
+func TestDisplayPage_InvalidLoc(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ p := makeTestPage("https://example.com/x")
+ // ensure lines are set
+ p.Lines = []string{"a", "b"}
+ _, err := b.displayPage(p, 0, 10, -1)
+ if err == nil || !strings.Contains(err.Error(), "invalid location") {
+ t.Fatalf("expected invalid location error, got %v", err)
+ }
+}
+
+func TestBrowserOpen_LinkId_UsesCacheAndAppends(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ // Seed a main page with a link id 0 to a linked URL
+ main := makeTestPage("https://example.com/main")
+ linked := makeTestPage("https://example.com/linked")
+ main.Links = map[int]string{0: linked.URL}
+ // Save the main page (adds to PageStack and URLToPage)
+ b.savePage(main)
+ // Pre-cache the linked page so open by id avoids network
+ b.state.Data.URLToPage[linked.URL] = linked
+
+ initialStackLen := len(b.state.Data.PageStack)
+ initialMapLen := len(b.state.Data.URLToPage)
+
+ bo := NewBrowserOpen(b)
+ _, _, err := bo.Execute(t.Context(), map[string]any{"id": float64(0)})
+ if err != nil {
+ t.Fatalf("open by link id failed: %v", err)
+ }
+
+ if got, want := len(b.state.Data.PageStack), initialStackLen+1; got != want {
+ t.Fatalf("page stack length = %d, want %d", got, want)
+ }
+ if got, want := len(b.state.Data.URLToPage), initialMapLen; got != want {
+ t.Fatalf("url_to_page length changed = %d, want %d", got, want)
+ }
+ if last := b.state.Data.PageStack[len(b.state.Data.PageStack)-1]; last != linked.URL {
+ t.Fatalf("last page in stack = %s, want %s", last, linked.URL)
+ }
+}
+
+func TestWrapLines_PreserveAndWidth(t *testing.T) {
+ long := strings.Repeat("word ", 50)
+ text := "Line1\n\n" + long + "\nLine3"
+ lines := wrapLines(text, 40)
+
+ // Ensure empty line preserved at index 1
+ if lines[1] != "" {
+ t.Fatalf("expected preserved empty line at index 1, got %q", lines[1])
+ }
+ // All lines should be <= 40 chars
+ for i, l := range lines {
+ if len(l) > 40 {
+ t.Fatalf("line %d exceeds width: %d > 40", i, len(l))
+ }
+ }
+}
+
+func TestDisplayPage_FormatHeaderAndLines(t *testing.T) {
+ b := NewBrowser(&responses.BrowserStateData{PageStack: []string{}, ViewTokens: 1024, URLToPage: map[string]*responses.Page{}})
+ p := &responses.Page{
+ URL: "https://example.com/x",
+ Title: "Example",
+ Lines: []string{"URL: https://example.com/x", "A", "B", "C"},
+ }
+ out, err := b.displayPage(p, 3, 0, 2)
+ if err != nil {
+ t.Fatalf("displayPage failed: %v", err)
+ }
+ if !strings.HasPrefix(out, "[3] Example(") {
+ t.Fatalf("header not formatted as expected: %q", out)
+ }
+ if !strings.Contains(out, "L0:\n") {
+ t.Fatalf("missing L0 label: %q", out)
+ }
+ if !strings.Contains(out, "L1: URL: https://example.com/x\n") || !strings.Contains(out, "L2: A\n") {
+ t.Fatalf("missing expected line numbers/content: %q", out)
+ }
+}
diff --git a/western_ai/usa/ollama/app/tools/browser_websearch.go b/western_ai/usa/ollama/app/tools/browser_websearch.go
new file mode 100644
index 0000000000000000000000000000000000000000..dd47fb886fa0a75cb5771fb1e5d951371dc9b8e1
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/browser_websearch.go
@@ -0,0 +1,143 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "strconv"
+ "time"
+)
+
+// WebSearchContent represents the content of a search result
+type WebSearchContent struct {
+ Snippet string `json:"snippet"`
+ FullText string `json:"full_text"`
+}
+
+// WebSearchMetadata represents metadata for a search result
+type WebSearchMetadata struct {
+ PublishedDate *time.Time `json:"published_date,omitempty"`
+}
+
+// WebSearchResult represents a single search result
+type WebSearchResult struct {
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Content WebSearchContent `json:"content"`
+ Metadata WebSearchMetadata `json:"metadata"`
+}
+
+// WebSearchResponse represents the complete response from the websearch API
+type WebSearchResponse struct {
+ Results map[string][]WebSearchResult `json:"results"`
+}
+
+// BrowserWebSearch tool for searching the web using ollama.com search API
+type BrowserWebSearch struct{}
+
+func (w *BrowserWebSearch) Name() string {
+ return "gpt_oss_web_search"
+}
+
+func (w *BrowserWebSearch) Description() string {
+ return "Search the web for real-time information using ollama.com search API."
+}
+
+func (w *BrowserWebSearch) Prompt() string {
+ return `Use the gpt_oss_web_search tool to search the web.
+1. Come up with a list of search queries to get comprehensive information (typically 2-3 related queries work well)
+2. Use the gpt_oss_web_search tool with multiple queries to get results organized by query
+3. Use the search results to provide current up to date, accurate information
+
+Today's date is ` + time.Now().Format("January 2, 2006") + `
+Add "` + time.Now().Format("January 2, 2006") + `" for news queries and ` + strconv.Itoa(time.Now().Year()+1) + ` for other queries that need current information.`
+}
+
+func (w *BrowserWebSearch) Schema() map[string]any {
+ schemaBytes := []byte(`{
+ "type": "object",
+ "properties": {
+ "queries": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "List of search queries to look up"
+ },
+ "max_results": {
+ "type": "integer",
+ "description": "Maximum number of results to return per query (default: 2) up to 5",
+ "default": 2
+ }
+ },
+ "required": ["queries"]
+ }`)
+ var schema map[string]any
+ if err := json.Unmarshal(schemaBytes, &schema); err != nil {
+ return nil
+ }
+ return schema
+}
+
+func (w *BrowserWebSearch) Execute(ctx context.Context, args map[string]any) (any, error) {
+ queriesRaw, ok := args["queries"].([]any)
+ if !ok {
+ return nil, fmt.Errorf("queries parameter is required and must be an array of strings")
+ }
+
+ queries := make([]string, 0, len(queriesRaw))
+ for _, q := range queriesRaw {
+ if query, ok := q.(string); ok {
+ queries = append(queries, query)
+ }
+ }
+
+ if len(queries) == 0 {
+ return nil, fmt.Errorf("at least one query is required")
+ }
+
+ maxResults := 5
+ if mr, ok := args["max_results"].(int); ok {
+ maxResults = mr
+ }
+
+ return w.performWebSearch(ctx, queries, maxResults)
+}
+
+// performWebSearch handles the actual HTTP request to ollama.com search API
+func (w *BrowserWebSearch) performWebSearch(ctx context.Context, queries []string, maxResults int) (*WebSearchResponse, error) {
+ response := &WebSearchResponse{Results: make(map[string][]WebSearchResult, len(queries))}
+
+ for _, query := range queries {
+ searchResp, err := performWebSearch(ctx, query, maxResults)
+ if err != nil {
+ return nil, fmt.Errorf("web_search failed for %q: %w", query, err)
+ }
+
+ converted := make([]WebSearchResult, 0, len(searchResp.Results))
+ for _, item := range searchResp.Results {
+ converted = append(converted, WebSearchResult{
+ Title: item.Title,
+ URL: item.URL,
+ Content: WebSearchContent{
+ Snippet: truncateString(item.Content, 400),
+ FullText: item.Content,
+ },
+ Metadata: WebSearchMetadata{},
+ })
+ }
+
+ response.Results[query] = converted
+ }
+
+ return response, nil
+}
+
+func truncateString(input string, limit int) string {
+ if limit <= 0 || len(input) <= limit {
+ return input
+ }
+ return input[:limit]
+}
diff --git a/western_ai/usa/ollama/app/tools/cloud_policy.go b/western_ai/usa/ollama/app/tools/cloud_policy.go
new file mode 100644
index 0000000000000000000000000000000000000000..3b05577efae9e250a812b94005f284386511a07a
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/cloud_policy.go
@@ -0,0 +1,35 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "errors"
+
+ "github.com/ollama/ollama/api"
+ internalcloud "github.com/ollama/ollama/internal/cloud"
+)
+
+// ensureCloudEnabledForTool checks cloud policy from the connected Ollama server.
+// If policy cannot be determined, this fails closed and blocks the operation.
+func ensureCloudEnabledForTool(ctx context.Context, operation string) error {
+ // Reuse shared message formatting; policy evaluation is still done via
+ // the connected server's /api/status endpoint below.
+ disabledMessage := internalcloud.DisabledError(operation)
+
+ client, err := api.ClientFromEnvironment()
+ if err != nil {
+ return errors.New(disabledMessage + " (unable to verify server cloud policy)")
+ }
+
+ status, err := client.CloudStatusExperimental(ctx)
+ if err != nil {
+ return errors.New(disabledMessage + " (unable to verify server cloud policy)")
+ }
+
+ if status.Cloud.Disabled {
+ return errors.New(disabledMessage)
+ }
+
+ return nil
+}
diff --git a/western_ai/usa/ollama/app/tools/cloud_policy_test.go b/western_ai/usa/ollama/app/tools/cloud_policy_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..5bd83cae2bbca8c910b01cf92a7b284989c5848a
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/cloud_policy_test.go
@@ -0,0 +1,73 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "net/http"
+ "net/http/httptest"
+ "strings"
+ "testing"
+)
+
+func TestEnsureCloudEnabledForTool(t *testing.T) {
+ const op = "web search is unavailable"
+ const disabledPrefix = "ollama cloud is disabled: web search is unavailable"
+
+ t.Run("enabled allows tool execution", func(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ if r.URL.Path != "/api/status" {
+ http.NotFound(w, r)
+ return
+ }
+ w.Header().Set("Content-Type", "application/json")
+ _, _ = w.Write([]byte(`{"cloud":{"disabled":false,"source":"none"}}`))
+ }))
+ t.Cleanup(ts.Close)
+ t.Setenv("OLLAMA_HOST", ts.URL)
+
+ if err := ensureCloudEnabledForTool(context.Background(), op); err != nil {
+ t.Fatalf("expected nil error, got %v", err)
+ }
+ })
+
+ t.Run("disabled blocks tool execution", func(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ if r.URL.Path != "/api/status" {
+ http.NotFound(w, r)
+ return
+ }
+ w.Header().Set("Content-Type", "application/json")
+ _, _ = w.Write([]byte(`{"cloud":{"disabled":true,"source":"config"}}`))
+ }))
+ t.Cleanup(ts.Close)
+ t.Setenv("OLLAMA_HOST", ts.URL)
+
+ err := ensureCloudEnabledForTool(context.Background(), op)
+ if err == nil {
+ t.Fatal("expected error, got nil")
+ }
+ if got := err.Error(); got != disabledPrefix {
+ t.Fatalf("unexpected error: %q", got)
+ }
+ })
+
+ t.Run("status unavailable fails closed", func(t *testing.T) {
+ ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ http.NotFound(w, r)
+ }))
+ t.Cleanup(ts.Close)
+ t.Setenv("OLLAMA_HOST", ts.URL)
+
+ err := ensureCloudEnabledForTool(context.Background(), op)
+ if err == nil {
+ t.Fatal("expected error, got nil")
+ }
+ if got := err.Error(); !strings.Contains(got, disabledPrefix) {
+ t.Fatalf("expected disabled prefix, got %q", got)
+ }
+ if got := err.Error(); !strings.Contains(got, "unable to verify server cloud policy") {
+ t.Fatalf("expected verification failure detail, got %q", got)
+ }
+ })
+}
diff --git a/western_ai/usa/ollama/app/tools/tools.go b/western_ai/usa/ollama/app/tools/tools.go
new file mode 100644
index 0000000000000000000000000000000000000000..b367278908e370c87bbe5ab1d3d3993784d95abe
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/tools.go
@@ -0,0 +1,122 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+)
+
+// Tool defines the interface that all tools must implement
+type Tool interface {
+ // Name returns the unique identifier for the tool
+ Name() string
+
+ // Description returns a human-readable description of what the tool does
+ Description() string
+
+ // Schema returns the JSON schema for the tool's parameters
+ Schema() map[string]any
+
+ // Execute runs the tool with the given arguments and returns result to store in db, and a string result for the model
+ Execute(ctx context.Context, args map[string]any) (any, string, error)
+
+ // Prompt returns a prompt for the tool
+ Prompt() string
+}
+
+// Registry manages the available tools and their execution
+type Registry struct {
+ tools map[string]Tool
+ workingDir string // Working directory for all tool operations
+}
+
+// NewRegistry creates a new tool registry with no tools
+func NewRegistry() *Registry {
+ return &Registry{
+ tools: make(map[string]Tool),
+ }
+}
+
+// Register adds a tool to the registry
+func (r *Registry) Register(tool Tool) {
+ r.tools[tool.Name()] = tool
+}
+
+// Get retrieves a tool by name
+func (r *Registry) Get(name string) (Tool, bool) {
+ tool, exists := r.tools[name]
+ return tool, exists
+}
+
+// List returns all available tools
+func (r *Registry) List() []Tool {
+ tools := make([]Tool, 0, len(r.tools))
+ for _, tool := range r.tools {
+ tools = append(tools, tool)
+ }
+ return tools
+}
+
+// SetWorkingDir sets the working directory for all tool operations
+func (r *Registry) SetWorkingDir(dir string) {
+ r.workingDir = dir
+}
+
+// Execute runs a tool with the given name and arguments
+func (r *Registry) Execute(ctx context.Context, name string, args map[string]any) (any, string, error) {
+ tool, ok := r.tools[name]
+ if !ok {
+ return nil, "", fmt.Errorf("unknown tool: %s", name)
+ }
+
+ result, text, err := tool.Execute(ctx, args)
+ if err != nil {
+ return nil, "", err
+ }
+ return result, text, nil
+}
+
+// ToolCall represents a request to execute a tool
+type ToolCall struct {
+ ID string `json:"id"`
+ Type string `json:"type"`
+ Function ToolFunction `json:"function"`
+}
+
+// ToolFunction represents the function call details
+type ToolFunction struct {
+ Name string `json:"name"`
+ Arguments json.RawMessage `json:"arguments"`
+}
+
+// ToolResult represents the result of a tool execution
+type ToolResult struct {
+ ToolCallID string `json:"tool_call_id"`
+ Content any `json:"content"`
+ Error string `json:"error,omitempty"`
+}
+
+// ToolSchemas returns all tools as schema maps suitable for API calls
+func (r *Registry) AvailableTools() []map[string]any {
+ schemas := make([]map[string]any, 0, len(r.tools))
+ for _, tool := range r.tools {
+ schema := map[string]any{
+ "name": tool.Name(),
+ "description": tool.Description(),
+ "schema": tool.Schema(),
+ }
+ schemas = append(schemas, schema)
+ }
+ return schemas
+}
+
+// ToolNames returns a list of all tool names
+func (r *Registry) ToolNames() []string {
+ names := make([]string, 0, len(r.tools))
+ for name := range r.tools {
+ names = append(names, name)
+ }
+ return names
+}
diff --git a/western_ai/usa/ollama/app/tools/url_policy.go b/western_ai/usa/ollama/app/tools/url_policy.go
new file mode 100644
index 0000000000000000000000000000000000000000..8eebe2a905bd52b54ad644f0fad940940d8b4de8
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/url_policy.go
@@ -0,0 +1,61 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "context"
+ "regexp"
+ "strings"
+)
+
+type directURLContextKey struct{}
+
+var directURLPattern = regexp.MustCompile("https?://[^\\s<>\"'`]+")
+
+func WithAllowedDirectURLs(ctx context.Context, text string) context.Context {
+ allowed := make(map[string]struct{})
+ for _, match := range directURLPattern.FindAllString(text, -1) {
+ addAllowedDirectURLToMap(allowed, match)
+ }
+ return context.WithValue(ctx, directURLContextKey{}, allowed)
+}
+
+func addAllowedDirectURL(ctx context.Context, raw string) {
+ allowed, _ := ctx.Value(directURLContextKey{}).(map[string]struct{})
+ addAllowedDirectURLToMap(allowed, raw)
+}
+
+func addAllowedDirectURLToMap(allowed map[string]struct{}, raw string) {
+ if allowed == nil {
+ return
+ }
+
+ raw = cleanDirectURL(raw)
+ if raw == "" {
+ return
+ }
+
+ allowed[raw] = struct{}{}
+}
+
+func allowedDirectURL(ctx context.Context, raw string) bool {
+ allowed, _ := ctx.Value(directURLContextKey{}).(map[string]struct{})
+ cleaned := cleanDirectURL(raw)
+ if cleaned == "" || cleaned != raw {
+ return false
+ }
+
+ _, ok := allowed[cleaned]
+ return ok
+}
+
+func cleanDirectURL(raw string) string {
+ raw = strings.TrimSpace(raw)
+ raw = strings.TrimRight(raw, ".,;:!?)]}")
+
+ if !strings.HasPrefix(raw, "http://") && !strings.HasPrefix(raw, "https://") {
+ return ""
+ }
+
+ return raw
+}
diff --git a/western_ai/usa/ollama/app/tools/url_policy_test.go b/western_ai/usa/ollama/app/tools/url_policy_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..1b80de9b46c2b121aca493980874056af36bcd5f
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/url_policy_test.go
@@ -0,0 +1,21 @@
+//go:build windows || darwin
+
+package tools
+
+import "testing"
+
+func TestDirectURLsFromText_RejectsChangedToolArgument(t *testing.T) {
+ ctx := WithAllowedDirectURLs(t.Context(), "summarize https://attacker.example/x")
+
+ if allowedDirectURL(ctx, "https://attacker.example/x!!!!") {
+ t.Fatal("expected changed tool argument to be rejected")
+ }
+}
+
+func TestDirectURLsFromText_ExtractsMarkdownCodeSpanURL(t *testing.T) {
+ ctx := WithAllowedDirectURLs(t.Context(), "summarize `https://example.com/privacy`")
+
+ if !allowedDirectURL(ctx, "https://example.com/privacy") {
+ t.Fatal("expected URL wrapped in backticks to be allowed")
+ }
+}
diff --git a/western_ai/usa/ollama/app/tools/web_fetch.go b/western_ai/usa/ollama/app/tools/web_fetch.go
new file mode 100644
index 0000000000000000000000000000000000000000..bf11e63d12eea876ce605f1c0c73b41dd14b98d5
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/web_fetch.go
@@ -0,0 +1,138 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "fmt"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+ "time"
+
+ "github.com/ollama/ollama/auth"
+)
+
+type WebFetch struct{}
+
+type FetchRequest struct {
+ URL string `json:"url"`
+}
+
+type FetchResponse struct {
+ Title string `json:"title"`
+ Content string `json:"content"`
+ Links []string `json:"links"`
+}
+
+func (w *WebFetch) Name() string {
+ return "web_fetch"
+}
+
+func (w *WebFetch) Description() string {
+ return "Crawl and extract text content from web pages"
+}
+
+func (g *WebFetch) Schema() map[string]any {
+ schemaBytes := []byte(`{
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "URL to crawl and extract content from"
+ }
+ },
+ "required": ["url"]
+ }`)
+ var schema map[string]any
+ if err := json.Unmarshal(schemaBytes, &schema); err != nil {
+ return nil
+ }
+ return schema
+}
+
+func (w *WebFetch) Prompt() string {
+ return ""
+}
+
+func (w *WebFetch) Execute(ctx context.Context, args map[string]any) (any, string, error) {
+ urlRaw, ok := args["url"]
+ if !ok {
+ return nil, "", fmt.Errorf("url parameter is required")
+ }
+ urlStr, ok := urlRaw.(string)
+ if !ok || strings.TrimSpace(urlStr) == "" {
+ return nil, "", fmt.Errorf("url must be a non-empty string")
+ }
+ if !allowedDirectURL(ctx, urlStr) {
+ return nil, "", fmt.Errorf("web fetch is only allowed for URLs provided by the user")
+ }
+
+ result, err := performWebFetch(ctx, urlStr)
+ if err != nil {
+ return nil, "", err
+ }
+ for _, link := range result.Links {
+ addAllowedDirectURL(ctx, link)
+ }
+
+ return result, "", nil
+}
+
+func performWebFetch(ctx context.Context, targetURL string) (*FetchResponse, error) {
+ if err := ensureCloudEnabledForTool(ctx, "web fetch is unavailable"); err != nil {
+ return nil, err
+ }
+
+ reqBody := FetchRequest{URL: targetURL}
+ jsonBody, err := json.Marshal(reqBody)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal request body: %w", err)
+ }
+
+ crawlURL, err := url.Parse("https://ollama.com/api/web_fetch")
+ if err != nil {
+ return nil, fmt.Errorf("failed to parse fetch URL: %w", err)
+ }
+
+ query := crawlURL.Query()
+ query.Add("ts", strconv.FormatInt(time.Now().Unix(), 10))
+ crawlURL.RawQuery = query.Encode()
+
+ data := fmt.Appendf(nil, "%s,%s", http.MethodPost, crawlURL.RequestURI())
+ signature, err := auth.Sign(ctx, data)
+ if err != nil {
+ return nil, fmt.Errorf("failed to sign request: %w", err)
+ }
+
+ req, err := http.NewRequestWithContext(ctx, http.MethodPost, crawlURL.String(), bytes.NewBuffer(jsonBody))
+ if err != nil {
+ return nil, fmt.Errorf("failed to create request: %w", err)
+ }
+
+ req.Header.Set("Content-Type", "application/json")
+ if signature != "" {
+ req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", signature))
+ }
+
+ client := &http.Client{Timeout: 30 * time.Second}
+ resp, err := client.Do(req)
+ if err != nil {
+ return nil, fmt.Errorf("failed to execute fetch request: %w", err)
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ return nil, fmt.Errorf("fetch API error (status %d)", resp.StatusCode)
+ }
+
+ var result FetchResponse
+ if err := json.NewDecoder(resp.Body).Decode(&result); err != nil {
+ return nil, fmt.Errorf("failed to decode response: %w", err)
+ }
+
+ return &result, nil
+}
diff --git a/western_ai/usa/ollama/app/tools/web_search.go b/western_ai/usa/ollama/app/tools/web_search.go
new file mode 100644
index 0000000000000000000000000000000000000000..dfb04b69f7a7ec66f8fb78dc19d1f3434c9435bb
--- /dev/null
+++ b/western_ai/usa/ollama/app/tools/web_search.go
@@ -0,0 +1,152 @@
+//go:build windows || darwin
+
+package tools
+
+import (
+ "bytes"
+ "context"
+ "encoding/json"
+ "fmt"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+ "time"
+
+ "github.com/ollama/ollama/auth"
+)
+
+type WebSearch struct{}
+
+type SearchRequest struct {
+ Query string `json:"query"`
+ MaxResults int `json:"max_results,omitempty"`
+}
+
+type SearchResult struct {
+ Title string `json:"title"`
+ URL string `json:"url"`
+ Content string `json:"content"`
+}
+
+type SearchResponse struct {
+ Results []SearchResult `json:"results"`
+}
+
+func (w *WebSearch) Name() string {
+ return "web_search"
+}
+
+func (w *WebSearch) Description() string {
+ return "Search the web for real-time information using ollama.com web search API."
+}
+
+func (w *WebSearch) Prompt() string {
+ return ""
+}
+
+func (g *WebSearch) Schema() map[string]any {
+ schemaBytes := []byte(`{
+ "type": "object",
+ "properties": {
+ "query": {
+ "type": "string",
+ "description": "The search query to execute"
+ },
+ "max_results": {
+ "type": "integer",
+ "description": "Maximum number of search results to return",
+ "default": 3
+ }
+ },
+ "required": ["query"]
+ }`)
+ var schema map[string]any
+ if err := json.Unmarshal(schemaBytes, &schema); err != nil {
+ return nil
+ }
+ return schema
+}
+
+func (w *WebSearch) Execute(ctx context.Context, args map[string]any) (any, string, error) {
+ rawQuery, ok := args["query"]
+ if !ok {
+ return nil, "", fmt.Errorf("query parameter is required")
+ }
+
+ queryStr, ok := rawQuery.(string)
+ if !ok || strings.TrimSpace(queryStr) == "" {
+ return nil, "", fmt.Errorf("query must be a non-empty string")
+ }
+
+ maxResults := 5
+ if v, ok := args["max_results"].(float64); ok && int(v) > 0 {
+ maxResults = int(v)
+ }
+
+ result, err := performWebSearch(ctx, queryStr, maxResults)
+ if err != nil {
+ return nil, "", err
+ }
+ for _, result := range result.Results {
+ addAllowedDirectURL(ctx, result.URL)
+ }
+
+ return result, "", nil
+}
+
+func performWebSearch(ctx context.Context, query string, maxResults int) (*SearchResponse, error) {
+ if err := ensureCloudEnabledForTool(ctx, "web search is unavailable"); err != nil {
+ return nil, err
+ }
+
+ reqBody := SearchRequest{Query: query, MaxResults: maxResults}
+
+ jsonBody, err := json.Marshal(reqBody)
+ if err != nil {
+ return nil, fmt.Errorf("failed to marshal request body: %w", err)
+ }
+
+ searchURL, err := url.Parse("https://ollama.com/api/web_search")
+ if err != nil {
+ return nil, fmt.Errorf("failed to parse search URL: %w", err)
+ }
+
+ q := searchURL.Query()
+ q.Add("ts", strconv.FormatInt(time.Now().Unix(), 10))
+ searchURL.RawQuery = q.Encode()
+
+ data := fmt.Appendf(nil, "%s,%s", http.MethodPost, searchURL.RequestURI())
+ signature, err := auth.Sign(ctx, data)
+ if err != nil {
+ return nil, fmt.Errorf("failed to sign request: %w", err)
+ }
+
+ req, err := http.NewRequestWithContext(ctx, http.MethodPost, searchURL.String(), bytes.NewBuffer(jsonBody))
+ if err != nil {
+ return nil, fmt.Errorf("failed to create request: %w", err)
+ }
+
+ req.Header.Set("Content-Type", "application/json")
+ if signature != "" {
+ req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", signature))
+ }
+
+ client := &http.Client{Timeout: 10 * time.Second}
+ resp, err := client.Do(req)
+ if err != nil {
+ return nil, fmt.Errorf("failed to execute search request: %w", err)
+ }
+ defer resp.Body.Close()
+
+ if resp.StatusCode != http.StatusOK {
+ return nil, fmt.Errorf("search API error (status %d)", resp.StatusCode)
+ }
+
+ var result SearchResponse
+ if err := json.NewDecoder(resp.Body).Decode(&result); err != nil {
+ return nil, fmt.Errorf("failed to decode response: %w", err)
+ }
+
+ return &result, nil
+}
diff --git a/western_ai/usa/ollama/app/types/not/found.go b/western_ai/usa/ollama/app/types/not/found.go
new file mode 100644
index 0000000000000000000000000000000000000000..9294e0155edb03a2af63cfd1d421ccd17218021e
--- /dev/null
+++ b/western_ai/usa/ollama/app/types/not/found.go
@@ -0,0 +1,28 @@
+//go:build windows || darwin
+
+package not
+
+import (
+ "errors"
+)
+
+// Found is an error that indicates that a value was not found. It
+// may be used by low-level packages to signal to higher-level
+// packages that a value was not found.
+//
+// It exists to avoid using errors.New("not found") in multiple
+// packages to mean the same thing.
+//
+// Found should not be used directly. Instead it should be wrapped
+// or joined using errors.Join or fmt.Errorf, etc.
+//
+// Errors wrapping Found should provide additional context, e.g.
+// fmt.Errorf("%w: %s", not.Found, key)
+//
+//lint:ignore ST1012 This is a sentinel error intended to be read like not.Found.
+var Found = errors.New("not found")
+
+// Available is an error that indicates that a value is not available.
+//
+//lint:ignore ST1012 This is a sentinel error intended to be read like not.Available.
+var Available = errors.New("not available")
diff --git a/western_ai/usa/ollama/app/types/not/valids.go b/western_ai/usa/ollama/app/types/not/valids.go
new file mode 100644
index 0000000000000000000000000000000000000000..d19894270e8c4d5ca0b9cb550f2f40a2308c087a
--- /dev/null
+++ b/western_ai/usa/ollama/app/types/not/valids.go
@@ -0,0 +1,55 @@
+//go:build windows || darwin
+
+package not
+
+import (
+ "fmt"
+)
+
+type ValidError struct {
+ name string
+ msg string
+ args []any
+}
+
+// Valid returns a new validation error with the given name and message.
+func Valid(name, message string, args ...any) error {
+ return ValidError{name, message, args}
+}
+
+// Message returns the formatted message for the validation error.
+func (e *ValidError) Message() string {
+ return fmt.Sprintf(e.msg, e.args...)
+}
+
+// Error implements the error interface.
+func (e ValidError) Error() string {
+ return fmt.Sprintf("invalid %s: %s", e.name, e.Message())
+}
+
+func (e ValidError) Field() string {
+ return e.name
+}
+
+// Valids is for building a list of validation errors.
+type Valids []ValidError
+
+// Addf adds a validation error to the list with a formatted message using fmt.Sprintf.
+func (b *Valids) Add(name, message string, args ...any) {
+ *b = append(*b, ValidError{name, message, args})
+}
+
+func (b Valids) Error() string {
+ if len(b) == 0 {
+ return ""
+ }
+
+ var result string
+ for i, err := range b {
+ if i > 0 {
+ result += "; "
+ }
+ result += err.Error()
+ }
+ return result
+}
diff --git a/western_ai/usa/ollama/app/types/not/valids_test.go b/western_ai/usa/ollama/app/types/not/valids_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..4a64822e4556dc9783bf04d447282fe492dc0982
--- /dev/null
+++ b/western_ai/usa/ollama/app/types/not/valids_test.go
@@ -0,0 +1,43 @@
+//go:build windows || darwin
+
+package not_test
+
+import (
+ "errors"
+ "fmt"
+
+ "github.com/ollama/ollama/app/types/not"
+)
+
+func ExampleValids() {
+ // This example demonstrates how to use the Valids type to create
+ // a list of validation errors.
+ //
+ // The Valids type is a slice of ValidError values. Each ValidError
+ // value represents a validation error.
+ //
+ // The Valids type has an Error method that returns a single error
+ // value that represents all of the validation errors in the list.
+ //
+ // The Valids type is useful for collecting multiple validation errors
+ // and returning them as a single error value.
+
+ validate := func() error {
+ var b not.Valids
+ b.Add("name", "must be a valid name")
+ b.Add("email", "%q: must be a valid email address", "invalid.email")
+ return b
+ }
+
+ err := validate()
+ var nv not.Valids
+ if errors.As(err, &nv) {
+ for _, v := range nv {
+ fmt.Println(v)
+ }
+ }
+
+ // Output:
+ // invalid name: must be a valid name
+ // invalid email: "invalid.email": must be a valid email address
+}
diff --git a/western_ai/usa/ollama/app/ui/app/.gitignore b/western_ai/usa/ollama/app/ui/app/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..51e2fb0f2c114f8bc9bf9043f27e046b5a99e146
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/.gitignore
@@ -0,0 +1,30 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+.vite/
+.claude/
+
+*storybook.log
+storybook-static
diff --git a/western_ai/usa/ollama/app/ui/app/.prettierignore b/western_ai/usa/ollama/app/ui/app/.prettierignore
new file mode 100644
index 0000000000000000000000000000000000000000..21c55e20df972b33664c1a478712c9d8c0cbc14f
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/.prettierignore
@@ -0,0 +1 @@
+*.gen.ts
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/.prettierrc b/western_ai/usa/ollama/app/ui/app/.prettierrc
new file mode 100644
index 0000000000000000000000000000000000000000..9623031723af80cdb30c23bff2958d695279171c
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/.prettierrc
@@ -0,0 +1,6 @@
+{
+ "trailingComma": "all",
+ "semi": true,
+ "singleQuote": false,
+ "printWidth": 80
+}
diff --git a/western_ai/usa/ollama/app/ui/app/codegen/gotypes.gen.ts b/western_ai/usa/ollama/app/ui/app/codegen/gotypes.gen.ts
new file mode 100644
index 0000000000000000000000000000000000000000..4c1c4f03dcaf3ec050210d3a32095c905be1ccc4
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/codegen/gotypes.gen.ts
@@ -0,0 +1,611 @@
+/* Do not change, this code is generated from Golang structs */
+
+
+export class ChatInfo {
+ id: string;
+ title: string;
+ userExcerpt: string;
+ createdAt: Date;
+ updatedAt: Date;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.id = source["id"];
+ this.title = source["title"];
+ this.userExcerpt = source["userExcerpt"];
+ this.createdAt = new Date(source["createdAt"]);
+ this.updatedAt = new Date(source["updatedAt"]);
+ }
+}
+export class ChatsResponse {
+ chatInfos: ChatInfo[];
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.chatInfos = this.convertValues(source["chatInfos"], ChatInfo);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class Time {
+
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+
+ }
+}
+export class ToolFunction {
+ name: string;
+ arguments: string;
+ result?: any;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.name = source["name"];
+ this.arguments = source["arguments"];
+ this.result = source["result"];
+ }
+}
+export class ToolCall {
+ type: string;
+ function: ToolFunction;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.type = source["type"];
+ this.function = this.convertValues(source["function"], ToolFunction);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class File {
+ filename: string;
+ data: number[];
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.filename = source["filename"];
+ this.data = source["data"];
+ }
+}
+export class Message {
+ role: string;
+ content: string;
+ thinking: string;
+ stream: boolean;
+ model?: string;
+ attachments?: File[];
+ tool_calls?: ToolCall[];
+ tool_call?: ToolCall;
+ tool_name?: string;
+ tool_result?: number[];
+ created_at: Time;
+ updated_at: Time;
+ thinkingTimeStart?: Date | undefined;
+ thinkingTimeEnd?: Date | undefined;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.role = source["role"];
+ this.content = source["content"];
+ this.thinking = source["thinking"];
+ this.stream = source["stream"];
+ this.model = source["model"];
+ this.attachments = this.convertValues(source["attachments"], File);
+ this.tool_calls = this.convertValues(source["tool_calls"], ToolCall);
+ this.tool_call = this.convertValues(source["tool_call"], ToolCall);
+ this.tool_name = source["tool_name"];
+ this.tool_result = source["tool_result"];
+ this.created_at = this.convertValues(source["created_at"], Time);
+ this.updated_at = this.convertValues(source["updated_at"], Time);
+ this.thinkingTimeStart = source["thinkingTimeStart"] && new Date(source["thinkingTimeStart"]);
+ this.thinkingTimeEnd = source["thinkingTimeEnd"] && new Date(source["thinkingTimeEnd"]);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class Chat {
+ id: string;
+ messages: Message[];
+ title: string;
+ created_at: Time;
+ browser_state?: BrowserStateData;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.id = source["id"];
+ this.messages = this.convertValues(source["messages"], Message);
+ this.title = source["title"];
+ this.created_at = this.convertValues(source["created_at"], Time);
+ this.browser_state = source["browser_state"];
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class ChatResponse {
+ chat: Chat;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.chat = this.convertValues(source["chat"], Chat);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class Model {
+ model: string;
+ digest?: string;
+ modified_at?: Time;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.model = source["model"];
+ this.digest = source["digest"];
+ this.modified_at = this.convertValues(source["modified_at"], Time);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class ModelsResponse {
+ models: Model[];
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.models = this.convertValues(source["models"], Model);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class InferenceCompute {
+ library: string;
+ variant: string;
+ compute: string;
+ driver: string;
+ name: string;
+ vram: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.library = source["library"];
+ this.variant = source["variant"];
+ this.compute = source["compute"];
+ this.driver = source["driver"];
+ this.name = source["name"];
+ this.vram = source["vram"];
+ }
+}
+export class InferenceComputeResponse {
+ inferenceComputes: InferenceCompute[];
+ defaultContextLength: number;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.inferenceComputes = this.convertValues(source["inferenceComputes"], InferenceCompute);
+ this.defaultContextLength = source["defaultContextLength"];
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class ModelCapabilitiesResponse {
+ capabilities: string[];
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.capabilities = source["capabilities"];
+ }
+}
+export class ChatEvent {
+ eventName: "chat" | "thinking" | "assistant_with_tools" | "tool_call" | "tool" | "tool_result" | "done" | "chat_created";
+ content?: string;
+ thinking?: string;
+ thinkingTimeStart?: Date | undefined;
+ thinkingTimeEnd?: Date | undefined;
+ toolCalls?: ToolCall[];
+ toolCall?: ToolCall;
+ toolName?: string;
+ toolResult?: boolean;
+ toolResultData?: any;
+ chatId?: string;
+ toolState?: any;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.eventName = source["eventName"];
+ this.content = source["content"];
+ this.thinking = source["thinking"];
+ this.thinkingTimeStart = source["thinkingTimeStart"] && new Date(source["thinkingTimeStart"]);
+ this.thinkingTimeEnd = source["thinkingTimeEnd"] && new Date(source["thinkingTimeEnd"]);
+ this.toolCalls = this.convertValues(source["toolCalls"], ToolCall);
+ this.toolCall = this.convertValues(source["toolCall"], ToolCall);
+ this.toolName = source["toolName"];
+ this.toolResult = source["toolResult"];
+ this.toolResultData = source["toolResultData"];
+ this.chatId = source["chatId"];
+ this.toolState = source["toolState"];
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class DownloadEvent {
+ eventName: "download";
+ total: number;
+ completed: number;
+ done: boolean;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.eventName = source["eventName"];
+ this.total = source["total"];
+ this.completed = source["completed"];
+ this.done = source["done"];
+ }
+}
+export class ErrorEvent {
+ eventName: "error";
+ error: string;
+ code?: string;
+ details?: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.eventName = source["eventName"];
+ this.error = source["error"];
+ this.code = source["code"];
+ this.details = source["details"];
+ }
+}
+export class Settings {
+ Expose: boolean;
+ Browser: boolean;
+ Survey: boolean;
+ Models: string;
+ Agent: boolean;
+ Tools: boolean;
+ WorkingDir: string;
+ ContextLength: number;
+ TurboEnabled: boolean;
+ WebSearchEnabled: boolean;
+ ThinkEnabled: boolean;
+ ThinkLevel: string;
+ SelectedModel: string;
+ SidebarOpen: boolean;
+ LastHomeView: string;
+ AutoUpdateEnabled: boolean;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.Expose = source["Expose"];
+ this.Browser = source["Browser"];
+ this.Survey = source["Survey"];
+ this.Models = source["Models"];
+ this.Agent = source["Agent"];
+ this.Tools = source["Tools"];
+ this.WorkingDir = source["WorkingDir"];
+ this.ContextLength = source["ContextLength"];
+ this.TurboEnabled = source["TurboEnabled"];
+ this.WebSearchEnabled = source["WebSearchEnabled"];
+ this.ThinkEnabled = source["ThinkEnabled"];
+ this.ThinkLevel = source["ThinkLevel"];
+ this.SelectedModel = source["SelectedModel"];
+ this.SidebarOpen = source["SidebarOpen"];
+ this.LastHomeView = source["LastHomeView"];
+ this.AutoUpdateEnabled = source["AutoUpdateEnabled"];
+ }
+}
+export class SettingsResponse {
+ settings: Settings;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.settings = this.convertValues(source["settings"], Settings);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class HealthResponse {
+ healthy: boolean;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.healthy = source["healthy"];
+ }
+}
+export class User {
+ id: string;
+ email: string;
+ name: string;
+ bio?: string;
+ avatarurl?: string;
+ firstname?: string;
+ lastname?: string;
+ plan?: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.id = source["id"];
+ this.email = source["email"];
+ this.name = source["name"];
+ this.bio = source["bio"];
+ this.avatarurl = source["avatarurl"];
+ this.firstname = source["firstname"];
+ this.lastname = source["lastname"];
+ this.plan = source["plan"];
+ }
+}
+export class Attachment {
+ filename: string;
+ data?: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.filename = source["filename"];
+ this.data = source["data"];
+ }
+}
+export class ChatRequest {
+ model: string;
+ prompt: string;
+ index?: number;
+ attachments?: Attachment[];
+ web_search?: boolean;
+ file_tools?: boolean;
+ forceUpdate?: boolean;
+ think?: any;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.model = source["model"];
+ this.prompt = source["prompt"];
+ this.index = source["index"];
+ this.attachments = this.convertValues(source["attachments"], Attachment);
+ this.web_search = source["web_search"];
+ this.file_tools = source["file_tools"];
+ this.forceUpdate = source["forceUpdate"];
+ this.think = source["think"];
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class Error {
+ error: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.error = source["error"];
+ }
+}
+export class ModelUpstreamResponse {
+ stale: boolean;
+ error?: string;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.stale = source["stale"];
+ this.error = source["error"];
+ }
+}
+export class Page {
+ url: string;
+ title: string;
+ text: string;
+ lines: string[];
+ links?: Record;
+ fetched_at: Time;
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.url = source["url"];
+ this.title = source["title"];
+ this.text = source["text"];
+ this.lines = source["lines"];
+ this.links = source["links"];
+ this.fetched_at = this.convertValues(source["fetched_at"], Time);
+ }
+
+ convertValues(a: any, classs: any, asMap: boolean = false): any {
+ if (!a) {
+ return a;
+ }
+ if (Array.isArray(a)) {
+ return (a as any[]).map(elem => this.convertValues(elem, classs));
+ } else if ("object" === typeof a) {
+ if (asMap) {
+ for (const key of Object.keys(a)) {
+ a[key] = new classs(a[key]);
+ }
+ return a;
+ }
+ return new classs(a);
+ }
+ return a;
+ }
+}
+export class BrowserStateData {
+ page_stack: string[];
+ view_tokens: number;
+ url_to_page: {[key: string]: Page};
+
+ constructor(source: any = {}) {
+ if ('string' === typeof source) source = JSON.parse(source);
+ this.page_stack = source["page_stack"];
+ this.view_tokens = source["view_tokens"];
+ this.url_to_page = source["url_to_page"];
+ }
+}
diff --git a/western_ai/usa/ollama/app/ui/app/eslint.config.js b/western_ai/usa/ollama/app/ui/app/eslint.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..df21ca62d16f94aea23e31afbfd2965d89422a01
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/eslint.config.js
@@ -0,0 +1,32 @@
+// For more info, see https://github.com/storybookjs/eslint-plugin-storybook#configuration-flat-config-format
+import storybook from "eslint-plugin-storybook";
+
+import js from "@eslint/js";
+import globals from "globals";
+import reactHooks from "eslint-plugin-react-hooks";
+import reactRefresh from "eslint-plugin-react-refresh";
+import tseslint from "typescript-eslint";
+
+export default tseslint.config(
+ { ignores: ["dist"] },
+ {
+ extends: [js.configs.recommended, ...tseslint.configs.recommended],
+ files: ["**/*.{ts,tsx}"],
+ languageOptions: {
+ ecmaVersion: 2020,
+ globals: globals.browser,
+ },
+ plugins: {
+ "react-hooks": reactHooks,
+ "react-refresh": reactRefresh,
+ },
+ rules: {
+ ...reactHooks.configs.recommended.rules,
+ "react-refresh/only-export-components": [
+ "warn",
+ { allowConstantExport: true },
+ ],
+ },
+ },
+ storybook.configs["flat/recommended"],
+);
diff --git a/western_ai/usa/ollama/app/ui/app/index.html b/western_ai/usa/ollama/app/ui/app/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..876c64858dc0a05c349db2c5434ba2f6633c32c3
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/index.html
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+ Ollama
+
+
+
+
+
+
+
diff --git a/western_ai/usa/ollama/app/ui/app/package-lock.json b/western_ai/usa/ollama/app/ui/app/package-lock.json
new file mode 100644
index 0000000000000000000000000000000000000000..394ca797cdebe6236ba157bb580f2442b9bbd80d
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/package-lock.json
@@ -0,0 +1,13308 @@
+{
+ "name": "app",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "app",
+ "version": "0.0.0",
+ "dependencies": {
+ "@headlessui/react": "^2.2.4",
+ "@heroicons/react": "^2.2.0",
+ "@tanstack/react-query": "^5.80.7",
+ "@tanstack/react-router": "^1.120.20",
+ "@tanstack/react-router-devtools": "^1.120.20",
+ "clsx": "^2.1.1",
+ "framer-motion": "^12.17.0",
+ "katex": "^0.16.22",
+ "micromark-extension-llm-math": "^3.1.0",
+ "ollama": "^0.6.0",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "rehype-katex": "^7.0.1",
+ "rehype-prism-plus": "^2.0.1",
+ "rehype-raw": "^7.0.0",
+ "rehype-sanitize": "^6.0.0",
+ "remark-math": "^6.0.0",
+ "streamdown": "^1.4.0",
+ "unist-builder": "^4.0.0",
+ "unist-util-parents": "^3.0.0"
+ },
+ "devDependencies": {
+ "@chromatic-com/storybook": "^4.0.1",
+ "@eslint/js": "^9.25.0",
+ "@storybook/addon-a11y": "^9.0.14",
+ "@storybook/addon-docs": "^9.0.14",
+ "@storybook/addon-onboarding": "^9.0.14",
+ "@storybook/addon-vitest": "^9.0.14",
+ "@storybook/react-vite": "^9.0.14",
+ "@tailwindcss/typography": "^0.5.16",
+ "@tailwindcss/vite": "^4.1.11",
+ "@tanstack/router-plugin": "^1.120.20",
+ "@types/node": "^24.7.2",
+ "@types/react": "^19.1.2",
+ "@types/react-dom": "^19.1.2",
+ "@vitejs/plugin-react": "^4.4.1",
+ "@vitest/browser": "^3.2.4",
+ "@vitest/coverage-v8": "^3.2.4",
+ "@vitest/ui": "^3.2.4",
+ "autoprefixer": "^10.4.21",
+ "eslint": "^9.25.0",
+ "eslint-plugin-react-hooks": "^5.2.0",
+ "eslint-plugin-react-refresh": "^0.4.19",
+ "eslint-plugin-storybook": "^9.0.14",
+ "globals": "^16.0.0",
+ "playwright": "^1.53.2",
+ "postcss-preset-env": "^10.2.4",
+ "react-markdown": "^10.1.0",
+ "remark": "^15.0.1",
+ "remark-gfm": "^4.0.1",
+ "remark-stringify": "^11.0.0",
+ "storybook": "^9.0.14",
+ "tailwindcss": "^4.1.9",
+ "typescript": "~5.8.3",
+ "typescript-eslint": "^8.30.1",
+ "vite": "^6.3.5",
+ "vite-tsconfig-paths": "^5.1.4",
+ "vitest": "^3.2.4"
+ }
+ },
+ "node_modules/@adobe/css-tools": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.3.tgz",
+ "integrity": "sha512-VQKMkwriZbaOgVCby1UDY/LDk5fIjhQicCvVPFqfe+69fWaPWydbWJ3wRt59/YzIwda1I81loas3oCoHxnqvdA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@ampproject/remapping": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
+ "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@antfu/install-pkg": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@antfu/install-pkg/-/install-pkg-1.1.0.tgz",
+ "integrity": "sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==",
+ "license": "MIT",
+ "dependencies": {
+ "package-manager-detector": "^1.3.0",
+ "tinyexec": "^1.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@antfu/install-pkg/node_modules/tinyexec": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.2.tgz",
+ "integrity": "sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@antfu/utils": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-9.3.0.tgz",
+ "integrity": "sha512-9hFT4RauhcUzqOE4f1+frMKLZrgNog5b06I7VmZQV1BkvwvqrbC8EBZf3L1eEL2AKb6rNKjER0sEvJiSP1FXEA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
+ "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.27.1",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.27.5",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.27.5.tgz",
+ "integrity": "sha512-KiRAp/VoJaWkkte84TvUd9qjdbZAdiqyvMxrGl1N6vzFogKmaLgoM3L1kgtLicp2HP5fBJS8JrZKLVIZGVJAVg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.27.4",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.27.4.tgz",
+ "integrity": "sha512-bXYxrXFubeYdvB0NhD/NBB3Qi6aZeV20GOWVI47t2dkecCEoneR4NPVcb7abpXDEvejgrUfFtG6vG/zxAKmg+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@ampproject/remapping": "^2.2.0",
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.27.3",
+ "@babel/helper-compilation-targets": "^7.27.2",
+ "@babel/helper-module-transforms": "^7.27.3",
+ "@babel/helpers": "^7.27.4",
+ "@babel/parser": "^7.27.4",
+ "@babel/template": "^7.27.2",
+ "@babel/traverse": "^7.27.4",
+ "@babel/types": "^7.27.3",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.27.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.27.5.tgz",
+ "integrity": "sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.27.5",
+ "@babel/types": "^7.27.3",
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
+ "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.27.2",
+ "@babel/helper-validator-option": "^7.27.1",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
+ "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.27.1",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.27.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.27.3.tgz",
+ "integrity": "sha512-dSOvYwvyLsWBeIRyOeHXp5vPj5l1I011r52FM1+r1jCERv+aFXYk4whgQccYEGYxK2H3ZAIA8nuPkQ0HaUo3qg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.27.1",
+ "@babel/traverse": "^7.27.3"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
+ "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
+ "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.27.6",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.27.6.tgz",
+ "integrity": "sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.27.2",
+ "@babel/types": "^7.27.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.27.5",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.5.tgz",
+ "integrity": "sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.27.3"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz",
+ "integrity": "sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz",
+ "integrity": "sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-self": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
+ "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/plugin-transform-react-jsx-source": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",
+ "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.27.6",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz",
+ "integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.27.2",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
+ "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/parser": "^7.27.2",
+ "@babel/types": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.27.4",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.27.4.tgz",
+ "integrity": "sha512-oNcu2QbHqts9BtOWJosOVJapWjBDSxGCpFvikNR5TGDYDQf3JwpIoMzIKrvfoti93cLfPJEG4tH9SPVeyCGgdA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.27.1",
+ "@babel/generator": "^7.27.3",
+ "@babel/parser": "^7.27.4",
+ "@babel/template": "^7.27.2",
+ "@babel/types": "^7.27.3",
+ "debug": "^4.3.1",
+ "globals": "^11.1.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse/node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.27.6",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.6.tgz",
+ "integrity": "sha512-ETyHEk2VHHvl9b9jZP5IHPavHYk57EhanlRRuae9XCpb/j5bDCbPPMOBfCWhnl/7EDJz0jEMCi/RhccCE8r1+Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.27.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@bcoe/v8-coverage": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-1.0.2.tgz",
+ "integrity": "sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@braintree/sanitize-url": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-7.1.1.tgz",
+ "integrity": "sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==",
+ "license": "MIT"
+ },
+ "node_modules/@chevrotain/cst-dts-gen": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-11.0.3.tgz",
+ "integrity": "sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@chevrotain/gast": "11.0.3",
+ "@chevrotain/types": "11.0.3",
+ "lodash-es": "4.17.21"
+ }
+ },
+ "node_modules/@chevrotain/gast": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@chevrotain/gast/-/gast-11.0.3.tgz",
+ "integrity": "sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@chevrotain/types": "11.0.3",
+ "lodash-es": "4.17.21"
+ }
+ },
+ "node_modules/@chevrotain/regexp-to-ast": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@chevrotain/regexp-to-ast/-/regexp-to-ast-11.0.3.tgz",
+ "integrity": "sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@chevrotain/types": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@chevrotain/types/-/types-11.0.3.tgz",
+ "integrity": "sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@chevrotain/utils": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-11.0.3.tgz",
+ "integrity": "sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@chromatic-com/storybook": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@chromatic-com/storybook/-/storybook-4.0.1.tgz",
+ "integrity": "sha512-GQXe5lyZl3yLewLJQyFXEpOp2h+mfN2bPrzYaOFNCJjO4Js9deKbRHTOSaiP2FRwZqDLdQwy2+SEGeXPZ94yYw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@neoconfetti/react": "^1.0.0",
+ "chromatic": "^12.0.0",
+ "filesize": "^10.0.12",
+ "jsonfile": "^6.1.0",
+ "strip-ansi": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=20.0.0",
+ "yarn": ">=1.22.18"
+ },
+ "peerDependencies": {
+ "storybook": "^0.0.0-0 || ^9.0.0 || ^9.1.0-0"
+ }
+ },
+ "node_modules/@csstools/cascade-layer-name-parser": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-2.0.5.tgz",
+ "integrity": "sha512-p1ko5eHgV+MgXFVa4STPKpvPxr6ReS8oS2jzTukjR74i5zJNyWO1ZM1m8YKBXnzDKWfBN1ztLYlHxbVemDD88A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/color-helpers": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.0.2.tgz",
+ "integrity": "sha512-JqWH1vsgdGcw2RR6VliXXdA0/59LttzlU8UlRT/iUUsEeWfYq8I+K0yhihEUTTHLRm1EXvpsCx3083EU15ecsA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@csstools/css-calc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz",
+ "integrity": "sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-color-parser": {
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.0.10.tgz",
+ "integrity": "sha512-TiJ5Ajr6WRd1r8HSiwJvZBiJOqtH86aHpUjq5aEKWHiII2Qfjqd/HCWKPOW8EP4vcspXbHnXrwIDlu5savQipg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/color-helpers": "^5.0.2",
+ "@csstools/css-calc": "^2.1.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-parser-algorithms": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz",
+ "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/css-tokenizer": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz",
+ "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@csstools/media-query-list-parser": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.3.tgz",
+ "integrity": "sha512-HAYH7d3TLRHDOUQK4mZKf9k9Ph/m8Akstg66ywKR4SFAigjs3yBiUeZtFxywiTm5moZMAp/5W/ZuFnNXXYLuuQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
+ },
+ "node_modules/@csstools/postcss-cascade-layers": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-5.0.2.tgz",
+ "integrity": "sha512-nWBE08nhO8uWl6kSAeCx4im7QfVko3zLrtgWZY4/bP87zrSPpSyN/3W3TDqz1jJuH+kbKOHXg5rJnK+ZVYcFFg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/selector-specificity": "^5.0.0",
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-cascade-layers/node_modules/@csstools/selector-specificity": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz",
+ "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ }
+ },
+ "node_modules/@csstools/postcss-cascade-layers/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@csstools/postcss-color-function": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-color-function/-/postcss-color-function-4.0.10.tgz",
+ "integrity": "sha512-4dY0NBu7NVIpzxZRgh/Q/0GPSz/jLSw0i/u3LTUor0BkQcz/fNhN10mSWBDsL0p9nDb0Ky1PD6/dcGbhACuFTQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-color-mix-function": {
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-color-mix-function/-/postcss-color-mix-function-3.0.10.tgz",
+ "integrity": "sha512-P0lIbQW9I4ShE7uBgZRib/lMTf9XMjJkFl/d6w4EMNHu2qvQ6zljJGEcBkw/NsBtq/6q3WrmgxSS8kHtPMkK4Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-color-mix-variadic-function-arguments": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-color-mix-variadic-function-arguments/-/postcss-color-mix-variadic-function-arguments-1.0.0.tgz",
+ "integrity": "sha512-Z5WhouTyD74dPFPrVE7KydgNS9VvnjB8qcdes9ARpCOItb4jTnm7cHp4FhxCRUoyhabD0WVv43wbkJ4p8hLAlQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-content-alt-text": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-content-alt-text/-/postcss-content-alt-text-2.0.6.tgz",
+ "integrity": "sha512-eRjLbOjblXq+byyaedQRSrAejKGNAFued+LcbzT+LCL78fabxHkxYjBbxkroONxHHYu2qxhFK2dBStTLPG3jpQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-exponential-functions": {
+ "version": "2.0.9",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-exponential-functions/-/postcss-exponential-functions-2.0.9.tgz",
+ "integrity": "sha512-abg2W/PI3HXwS/CZshSa79kNWNZHdJPMBXeZNyPQFbbj8sKO3jXxOt/wF7juJVjyDTc6JrvaUZYFcSBZBhaxjw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-font-format-keywords": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-font-format-keywords/-/postcss-font-format-keywords-4.0.0.tgz",
+ "integrity": "sha512-usBzw9aCRDvchpok6C+4TXC57btc4bJtmKQWOHQxOVKen1ZfVqBUuCZ/wuqdX5GHsD0NRSr9XTP+5ID1ZZQBXw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-gamut-mapping": {
+ "version": "2.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-gamut-mapping/-/postcss-gamut-mapping-2.0.10.tgz",
+ "integrity": "sha512-QDGqhJlvFnDlaPAfCYPsnwVA6ze+8hhrwevYWlnUeSjkkZfBpcCO42SaUD8jiLlq7niouyLgvup5lh+f1qessg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-gradients-interpolation-method": {
+ "version": "5.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-gradients-interpolation-method/-/postcss-gradients-interpolation-method-5.0.10.tgz",
+ "integrity": "sha512-HHPauB2k7Oits02tKFUeVFEU2ox/H3OQVrP3fSOKDxvloOikSal+3dzlyTZmYsb9FlY9p5EUpBtz0//XBmy+aw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-hwb-function": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-hwb-function/-/postcss-hwb-function-4.0.10.tgz",
+ "integrity": "sha512-nOKKfp14SWcdEQ++S9/4TgRKchooLZL0TUFdun3nI4KPwCjETmhjta1QT4ICQcGVWQTvrsgMM/aLB5We+kMHhQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-ic-unit": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-ic-unit/-/postcss-ic-unit-4.0.2.tgz",
+ "integrity": "sha512-lrK2jjyZwh7DbxaNnIUjkeDmU8Y6KyzRBk91ZkI5h8nb1ykEfZrtIVArdIjX4DHMIBGpdHrgP0n4qXDr7OHaKA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-initial": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-initial/-/postcss-initial-2.0.1.tgz",
+ "integrity": "sha512-L1wLVMSAZ4wovznquK0xmC7QSctzO4D0Is590bxpGqhqjboLXYA16dWZpfwImkdOgACdQ9PqXsuRroW6qPlEsg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-is-pseudo-class": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-is-pseudo-class/-/postcss-is-pseudo-class-5.0.3.tgz",
+ "integrity": "sha512-jS/TY4SpG4gszAtIg7Qnf3AS2pjcUM5SzxpApOrlndMeGhIbaTzWBzzP/IApXoNWEW7OhcjkRT48jnAUIFXhAQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/selector-specificity": "^5.0.0",
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-is-pseudo-class/node_modules/@csstools/selector-specificity": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz",
+ "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ }
+ },
+ "node_modules/@csstools/postcss-is-pseudo-class/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@csstools/postcss-light-dark-function": {
+ "version": "2.0.9",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-light-dark-function/-/postcss-light-dark-function-2.0.9.tgz",
+ "integrity": "sha512-1tCZH5bla0EAkFAI2r0H33CDnIBeLUaJh1p+hvvsylJ4svsv2wOmJjJn+OXwUZLXef37GYbRIVKX+X+g6m+3CQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-logical-float-and-clear": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-logical-float-and-clear/-/postcss-logical-float-and-clear-3.0.0.tgz",
+ "integrity": "sha512-SEmaHMszwakI2rqKRJgE+8rpotFfne1ZS6bZqBoQIicFyV+xT1UF42eORPxJkVJVrH9C0ctUgwMSn3BLOIZldQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-logical-overflow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-logical-overflow/-/postcss-logical-overflow-2.0.0.tgz",
+ "integrity": "sha512-spzR1MInxPuXKEX2csMamshR4LRaSZ3UXVaRGjeQxl70ySxOhMpP2252RAFsg8QyyBXBzuVOOdx1+bVO5bPIzA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-logical-overscroll-behavior": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-logical-overscroll-behavior/-/postcss-logical-overscroll-behavior-2.0.0.tgz",
+ "integrity": "sha512-e/webMjoGOSYfqLunyzByZj5KKe5oyVg/YSbie99VEaSDE2kimFm0q1f6t/6Jo+VVCQ/jbe2Xy+uX+C4xzWs4w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-logical-resize": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-logical-resize/-/postcss-logical-resize-3.0.0.tgz",
+ "integrity": "sha512-DFbHQOFW/+I+MY4Ycd/QN6Dg4Hcbb50elIJCfnwkRTCX05G11SwViI5BbBlg9iHRl4ytB7pmY5ieAFk3ws7yyg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-logical-viewport-units": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-logical-viewport-units/-/postcss-logical-viewport-units-3.0.4.tgz",
+ "integrity": "sha512-q+eHV1haXA4w9xBwZLKjVKAWn3W2CMqmpNpZUk5kRprvSiBEGMgrNH3/sJZ8UA3JgyHaOt3jwT9uFa4wLX4EqQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-media-minmax": {
+ "version": "2.0.9",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-media-minmax/-/postcss-media-minmax-2.0.9.tgz",
+ "integrity": "sha512-af9Qw3uS3JhYLnCbqtZ9crTvvkR+0Se+bBqSr7ykAnl9yKhk6895z9rf+2F4dClIDJWxgn0iZZ1PSdkhrbs2ig==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/media-query-list-parser": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-media-queries-aspect-ratio-number-values": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-media-queries-aspect-ratio-number-values/-/postcss-media-queries-aspect-ratio-number-values-3.0.5.tgz",
+ "integrity": "sha512-zhAe31xaaXOY2Px8IYfoVTB3wglbJUVigGphFLj6exb7cjZRH9A6adyE22XfFK3P2PzwRk0VDeTJmaxpluyrDg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/media-query-list-parser": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-nested-calc": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-nested-calc/-/postcss-nested-calc-4.0.0.tgz",
+ "integrity": "sha512-jMYDdqrQQxE7k9+KjstC3NbsmC063n1FTPLCgCRS2/qHUbHM0mNy9pIn4QIiQGs9I/Bg98vMqw7mJXBxa0N88A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-normalize-display-values": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.0.tgz",
+ "integrity": "sha512-HlEoG0IDRoHXzXnkV4in47dzsxdsjdz6+j7MLjaACABX2NfvjFS6XVAnpaDyGesz9gK2SC7MbNwdCHusObKJ9Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-oklab-function": {
+ "version": "4.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-oklab-function/-/postcss-oklab-function-4.0.10.tgz",
+ "integrity": "sha512-ZzZUTDd0fgNdhv8UUjGCtObPD8LYxMH+MJsW9xlZaWTV8Ppr4PtxlHYNMmF4vVWGl0T6f8tyWAKjoI6vePSgAg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-progressive-custom-properties": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-progressive-custom-properties/-/postcss-progressive-custom-properties-4.1.0.tgz",
+ "integrity": "sha512-YrkI9dx8U4R8Sz2EJaoeD9fI7s7kmeEBfmO+UURNeL6lQI7VxF6sBE+rSqdCBn4onwqmxFdBU3lTwyYb/lCmxA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-random-function": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-random-function/-/postcss-random-function-2.0.1.tgz",
+ "integrity": "sha512-q+FQaNiRBhnoSNo+GzqGOIBKoHQ43lYz0ICrV+UudfWnEF6ksS6DsBIJSISKQT2Bvu3g4k6r7t0zYrk5pDlo8w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-relative-color-syntax": {
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-relative-color-syntax/-/postcss-relative-color-syntax-3.0.10.tgz",
+ "integrity": "sha512-8+0kQbQGg9yYG8hv0dtEpOMLwB9M+P7PhacgIzVzJpixxV4Eq9AUQtQw8adMmAJU1RBBmIlpmtmm3XTRd/T00g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-scope-pseudo-class": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-scope-pseudo-class/-/postcss-scope-pseudo-class-4.0.1.tgz",
+ "integrity": "sha512-IMi9FwtH6LMNuLea1bjVMQAsUhFxJnyLSgOp/cpv5hrzWmrUYU5fm0EguNDIIOHUqzXode8F/1qkC/tEo/qN8Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-scope-pseudo-class/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/@csstools/postcss-sign-functions": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-sign-functions/-/postcss-sign-functions-1.1.4.tgz",
+ "integrity": "sha512-P97h1XqRPcfcJndFdG95Gv/6ZzxUBBISem0IDqPZ7WMvc/wlO+yU0c5D/OCpZ5TJoTt63Ok3knGk64N+o6L2Pg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-stepped-value-functions": {
+ "version": "4.0.9",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-stepped-value-functions/-/postcss-stepped-value-functions-4.0.9.tgz",
+ "integrity": "sha512-h9btycWrsex4dNLeQfyU3y3w40LMQooJWFMm/SK9lrKguHDcFl4VMkncKKoXi2z5rM9YGWbUQABI8BT2UydIcA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-text-decoration-shorthand": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-text-decoration-shorthand/-/postcss-text-decoration-shorthand-4.0.2.tgz",
+ "integrity": "sha512-8XvCRrFNseBSAGxeaVTaNijAu+FzUvjwFXtcrynmazGb/9WUdsPCpBX+mHEHShVRq47Gy4peYAoxYs8ltUnmzA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/color-helpers": "^5.0.2",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-trigonometric-functions": {
+ "version": "4.0.9",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-trigonometric-functions/-/postcss-trigonometric-functions-4.0.9.tgz",
+ "integrity": "sha512-Hnh5zJUdpNrJqK9v1/E3BbrQhaDTj5YiX7P61TOvUhoDHnUmsNNxcDAgkQ32RrcWx9GVUvfUNPcUkn8R3vIX6A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.4",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/postcss-unset-value": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/postcss-unset-value/-/postcss-unset-value-4.0.0.tgz",
+ "integrity": "sha512-cBz3tOCI5Fw6NIFEwU3RiwK6mn3nKegjpJuzCndoGq3BZPkUjnsq7uQmIeMNeMbMk7YD2MfKcgCpZwX5jyXqCA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@csstools/utilities": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/utilities/-/utilities-2.0.0.tgz",
+ "integrity": "sha512-5VdOr0Z71u+Yp3ozOx8T11N703wIFGVRgOWbOZMKgglPJsWA54MRIoMNVMa7shUToIhx5J8vX4sOZgD2XiihiQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/@esbuild/aix-ppc64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.5.tgz",
+ "integrity": "sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "aix"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.5.tgz",
+ "integrity": "sha512-AdJKSPeEHgi7/ZhuIPtcQKr5RQdo6OO2IL87JkianiMYMPbCtot9fxPbrMiBADOWWm3T2si9stAiVsGbTQFkbA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.5.tgz",
+ "integrity": "sha512-VGzGhj4lJO+TVGV1v8ntCZWJktV7SGCs3Pn1GRWI1SBFtRALoomm8k5E9Pmwg3HOAal2VDc2F9+PM/rEY6oIDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.5.tgz",
+ "integrity": "sha512-D2GyJT1kjvO//drbRT3Hib9XPwQeWd9vZoBJn+bu/lVsOZ13cqNdDeqIF/xQ5/VmWvMduP6AmXvylO/PIc2isw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.5.tgz",
+ "integrity": "sha512-GtaBgammVvdF7aPIgH2jxMDdivezgFu6iKpmT+48+F8Hhg5J/sfnDieg0aeG/jfSvkYQU2/pceFPDKlqZzwnfQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/darwin-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.5.tgz",
+ "integrity": "sha512-1iT4FVL0dJ76/q1wd7XDsXrSW+oLoquptvh4CLR4kITDtqi2e/xwXwdCVH8hVHU43wgJdsq7Gxuzcs6Iq/7bxQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.5.tgz",
+ "integrity": "sha512-nk4tGP3JThz4La38Uy/gzyXtpkPW8zSAmoUhK9xKKXdBCzKODMc2adkB2+8om9BDYugz+uGV7sLmpTYzvmz6Sw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.5.tgz",
+ "integrity": "sha512-PrikaNjiXdR2laW6OIjlbeuCPrPaAl0IwPIaRv+SMV8CiM8i2LqVUHFC1+8eORgWyY7yhQY+2U2fA55mBzReaw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.5.tgz",
+ "integrity": "sha512-cPzojwW2okgh7ZlRpcBEtsX7WBuqbLrNXqLU89GxWbNt6uIg78ET82qifUy3W6OVww6ZWobWub5oqZOVtwolfw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.5.tgz",
+ "integrity": "sha512-Z9kfb1v6ZlGbWj8EJk9T6czVEjjq2ntSYLY2cw6pAZl4oKtfgQuS4HOq41M/BcoLPzrUbNd+R4BXFyH//nHxVg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.5.tgz",
+ "integrity": "sha512-sQ7l00M8bSv36GLV95BVAdhJ2QsIbCuCjh/uYrWiMQSUuV+LpXwIqhgJDcvMTj+VsQmqAHL2yYaasENvJ7CDKA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.5.tgz",
+ "integrity": "sha512-0ur7ae16hDUC4OL5iEnDb0tZHDxYmuQyhKhsPBV8f99f6Z9KQM02g33f93rNH5A30agMS46u2HP6qTdEt6Q1kg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.5.tgz",
+ "integrity": "sha512-kB/66P1OsHO5zLz0i6X0RxlQ+3cu0mkxS3TKFvkb5lin6uwZ/ttOkP3Z8lfR9mJOBk14ZwZ9182SIIWFGNmqmg==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.5.tgz",
+ "integrity": "sha512-UZCmJ7r9X2fe2D6jBmkLBMQetXPXIsZjQJCjgwpVDz+YMcS6oFR27alkgGv3Oqkv07bxdvw7fyB71/olceJhkQ==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.5.tgz",
+ "integrity": "sha512-kTxwu4mLyeOlsVIFPfQo+fQJAV9mh24xL+y+Bm6ej067sYANjyEw1dNHmvoqxJUCMnkBdKpvOn0Ahql6+4VyeA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.5.tgz",
+ "integrity": "sha512-K2dSKTKfmdh78uJ3NcWFiqyRrimfdinS5ErLSn3vluHNeHVnBAFWC8a4X5N+7FgVE1EjXS1QDZbpqZBjfrqMTQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.5.tgz",
+ "integrity": "sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.5.tgz",
+ "integrity": "sha512-pwHtMP9viAy1oHPvgxtOv+OkduK5ugofNTVDilIzBLpoWAM16r7b/mxBvfpuQDpRQFMfuVr5aLcn4yveGvBZvw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.5.tgz",
+ "integrity": "sha512-WOb5fKrvVTRMfWFNCroYWWklbnXH0Q5rZppjq0vQIdlsQKuw6mdSihwSo4RV/YdQ5UCKKvBy7/0ZZYLBZKIbwQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.5.tgz",
+ "integrity": "sha512-7A208+uQKgTxHd0G0uqZO8UjK2R0DDb4fDmERtARjSHWxqMTye4Erz4zZafx7Di9Cv+lNHYuncAkiGFySoD+Mw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.5.tgz",
+ "integrity": "sha512-G4hE405ErTWraiZ8UiSoesH8DaCsMm0Cay4fsFWOOUcz8b8rC6uCvnagr+gnioEjWn0wC+o1/TAHt+It+MpIMg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.5.tgz",
+ "integrity": "sha512-l+azKShMy7FxzY0Rj4RCt5VD/q8mG/e+mDivgspo+yL8zW7qEwctQ6YqKX34DTEleFAvCIUviCFX1SDZRSyMQA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.5.tgz",
+ "integrity": "sha512-O2S7SNZzdcFG7eFKgvwUEZ2VG9D/sn/eIiz8XRZ1Q/DO5a3s76Xv0mdBzVM5j5R639lXQmPmSo0iRpHqUUrsxw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.5.tgz",
+ "integrity": "sha512-onOJ02pqs9h1iMJ1PQphR+VZv8qBMQ77Klcsqv9CNW2w6yLqoURLcgERAIurY6QE63bbLuqgP9ATqajFLK5AMQ==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.5.tgz",
+ "integrity": "sha512-TXv6YnJ8ZMVdX+SXWVBo/0p8LTcrUYngpWjvm91TMjjBQii7Oz11Lw5lbDV5Y0TzuhSJHwiH4hEtC1I42mMS0g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
+ "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
+ "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.20.0",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.0.tgz",
+ "integrity": "sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.6",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.2"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.2.tgz",
+ "integrity": "sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.14.0.tgz",
+ "integrity": "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
+ "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.28.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.28.0.tgz",
+ "integrity": "sha512-fnqSjGWd/CoIp4EXIxWVK/sHA6DOHN4+8Ix2cX5ycOY7LG0UY8nHCU5pIp2eaE1Mc7Qd8kHspYNzYXT2ojPLzg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
+ "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.3.tgz",
+ "integrity": "sha512-1+WqvgNMhmlAambTvT3KPtCl/Ibr68VldY2XY40SL1CE0ZXiakFR/cbTspaF5HsnpDMvcYYoJHfl4980NBjGag==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.15.1",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": {
+ "version": "0.15.1",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.15.1.tgz",
+ "integrity": "sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.1.tgz",
+ "integrity": "sha512-azI0DrjMMfIug/ExbBaeDVJXcY0a7EPvPjb2xAJPa4HeimBX+Z18HK8QQR3jb6356SnDDdxx+hinMLcJEDdOjw==",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.1.tgz",
+ "integrity": "sha512-cwsmW/zyw5ltYTUeeYJ60CnQuPqmGwuGVhG9w0PRaRKkAyi38BT5CKrpIbb+jtahSwUl04cWzSx9ZOIxeS6RsQ==",
+ "dependencies": {
+ "@floating-ui/core": "^1.7.1",
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/react": {
+ "version": "0.26.28",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react/-/react-0.26.28.tgz",
+ "integrity": "sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==",
+ "dependencies": {
+ "@floating-ui/react-dom": "^2.1.2",
+ "@floating-ui/utils": "^0.2.8",
+ "tabbable": "^6.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.3.tgz",
+ "integrity": "sha512-huMBfiU9UnQ2oBwIhgzyIiSpVgvlDstU8CX0AF+wS+KzmYMs0J2a3GwuFHV1Lz+jlrQGeC1fF+Nv0QoumyV0bA==",
+ "dependencies": {
+ "@floating-ui/dom": "^1.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.9",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz",
+ "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg=="
+ },
+ "node_modules/@headlessui/react": {
+ "version": "2.2.4",
+ "resolved": "https://registry.npmjs.org/@headlessui/react/-/react-2.2.4.tgz",
+ "integrity": "sha512-lz+OGcAH1dK93rgSMzXmm1qKOJkBUqZf1L4M8TWLNplftQD3IkoEDdUFNfAn4ylsN6WOTVtWaLmvmaHOUk1dTA==",
+ "dependencies": {
+ "@floating-ui/react": "^0.26.16",
+ "@react-aria/focus": "^3.20.2",
+ "@react-aria/interactions": "^3.25.0",
+ "@tanstack/react-virtual": "^3.13.9",
+ "use-sync-external-store": "^1.5.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19 || ^19.0.0-rc",
+ "react-dom": "^18 || ^19 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/@heroicons/react": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.2.0.tgz",
+ "integrity": "sha512-LMcepvRaS9LYHJGsF0zzmgKCUim/X3N/DQKc4jepAXJ7l8QxJ1PmxJzqplF2Z3FE4PqBAIGyJAQ/w4B5dsqbtQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">= 16 || ^19.0.0-rc"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.6",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
+ "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
+ "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@iconify/types": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz",
+ "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==",
+ "license": "MIT"
+ },
+ "node_modules/@iconify/utils": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@iconify/utils/-/utils-3.0.2.tgz",
+ "integrity": "sha512-EfJS0rLfVuRuJRn4psJHtK2A9TqVnkxPpHY6lYHiB9+8eSuudsxbwMiavocG45ujOo6FJ+CIRlRnlOGinzkaGQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@antfu/install-pkg": "^1.1.0",
+ "@antfu/utils": "^9.2.0",
+ "@iconify/types": "^2.0.0",
+ "debug": "^4.4.1",
+ "globals": "^15.15.0",
+ "kolorist": "^1.8.0",
+ "local-pkg": "^1.1.1",
+ "mlly": "^1.7.4"
+ }
+ },
+ "node_modules/@iconify/utils/node_modules/globals": {
+ "version": "15.15.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz",
+ "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@isaacs/fs-minipass": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
+ "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "minipass": "^7.0.4"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/@istanbuljs/schema": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
+ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@joshwooding/vite-plugin-react-docgen-typescript": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/@joshwooding/vite-plugin-react-docgen-typescript/-/vite-plugin-react-docgen-typescript-0.6.0.tgz",
+ "integrity": "sha512-dPo6SE4dm8UKcgGg4LsV9iw6f5HkIeJwzMA2M2Lb+mhl5vxesbDvb3ENTzNTkGnOxS6PqJig2pfXdtYaW3S9fg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "glob": "^10.0.0",
+ "magic-string": "^0.30.0",
+ "react-docgen-typescript": "^2.2.2"
+ },
+ "peerDependencies": {
+ "typescript": ">= 4.3.x",
+ "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.8",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
+ "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
+ "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
+ "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@mdx-js/react": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.0.tgz",
+ "integrity": "sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdx": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=16",
+ "react": ">=16"
+ }
+ },
+ "node_modules/@mermaid-js/parser": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/@mermaid-js/parser/-/parser-0.6.3.tgz",
+ "integrity": "sha512-lnjOhe7zyHjc+If7yT4zoedx2vo4sHaTmtkl1+or8BRTnCtDmcTpAjpzDSfCZrshM5bCoz0GyidzadJAH1xobA==",
+ "license": "MIT",
+ "dependencies": {
+ "langium": "3.3.1"
+ }
+ },
+ "node_modules/@neoconfetti/react": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@neoconfetti/react/-/react-1.0.0.tgz",
+ "integrity": "sha512-klcSooChXXOzIm+SE5IISIAn3bYzYfPjbX7D7HoqZL84oAfgREeSg5vSIaSFH+DaGzzvImTyWe1OyrJ67vik4A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@polka/url": {
+ "version": "1.0.0-next.29",
+ "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz",
+ "integrity": "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@react-aria/focus": {
+ "version": "3.20.5",
+ "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.20.5.tgz",
+ "integrity": "sha512-JpFtXmWQ0Oca7FcvkqgjSyo6xEP7v3oQOLUId6o0xTvm4AD5W0mU2r3lYrbhsJ+XxdUUX4AVR5473sZZ85kU4A==",
+ "dependencies": {
+ "@react-aria/interactions": "^3.25.3",
+ "@react-aria/utils": "^3.29.1",
+ "@react-types/shared": "^3.30.0",
+ "@swc/helpers": "^0.5.0",
+ "clsx": "^2.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-aria/interactions": {
+ "version": "3.25.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.25.3.tgz",
+ "integrity": "sha512-J1bhlrNtjPS/fe5uJQ+0c7/jiXniwa4RQlP+Emjfc/iuqpW2RhbF9ou5vROcLzWIyaW8tVMZ468J68rAs/aZ5A==",
+ "dependencies": {
+ "@react-aria/ssr": "^3.9.9",
+ "@react-aria/utils": "^3.29.1",
+ "@react-stately/flags": "^3.1.2",
+ "@react-types/shared": "^3.30.0",
+ "@swc/helpers": "^0.5.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-aria/ssr": {
+ "version": "3.9.9",
+ "resolved": "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.9.9.tgz",
+ "integrity": "sha512-2P5thfjfPy/np18e5wD4WPt8ydNXhij1jwA8oehxZTFqlgVMGXzcWKxTb4RtJrLFsqPO7RUQTiY8QJk0M4Vy2g==",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ },
+ "engines": {
+ "node": ">= 12"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-aria/utils": {
+ "version": "3.29.1",
+ "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.29.1.tgz",
+ "integrity": "sha512-yXMFVJ73rbQ/yYE/49n5Uidjw7kh192WNN9PNQGV0Xoc7EJUlSOxqhnpHmYTyO0EotJ8fdM1fMH8durHjUSI8g==",
+ "dependencies": {
+ "@react-aria/ssr": "^3.9.9",
+ "@react-stately/flags": "^3.1.2",
+ "@react-stately/utils": "^3.10.7",
+ "@react-types/shared": "^3.30.0",
+ "@swc/helpers": "^0.5.0",
+ "clsx": "^2.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
+ "react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-stately/flags": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/@react-stately/flags/-/flags-3.1.2.tgz",
+ "integrity": "sha512-2HjFcZx1MyQXoPqcBGALwWWmgFVUk2TuKVIQxCbRq7fPyWXIl6VHcakCLurdtYC2Iks7zizvz0Idv48MQ38DWg==",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ }
+ },
+ "node_modules/@react-stately/utils": {
+ "version": "3.10.7",
+ "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.7.tgz",
+ "integrity": "sha512-cWvjGAocvy4abO9zbr6PW6taHgF24Mwy/LbQ4TC4Aq3tKdKDntxyD+sh7AkSRfJRT2ccMVaHVv2+FfHThd3PKQ==",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@react-types/shared": {
+ "version": "3.30.0",
+ "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.30.0.tgz",
+ "integrity": "sha512-COIazDAx1ncDg046cTJ8SFYsX8aS3lB/08LDnbkH/SkdYrFPWDlXMrO/sUam8j1WWM+PJ+4d1mj7tODIKNiFog==",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-beta.9",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.9.tgz",
+ "integrity": "sha512-e9MeMtVWo186sgvFFJOPGy7/d2j2mZhLJIdVW0C/xDluuOvymEATqz6zKsP0ZmXGzQtqlyjz5sC1sYQUoJG98w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@rollup/pluginutils": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.2.0.tgz",
+ "integrity": "sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "estree-walker": "^2.0.2",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/pluginutils/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/@rollup/rollup-android-arm-eabi": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.42.0.tgz",
+ "integrity": "sha512-gldmAyS9hpj+H6LpRNlcjQWbuKUtb94lodB9uCz71Jm+7BxK1VIOo7y62tZZwxhA7j1ylv/yQz080L5WkS+LoQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-android-arm64": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.42.0.tgz",
+ "integrity": "sha512-bpRipfTgmGFdCZDFLRvIkSNO1/3RGS74aWkJJTFJBH7h3MRV4UijkaEUeOMbi9wxtxYmtAbVcnMtHTPBhLEkaw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.42.0.tgz",
+ "integrity": "sha512-JxHtA081izPBVCHLKnl6GEA0w3920mlJPLh89NojpU2GsBSB6ypu4erFg/Wx1qbpUbepn0jY4dVWMGZM8gplgA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-darwin-x64": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.42.0.tgz",
+ "integrity": "sha512-rv5UZaWVIJTDMyQ3dCEK+m0SAn6G7H3PRc2AZmExvbDvtaDc+qXkei0knQWcI3+c9tEs7iL/4I4pTQoPbNL2SA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-arm64": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.42.0.tgz",
+ "integrity": "sha512-fJcN4uSGPWdpVmvLuMtALUFwCHgb2XiQjuECkHT3lWLZhSQ3MBQ9pq+WoWeJq2PrNxr9rPM1Qx+IjyGj8/c6zQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-freebsd-x64": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.42.0.tgz",
+ "integrity": "sha512-CziHfyzpp8hJpCVE/ZdTizw58gr+m7Y2Xq5VOuCSrZR++th2xWAz4Nqk52MoIIrV3JHtVBhbBsJcAxs6NammOQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.42.0.tgz",
+ "integrity": "sha512-UsQD5fyLWm2Fe5CDM7VPYAo+UC7+2Px4Y+N3AcPh/LdZu23YcuGPegQly++XEVaC8XUTFVPscl5y5Cl1twEI4A==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm-musleabihf": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.42.0.tgz",
+ "integrity": "sha512-/i8NIrlgc/+4n1lnoWl1zgH7Uo0XK5xK3EDqVTf38KvyYgCU/Rm04+o1VvvzJZnVS5/cWSd07owkzcVasgfIkQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.42.0.tgz",
+ "integrity": "sha512-eoujJFOvoIBjZEi9hJnXAbWg+Vo1Ov8n/0IKZZcPZ7JhBzxh2A+2NFyeMZIRkY9iwBvSjloKgcvnjTbGKHE44Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-arm64-musl": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.42.0.tgz",
+ "integrity": "sha512-/3NrcOWFSR7RQUQIuZQChLND36aTU9IYE4j+TB40VU78S+RA0IiqHR30oSh6P1S9f9/wVOenHQnacs/Byb824g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.42.0.tgz",
+ "integrity": "sha512-O8AplvIeavK5ABmZlKBq9/STdZlnQo7Sle0LLhVA7QT+CiGpNVe197/t8Aph9bhJqbDVGCHpY2i7QyfEDDStDg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.42.0.tgz",
+ "integrity": "sha512-6Qb66tbKVN7VyQrekhEzbHRxXXFFD8QKiFAwX5v9Xt6FiJ3BnCVBuyBxa2fkFGqxOCSGGYNejxd8ht+q5SnmtA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.42.0.tgz",
+ "integrity": "sha512-KQETDSEBamQFvg/d8jajtRwLNBlGc3aKpaGiP/LvEbnmVUKlFta1vqJqTrvPtsYsfbE/DLg5CC9zyXRX3fnBiA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-riscv64-musl": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.42.0.tgz",
+ "integrity": "sha512-qMvnyjcU37sCo/tuC+JqeDKSuukGAd+pVlRl/oyDbkvPJ3awk6G6ua7tyum02O3lI+fio+eM5wsVd66X0jQtxw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-s390x-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.42.0.tgz",
+ "integrity": "sha512-I2Y1ZUgTgU2RLddUHXTIgyrdOwljjkmcZ/VilvaEumtS3Fkuhbw4p4hgHc39Ypwvo2o7sBFNl2MquNvGCa55Iw==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.42.0.tgz",
+ "integrity": "sha512-Gfm6cV6mj3hCUY8TqWa63DB8Mx3NADoFwiJrMpoZ1uESbK8FQV3LXkhfry+8bOniq9pqY1OdsjFWNsSbfjPugw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-linux-x64-musl": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.42.0.tgz",
+ "integrity": "sha512-g86PF8YZ9GRqkdi0VoGlcDUb4rYtQKyTD1IVtxxN4Hpe7YqLBShA7oHMKU6oKTCi3uxwW4VkIGnOaH/El8de3w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-arm64-msvc": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.42.0.tgz",
+ "integrity": "sha512-+axkdyDGSp6hjyzQ5m1pgcvQScfHnMCcsXkx8pTgy/6qBmWVhtRVlgxjWwDp67wEXXUr0x+vD6tp5W4x6V7u1A==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-ia32-msvc": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.42.0.tgz",
+ "integrity": "sha512-F+5J9pelstXKwRSDq92J0TEBXn2nfUrQGg+HK1+Tk7VOL09e0gBqUHugZv7SW4MGrYj41oNCUe3IKCDGVlis2g==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@rollup/rollup-win32-x64-msvc": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.42.0.tgz",
+ "integrity": "sha512-LpHiJRwkaVz/LqjHjK8LCi8osq7elmpwujwbXKNW88bM8eeGxavJIKKjkjpMHAh/2xfnrt1ZSnhTv41WYUHYmA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@shikijs/core": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-3.14.0.tgz",
+ "integrity": "sha512-qRSeuP5vlYHCNUIrpEBQFO7vSkR7jn7Kv+5X3FO/zBKVDGQbcnlScD3XhkrHi/R8Ltz0kEjvFR9Szp/XMRbFMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.14.0",
+ "@shikijs/vscode-textmate": "^10.0.2",
+ "@types/hast": "^3.0.4",
+ "hast-util-to-html": "^9.0.5"
+ }
+ },
+ "node_modules/@shikijs/engine-javascript": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-3.14.0.tgz",
+ "integrity": "sha512-3v1kAXI2TsWQuwv86cREH/+FK9Pjw3dorVEykzQDhwrZj0lwsHYlfyARaKmn6vr5Gasf8aeVpb8JkzeWspxOLQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.14.0",
+ "@shikijs/vscode-textmate": "^10.0.2",
+ "oniguruma-to-es": "^4.3.3"
+ }
+ },
+ "node_modules/@shikijs/engine-oniguruma": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-3.14.0.tgz",
+ "integrity": "sha512-TNcYTYMbJyy+ZjzWtt0bG5y4YyMIWC2nyePz+CFMWqm+HnZZyy9SWMgo8Z6KBJVIZnx8XUXS8U2afO6Y0g1Oug==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.14.0",
+ "@shikijs/vscode-textmate": "^10.0.2"
+ }
+ },
+ "node_modules/@shikijs/langs": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-3.14.0.tgz",
+ "integrity": "sha512-DIB2EQY7yPX1/ZH7lMcwrK5pl+ZkP/xoSpUzg9YC8R+evRCCiSQ7yyrvEyBsMnfZq4eBzLzBlugMyTAf13+pzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.14.0"
+ }
+ },
+ "node_modules/@shikijs/themes": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-3.14.0.tgz",
+ "integrity": "sha512-fAo/OnfWckNmv4uBoUu6dSlkcBc+SA1xzj5oUSaz5z3KqHtEbUypg/9xxgJARtM6+7RVm0Q6Xnty41xA1ma1IA==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/types": "3.14.0"
+ }
+ },
+ "node_modules/@shikijs/types": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-3.14.0.tgz",
+ "integrity": "sha512-bQGgC6vrY8U/9ObG1Z/vTro+uclbjjD/uG58RvfxKZVD5p9Yc1ka3tVyEFy7BNJLzxuWyHH5NWynP9zZZS59eQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/vscode-textmate": "^10.0.2",
+ "@types/hast": "^3.0.4"
+ }
+ },
+ "node_modules/@shikijs/vscode-textmate": {
+ "version": "10.0.2",
+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz",
+ "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==",
+ "license": "MIT"
+ },
+ "node_modules/@storybook/addon-a11y": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-a11y/-/addon-a11y-9.0.14.tgz",
+ "integrity": "sha512-xDtzD89lyyq706yynJ8iAUjBfNebb7F5OoJXSAPYPnUiHoNHAcRT9ia2HrC6Yjp3f3JX2PRIEMjD5Myz3sL04A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@storybook/global": "^5.0.0",
+ "axe-core": "^4.2.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/@storybook/addon-docs": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-docs/-/addon-docs-9.0.14.tgz",
+ "integrity": "sha512-vjWH2FamLzoPZXitecbhRSUvQDj27q/dDaCKXSwCIwEVziIQrqHBGDmuJPCWoroCkKxLo8s8gwMi6wk5Minaqg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@mdx-js/react": "^3.0.0",
+ "@storybook/csf-plugin": "9.0.14",
+ "@storybook/icons": "^1.2.12",
+ "@storybook/react-dom-shim": "9.0.14",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "ts-dedent": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/@storybook/addon-onboarding": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-onboarding/-/addon-onboarding-9.0.14.tgz",
+ "integrity": "sha512-oJdRbOp8OkmDit8KpvkcOccN7Xczqznz55WH2oxaSLg0pWqn493BQGaRvq7Tn8qxTomNg9ibqr0rsHRZQKGlbQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/@storybook/addon-vitest": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/addon-vitest/-/addon-vitest-9.0.14.tgz",
+ "integrity": "sha512-pWovuulbQiLCf/hT1FiBnEvH3x+yfi6iYtJt7SMY+WF8LllKQskJXOPNW5mZ+OF6YnJiaI9SHncFVur4B2y+LA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@storybook/global": "^5.0.0",
+ "@storybook/icons": "^1.4.0",
+ "prompts": "^2.4.0",
+ "ts-dedent": "^2.2.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "@vitest/browser": "^3.0.0",
+ "@vitest/runner": "^3.0.0",
+ "storybook": "^9.0.14",
+ "vitest": "^3.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/runner": {
+ "optional": true
+ },
+ "vitest": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@storybook/builder-vite": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/builder-vite/-/builder-vite-9.0.14.tgz",
+ "integrity": "sha512-pMe/RmiC98SMRNVDvfvISW/rEVbKwKLuLm3KilHSKkW1187S/BkxBQx/o61avAEnZR2AC+JgwWZC18PJGRH/pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@storybook/csf-plugin": "9.0.14",
+ "ts-dedent": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "storybook": "^9.0.14",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/@storybook/csf-plugin": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-9.0.14.tgz",
+ "integrity": "sha512-PKUmF5y/SfPOifC2bRo79YwfGv6TYISM5JK6r6FHVKMwV1nWLmj7Xx2t5aHa/5JggdBz/iGganTP7oo7QOn+0A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "unplugin": "^1.3.1"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/@storybook/csf-plugin/node_modules/unplugin": {
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.16.1.tgz",
+ "integrity": "sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.14.0",
+ "webpack-virtual-modules": "^0.6.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@storybook/global": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@storybook/global/-/global-5.0.0.tgz",
+ "integrity": "sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@storybook/icons": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@storybook/icons/-/icons-1.4.0.tgz",
+ "integrity": "sha512-Td73IeJxOyalzvjQL+JXx72jlIYHgs+REaHiREOqfpo3A2AYYG71AUbcv+lg7mEDIweKVCxsMQ0UKo634c8XeA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta"
+ }
+ },
+ "node_modules/@storybook/react": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/react/-/react-9.0.14.tgz",
+ "integrity": "sha512-Ig4Y1xUOMcOWtQ/H73JZa4MeE0GJvYOcK16AhbfvPZMotdXCFyPbb1/pWhS209HuGwfNTVvWGz9rk7KrHmKsNw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@storybook/global": "^5.0.0",
+ "@storybook/react-dom-shim": "9.0.14"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "storybook": "^9.0.14",
+ "typescript": ">= 4.9.x"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@storybook/react-dom-shim": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/react-dom-shim/-/react-dom-shim-9.0.14.tgz",
+ "integrity": "sha512-fXMzhgFMnGZUhWm9zWiR8qOB90OykPhkB/qiebFbD/wUedPyp3H1+NAzX1/UWV2SYqr+aFK9vH1PokAYbpTRsw==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/@storybook/react-vite": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/@storybook/react-vite/-/react-vite-9.0.14.tgz",
+ "integrity": "sha512-Qz231WFDcfRiB61P9zBv12GxX/V0CO0YiuIFNDoCNroVRAzGaBK8IYR2KKRd5V/1UGJl35YyyEIZUcA4Zt5xEQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@joshwooding/vite-plugin-react-docgen-typescript": "0.6.0",
+ "@rollup/pluginutils": "^5.0.2",
+ "@storybook/builder-vite": "9.0.14",
+ "@storybook/react": "9.0.14",
+ "find-up": "^7.0.0",
+ "magic-string": "^0.30.0",
+ "react-docgen": "^8.0.0",
+ "resolve": "^1.22.8",
+ "tsconfig-paths": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
+ "storybook": "^9.0.14",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/find-up": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-7.0.0.tgz",
+ "integrity": "sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^7.2.0",
+ "path-exists": "^5.0.0",
+ "unicorn-magic": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/locate-path": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz",
+ "integrity": "sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^6.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/p-limit": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-4.0.0.tgz",
+ "integrity": "sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^1.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/p-locate": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-6.0.0.tgz",
+ "integrity": "sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^4.0.0"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/path-exists": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
+ "integrity": "sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
+ }
+ },
+ "node_modules/@storybook/react-vite/node_modules/yocto-queue": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.1.tgz",
+ "integrity": "sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.17",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz",
+ "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==",
+ "dependencies": {
+ "tslib": "^2.8.0"
+ }
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.11.tgz",
+ "integrity": "sha512-yzhzuGRmv5QyU9qLNg4GTlYI6STedBWRE7NjxP45CsFYYq9taI0zJXZBMqIC/c8fViNLhmrbpSFS57EoxUmD6Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@ampproject/remapping": "^2.3.0",
+ "enhanced-resolve": "^5.18.1",
+ "jiti": "^2.4.2",
+ "lightningcss": "1.30.1",
+ "magic-string": "^0.30.17",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.1.11"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.11.tgz",
+ "integrity": "sha512-Q69XzrtAhuyfHo+5/HMgr1lAiPP/G40OMFAnws7xcFEYqcypZmdW8eGXaOUIeOl1dzPJBPENXgbjsOyhg2nkrg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "detect-libc": "^2.0.4",
+ "tar": "^7.4.3"
+ },
+ "engines": {
+ "node": ">= 10"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.1.11",
+ "@tailwindcss/oxide-darwin-arm64": "4.1.11",
+ "@tailwindcss/oxide-darwin-x64": "4.1.11",
+ "@tailwindcss/oxide-freebsd-x64": "4.1.11",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.11",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.1.11",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.1.11",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.1.11",
+ "@tailwindcss/oxide-linux-x64-musl": "4.1.11",
+ "@tailwindcss/oxide-wasm32-wasi": "4.1.11",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.1.11",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.1.11"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.11.tgz",
+ "integrity": "sha512-3IfFuATVRUMZZprEIx9OGDjG3Ou3jG4xQzNTvjDoKmU9JdmoCohQJ83MYd0GPnQIu89YoJqvMM0G3uqLRFtetg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.11.tgz",
+ "integrity": "sha512-ESgStEOEsyg8J5YcMb1xl8WFOXfeBmrhAwGsFxxB2CxY9evy63+AtpbDLAyRkJnxLy2WsD1qF13E97uQyP1lfQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.11.tgz",
+ "integrity": "sha512-EgnK8kRchgmgzG6jE10UQNaH9Mwi2n+yw1jWmof9Vyg2lpKNX2ioe7CJdf9M5f8V9uaQxInenZkOxnTVL3fhAw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.11.tgz",
+ "integrity": "sha512-xdqKtbpHs7pQhIKmqVpxStnY1skuNh4CtbcyOHeX1YBE0hArj2romsFGb6yUmzkq/6M24nkxDqU8GYrKrz+UcA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.11.tgz",
+ "integrity": "sha512-ryHQK2eyDYYMwB5wZL46uoxz2zzDZsFBwfjssgB7pzytAeCCa6glsiJGjhTEddq/4OsIjsLNMAiMlHNYnkEEeg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.11.tgz",
+ "integrity": "sha512-mYwqheq4BXF83j/w75ewkPJmPZIqqP1nhoghS9D57CLjsh3Nfq0m4ftTotRYtGnZd3eCztgbSPJ9QhfC91gDZQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.11.tgz",
+ "integrity": "sha512-m/NVRFNGlEHJrNVk3O6I9ggVuNjXHIPoD6bqay/pubtYC9QIdAMpS+cswZQPBLvVvEF6GtSNONbDkZrjWZXYNQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.11.tgz",
+ "integrity": "sha512-YW6sblI7xukSD2TdbbaeQVDysIm/UPJtObHJHKxDEcW2exAtY47j52f8jZXkqE1krdnkhCMGqP3dbniu1Te2Fg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.11.tgz",
+ "integrity": "sha512-e3C/RRhGunWYNC3aSF7exsQkdXzQ/M+aYuZHKnw4U7KQwTJotnWsGOIVih0s2qQzmEzOFIJ3+xt7iq67K/p56Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.11.tgz",
+ "integrity": "sha512-Xo1+/GU0JEN/C/dvcammKHzeM6NqKovG+6921MR6oadee5XPBaKOumrJCXvopJ/Qb5TH7LX/UAywbqrP4lax0g==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.4.3",
+ "@emnapi/runtime": "^1.4.3",
+ "@emnapi/wasi-threads": "^1.0.2",
+ "@napi-rs/wasm-runtime": "^0.2.11",
+ "@tybys/wasm-util": "^0.9.0",
+ "tslib": "^2.8.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.11.tgz",
+ "integrity": "sha512-UgKYx5PwEKrac3GPNPf6HVMNhUIGuUh4wlDFR2jYYdkX6pL/rn73zTq/4pzUm8fOjAn5L8zDeHp9iXmUGOXZ+w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.11.tgz",
+ "integrity": "sha512-YfHoggn1j0LK7wR82TOucWc5LDCguHnoS879idHekmmiR7g9HUtMw9MI0NHatS28u/Xlkfi9w5RJWgz2Dl+5Qg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/typography": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.16.tgz",
+ "integrity": "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "lodash.castarray": "^4.4.0",
+ "lodash.isplainobject": "^4.0.6",
+ "lodash.merge": "^4.6.2",
+ "postcss-selector-parser": "6.0.10"
+ },
+ "peerDependencies": {
+ "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1"
+ }
+ },
+ "node_modules/@tailwindcss/vite": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.11.tgz",
+ "integrity": "sha512-RHYhrR3hku0MJFRV+fN2gNbDNEh3dwKvY8XJvTxCSXeMOsCRSr+uKvDWQcbizrHgjML6ZmTE5OwMrl5wKcujCw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@tailwindcss/node": "4.1.11",
+ "@tailwindcss/oxide": "4.1.11",
+ "tailwindcss": "4.1.11"
+ },
+ "peerDependencies": {
+ "vite": "^5.2.0 || ^6 || ^7"
+ }
+ },
+ "node_modules/@tanstack/history": {
+ "version": "1.120.17",
+ "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.120.17.tgz",
+ "integrity": "sha512-k07LFI4Qo074IIaWzT/XjD0KlkGx2w1V3fnNtclKx0oAl8z4O9kCh6za+FPEIRe98xLgNFEiddDbJeAYGSlPtw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/query-core": {
+ "version": "5.80.7",
+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.80.7.tgz",
+ "integrity": "sha512-s09l5zeUKC8q7DCCCIkVSns8zZrK4ZDT6ryEjxNBFi68G4z2EBobBS7rdOY3r6W1WbUDpc1fe5oY+YO/+2UVUg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/react-query": {
+ "version": "5.80.7",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.80.7.tgz",
+ "integrity": "sha512-u2F0VK6+anItoEvB3+rfvTO9GEh2vb00Je05OwlUe/A0lkJBgW1HckiY3f9YZa+jx6IOe4dHPh10dyp9aY3iRQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/query-core": "5.80.7"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^18 || ^19"
+ }
+ },
+ "node_modules/@tanstack/react-router": {
+ "version": "1.120.20",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.120.20.tgz",
+ "integrity": "sha512-+zNruUE9NsfGm9cHd22Xs7FRtBrBhDZe94pB69BEIjqjrEPZct6f5VhTV9WQ+bDZ6fRz8tUuxNFAgm/3Lm4AIg==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/history": "1.120.17",
+ "@tanstack/react-store": "^0.7.0",
+ "@tanstack/router-core": "1.120.19",
+ "jsesc": "^3.1.0",
+ "tiny-invariant": "^1.3.3",
+ "tiny-warning": "^1.0.3"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": ">=18.0.0 || >=19.0.0",
+ "react-dom": ">=18.0.0 || >=19.0.0"
+ }
+ },
+ "node_modules/@tanstack/react-router-devtools": {
+ "version": "1.120.20",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-router-devtools/-/react-router-devtools-1.120.20.tgz",
+ "integrity": "sha512-8wYUBdhaMQLo+f5GlJ31WK3T5gpQWetIG7bEGbhrgmd8Z6nZbUYfq10BtVnIwhJwiQa/39Fi9778/09N13l00A==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/router-devtools-core": "^1.120.19",
+ "solid-js": "^1.9.5"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "@tanstack/react-router": "^1.120.20",
+ "react": ">=18.0.0 || >=19.0.0",
+ "react-dom": ">=18.0.0 || >=19.0.0"
+ }
+ },
+ "node_modules/@tanstack/react-store": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.7.1.tgz",
+ "integrity": "sha512-qUTEKdId6QPWGiWyKAPf/gkN29scEsz6EUSJ0C3HgLMgaqTAyBsQ2sMCfGVcqb+kkhEXAdjleCgH6LAPD6f2sA==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/store": "0.7.1",
+ "use-sync-external-store": "^1.5.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@tanstack/react-virtual": {
+ "version": "3.13.10",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.10.tgz",
+ "integrity": "sha512-nvrzk4E9mWB4124YdJ7/yzwou7IfHxlSef6ugCFcBfRmsnsma3heciiiV97sBNxyc3VuwtZvmwXd0aB5BpucVw==",
+ "dependencies": {
+ "@tanstack/virtual-core": "3.13.10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@tanstack/router-core": {
+ "version": "1.120.19",
+ "resolved": "https://registry.npmjs.org/@tanstack/router-core/-/router-core-1.120.19.tgz",
+ "integrity": "sha512-5JUVgkxnIM3NxMwzKt0tfz2UopZVxwq6Kl7Rp33zlFJaPjpiRs46VuRjVeAvkpJd6samo1gcH1rWqmnPUmtGcw==",
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/history": "1.120.17",
+ "@tanstack/store": "^0.7.0",
+ "tiny-invariant": "^1.3.3"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/router-devtools-core": {
+ "version": "1.120.19",
+ "resolved": "https://registry.npmjs.org/@tanstack/router-devtools-core/-/router-devtools-core-1.120.19.tgz",
+ "integrity": "sha512-B/8riYIxs5z+6BmkycfkllhZzRV0/jt8MEqlVHU/HDyAi+00luhi+4xwqQNxiAIUpFa6+0twmGPj4SI3SPA6nQ==",
+ "license": "MIT",
+ "dependencies": {
+ "clsx": "^2.1.1",
+ "goober": "^2.1.16"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "@tanstack/router-core": "^1.120.19",
+ "csstype": "^3.0.10",
+ "solid-js": ">=1.9.5",
+ "tiny-invariant": "^1.3.3"
+ },
+ "peerDependenciesMeta": {
+ "csstype": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@tanstack/router-generator": {
+ "version": "1.120.20",
+ "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.120.20.tgz",
+ "integrity": "sha512-tv8uOjteyMnUUDepjknkiTQ90EL6sNuDGsfeUz0wXFQ6dy/cqYqV0pXzJuBRN79ToteWFdq5sJeypqUdzOC8+w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@tanstack/virtual-file-routes": "^1.120.17",
+ "prettier": "^3.5.0",
+ "tsx": "^4.19.2",
+ "zod": "^3.24.2"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "@tanstack/react-router": "^1.120.20"
+ },
+ "peerDependenciesMeta": {
+ "@tanstack/react-router": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@tanstack/router-plugin": {
+ "version": "1.120.20",
+ "resolved": "https://registry.npmjs.org/@tanstack/router-plugin/-/router-plugin-1.120.20.tgz",
+ "integrity": "sha512-GaDcIZSVaMoLvG6pu0yRLz8C8jtFo1avV23Q1UbZzv+1i66Uk0twcfTPy/eJbB8pgRA2P5Eu7xo7L3g5HvkGRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.26.8",
+ "@babel/plugin-syntax-jsx": "^7.25.9",
+ "@babel/plugin-syntax-typescript": "^7.25.9",
+ "@babel/template": "^7.26.8",
+ "@babel/traverse": "^7.26.8",
+ "@babel/types": "^7.26.8",
+ "@tanstack/router-core": "^1.120.19",
+ "@tanstack/router-generator": "^1.120.20",
+ "@tanstack/router-utils": "^1.120.17",
+ "@tanstack/virtual-file-routes": "^1.120.17",
+ "@types/babel__core": "^7.20.5",
+ "@types/babel__template": "^7.4.4",
+ "@types/babel__traverse": "^7.20.6",
+ "babel-dead-code-elimination": "^1.0.10",
+ "chokidar": "^3.6.0",
+ "unplugin": "^2.1.2",
+ "zod": "^3.24.2"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "@rsbuild/core": ">=1.0.2",
+ "@tanstack/react-router": "^1.120.20",
+ "vite": ">=5.0.0 || >=6.0.0",
+ "vite-plugin-solid": "^2.11.2",
+ "webpack": ">=5.92.0"
+ },
+ "peerDependenciesMeta": {
+ "@rsbuild/core": {
+ "optional": true
+ },
+ "@tanstack/react-router": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ },
+ "vite-plugin-solid": {
+ "optional": true
+ },
+ "webpack": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@tanstack/router-utils": {
+ "version": "1.120.17",
+ "resolved": "https://registry.npmjs.org/@tanstack/router-utils/-/router-utils-1.120.17.tgz",
+ "integrity": "sha512-emgT4FthaGtTRaRg9bsr0uaq3EHdl/flS4bKLuFaetiFTt8wk8EVU2a7EZlkaaAfLLDPaiGbP1S2DDaZQ7ci+Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/generator": "^7.26.8",
+ "@babel/parser": "^7.26.8",
+ "ansis": "^3.11.0",
+ "diff": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/store": {
+ "version": "0.7.1",
+ "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.7.1.tgz",
+ "integrity": "sha512-PjUQKXEXhLYj2X5/6c1Xn/0/qKY0IVFxTJweopRfF26xfjVyb14yALydJrHupDh3/d+1WKmfEgZPBVCmDkzzwg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/virtual-core": {
+ "version": "3.13.10",
+ "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.13.10.tgz",
+ "integrity": "sha512-sPEDhXREou5HyZYqSWIqdU580rsF6FGeN7vpzijmP3KTiOGjOMZASz4Y6+QKjiFQwhWrR58OP8izYaNGVxvViA==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@tanstack/virtual-file-routes": {
+ "version": "1.120.17",
+ "resolved": "https://registry.npmjs.org/@tanstack/virtual-file-routes/-/virtual-file-routes-1.120.17.tgz",
+ "integrity": "sha512-Ssi+yKcjG9ru02ieCpUBF7QQBEKGB7WQS1R9va3GHu+Oq9WjzmJ4rifzdugjTeKD3yfT7d1I+pOxRhoWog6CHw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@testing-library/dom": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.0.tgz",
+ "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.10.4",
+ "@babel/runtime": "^7.12.5",
+ "@types/aria-query": "^5.0.1",
+ "aria-query": "5.3.0",
+ "chalk": "^4.1.0",
+ "dom-accessibility-api": "^0.5.9",
+ "lz-string": "^1.5.0",
+ "pretty-format": "^27.0.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@testing-library/jest-dom": {
+ "version": "6.6.3",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.6.3.tgz",
+ "integrity": "sha512-IteBhl4XqYNkM54f4ejhLRJiZNqcSCoXUOG2CPK7qbD322KjQozM4kHQOfkG2oln9b9HTYqs+Sae8vBATubxxA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@adobe/css-tools": "^4.4.0",
+ "aria-query": "^5.0.0",
+ "chalk": "^3.0.0",
+ "css.escape": "^1.5.1",
+ "dom-accessibility-api": "^0.6.3",
+ "lodash": "^4.17.21",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14",
+ "npm": ">=6",
+ "yarn": ">=1"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/chalk": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
+ "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@testing-library/user-event": {
+ "version": "14.6.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/user-event/-/user-event-14.6.1.tgz",
+ "integrity": "sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12",
+ "npm": ">=6"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": ">=7.21.4"
+ }
+ },
+ "node_modules/@types/aria-query": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
+ "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/babel__core": {
+ "version": "7.20.5",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
+ "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.20.7",
+ "@babel/types": "^7.20.7",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.27.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
+ "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.20.7",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.7.tgz",
+ "integrity": "sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.20.7"
+ }
+ },
+ "node_modules/@types/chai": {
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.2.tgz",
+ "integrity": "sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/deep-eql": "*"
+ }
+ },
+ "node_modules/@types/d3": {
+ "version": "7.4.3",
+ "resolved": "https://registry.npmjs.org/@types/d3/-/d3-7.4.3.tgz",
+ "integrity": "sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-array": "*",
+ "@types/d3-axis": "*",
+ "@types/d3-brush": "*",
+ "@types/d3-chord": "*",
+ "@types/d3-color": "*",
+ "@types/d3-contour": "*",
+ "@types/d3-delaunay": "*",
+ "@types/d3-dispatch": "*",
+ "@types/d3-drag": "*",
+ "@types/d3-dsv": "*",
+ "@types/d3-ease": "*",
+ "@types/d3-fetch": "*",
+ "@types/d3-force": "*",
+ "@types/d3-format": "*",
+ "@types/d3-geo": "*",
+ "@types/d3-hierarchy": "*",
+ "@types/d3-interpolate": "*",
+ "@types/d3-path": "*",
+ "@types/d3-polygon": "*",
+ "@types/d3-quadtree": "*",
+ "@types/d3-random": "*",
+ "@types/d3-scale": "*",
+ "@types/d3-scale-chromatic": "*",
+ "@types/d3-selection": "*",
+ "@types/d3-shape": "*",
+ "@types/d3-time": "*",
+ "@types/d3-time-format": "*",
+ "@types/d3-timer": "*",
+ "@types/d3-transition": "*",
+ "@types/d3-zoom": "*"
+ }
+ },
+ "node_modules/@types/d3-array": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",
+ "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-axis": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-3.0.6.tgz",
+ "integrity": "sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-selection": "*"
+ }
+ },
+ "node_modules/@types/d3-brush": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-3.0.6.tgz",
+ "integrity": "sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-selection": "*"
+ }
+ },
+ "node_modules/@types/d3-chord": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-3.0.6.tgz",
+ "integrity": "sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-color": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-contour": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-3.0.6.tgz",
+ "integrity": "sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-array": "*",
+ "@types/geojson": "*"
+ }
+ },
+ "node_modules/@types/d3-delaunay": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-delaunay/-/d3-delaunay-6.0.4.tgz",
+ "integrity": "sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-dispatch": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-3.0.7.tgz",
+ "integrity": "sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-drag": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-3.0.7.tgz",
+ "integrity": "sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-selection": "*"
+ }
+ },
+ "node_modules/@types/d3-dsv": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-3.0.7.tgz",
+ "integrity": "sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-ease": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",
+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-fetch": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-3.0.7.tgz",
+ "integrity": "sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-dsv": "*"
+ }
+ },
+ "node_modules/@types/d3-force": {
+ "version": "3.0.10",
+ "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-3.0.10.tgz",
+ "integrity": "sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-format": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-3.0.4.tgz",
+ "integrity": "sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-geo": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-3.1.0.tgz",
+ "integrity": "sha512-856sckF0oP/diXtS4jNsiQw/UuK5fQG8l/a9VVLeSouf1/PPbBE1i1W852zVwKwYCBkFJJB7nCFTbk6UMEXBOQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/geojson": "*"
+ }
+ },
+ "node_modules/@types/d3-hierarchy": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-3.1.7.tgz",
+ "integrity": "sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-interpolate": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-color": "*"
+ }
+ },
+ "node_modules/@types/d3-path": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",
+ "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-polygon": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-3.0.2.tgz",
+ "integrity": "sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-quadtree": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-3.0.6.tgz",
+ "integrity": "sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-random": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-3.0.3.tgz",
+ "integrity": "sha512-Imagg1vJ3y76Y2ea0871wpabqp613+8/r0mCLEBfdtqC7xMSfj9idOnmBYyMoULfHePJyxMAw3nWhJxzc+LFwQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-scale": {
+ "version": "4.0.9",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",
+ "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-time": "*"
+ }
+ },
+ "node_modules/@types/d3-scale-chromatic": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",
+ "integrity": "sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-selection": {
+ "version": "3.0.11",
+ "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-3.0.11.tgz",
+ "integrity": "sha512-bhAXu23DJWsrI45xafYpkQ4NtcKMwWnAC/vKrd2l+nxMFuvOT3XMYTIj2opv8vq8AO5Yh7Qac/nSeP/3zjTK0w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-shape": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.7.tgz",
+ "integrity": "sha512-VLvUQ33C+3J+8p+Daf+nYSOsjB4GXp19/S/aGo60m9h1v6XaxjiT82lKVWJCfzhtuZ3yD7i/TPeC/fuKLLOSmg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-path": "*"
+ }
+ },
+ "node_modules/@types/d3-time": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",
+ "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-time-format": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-4.0.3.tgz",
+ "integrity": "sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-timer": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",
+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-transition": {
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-3.0.9.tgz",
+ "integrity": "sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-selection": "*"
+ }
+ },
+ "node_modules/@types/d3-zoom": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-3.0.8.tgz",
+ "integrity": "sha512-iqMC4/YlFCSlO8+2Ii1GGGliCAY4XdeG748w5vQUbevlbDu0zSjH/+jojorQVBK/se0j6DUFNPBGSqD3YWYnDw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-interpolate": "*",
+ "@types/d3-selection": "*"
+ }
+ },
+ "node_modules/@types/debug": {
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
+ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/doctrine": {
+ "version": "0.0.9",
+ "resolved": "https://registry.npmjs.org/@types/doctrine/-/doctrine-0.0.9.tgz",
+ "integrity": "sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree-jsx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/geojson": {
+ "version": "7946.0.16",
+ "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.16.tgz",
+ "integrity": "sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/katex": {
+ "version": "0.16.7",
+ "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz",
+ "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/mdx": {
+ "version": "2.0.13",
+ "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.13.tgz",
+ "integrity": "sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.7.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.7.2.tgz",
+ "integrity": "sha512-/NbVmcGTP+lj5oa4yiYxxeBjRivKQ5Ns1eSZeB99ExsEQ6rX5XYU1Zy/gGxY/ilqtD4Etx9mKyrPxZRetiahhA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.14.0"
+ }
+ },
+ "node_modules/@types/prismjs": {
+ "version": "1.26.5",
+ "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.5.tgz",
+ "integrity": "sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "19.1.7",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.7.tgz",
+ "integrity": "sha512-BnsPLV43ddr05N71gaGzyZ5hzkCmGwhMvYc8zmvI8Ci1bRkkDSzDDVfAXfN2tk748OwI7ediiPX6PfT9p0QGVg==",
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "19.1.6",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.1.6.tgz",
+ "integrity": "sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^19.0.0"
+ }
+ },
+ "node_modules/@types/resolve": {
+ "version": "1.20.6",
+ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.6.tgz",
+ "integrity": "sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/trusted-types": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
+ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "license": "MIT"
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.0.tgz",
+ "integrity": "sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.10.0",
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/type-utils": "8.34.0",
+ "@typescript-eslint/utils": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^7.0.0",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.34.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.34.0.tgz",
+ "integrity": "sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/typescript-estree": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.34.0.tgz",
+ "integrity": "sha512-iEgDALRf970/B2YExmtPMPF54NenZUf4xpL3wsCRx/lgjz6ul/l13R81ozP/ZNuXfnLCS+oPmG7JIxfdNYKELw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.34.0",
+ "@typescript-eslint/types": "^8.34.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.34.0.tgz",
+ "integrity": "sha512-9Ac0X8WiLykl0aj1oYQNcLZjHgBojT6cW68yAgZ19letYu+Hxd0rE0veI1XznSSst1X5lwnxhPbVdwjDRIomRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.0.tgz",
+ "integrity": "sha512-+W9VYHKFIzA5cBeooqQxqNriAP0QeQ7xTiDuIOr71hzgffm3EL2hxwWBIIj4GuofIbKxGNarpKqIq6Q6YrShOA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.34.0.tgz",
+ "integrity": "sha512-n7zSmOcUVhcRYC75W2pnPpbO1iwhJY3NLoHEtbJwJSNlVAZuwqu05zY3f3s2SDWWDSo9FdN5szqc73DCtDObAg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "8.34.0",
+ "@typescript-eslint/utils": "8.34.0",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.34.0.tgz",
+ "integrity": "sha512-9V24k/paICYPniajHfJ4cuAWETnt7Ssy+R0Rbcqo5sSFr3QEZ/8TSoUi9XeXVBGXCaLtwTOKSLGcInCAvyZeMA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.0.tgz",
+ "integrity": "sha512-rOi4KZxI7E0+BMqG7emPSK1bB4RICCpF7QD3KCLXn9ZvWoESsOMlHyZPAHyG04ujVplPaHbmEvs34m+wjgtVtg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.34.0",
+ "@typescript-eslint/tsconfig-utils": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/visitor-keys": "8.34.0",
+ "debug": "^4.3.4",
+ "fast-glob": "^3.3.2",
+ "is-glob": "^4.0.3",
+ "minimatch": "^9.0.4",
+ "semver": "^7.6.0",
+ "ts-api-utils": "^2.1.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.34.0.tgz",
+ "integrity": "sha512-8L4tWatGchV9A1cKbjaavS6mwYwp39jql8xUmIIKJdm+qiaeHy5KMKlBrf30akXAWBzn2SqKsNOtSENWUwg7XQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.7.0",
+ "@typescript-eslint/scope-manager": "8.34.0",
+ "@typescript-eslint/types": "8.34.0",
+ "@typescript-eslint/typescript-estree": "8.34.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.0.tgz",
+ "integrity": "sha512-qHV7pW7E85A0x6qyrFn+O+q1k1p3tQCsqIZ1KZ5ESLXY57aTvUd3/a4rdPTeXisvhXn2VQG0VSKUqs8KHF2zcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.34.0",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
+ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
+ "license": "ISC"
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.5.1.tgz",
+ "integrity": "sha512-uPZBqSI0YD4lpkIru6M35sIfylLGTyhGHvDZbNLuMA73lMlwJKz5xweH7FajfcCAc2HnINciejA9qTz0dr0M7A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.26.10",
+ "@babel/plugin-transform-react-jsx-self": "^7.25.9",
+ "@babel/plugin-transform-react-jsx-source": "^7.25.9",
+ "@rolldown/pluginutils": "1.0.0-beta.9",
+ "@types/babel__core": "^7.20.5",
+ "react-refresh": "^0.17.0"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
+ }
+ },
+ "node_modules/@vitest/browser": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/browser/-/browser-3.2.4.tgz",
+ "integrity": "sha512-tJxiPrWmzH8a+w9nLKlQMzAKX/7VjFs50MWgcAj7p9XQ7AQ9/35fByFYptgPELyLw+0aixTnC4pUWV+APcZ/kw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@testing-library/dom": "^10.4.0",
+ "@testing-library/user-event": "^14.6.1",
+ "@vitest/mocker": "3.2.4",
+ "@vitest/utils": "3.2.4",
+ "magic-string": "^0.30.17",
+ "sirv": "^3.0.1",
+ "tinyrainbow": "^2.0.0",
+ "ws": "^8.18.2"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "playwright": "*",
+ "vitest": "3.2.4",
+ "webdriverio": "^7.0.0 || ^8.0.0 || ^9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "playwright": {
+ "optional": true
+ },
+ "safaridriver": {
+ "optional": true
+ },
+ "webdriverio": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/coverage-v8": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-3.2.4.tgz",
+ "integrity": "sha512-EyF9SXU6kS5Ku/U82E259WSnvg6c8KTjppUncuNdm5QHpe17mwREHnjDzozC8x9MZ0xfBUFSaLkRv4TMA75ALQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@ampproject/remapping": "^2.3.0",
+ "@bcoe/v8-coverage": "^1.0.2",
+ "ast-v8-to-istanbul": "^0.3.3",
+ "debug": "^4.4.1",
+ "istanbul-lib-coverage": "^3.2.2",
+ "istanbul-lib-report": "^3.0.1",
+ "istanbul-lib-source-maps": "^5.0.6",
+ "istanbul-reports": "^3.1.7",
+ "magic-string": "^0.30.17",
+ "magicast": "^0.3.5",
+ "std-env": "^3.9.0",
+ "test-exclude": "^7.0.1",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@vitest/browser": "3.2.4",
+ "vitest": "3.2.4"
+ },
+ "peerDependenciesMeta": {
+ "@vitest/browser": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/expect": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-3.2.4.tgz",
+ "integrity": "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/spy": "3.2.4",
+ "@vitest/utils": "3.2.4",
+ "chai": "^5.2.0",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/mocker": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-3.2.4.tgz",
+ "integrity": "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/spy": "3.2.4",
+ "estree-walker": "^3.0.3",
+ "magic-string": "^0.30.17"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "msw": "^2.4.9",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "peerDependenciesMeta": {
+ "msw": {
+ "optional": true
+ },
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@vitest/mocker/node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/@vitest/pretty-format": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-3.2.4.tgz",
+ "integrity": "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/runner": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-3.2.4.tgz",
+ "integrity": "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.4",
+ "pathe": "^2.0.3",
+ "strip-literal": "^3.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/snapshot": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-3.2.4.tgz",
+ "integrity": "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.4",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/spy": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-3.2.4.tgz",
+ "integrity": "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tinyspy": "^4.0.3"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/@vitest/ui": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/ui/-/ui-3.2.4.tgz",
+ "integrity": "sha512-hGISOaP18plkzbWEcP/QvtRW1xDXF2+96HbEX6byqQhAUbiS5oH6/9JwW+QsQCIYON2bI6QZBF+2PvOmrRZ9wA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/utils": "3.2.4",
+ "fflate": "^0.8.2",
+ "flatted": "^3.3.3",
+ "pathe": "^2.0.3",
+ "sirv": "^3.0.1",
+ "tinyglobby": "^0.2.14",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "vitest": "3.2.4"
+ }
+ },
+ "node_modules/@vitest/utils": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-3.2.4.tgz",
+ "integrity": "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@vitest/pretty-format": "3.2.4",
+ "loupe": "^3.1.4",
+ "tinyrainbow": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.15.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
+ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/ansis": {
+ "version": "3.17.0",
+ "resolved": "https://registry.npmjs.org/ansis/-/ansis-3.17.0.tgz",
+ "integrity": "sha512-0qWUglt9JEqLFr3w1I1pbrChn1grhaiAR2ocX1PP/flRmxgtwTzPFFFnfIlD6aMOLQZgSuCRlidD70lvx8yhzg==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "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,
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/aria-query": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
+ "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "dequal": "^2.0.3"
+ }
+ },
+ "node_modules/assertion-error": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-2.0.1.tgz",
+ "integrity": "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/ast-types": {
+ "version": "0.16.1",
+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz",
+ "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/ast-v8-to-istanbul": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/ast-v8-to-istanbul/-/ast-v8-to-istanbul-0.3.3.tgz",
+ "integrity": "sha512-MuXMrSLVVoA6sYN/6Hke18vMzrT4TZNbZIj/hvh0fnYFpO+/kFXcLIaiPwXXWaQUPg4yJD8fj+lfJ7/1EBconw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "estree-walker": "^3.0.3",
+ "js-tokens": "^9.0.1"
+ }
+ },
+ "node_modules/ast-v8-to-istanbul/node_modules/estree-walker": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
+ "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0"
+ }
+ },
+ "node_modules/ast-v8-to-istanbul/node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.4.21",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.21.tgz",
+ "integrity": "sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.24.4",
+ "caniuse-lite": "^1.0.30001702",
+ "fraction.js": "^4.3.7",
+ "normalize-range": "^0.1.2",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/axe-core": {
+ "version": "4.10.3",
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.3.tgz",
+ "integrity": "sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/babel-dead-code-elimination": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.10.tgz",
+ "integrity": "sha512-DV5bdJZTzZ0zn0DC24v3jD7Mnidh6xhKa4GfKCbq3sfW8kaWhDdZjP3i81geA8T33tdYqWKw4D3fVv0CwEgKVA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.23.7",
+ "@babel/parser": "^7.23.6",
+ "@babel/traverse": "^7.23.7",
+ "@babel/types": "^7.23.6"
+ }
+ },
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/better-opn": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz",
+ "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "open": "^8.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.25.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.0.tgz",
+ "integrity": "sha512-PJ8gYKeS5e/whHBh8xrwYK+dAvEj7JXtz6uTucnMRB8OiGTsKccFekoRrjajPBHV8oOY+2tI4uxeceSimKwMFA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "caniuse-lite": "^1.0.30001718",
+ "electron-to-chromium": "^1.5.160",
+ "node-releases": "^2.0.19",
+ "update-browserslist-db": "^1.1.3"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/cac": {
+ "version": "6.7.14",
+ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz",
+ "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001721",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001721.tgz",
+ "integrity": "sha512-cOuvmUVtKrtEaoKiO0rSc29jcjwMwX5tOHDy4MgVFEWiUXj4uBMJkwI8MDySkgXidpMiHUcviogAvFi4pA2hDQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/chai": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/chai/-/chai-5.2.0.tgz",
+ "integrity": "sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "assertion-error": "^2.0.1",
+ "check-error": "^2.1.1",
+ "deep-eql": "^5.0.1",
+ "loupe": "^3.1.0",
+ "pathval": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "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,
+ "license": "MIT",
+ "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/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-reference-invalid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",
+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/check-error": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/check-error/-/check-error-2.1.1.tgz",
+ "integrity": "sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 16"
+ }
+ },
+ "node_modules/chevrotain": {
+ "version": "11.0.3",
+ "resolved": "https://registry.npmjs.org/chevrotain/-/chevrotain-11.0.3.tgz",
+ "integrity": "sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@chevrotain/cst-dts-gen": "11.0.3",
+ "@chevrotain/gast": "11.0.3",
+ "@chevrotain/regexp-to-ast": "11.0.3",
+ "@chevrotain/types": "11.0.3",
+ "@chevrotain/utils": "11.0.3",
+ "lodash-es": "4.17.21"
+ }
+ },
+ "node_modules/chevrotain-allstar": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/chevrotain-allstar/-/chevrotain-allstar-0.3.1.tgz",
+ "integrity": "sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==",
+ "license": "MIT",
+ "dependencies": {
+ "lodash-es": "^4.17.21"
+ },
+ "peerDependencies": {
+ "chevrotain": "^11.0.0"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "dev": true,
+ "license": "MIT",
+ "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"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/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,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/chromatic": {
+ "version": "12.2.0",
+ "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-12.2.0.tgz",
+ "integrity": "sha512-GswmBW9ZptAoTns1BMyjbm55Z7EsIJnUvYKdQqXIBZIKbGErmpA+p4c0BYA+nzw5B0M+rb3Iqp1IaH8TFwIQew==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "chroma": "dist/bin.js",
+ "chromatic": "dist/bin.js",
+ "chromatic-cli": "dist/bin.js"
+ },
+ "peerDependencies": {
+ "@chromatic-com/cypress": "^0.*.* || ^1.0.0",
+ "@chromatic-com/playwright": "^0.*.* || ^1.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@chromatic-com/cypress": {
+ "optional": true
+ },
+ "@chromatic-com/playwright": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/commander": {
+ "version": "8.3.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz",
+ "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 12"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/confbox": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.2.2.tgz",
+ "integrity": "sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==",
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cose-base": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-1.0.3.tgz",
+ "integrity": "sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==",
+ "license": "MIT",
+ "dependencies": {
+ "layout-base": "^1.0.0"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/css-blank-pseudo": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/css-blank-pseudo/-/css-blank-pseudo-7.0.1.tgz",
+ "integrity": "sha512-jf+twWGDf6LDoXDUode+nc7ZlrqfaNphrBIBrcmeP3D8yw1uPaix1gCC8LUQUGQ6CycuK2opkbFFWFuq/a94ag==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/css-blank-pseudo/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/css-has-pseudo": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/css-has-pseudo/-/css-has-pseudo-7.0.2.tgz",
+ "integrity": "sha512-nzol/h+E0bId46Kn2dQH5VElaknX2Sr0hFuB/1EomdC7j+OISt2ZzK7EHX9DZDY53WbIVAR7FYKSO2XnSf07MQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/selector-specificity": "^5.0.0",
+ "postcss-selector-parser": "^7.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/css-has-pseudo/node_modules/@csstools/selector-specificity": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz",
+ "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ }
+ },
+ "node_modules/css-has-pseudo/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/css-prefers-color-scheme": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/css-prefers-color-scheme/-/css-prefers-color-scheme-10.0.0.tgz",
+ "integrity": "sha512-VCtXZAWivRglTZditUfB4StnsWr6YVZ2PRtuxQLKTNRdtAf8tpzaVPE9zXIF3VaSc7O70iK/j1+NXxyQCqdPjQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/css.escape": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
+ "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cssdb": {
+ "version": "8.3.1",
+ "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-8.3.1.tgz",
+ "integrity": "sha512-XnDRQMXucLueX92yDe0LPKupXetWoFOgawr4O4X41l5TltgK2NVbJJVDnnOywDYfW1sTJ28AcXGKOqdRKwCcmQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ }
+ ],
+ "license": "MIT-0"
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
+ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
+ "license": "MIT"
+ },
+ "node_modules/cytoscape": {
+ "version": "3.33.1",
+ "resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.33.1.tgz",
+ "integrity": "sha512-iJc4TwyANnOGR1OmWhsS9ayRS3s+XQ185FmuHObThD+5AeJCakAAbWv8KimMTt08xCCLNgneQwFp+JRJOr9qGQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/cytoscape-cose-bilkent": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/cytoscape-cose-bilkent/-/cytoscape-cose-bilkent-4.1.0.tgz",
+ "integrity": "sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==",
+ "license": "MIT",
+ "dependencies": {
+ "cose-base": "^1.0.0"
+ },
+ "peerDependencies": {
+ "cytoscape": "^3.2.0"
+ }
+ },
+ "node_modules/cytoscape-fcose": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",
+ "integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",
+ "license": "MIT",
+ "dependencies": {
+ "cose-base": "^2.2.0"
+ },
+ "peerDependencies": {
+ "cytoscape": "^3.2.0"
+ }
+ },
+ "node_modules/cytoscape-fcose/node_modules/cose-base": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",
+ "integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",
+ "license": "MIT",
+ "dependencies": {
+ "layout-base": "^2.0.0"
+ }
+ },
+ "node_modules/cytoscape-fcose/node_modules/layout-base": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",
+ "integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",
+ "license": "MIT"
+ },
+ "node_modules/d3": {
+ "version": "7.9.0",
+ "resolved": "https://registry.npmjs.org/d3/-/d3-7.9.0.tgz",
+ "integrity": "sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "3",
+ "d3-axis": "3",
+ "d3-brush": "3",
+ "d3-chord": "3",
+ "d3-color": "3",
+ "d3-contour": "4",
+ "d3-delaunay": "6",
+ "d3-dispatch": "3",
+ "d3-drag": "3",
+ "d3-dsv": "3",
+ "d3-ease": "3",
+ "d3-fetch": "3",
+ "d3-force": "3",
+ "d3-format": "3",
+ "d3-geo": "3",
+ "d3-hierarchy": "3",
+ "d3-interpolate": "3",
+ "d3-path": "3",
+ "d3-polygon": "3",
+ "d3-quadtree": "3",
+ "d3-random": "3",
+ "d3-scale": "4",
+ "d3-scale-chromatic": "3",
+ "d3-selection": "3",
+ "d3-shape": "3",
+ "d3-time": "3",
+ "d3-time-format": "4",
+ "d3-timer": "3",
+ "d3-transition": "3",
+ "d3-zoom": "3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-array": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
+ "license": "ISC",
+ "dependencies": {
+ "internmap": "1 - 2"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-axis": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-3.0.0.tgz",
+ "integrity": "sha512-IH5tgjV4jE/GhHkRV0HiVYPDtvfjHQlQfJHs0usq7M30XcSBvOotpmH1IgkcXsO/5gEQZD43B//fc7SRT5S+xw==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-brush": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-3.0.0.tgz",
+ "integrity": "sha512-ALnjWlVYkXsVIGlOsuWH1+3udkYFI48Ljihfnh8FZPF2QS9o+PzGLBslO0PjzVoHLZ2KCVgAM8NVkXPJB2aNnQ==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-dispatch": "1 - 3",
+ "d3-drag": "2 - 3",
+ "d3-interpolate": "1 - 3",
+ "d3-selection": "3",
+ "d3-transition": "3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-chord": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-3.0.1.tgz",
+ "integrity": "sha512-VE5S6TNa+j8msksl7HwjxMHDM2yNK3XCkusIlpX5kwauBfXuyLAtNg9jCp/iHH61tgI4sb6R/EIMWCqEIdjT/g==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-path": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-color": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-contour": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-4.0.2.tgz",
+ "integrity": "sha512-4EzFTRIikzs47RGmdxbeUvLWtGedDUNkTcmzoeyg4sP/dvCexO47AaQL7VKy/gul85TOxw+IBgA8US2xwbToNA==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "^3.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-delaunay": {
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz",
+ "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==",
+ "license": "ISC",
+ "dependencies": {
+ "delaunator": "5"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-dispatch": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-3.0.1.tgz",
+ "integrity": "sha512-rzUyPU/S7rwUflMyLc1ETDeBj0NRuHKKAcvukozwhshr6g6c5d8zh4c2gQjY2bZ0dXeGLWc1PF174P2tVvKhfg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-drag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-3.0.0.tgz",
+ "integrity": "sha512-pWbUJLdETVA8lQNJecMxoXfH6x+mO2UQo8rSmZ+QqxcbyA3hfeprFgIT//HW2nlHChWeIIMwS2Fq+gEARkhTkg==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-dispatch": "1 - 3",
+ "d3-selection": "3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-dsv": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-3.0.1.tgz",
+ "integrity": "sha512-UG6OvdI5afDIFP9w4G0mNq50dSOsXHJaRE8arAS5o9ApWnIElp8GZw1Dun8vP8OyHOZ/QJUKUJwxiiCCnUwm+Q==",
+ "license": "ISC",
+ "dependencies": {
+ "commander": "7",
+ "iconv-lite": "0.6",
+ "rw": "1"
+ },
+ "bin": {
+ "csv2json": "bin/dsv2json.js",
+ "csv2tsv": "bin/dsv2dsv.js",
+ "dsv2dsv": "bin/dsv2dsv.js",
+ "dsv2json": "bin/dsv2json.js",
+ "json2csv": "bin/json2dsv.js",
+ "json2dsv": "bin/json2dsv.js",
+ "json2tsv": "bin/json2dsv.js",
+ "tsv2csv": "bin/dsv2dsv.js",
+ "tsv2json": "bin/dsv2json.js"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-dsv/node_modules/commander": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz",
+ "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/d3-ease": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-fetch": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-3.0.1.tgz",
+ "integrity": "sha512-kpkQIM20n3oLVBKGg6oHrUchHM3xODkTzjMoj7aWQFq5QEM+R6E4WkzT5+tojDY7yjez8KgCBRoj4aEr99Fdqw==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-dsv": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-force": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-3.0.0.tgz",
+ "integrity": "sha512-zxV/SsA+U4yte8051P4ECydjD/S+qeYtnaIyAs9tgHCqfguma/aAQDjo85A9Z6EKhBirHRJHXIgJUlffT4wdLg==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-dispatch": "1 - 3",
+ "d3-quadtree": "1 - 3",
+ "d3-timer": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-format": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz",
+ "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-geo": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz",
+ "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2.5.0 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-hierarchy": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-3.1.2.tgz",
+ "integrity": "sha512-FX/9frcub54beBdugHjDCdikxThEqjnR93Qt7PvQTOHxyiNCAlvMrHhclk3cD5VeAaq9fxmfRp+CnWw9rEMBuA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-interpolate": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-color": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-polygon": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-3.0.1.tgz",
+ "integrity": "sha512-3vbA7vXYwfe1SYhED++fPUQlWSYTTGmFmQiany/gdbiWgU/iEyQzyymwL9SkJjFFuCS4902BSzewVGsHHmHtXg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-quadtree": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-3.0.1.tgz",
+ "integrity": "sha512-04xDrxQTDTCFwP5H6hRhsRcb9xxv2RzkcsygFzmkSIOJy3PeRJP7sNk3VRIbKXcog561P9oU0/rVH6vDROAgUw==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-random": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-3.0.1.tgz",
+ "integrity": "sha512-FXMe9GfxTxqd5D6jFsQ+DJ8BJS4E/fT5mqqdjovykEB2oFbTMDVdg1MGFxfQW+FBOGoB++k8swBrgwSHT1cUXQ==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-sankey": {
+ "version": "0.12.3",
+ "resolved": "https://registry.npmjs.org/d3-sankey/-/d3-sankey-0.12.3.tgz",
+ "integrity": "sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "d3-array": "1 - 2",
+ "d3-shape": "^1.2.0"
+ }
+ },
+ "node_modules/d3-sankey/node_modules/d3-array": {
+ "version": "2.12.1",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-2.12.1.tgz",
+ "integrity": "sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "internmap": "^1.0.0"
+ }
+ },
+ "node_modules/d3-sankey/node_modules/d3-path": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/d3-sankey/node_modules/d3-shape": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "d3-path": "1"
+ }
+ },
+ "node_modules/d3-sankey/node_modules/internmap": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-1.0.1.tgz",
+ "integrity": "sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==",
+ "license": "ISC"
+ },
+ "node_modules/d3-scale": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2.10.0 - 3",
+ "d3-format": "1 - 3",
+ "d3-interpolate": "1.2.0 - 3",
+ "d3-time": "2.1.1 - 3",
+ "d3-time-format": "2 - 4"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-scale-chromatic": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-3.1.0.tgz",
+ "integrity": "sha512-A3s5PWiZ9YCXFye1o246KoscMWqf8BsD9eRiJ3He7C9OBaxKhAd5TFCdEx/7VbKtxxTsu//1mMJFrEt572cEyQ==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-color": "1 - 3",
+ "d3-interpolate": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-selection": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-3.0.0.tgz",
+ "integrity": "sha512-fmTRWbNMmsmWq6xJV8D19U/gw/bwrHfNXxrIN+HfZgnzqTHp9jOmKMhsTUjXOJnZOdZY9Q28y4yebKzqDKlxlQ==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-shape": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-path": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-time": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-time-format": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",
+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-time": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-timer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-transition": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-3.0.1.tgz",
+ "integrity": "sha512-ApKvfjsSR6tg06xrL434C0WydLr7JewBB3V+/39RMHsaXTOG0zmt/OAXeng5M5LBm0ojmxJrpomQVZ1aPvBL4w==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-color": "1 - 3",
+ "d3-dispatch": "1 - 3",
+ "d3-ease": "1 - 3",
+ "d3-interpolate": "1 - 3",
+ "d3-timer": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "peerDependencies": {
+ "d3-selection": "2 - 3"
+ }
+ },
+ "node_modules/d3-zoom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-3.0.0.tgz",
+ "integrity": "sha512-b8AmV3kfQaqWAuacbPuNbL6vahnOJflOhexLzMMNLga62+/nh0JzvJ0aO/5a5MVgUFGS7Hu1P9P03o3fJkDCyw==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-dispatch": "1 - 3",
+ "d3-drag": "2 - 3",
+ "d3-interpolate": "1 - 3",
+ "d3-selection": "2 - 3",
+ "d3-transition": "2 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/dagre-d3-es": {
+ "version": "7.0.13",
+ "resolved": "https://registry.npmjs.org/dagre-d3-es/-/dagre-d3-es-7.0.13.tgz",
+ "integrity": "sha512-efEhnxpSuwpYOKRm/L5KbqoZmNNukHa/Flty4Wp62JRvgH2ojwVgPgdYyr4twpieZnyRDdIH7PY2mopX26+j2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "d3": "^7.9.0",
+ "lodash-es": "^4.17.21"
+ }
+ },
+ "node_modules/dayjs": {
+ "version": "1.11.19",
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.19.tgz",
+ "integrity": "sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz",
+ "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz",
+ "integrity": "sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/deep-eql": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-5.0.2.tgz",
+ "integrity": "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/delaunator": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.0.1.tgz",
+ "integrity": "sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==",
+ "license": "ISC",
+ "dependencies": {
+ "robust-predicates": "^3.0.2"
+ }
+ },
+ "node_modules/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
+ "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "license": "MIT",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/diff": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz",
+ "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.3.1"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/dom-accessibility-api": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
+ "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/dompurify": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.3.0.tgz",
+ "integrity": "sha512-r+f6MYR1gGN1eJv0TVQbhA7if/U7P87cdPl3HN5rikqaBSBxLiCb/b9O+2eG0cxz0ghyU+mU1QkbsOwERMYlWQ==",
+ "license": "(MPL-2.0 OR Apache-2.0)",
+ "optionalDependencies": {
+ "@types/trusted-types": "^2.0.7"
+ }
+ },
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.166",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.166.tgz",
+ "integrity": "sha512-QPWqHL0BglzPYyJJ1zSSmwFFL6MFXhbACOCcsCdUMCkzPdS9/OIBVxg516X/Ado2qwAq8k0nJJ7phQPCqiaFAw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.18.2",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.2.tgz",
+ "integrity": "sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
+ }
+ },
+ "node_modules/es-module-lexer": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-1.7.0.tgz",
+ "integrity": "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esbuild": {
+ "version": "0.25.5",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.5.tgz",
+ "integrity": "sha512-P8OtKZRv/5J5hhz0cUAdu/cLuPIKXpQl1R9pZtvmHWQvrAUVd0UNIPT4IB4W3rNOqVO0rlqHmCIbSwxh/c9yUQ==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.5",
+ "@esbuild/android-arm": "0.25.5",
+ "@esbuild/android-arm64": "0.25.5",
+ "@esbuild/android-x64": "0.25.5",
+ "@esbuild/darwin-arm64": "0.25.5",
+ "@esbuild/darwin-x64": "0.25.5",
+ "@esbuild/freebsd-arm64": "0.25.5",
+ "@esbuild/freebsd-x64": "0.25.5",
+ "@esbuild/linux-arm": "0.25.5",
+ "@esbuild/linux-arm64": "0.25.5",
+ "@esbuild/linux-ia32": "0.25.5",
+ "@esbuild/linux-loong64": "0.25.5",
+ "@esbuild/linux-mips64el": "0.25.5",
+ "@esbuild/linux-ppc64": "0.25.5",
+ "@esbuild/linux-riscv64": "0.25.5",
+ "@esbuild/linux-s390x": "0.25.5",
+ "@esbuild/linux-x64": "0.25.5",
+ "@esbuild/netbsd-arm64": "0.25.5",
+ "@esbuild/netbsd-x64": "0.25.5",
+ "@esbuild/openbsd-arm64": "0.25.5",
+ "@esbuild/openbsd-x64": "0.25.5",
+ "@esbuild/sunos-x64": "0.25.5",
+ "@esbuild/win32-arm64": "0.25.5",
+ "@esbuild/win32-ia32": "0.25.5",
+ "@esbuild/win32-x64": "0.25.5"
+ }
+ },
+ "node_modules/esbuild-register": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/esbuild-register/-/esbuild-register-3.6.0.tgz",
+ "integrity": "sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.4"
+ },
+ "peerDependencies": {
+ "esbuild": ">=0.12 <1"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.28.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.28.0.tgz",
+ "integrity": "sha512-ocgh41VhRlf9+fVpe7QKzwLj9c92fDiqOj8Y3Sd4/ZmVA4Btx4PlUYPq4pp9JDyupkf1upbEXecxL2mwNV7jPQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.20.0",
+ "@eslint/config-helpers": "^0.2.1",
+ "@eslint/core": "^0.14.0",
+ "@eslint/eslintrc": "^3.3.1",
+ "@eslint/js": "9.28.0",
+ "@eslint/plugin-kit": "^0.3.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "@types/json-schema": "^7.0.15",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.3.0",
+ "eslint-visitor-keys": "^4.2.0",
+ "espree": "^10.3.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
+ "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.4.20",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.20.tgz",
+ "integrity": "sha512-XpbHQ2q5gUF8BGOX4dHe+71qoirYMhApEPZ7sfhF/dNnOF1UXnCMGZf79SFTBO7Bz5YEIT4TMieSlJBWhP9WBA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": ">=8.40"
+ }
+ },
+ "node_modules/eslint-plugin-storybook": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-storybook/-/eslint-plugin-storybook-9.0.14.tgz",
+ "integrity": "sha512-YZsDhyFgVfeFPdvd7Xcl9ZusY7Jniq7AOAWN/cdg0a2Y+ywKKNYrQ+EfyuhXsiMjh58plYKMpJYxKVxeUwW9jw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/utils": "^8.8.1"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "eslint": ">=8",
+ "storybook": "^9.0.14"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
+ "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estree-util-is-identifier-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/expect-type": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.1.tgz",
+ "integrity": "sha512-/kP8CAwxzLVEeFrMm4kMmy4CCDlpipyA7MYLVrdJIkV0fYF0UaigQHRsxHiuY/GEea+bh4KSv3TIlgr+2UL6bw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/exsolve": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/exsolve/-/exsolve-1.0.7.tgz",
+ "integrity": "sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==",
+ "license": "MIT"
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "license": "MIT"
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/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,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fastq": {
+ "version": "1.19.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
+ "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fflate": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
+ "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/filesize": {
+ "version": "10.1.6",
+ "resolved": "https://registry.npmjs.org/filesize/-/filesize-10.1.6.tgz",
+ "integrity": "sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">= 10.4.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
+ "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/foreground-child": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
+ "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "cross-spawn": "^7.0.6",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/fraction.js": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "patreon",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
+ "node_modules/framer-motion": {
+ "version": "12.17.0",
+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.17.0.tgz",
+ "integrity": "sha512-2hISKgDk49yCLStwG1wf4Kdy/D6eBw9/eRNaWFIYoI9vMQ/Mqd1Fz+gzVlEtxJmtQ9y4IWnXm19/+UXD3dAYAA==",
+ "dependencies": {
+ "motion-dom": "^12.17.0",
+ "motion-utils": "^12.12.1",
+ "tslib": "^2.4.0"
+ },
+ "peerDependencies": {
+ "@emotion/is-prop-valid": "*",
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/is-prop-valid": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/get-tsconfig": {
+ "version": "4.10.1",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.1.tgz",
+ "integrity": "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "resolve-pkg-maps": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
+ }
+ },
+ "node_modules/glob": {
+ "version": "10.4.5",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
+ "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^3.1.2",
+ "minimatch": "^9.0.4",
+ "minipass": "^7.1.2",
+ "package-json-from-dist": "^1.0.0",
+ "path-scurry": "^1.11.1"
+ },
+ "bin": {
+ "glob": "dist/esm/bin.mjs"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/glob/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/globals": {
+ "version": "16.2.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.2.0.tgz",
+ "integrity": "sha512-O+7l9tPdHCU320IigZZPj5zmRCFG9xHmx9cU8FqU2Rp+JN714seHV+2S9+JslCpY4gJwU2vOGox0wzgae/MCEg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globrex": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
+ "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/goober": {
+ "version": "2.1.16",
+ "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.16.tgz",
+ "integrity": "sha512-erjk19y1U33+XAMe1VTvIONHYoSqE4iS7BYUZfHaqeohLmnC0FdxEh7rQU+6MZ4OajItzjZFSRtVANrQwNq6/g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "csstype": "^3.0.10"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/hachure-fill": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/hachure-fill/-/hachure-fill-0.5.2.tgz",
+ "integrity": "sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==",
+ "license": "MIT"
+ },
+ "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,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/hast-util-from-dom": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz",
+ "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==",
+ "license": "ISC",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hastscript": "^9.0.0",
+ "web-namespaces": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-from-html": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz",
+ "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "devlop": "^1.1.0",
+ "hast-util-from-parse5": "^8.0.0",
+ "parse5": "^7.0.0",
+ "vfile": "^6.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-from-html-isomorphic": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz",
+ "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-from-dom": "^5.0.0",
+ "hast-util-from-html": "^2.0.0",
+ "unist-util-remove-position": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-from-parse5": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz",
+ "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "devlop": "^1.0.0",
+ "hastscript": "^9.0.0",
+ "property-information": "^7.0.0",
+ "vfile": "^6.0.0",
+ "vfile-location": "^5.0.0",
+ "web-namespaces": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-is-element": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz",
+ "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-parse-selector": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz",
+ "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-raw": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.1.0.tgz",
+ "integrity": "sha512-Y8/SBAHkZGoNkpzqqfCldijcuUKh7/su31kEBp67cFY09Wy0mTRgtsLYsiIxMJxlu0f6AA5SUTbDR8K0rxnbUw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "hast-util-from-parse5": "^8.0.0",
+ "hast-util-to-parse5": "^8.0.0",
+ "html-void-elements": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "parse5": "^7.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0",
+ "web-namespaces": "^2.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-sanitize": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/hast-util-sanitize/-/hast-util-sanitize-5.0.2.tgz",
+ "integrity": "sha512-3yTWghByc50aGS7JlGhk61SPenfE/p1oaFeNwkOOyrscaOkMGrcW9+Cy/QAIOBpZxP1yqDIzFMR0+Np0i0+usg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "unist-util-position": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-html": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz",
+ "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "html-void-elements": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "stringify-entities": "^4.0.0",
+ "zwitch": "^2.0.4"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-jsx-runtime": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "estree-util-is-identifier-name": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "mdast-util-mdx-expression": "^2.0.0",
+ "mdast-util-mdx-jsx": "^3.0.0",
+ "mdast-util-mdxjs-esm": "^2.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-js": "^1.0.0",
+ "unist-util-position": "^5.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-parse5": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.0.tgz",
+ "integrity": "sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "property-information": "^6.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "web-namespaces": "^2.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-parse5/node_modules/property-information": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz",
+ "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/hast-util-to-string": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz",
+ "integrity": "sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-text": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz",
+ "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "hast-util-is-element": "^3.0.0",
+ "unist-util-find-after": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hastscript": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz",
+ "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-parse-selector": "^4.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/html-escaper": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/html-url-attributes": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/html-void-elements": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz",
+ "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
+ "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/inline-style-parser": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz",
+ "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==",
+ "license": "MIT"
+ },
+ "node_modules/internmap": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/is-alphabetical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",
+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-alphanumerical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",
+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-alphabetical": "^2.0.0",
+ "is-decimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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,
+ "license": "MIT",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
+ "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-decimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",
+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "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,
+ "license": "MIT",
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "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,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-hexadecimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",
+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/istanbul-lib-coverage": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/istanbul-lib-report": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "istanbul-lib-coverage": "^3.0.0",
+ "make-dir": "^4.0.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-lib-source-maps": {
+ "version": "5.0.6",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz",
+ "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.23",
+ "debug": "^4.1.1",
+ "istanbul-lib-coverage": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/istanbul-reports": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz",
+ "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "html-escaper": "^2.0.0",
+ "istanbul-lib-report": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/jackspeak": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz",
+ "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
+ }
+ },
+ "node_modules/jiti": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz",
+ "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jiti": "lib/jiti-cli.mjs"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "universalify": "^2.0.0"
+ },
+ "optionalDependencies": {
+ "graceful-fs": "^4.1.6"
+ }
+ },
+ "node_modules/katex": {
+ "version": "0.16.22",
+ "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz",
+ "integrity": "sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==",
+ "funding": [
+ "https://opencollective.com/katex",
+ "https://github.com/sponsors/katex"
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "commander": "^8.3.0"
+ },
+ "bin": {
+ "katex": "cli.js"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/khroma": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/khroma/-/khroma-2.1.0.tgz",
+ "integrity": "sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw=="
+ },
+ "node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/kolorist": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.8.0.tgz",
+ "integrity": "sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==",
+ "license": "MIT"
+ },
+ "node_modules/langium": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/langium/-/langium-3.3.1.tgz",
+ "integrity": "sha512-QJv/h939gDpvT+9SiLVlY7tZC3xB2qK57v0J04Sh9wpMb6MP1q8gB21L3WIo8T5P1MSMg3Ep14L7KkDCFG3y4w==",
+ "license": "MIT",
+ "dependencies": {
+ "chevrotain": "~11.0.3",
+ "chevrotain-allstar": "~0.3.0",
+ "vscode-languageserver": "~9.0.1",
+ "vscode-languageserver-textdocument": "~1.0.11",
+ "vscode-uri": "~3.0.8"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/layout-base": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/layout-base/-/layout-base-1.0.2.tgz",
+ "integrity": "sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==",
+ "license": "MIT"
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lightningcss": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.30.1.tgz",
+ "integrity": "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-darwin-arm64": "1.30.1",
+ "lightningcss-darwin-x64": "1.30.1",
+ "lightningcss-freebsd-x64": "1.30.1",
+ "lightningcss-linux-arm-gnueabihf": "1.30.1",
+ "lightningcss-linux-arm64-gnu": "1.30.1",
+ "lightningcss-linux-arm64-musl": "1.30.1",
+ "lightningcss-linux-x64-gnu": "1.30.1",
+ "lightningcss-linux-x64-musl": "1.30.1",
+ "lightningcss-win32-arm64-msvc": "1.30.1",
+ "lightningcss-win32-x64-msvc": "1.30.1"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.30.1.tgz",
+ "integrity": "sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-x64": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.30.1.tgz",
+ "integrity": "sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-freebsd-x64": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.30.1.tgz",
+ "integrity": "sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.30.1.tgz",
+ "integrity": "sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.30.1.tgz",
+ "integrity": "sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.30.1.tgz",
+ "integrity": "sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.30.1.tgz",
+ "integrity": "sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.30.1.tgz",
+ "integrity": "sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.30.1.tgz",
+ "integrity": "sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.30.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.1.tgz",
+ "integrity": "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/local-pkg": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-1.1.2.tgz",
+ "integrity": "sha512-arhlxbFRmoQHl33a0Zkle/YWlmNwoyt6QNZEIJcqNbdrsix5Lvc4HyyI3EnwxTYlZYc32EbYrQ8SzEZ7dqgg9A==",
+ "license": "MIT",
+ "dependencies": {
+ "mlly": "^1.7.4",
+ "pkg-types": "^2.3.0",
+ "quansync": "^0.2.11"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash-es": {
+ "version": "4.17.21",
+ "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz",
+ "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==",
+ "license": "MIT"
+ },
+ "node_modules/lodash.castarray": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/lodash.castarray/-/lodash.castarray-4.4.0.tgz",
+ "integrity": "sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.isplainobject": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
+ "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/longest-streak": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",
+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/loupe": {
+ "version": "3.1.4",
+ "resolved": "https://registry.npmjs.org/loupe/-/loupe-3.1.4.tgz",
+ "integrity": "sha512-wJzkKwJrheKtknCOKNEtDK4iqg/MxmZheEMtSTYvnzRdEYaZzmgH976nenp8WdJRdx5Vc1X/9MO0Oszl6ezeXg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lucide-react": {
+ "version": "0.542.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.542.0.tgz",
+ "integrity": "sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/lz-string": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
+ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "lz-string": "bin/bin.js"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.17",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz",
+ "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0"
+ }
+ },
+ "node_modules/magicast": {
+ "version": "0.3.5",
+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz",
+ "integrity": "sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.25.4",
+ "@babel/types": "^7.25.4",
+ "source-map-js": "^1.2.0"
+ }
+ },
+ "node_modules/make-dir": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.5.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/make-dir/node_modules/semver": {
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/markdown-table": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",
+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/marked": {
+ "version": "16.4.1",
+ "resolved": "https://registry.npmjs.org/marked/-/marked-16.4.1.tgz",
+ "integrity": "sha512-ntROs7RaN3EvWfy3EZi14H4YxmT6A5YvywfhO+0pm+cH/dnSQRmdAmoFIc3B9aiwTehyk7pESH4ofyBY+V5hZg==",
+ "license": "MIT",
+ "bin": {
+ "marked": "bin/marked.js"
+ },
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/mdast-util-find-and-replace": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",
+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "escape-string-regexp": "^5.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mdast-util-from-markdown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz",
+ "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark": "^4.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",
+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-gfm-autolink-literal": "^2.0.0",
+ "mdast-util-gfm-footnote": "^2.0.0",
+ "mdast-util-gfm-strikethrough": "^2.0.0",
+ "mdast-util-gfm-table": "^2.0.0",
+ "mdast-util-gfm-task-list-item": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-strikethrough": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",
+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-table": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",
+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "markdown-table": "^3.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-task-list-item": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",
+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm/node_modules/mdast-util-gfm-autolink-literal": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.0.tgz",
+ "integrity": "sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-find-and-replace": "^3.0.0",
+ "micromark-util-character": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-math": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz",
+ "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.1.0",
+ "unist-util-remove-position": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-expression": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",
+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-jsx": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",
+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "parse-entities": "^4.0.0",
+ "stringify-entities": "^4.0.0",
+ "unist-util-stringify-position": "^4.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdxjs-esm": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",
+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-phrasing": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-hast": {
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz",
+ "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "trim-lines": "^3.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-markdown": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",
+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-phrasing": "^4.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "unist-util-visit": "^5.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",
+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/mermaid": {
+ "version": "11.12.1",
+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-11.12.1.tgz",
+ "integrity": "sha512-UlIZrRariB11TY1RtTgUWp65tphtBv4CSq7vyS2ZZ2TgoMjs2nloq+wFqxiwcxlhHUvs7DPGgMjs2aeQxz5h9g==",
+ "license": "MIT",
+ "dependencies": {
+ "@braintree/sanitize-url": "^7.1.1",
+ "@iconify/utils": "^3.0.1",
+ "@mermaid-js/parser": "^0.6.3",
+ "@types/d3": "^7.4.3",
+ "cytoscape": "^3.29.3",
+ "cytoscape-cose-bilkent": "^4.1.0",
+ "cytoscape-fcose": "^2.2.0",
+ "d3": "^7.9.0",
+ "d3-sankey": "^0.12.3",
+ "dagre-d3-es": "7.0.13",
+ "dayjs": "^1.11.18",
+ "dompurify": "^3.2.5",
+ "katex": "^0.16.22",
+ "khroma": "^2.1.0",
+ "lodash-es": "^4.17.21",
+ "marked": "^16.2.1",
+ "roughjs": "^4.6.6",
+ "stylis": "^4.3.6",
+ "ts-dedent": "^2.2.0",
+ "uuid": "^11.1.0"
+ }
+ },
+ "node_modules/micromark": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",
+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@types/debug": "^4.0.0",
+ "debug": "^4.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-core-commonmark": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",
+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-factory-destination": "^2.0.0",
+ "micromark-factory-label": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-factory-title": "^2.0.0",
+ "micromark-factory-whitespace": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-extension-gfm": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",
+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-extension-gfm-autolink-literal": "^2.0.0",
+ "micromark-extension-gfm-footnote": "^2.0.0",
+ "micromark-extension-gfm-strikethrough": "^2.0.0",
+ "micromark-extension-gfm-table": "^2.0.0",
+ "micromark-extension-gfm-tagfilter": "^2.0.0",
+ "micromark-extension-gfm-task-list-item": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-autolink-literal": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",
+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-strikethrough": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",
+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-table": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",
+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-tagfilter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",
+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-task-list-item": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",
+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-llm-math": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-llm-math/-/micromark-extension-llm-math-3.1.0.tgz",
+ "integrity": "sha512-VIYHuIEk0gpHrojEtNGaxGwdpSLtdWYlLL2vu9PM4M1ilEtak10S8F9zzbNAPBNRoWFs/bjs+J7R3yUBoIQUEA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/katex": "^0.16.0",
+ "devlop": "^1.0.0",
+ "katex": "^0.16.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-math": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz",
+ "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/katex": "^0.16.0",
+ "devlop": "^1.0.0",
+ "katex": "^0.16.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-factory-destination": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",
+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-label": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",
+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-space": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",
+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-title": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",
+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-whitespace": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",
+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-character": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-chunked": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",
+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-classify-character": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",
+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-combine-extensions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",
+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-numeric-character-reference": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",
+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-string": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",
+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-encode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-html-tag-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",
+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-normalize-identifier": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",
+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-resolve-all": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",
+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-sanitize-uri": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",
+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-subtokenize": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",
+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-symbol": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",
+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-types": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",
+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "license": "ISC",
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/minipass": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz",
+ "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/minizlib": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.2.tgz",
+ "integrity": "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
+ "node_modules/mkdirp": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz",
+ "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "mkdirp": "dist/cjs/src/bin.js"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/mlly": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.0.tgz",
+ "integrity": "sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==",
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "pathe": "^2.0.3",
+ "pkg-types": "^1.3.1",
+ "ufo": "^1.6.1"
+ }
+ },
+ "node_modules/mlly/node_modules/confbox": {
+ "version": "0.1.8",
+ "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz",
+ "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==",
+ "license": "MIT"
+ },
+ "node_modules/mlly/node_modules/pkg-types": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz",
+ "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==",
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.1.8",
+ "mlly": "^1.7.4",
+ "pathe": "^2.0.1"
+ }
+ },
+ "node_modules/motion-dom": {
+ "version": "12.17.0",
+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.17.0.tgz",
+ "integrity": "sha512-FA6/c70R9NKs3g41XDVONzmUUrEmyaifLVGCWtAmHP0usDnX9W+RN/tmbC4EUl0w6yLGvMTOwnWCFVgA5luhRg==",
+ "dependencies": {
+ "motion-utils": "^12.12.1"
+ }
+ },
+ "node_modules/motion-utils": {
+ "version": "12.12.1",
+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.12.1.tgz",
+ "integrity": "sha512-f9qiqUHm7hWSLlNW8gS9pisnsN7CRFRD58vNjptKdsqFLpkVnX00TNeD6Q0d27V9KzT7ySFyK1TZ/DShfVOv6w=="
+ },
+ "node_modules/mrmime": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz",
+ "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "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==",
+ "license": "MIT"
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.19",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz",
+ "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/normalize-range": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz",
+ "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/ollama": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/ollama/-/ollama-0.6.0.tgz",
+ "integrity": "sha512-FHjdU2Ok5x2HZsxPui/MBJZ5J+HzmxoWYa/p9wk736eT+uAhS8nvIICar5YgwlG5MFNjDR6UA5F3RSKq+JseOA==",
+ "license": "MIT",
+ "dependencies": {
+ "whatwg-fetch": "^3.6.20"
+ }
+ },
+ "node_modules/oniguruma-parser": {
+ "version": "0.12.1",
+ "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.1.tgz",
+ "integrity": "sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==",
+ "license": "MIT"
+ },
+ "node_modules/oniguruma-to-es": {
+ "version": "4.3.3",
+ "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.3.tgz",
+ "integrity": "sha512-rPiZhzC3wXwE59YQMRDodUwwT9FZ9nNBwQQfsd1wfdtlKEyCdRV0avrTcSZ5xlIvGRVPd/cx6ZN45ECmS39xvg==",
+ "license": "MIT",
+ "dependencies": {
+ "oniguruma-parser": "^0.12.1",
+ "regex": "^6.0.1",
+ "regex-recursion": "^6.0.2"
+ }
+ },
+ "node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/package-json-from-dist": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
+ "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0"
+ },
+ "node_modules/package-manager-detector": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.5.0.tgz",
+ "integrity": "sha512-uBj69dVlYe/+wxj8JOpr97XfsxH/eumMt6HqjNTmJDf/6NO9s+0uxeOneIz3AsPt2m6y9PqzDzd3ATcU17MNfw==",
+ "license": "MIT"
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-entities": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",
+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^2.0.0",
+ "character-entities-legacy": "^3.0.0",
+ "character-reference-invalid": "^2.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "is-alphanumerical": "^2.0.0",
+ "is-decimal": "^2.0.0",
+ "is-hexadecimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/parse-entities/node_modules/@types/unist": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
+ "license": "MIT"
+ },
+ "node_modules/parse-numeric-range": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz",
+ "integrity": "sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ==",
+ "license": "ISC"
+ },
+ "node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
+ "node_modules/path-data-parser": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/path-data-parser/-/path-data-parser-0.1.0.tgz",
+ "integrity": "sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==",
+ "license": "MIT"
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/path-scurry": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz",
+ "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "lru-cache": "^10.2.0",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/path-scurry/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/pathe": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz",
+ "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==",
+ "license": "MIT"
+ },
+ "node_modules/pathval": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/pathval/-/pathval-2.0.1.tgz",
+ "integrity": "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.16"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/pkg-types": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-2.3.0.tgz",
+ "integrity": "sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==",
+ "license": "MIT",
+ "dependencies": {
+ "confbox": "^0.2.2",
+ "exsolve": "^1.0.7",
+ "pathe": "^2.0.3"
+ }
+ },
+ "node_modules/playwright": {
+ "version": "1.53.2",
+ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.53.2.tgz",
+ "integrity": "sha512-6K/qQxVFuVQhRQhFsVZ9fGeatxirtrpPgxzBYWyZLEXJzqYwuL4fuNmfOfD5et1tJE4GScKyPNeLhZeRwuTU3A==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "playwright-core": "1.53.2"
+ },
+ "bin": {
+ "playwright": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "fsevents": "2.3.2"
+ }
+ },
+ "node_modules/playwright-core": {
+ "version": "1.53.2",
+ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.53.2.tgz",
+ "integrity": "sha512-ox/OytMy+2w1jcYEYlOo1Hhp8hZkLCximMTUTMBXjGUA1KoFfiSZ+DU+3a739jsPY0yoKH2TFy9S2fsJas8yAw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "playwright-core": "cli.js"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/playwright/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,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/points-on-curve": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/points-on-curve/-/points-on-curve-0.2.0.tgz",
+ "integrity": "sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==",
+ "license": "MIT"
+ },
+ "node_modules/points-on-path": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/points-on-path/-/points-on-path-0.2.1.tgz",
+ "integrity": "sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==",
+ "license": "MIT",
+ "dependencies": {
+ "path-data-parser": "0.1.0",
+ "points-on-curve": "0.2.0"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.4",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.4.tgz",
+ "integrity": "sha512-QSa9EBe+uwlGTFmHsPKokv3B/oEMQZxfqW0QqNCyhpa6mB1afzulwn8hihglqAb2pOw+BJgNlmXQ8la2VeHB7w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-attribute-case-insensitive": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-7.0.1.tgz",
+ "integrity": "sha512-Uai+SupNSqzlschRyNx3kbCTWgY/2hcwtHEI/ej2LJWc9JJ77qKgGptd8DHwY1mXtZ7Aoh4z4yxfwMBue9eNgw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-attribute-case-insensitive/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-clamp": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-clamp/-/postcss-clamp-4.1.0.tgz",
+ "integrity": "sha512-ry4b1Llo/9zz+PKC+030KUnPITTJAHeOwjfAyyB60eT0AorGLdzp52s31OsPRHRf8NchkgFoG2y6fCfn1IV1Ow==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=7.6.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.6"
+ }
+ },
+ "node_modules/postcss-color-functional-notation": {
+ "version": "7.0.10",
+ "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-7.0.10.tgz",
+ "integrity": "sha512-k9qX+aXHBiLTRrWoCJuUFI6F1iF6QJQUXNVWJVSbqZgj57jDhBlOvD8gNUGl35tgqDivbGLhZeW3Ongz4feuKA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-color-hex-alpha": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-10.0.0.tgz",
+ "integrity": "sha512-1kervM2cnlgPs2a8Vt/Qbe5cQ++N7rkYo/2rz2BkqJZIHQwaVuJgQH38REHrAi4uM0b1fqxMkWYmese94iMp3w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-color-rebeccapurple": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-10.0.0.tgz",
+ "integrity": "sha512-JFta737jSP+hdAIEhk1Vs0q0YF5P8fFcj+09pweS8ktuGuZ8pPlykHsk6mPxZ8awDl4TrcxUqJo9l1IhVr/OjQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-custom-media": {
+ "version": "11.0.6",
+ "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-11.0.6.tgz",
+ "integrity": "sha512-C4lD4b7mUIw+RZhtY7qUbf4eADmb7Ey8BFA2px9jUbwg7pjTZDl4KY4bvlUV+/vXQvzQRfiGEVJyAbtOsCMInw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/cascade-layer-name-parser": "^2.0.5",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/media-query-list-parser": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-custom-properties": {
+ "version": "14.0.6",
+ "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-14.0.6.tgz",
+ "integrity": "sha512-fTYSp3xuk4BUeVhxCSJdIPhDLpJfNakZKoiTDx7yRGCdlZrSJR7mWKVOBS4sBF+5poPQFMj2YdXx1VHItBGihQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/cascade-layer-name-parser": "^2.0.5",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-custom-selectors": {
+ "version": "8.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-8.0.5.tgz",
+ "integrity": "sha512-9PGmckHQswiB2usSO6XMSswO2yFWVoCAuih1yl9FVcwkscLjRKjwsjM3t+NIWpSU2Jx3eOiK2+t4vVTQaoCHHg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/cascade-layer-name-parser": "^2.0.5",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-dir-pseudo-class": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-9.0.1.tgz",
+ "integrity": "sha512-tRBEK0MHYvcMUrAuYMEOa0zg9APqirBcgzi6P21OhxtJyJADo/SWBwY1CAwEohQ/6HDaa9jCjLRG7K3PVQYHEA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-double-position-gradients": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-6.0.2.tgz",
+ "integrity": "sha512-7qTqnL7nfLRyJK/AHSVrrXOuvDDzettC+wGoienURV8v2svNbu6zJC52ruZtHaO6mfcagFmuTGFdzRsJKB3k5Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-focus-visible": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-10.0.1.tgz",
+ "integrity": "sha512-U58wyjS/I1GZgjRok33aE8juW9qQgQUNwTSdxQGuShHzwuYdcklnvK/+qOWX1Q9kr7ysbraQ6ht6r+udansalA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-focus-visible/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-focus-within": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-9.0.1.tgz",
+ "integrity": "sha512-fzNUyS1yOYa7mOjpci/bR+u+ESvdar6hk8XNK/TRR0fiGTp2QT5N+ducP0n3rfH/m9I7H/EQU6lsa2BrgxkEjw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-focus-within/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-font-variant": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-5.0.0.tgz",
+ "integrity": "sha512-1fmkBaCALD72CK2a9i468mA/+tr9/1cBxRRMXOUaZqO43oWPR5imcyPjXwuv7PXbCid4ndlP5zWhidQVVa3hmA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/postcss-gap-properties": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-6.0.0.tgz",
+ "integrity": "sha512-Om0WPjEwiM9Ru+VhfEDPZJAKWUd0mV1HmNXqp2C29z80aQ2uP9UVhLc7e3aYMIor/S5cVhoPgYQ7RtfeZpYTRw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-image-set-function": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-7.0.0.tgz",
+ "integrity": "sha512-QL7W7QNlZuzOwBTeXEmbVckNt1FSmhQtbMRvGGqqU4Nf4xk6KUEQhAoWuMzwbSv5jxiRiSZ5Tv7eiDB9U87znA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/utilities": "^2.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-lab-function": {
+ "version": "7.0.10",
+ "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-7.0.10.tgz",
+ "integrity": "sha512-tqs6TCEv9tC1Riq6fOzHuHcZyhg4k3gIAMB8GGY/zA1ssGdm6puHMVE7t75aOSoFg7UD2wyrFFhbldiCMyyFTQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/css-color-parser": "^3.0.10",
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/utilities": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-logical": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-8.1.0.tgz",
+ "integrity": "sha512-pL1hXFQ2fEXNKiNiAgtfA005T9FBxky5zkX6s4GZM2D8RkVgRqz3f4g1JUoq925zXv495qk8UNldDwh8uGEDoA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-nesting": {
+ "version": "13.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-13.0.2.tgz",
+ "integrity": "sha512-1YCI290TX+VP0U/K/aFxzHzQWHWURL+CtHMSbex1lCdpXD1SoR2sYuxDu5aNI9lPoXpKTCggFZiDJbwylU0LEQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/selector-resolve-nested": "^3.1.0",
+ "@csstools/selector-specificity": "^5.0.0",
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-3.1.0.tgz",
+ "integrity": "sha512-mf1LEW0tJLKfWyvn5KdDrhpxHyuxpbNwTIwOYLIvsTffeyOf85j5oIzfG0yosxDgx/sswlqBnESYUcQH0vgZ0g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ }
+ },
+ "node_modules/postcss-nesting/node_modules/@csstools/selector-specificity": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz",
+ "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ }
+ },
+ "node_modules/postcss-nesting/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-opacity-percentage": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-opacity-percentage/-/postcss-opacity-percentage-3.0.0.tgz",
+ "integrity": "sha512-K6HGVzyxUxd/VgZdX04DCtdwWJ4NGLG212US4/LA1TLAbHgmAsTWVR86o+gGIbFtnTkfOpb9sCRBx8K7HO66qQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "kofi",
+ "url": "https://ko-fi.com/mrcgrtz"
+ },
+ {
+ "type": "liberapay",
+ "url": "https://liberapay.com/mrcgrtz"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-overflow-shorthand": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-6.0.0.tgz",
+ "integrity": "sha512-BdDl/AbVkDjoTofzDQnwDdm/Ym6oS9KgmO7Gr+LHYjNWJ6ExORe4+3pcLQsLA9gIROMkiGVjjwZNoL/mpXHd5Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-page-break": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-3.0.4.tgz",
+ "integrity": "sha512-1JGu8oCjVXLa9q9rFTo4MbeeA5FMe00/9C7lN4va606Rdb+HkxXtXsmEDrIraQ11fGz/WvKWa8gMuCKkrXpTsQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "postcss": "^8"
+ }
+ },
+ "node_modules/postcss-place": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-10.0.0.tgz",
+ "integrity": "sha512-5EBrMzat2pPAxQNWYavwAfoKfYcTADJ8AXGVPcUZ2UkNloUTWzJQExgrzrDkh3EKzmAx1evfTAzF9I8NGcc+qw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-value-parser": "^4.2.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-preset-env": {
+ "version": "10.2.4",
+ "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.2.4.tgz",
+ "integrity": "sha512-q+lXgqmTMdB0Ty+EQ31SuodhdfZetUlwCA/F0zRcd/XdxjzI+Rl2JhZNz5US2n/7t9ePsvuhCnEN4Bmu86zXlA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "@csstools/postcss-cascade-layers": "^5.0.2",
+ "@csstools/postcss-color-function": "^4.0.10",
+ "@csstools/postcss-color-mix-function": "^3.0.10",
+ "@csstools/postcss-color-mix-variadic-function-arguments": "^1.0.0",
+ "@csstools/postcss-content-alt-text": "^2.0.6",
+ "@csstools/postcss-exponential-functions": "^2.0.9",
+ "@csstools/postcss-font-format-keywords": "^4.0.0",
+ "@csstools/postcss-gamut-mapping": "^2.0.10",
+ "@csstools/postcss-gradients-interpolation-method": "^5.0.10",
+ "@csstools/postcss-hwb-function": "^4.0.10",
+ "@csstools/postcss-ic-unit": "^4.0.2",
+ "@csstools/postcss-initial": "^2.0.1",
+ "@csstools/postcss-is-pseudo-class": "^5.0.3",
+ "@csstools/postcss-light-dark-function": "^2.0.9",
+ "@csstools/postcss-logical-float-and-clear": "^3.0.0",
+ "@csstools/postcss-logical-overflow": "^2.0.0",
+ "@csstools/postcss-logical-overscroll-behavior": "^2.0.0",
+ "@csstools/postcss-logical-resize": "^3.0.0",
+ "@csstools/postcss-logical-viewport-units": "^3.0.4",
+ "@csstools/postcss-media-minmax": "^2.0.9",
+ "@csstools/postcss-media-queries-aspect-ratio-number-values": "^3.0.5",
+ "@csstools/postcss-nested-calc": "^4.0.0",
+ "@csstools/postcss-normalize-display-values": "^4.0.0",
+ "@csstools/postcss-oklab-function": "^4.0.10",
+ "@csstools/postcss-progressive-custom-properties": "^4.1.0",
+ "@csstools/postcss-random-function": "^2.0.1",
+ "@csstools/postcss-relative-color-syntax": "^3.0.10",
+ "@csstools/postcss-scope-pseudo-class": "^4.0.1",
+ "@csstools/postcss-sign-functions": "^1.1.4",
+ "@csstools/postcss-stepped-value-functions": "^4.0.9",
+ "@csstools/postcss-text-decoration-shorthand": "^4.0.2",
+ "@csstools/postcss-trigonometric-functions": "^4.0.9",
+ "@csstools/postcss-unset-value": "^4.0.0",
+ "autoprefixer": "^10.4.21",
+ "browserslist": "^4.25.0",
+ "css-blank-pseudo": "^7.0.1",
+ "css-has-pseudo": "^7.0.2",
+ "css-prefers-color-scheme": "^10.0.0",
+ "cssdb": "^8.3.0",
+ "postcss-attribute-case-insensitive": "^7.0.1",
+ "postcss-clamp": "^4.1.0",
+ "postcss-color-functional-notation": "^7.0.10",
+ "postcss-color-hex-alpha": "^10.0.0",
+ "postcss-color-rebeccapurple": "^10.0.0",
+ "postcss-custom-media": "^11.0.6",
+ "postcss-custom-properties": "^14.0.6",
+ "postcss-custom-selectors": "^8.0.5",
+ "postcss-dir-pseudo-class": "^9.0.1",
+ "postcss-double-position-gradients": "^6.0.2",
+ "postcss-focus-visible": "^10.0.1",
+ "postcss-focus-within": "^9.0.1",
+ "postcss-font-variant": "^5.0.0",
+ "postcss-gap-properties": "^6.0.0",
+ "postcss-image-set-function": "^7.0.0",
+ "postcss-lab-function": "^7.0.10",
+ "postcss-logical": "^8.1.0",
+ "postcss-nesting": "^13.0.2",
+ "postcss-opacity-percentage": "^3.0.0",
+ "postcss-overflow-shorthand": "^6.0.0",
+ "postcss-page-break": "^3.0.4",
+ "postcss-place": "^10.0.0",
+ "postcss-pseudo-class-any-link": "^10.0.1",
+ "postcss-replace-overflow-wrap": "^4.0.0",
+ "postcss-selector-not": "^8.0.1"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-pseudo-class-any-link": {
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-10.0.1.tgz",
+ "integrity": "sha512-3el9rXlBOqTFaMFkWDOkHUTQekFIYnaQY55Rsp8As8QQkpiSgIYEcF/6Ond93oHiDsGb4kad8zjt+NPlOC1H0Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-replace-overflow-wrap": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-4.0.0.tgz",
+ "integrity": "sha512-KmF7SBPphT4gPPcKZc7aDkweHiKEEO8cla/GjcBK+ckKxiZslIu3C4GCRW3DNfL0o7yW7kMQu9xlZ1kXRXLXtw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "postcss": "^8.0.3"
+ }
+ },
+ "node_modules/postcss-selector-not": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-8.0.1.tgz",
+ "integrity": "sha512-kmVy/5PYVb2UOhy0+LqUYAhKj7DUGDpSWa5LZqlkWJaaAV+dxxsOG3+St0yNLu6vsKD7Dmqx+nWQt0iil89+WA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4"
+ }
+ },
+ "node_modules/postcss-selector-not/node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
+ "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.0.10",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.10.tgz",
+ "integrity": "sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
+ "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/pretty-format": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^17.0.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ }
+ },
+ "node_modules/pretty-format/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/property-information": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
+ "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/quansync": {
+ "version": "0.2.11",
+ "resolved": "https://registry.npmjs.org/quansync/-/quansync-0.2.11.tgz",
+ "integrity": "sha512-AifT7QEbW9Nri4tAwR5M/uzpBuqfZf+zwaEM/QkzEjj7NBuFD2rBuy0K3dE+8wltbezDV7JMA0WfnCPYRSYbXA==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/antfu"
+ },
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/sxzz"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/react": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
+ "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-docgen": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/react-docgen/-/react-docgen-8.0.0.tgz",
+ "integrity": "sha512-kmob/FOTwep7DUWf9KjuenKX0vyvChr3oTdvvPt09V60Iz75FJp+T/0ZeHMbAfJj2WaVWqAPP5Hmm3PYzSPPKg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.18.9",
+ "@babel/traverse": "^7.18.9",
+ "@babel/types": "^7.18.9",
+ "@types/babel__core": "^7.18.0",
+ "@types/babel__traverse": "^7.18.0",
+ "@types/doctrine": "^0.0.9",
+ "@types/resolve": "^1.20.2",
+ "doctrine": "^3.0.0",
+ "resolve": "^1.22.1",
+ "strip-indent": "^4.0.0"
+ },
+ "engines": {
+ "node": "^20.9.0 || >=22"
+ }
+ },
+ "node_modules/react-docgen-typescript": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/react-docgen-typescript/-/react-docgen-typescript-2.4.0.tgz",
+ "integrity": "sha512-ZtAp5XTO5HRzQctjPU0ybY0RRCQO19X/8fxn3w7y2VVTUbGHDKULPTL4ky3vB05euSgG5NpALhEhDPvQ56wvXg==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "typescript": ">= 4.3.x"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.1.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz",
+ "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==",
+ "license": "MIT",
+ "dependencies": {
+ "scheduler": "^0.26.0"
+ },
+ "peerDependencies": {
+ "react": "^19.1.0"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/react-markdown": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",
+ "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "hast-util-to-jsx-runtime": "^2.0.0",
+ "html-url-attributes": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-rehype": "^11.0.0",
+ "unified": "^11.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18",
+ "react": ">=18"
+ }
+ },
+ "node_modules/react-refresh": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",
+ "integrity": "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/recast": {
+ "version": "0.23.11",
+ "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.11.tgz",
+ "integrity": "sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ast-types": "^0.16.1",
+ "esprima": "~4.0.0",
+ "source-map": "~0.6.1",
+ "tiny-invariant": "^1.3.3",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/redent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "indent-string": "^4.0.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/redent/node_modules/strip-indent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/refractor": {
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/refractor/-/refractor-4.9.0.tgz",
+ "integrity": "sha512-nEG1SPXFoGGx+dcjftjv8cAjEusIh6ED1xhf5DG3C0x/k+rmZ2duKnc3QLpt6qeHv5fPb8uwN3VWN2BT7fr3Og==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^2.0.0",
+ "@types/prismjs": "^1.0.0",
+ "hastscript": "^7.0.0",
+ "parse-entities": "^4.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/refractor/node_modules/@types/hast": {
+ "version": "2.3.10",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz",
+ "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^2"
+ }
+ },
+ "node_modules/refractor/node_modules/@types/unist": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
+ "license": "MIT"
+ },
+ "node_modules/refractor/node_modules/hast-util-parse-selector": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz",
+ "integrity": "sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/refractor/node_modules/hastscript": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz",
+ "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^2.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-parse-selector": "^3.0.0",
+ "property-information": "^6.0.0",
+ "space-separated-tokens": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/refractor/node_modules/property-information": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz",
+ "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/regex/-/regex-6.0.1.tgz",
+ "integrity": "sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==",
+ "license": "MIT",
+ "dependencies": {
+ "regex-utilities": "^2.3.0"
+ }
+ },
+ "node_modules/regex-recursion": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz",
+ "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==",
+ "license": "MIT",
+ "dependencies": {
+ "regex-utilities": "^2.3.0"
+ }
+ },
+ "node_modules/regex-utilities": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz",
+ "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==",
+ "license": "MIT"
+ },
+ "node_modules/rehype-harden": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/rehype-harden/-/rehype-harden-1.1.5.tgz",
+ "integrity": "sha512-JrtBj5BVd/5vf3H3/blyJatXJbzQfRT9pJBmjafbTaPouQCAKxHwRyCc7dle9BXQKxv4z1OzZylz/tNamoiG3A==",
+ "license": "MIT"
+ },
+ "node_modules/rehype-katex": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz",
+ "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/katex": "^0.16.0",
+ "hast-util-from-html-isomorphic": "^2.0.0",
+ "hast-util-to-text": "^4.0.0",
+ "katex": "^0.16.0",
+ "unist-util-visit-parents": "^6.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-parse": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz",
+ "integrity": "sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-from-html": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-prism-plus": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/rehype-prism-plus/-/rehype-prism-plus-2.0.1.tgz",
+ "integrity": "sha512-Wglct0OW12tksTUseAPyWPo3srjBOY7xKlql/DPKi7HbsdZTyaLCAoO58QBKSczFQxElTsQlOY3JDOFzB/K++Q==",
+ "license": "MIT",
+ "dependencies": {
+ "hast-util-to-string": "^3.0.0",
+ "parse-numeric-range": "^1.3.0",
+ "refractor": "^4.8.0",
+ "rehype-parse": "^9.0.0",
+ "unist-util-filter": "^5.0.0",
+ "unist-util-visit": "^5.0.0"
+ }
+ },
+ "node_modules/rehype-raw": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/rehype-raw/-/rehype-raw-7.0.0.tgz",
+ "integrity": "sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-raw": "^9.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/rehype-sanitize": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/rehype-sanitize/-/rehype-sanitize-6.0.0.tgz",
+ "integrity": "sha512-CsnhKNsyI8Tub6L4sm5ZFsme4puGfc6pYylvXo1AeqaGbjOYyzNv3qZPwvs0oMJ39eryyeOdmxwUIo94IpEhqg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "hast-util-sanitize": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark": {
+ "version": "15.0.1",
+ "resolved": "https://registry.npmjs.org/remark/-/remark-15.0.1.tgz",
+ "integrity": "sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-gfm": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",
+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-gfm": "^3.0.0",
+ "micromark-extension-gfm": "^3.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-math": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz",
+ "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-math": "^3.0.0",
+ "micromark-extension-math": "^3.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-parse": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",
+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-rehype": {
+ "version": "11.1.2",
+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",
+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-stringify": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",
+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.10",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
+ "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.16.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/resolve-pkg-maps": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/robust-predicates": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",
+ "integrity": "sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==",
+ "license": "Unlicense"
+ },
+ "node_modules/rollup": {
+ "version": "4.42.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.42.0.tgz",
+ "integrity": "sha512-LW+Vse3BJPyGJGAJt1j8pWDKPd73QM8cRXYK1IxOBgL2AGLu7Xd2YOW0M2sLUBCkF5MshXXtMApyEAEzMVMsnw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.7"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.42.0",
+ "@rollup/rollup-android-arm64": "4.42.0",
+ "@rollup/rollup-darwin-arm64": "4.42.0",
+ "@rollup/rollup-darwin-x64": "4.42.0",
+ "@rollup/rollup-freebsd-arm64": "4.42.0",
+ "@rollup/rollup-freebsd-x64": "4.42.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.42.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.42.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.42.0",
+ "@rollup/rollup-linux-arm64-musl": "4.42.0",
+ "@rollup/rollup-linux-loongarch64-gnu": "4.42.0",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.42.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.42.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.42.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.42.0",
+ "@rollup/rollup-linux-x64-gnu": "4.42.0",
+ "@rollup/rollup-linux-x64-musl": "4.42.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.42.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.42.0",
+ "@rollup/rollup-win32-x64-msvc": "4.42.0",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/rollup/node_modules/@types/estree": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",
+ "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/roughjs": {
+ "version": "4.6.6",
+ "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz",
+ "integrity": "sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==",
+ "license": "MIT",
+ "dependencies": {
+ "hachure-fill": "^0.5.2",
+ "path-data-parser": "^0.1.0",
+ "points-on-curve": "^0.2.0",
+ "points-on-path": "^0.2.1"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/rw": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
+ "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "license": "MIT"
+ },
+ "node_modules/scheduler": {
+ "version": "0.26.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz",
+ "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/seroval": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/seroval/-/seroval-1.3.2.tgz",
+ "integrity": "sha512-RbcPH1n5cfwKrru7v7+zrZvjLurgHhGyso3HTyGtRivGWgYjbOmGuivCQaORNELjNONoK35nj28EoWul9sb1zQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/seroval-plugins": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/seroval-plugins/-/seroval-plugins-1.3.2.tgz",
+ "integrity": "sha512-0QvCV2lM3aj/U3YozDiVwx9zpH0q8A60CTWIv4Jszj/givcudPb48B+rkU5D51NJ0pTpweGMttHjboPa9/zoIQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "peerDependencies": {
+ "seroval": "^1.0"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shiki": {
+ "version": "3.14.0",
+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-3.14.0.tgz",
+ "integrity": "sha512-J0yvpLI7LSig3Z3acIuDLouV5UCKQqu8qOArwMx+/yPVC3WRMgrP67beaG8F+j4xfEWE0eVC4GeBCIXeOPra1g==",
+ "license": "MIT",
+ "dependencies": {
+ "@shikijs/core": "3.14.0",
+ "@shikijs/engine-javascript": "3.14.0",
+ "@shikijs/engine-oniguruma": "3.14.0",
+ "@shikijs/langs": "3.14.0",
+ "@shikijs/themes": "3.14.0",
+ "@shikijs/types": "3.14.0",
+ "@shikijs/vscode-textmate": "^10.0.2",
+ "@types/hast": "^3.0.4"
+ }
+ },
+ "node_modules/siginfo": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/siginfo/-/siginfo-2.0.0.tgz",
+ "integrity": "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/signal-exit": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
+ "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/sirv": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.1.tgz",
+ "integrity": "sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@polka/url": "^1.0.0-next.24",
+ "mrmime": "^2.0.0",
+ "totalist": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/solid-js": {
+ "version": "1.9.7",
+ "resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.9.7.tgz",
+ "integrity": "sha512-/saTKi8iWEM233n5OSi1YHCCuh66ZIQ7aK2hsToPe4tqGm7qAejU1SwNuTPivbWAYq7SjuHVVYxxuZQNRbICiw==",
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.1.0",
+ "seroval": "~1.3.0",
+ "seroval-plugins": "~1.3.0"
+ }
+ },
+ "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==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/stackback": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/stackback/-/stackback-0.0.2.tgz",
+ "integrity": "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/std-env": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/std-env/-/std-env-3.9.0.tgz",
+ "integrity": "sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/storybook": {
+ "version": "9.0.14",
+ "resolved": "https://registry.npmjs.org/storybook/-/storybook-9.0.14.tgz",
+ "integrity": "sha512-PfVo9kSa4XsDTD2gXFvMRGix032+clBDcUMI4MhUzYxONLiZifnhwch4p/1lG+c3IVN4qkOEgGNc9PEgVMgApw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@storybook/global": "^5.0.0",
+ "@testing-library/jest-dom": "^6.6.3",
+ "@testing-library/user-event": "^14.6.1",
+ "@vitest/expect": "3.2.4",
+ "@vitest/spy": "3.2.4",
+ "better-opn": "^3.0.2",
+ "esbuild": "^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0 || ^0.25.0",
+ "esbuild-register": "^3.5.0",
+ "recast": "^0.23.5",
+ "semver": "^7.6.2",
+ "ws": "^8.18.0"
+ },
+ "bin": {
+ "storybook": "bin/index.cjs"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/storybook"
+ },
+ "peerDependencies": {
+ "prettier": "^2 || ^3"
+ },
+ "peerDependenciesMeta": {
+ "prettier": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/storybook/node_modules/semver": {
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/streamdown": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/streamdown/-/streamdown-1.4.0.tgz",
+ "integrity": "sha512-ylhDSQ4HpK5/nAH9v7OgIIdGJxlJB2HoYrYkJNGrO8lMpnWuKUcrz/A8xAMwA6eILA27469vIavcOTjmxctrKg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "clsx": "^2.1.1",
+ "katex": "^0.16.22",
+ "lucide-react": "^0.542.0",
+ "marked": "^16.2.1",
+ "mermaid": "^11.11.0",
+ "react-markdown": "^10.1.0",
+ "rehype-harden": "^1.1.5",
+ "rehype-katex": "^7.0.1",
+ "rehype-raw": "^7.0.0",
+ "remark-gfm": "^4.0.1",
+ "remark-math": "^6.0.0",
+ "shiki": "^3.12.2",
+ "tailwind-merge": "^3.3.1"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
+ "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eastasianwidth": "^0.2.0",
+ "emoji-regex": "^9.2.2",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/string-width-cjs": {
+ "name": "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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/string-width-cjs/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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/string-width-cjs/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
+ }
+ },
+ "node_modules/strip-ansi-cjs": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-ansi/node_modules/ansi-regex": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
+ "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/strip-indent": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-4.0.0.tgz",
+ "integrity": "sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/strip-literal": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-3.0.0.tgz",
+ "integrity": "sha512-TcccoMhJOM3OebGhSBEmp3UZ2SfDMZUEBdRA/9ynfLi8yYajyWX3JiXArcJt4Umh4vISpspkQIY8ZZoCqjbviA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^9.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antfu"
+ }
+ },
+ "node_modules/strip-literal/node_modules/js-tokens": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-9.0.1.tgz",
+ "integrity": "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/style-to-js": {
+ "version": "1.1.16",
+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.16.tgz",
+ "integrity": "sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==",
+ "license": "MIT",
+ "dependencies": {
+ "style-to-object": "1.0.8"
+ }
+ },
+ "node_modules/style-to-object": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz",
+ "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==",
+ "license": "MIT",
+ "dependencies": {
+ "inline-style-parser": "0.2.4"
+ }
+ },
+ "node_modules/stylis": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.6.tgz",
+ "integrity": "sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==",
+ "license": "MIT"
+ },
+ "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,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tabbable": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz",
+ "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew=="
+ },
+ "node_modules/tailwind-merge": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.3.1.tgz",
+ "integrity": "sha512-gBXpgUm/3rp1lMZZrM/w7D8GKqshif0zAymAhbCyIt8KMe+0v9DQ7cdYLR4FHH/cKpdTXb+A/tKKU3eolfsI+g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "4.1.11",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.11.tgz",
+ "integrity": "sha512-2E9TBm6MDD/xKYe+dvJZAmg3yxIEDNRc0jwlNyDg/4Fil2QcSLjFKGVff0lAf1jjeaArlG/M75Ey/EYr/OJtBA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tapable": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.2.tgz",
+ "integrity": "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tar": {
+ "version": "7.4.3",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.3.tgz",
+ "integrity": "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@isaacs/fs-minipass": "^4.0.0",
+ "chownr": "^3.0.0",
+ "minipass": "^7.1.2",
+ "minizlib": "^3.0.1",
+ "mkdirp": "^3.0.1",
+ "yallist": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz",
+ "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/test-exclude": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.1.tgz",
+ "integrity": "sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@istanbuljs/schema": "^0.1.2",
+ "glob": "^10.4.1",
+ "minimatch": "^9.0.4"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/test-exclude/node_modules/brace-expansion": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+ "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/test-exclude/node_modules/minimatch": {
+ "version": "9.0.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
+ "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/tiny-invariant": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",
+ "license": "MIT"
+ },
+ "node_modules/tiny-warning": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz",
+ "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==",
+ "license": "MIT"
+ },
+ "node_modules/tinybench": {
+ "version": "2.9.0",
+ "resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
+ "integrity": "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyexec": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz",
+ "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.14",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.14.tgz",
+ "integrity": "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/tinyglobby/node_modules/fdir": {
+ "version": "6.4.5",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.5.tgz",
+ "integrity": "sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tinyglobby/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/tinypool": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz",
+ "integrity": "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.0.0 || >=20.0.0"
+ }
+ },
+ "node_modules/tinyrainbow": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/tinyrainbow/-/tinyrainbow-2.0.0.tgz",
+ "integrity": "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tinyspy": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-4.0.3.tgz",
+ "integrity": "sha512-t2T/WLB2WRgZ9EpE4jgPJ9w+i66UZfDc8wHh0xrwiRNN+UwH98GIJkTeZqX9rg0i0ptwzqW+uYeIF0T4F8LR7A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "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,
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/totalist": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz",
+ "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/trim-lines": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/trough": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
+ "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/ts-dedent": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.2.0.tgz",
+ "integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.10"
+ }
+ },
+ "node_modules/tsconfck": {
+ "version": "3.1.6",
+ "resolved": "https://registry.npmjs.org/tsconfck/-/tsconfck-3.1.6.tgz",
+ "integrity": "sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "tsconfck": "bin/tsconfck.js"
+ },
+ "engines": {
+ "node": "^18 || >=20"
+ },
+ "peerDependencies": {
+ "typescript": "^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tsconfig-paths": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz",
+ "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json5": "^2.2.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="
+ },
+ "node_modules/tsx": {
+ "version": "4.19.4",
+ "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.4.tgz",
+ "integrity": "sha512-gK5GVzDkJK1SI1zwHf32Mqxf2tSJkNx+eYcNly5+nHvWqXUJYUkWBQtKauoESz3ymezAI++ZwT855x5p5eop+Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "~0.25.0",
+ "get-tsconfig": "^4.7.5"
+ },
+ "bin": {
+ "tsx": "dist/cli.mjs"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.8.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
+ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.34.0",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.34.0.tgz",
+ "integrity": "sha512-MRpfN7uYjTrTGigFCt8sRyNqJFhjN0WwZecldaqhWm+wy0gaRt8Edb/3cuUy0zdq2opJWT6iXINKAtewnDOltQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.34.0",
+ "@typescript-eslint/parser": "8.34.0",
+ "@typescript-eslint/utils": "8.34.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/ufo": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.1.tgz",
+ "integrity": "sha512-9a4/uxlTWJ4+a5i0ooc1rU7C7YOw3wT+UGqdeNNHWnOF9qcMBgLRS+4IYUqbczewFx4mLEig6gawh7X6mFlEkA==",
+ "license": "MIT"
+ },
+ "node_modules/undici-types": {
+ "version": "7.14.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.14.0.tgz",
+ "integrity": "sha512-QQiYxHuyZ9gQUIrmPo3IA+hUl4KYk8uSA7cHrcKd/l3p1OTpZcM0Tbp9x7FAtXdAYhlasd60ncPpgu6ihG6TOA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/unicorn-magic": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",
+ "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/unified": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "bail": "^2.0.0",
+ "devlop": "^1.0.0",
+ "extend": "^3.0.0",
+ "is-plain-obj": "^4.0.0",
+ "trough": "^2.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-builder": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-4.0.0.tgz",
+ "integrity": "sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-filter": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-filter/-/unist-util-filter-5.0.1.tgz",
+ "integrity": "sha512-pHx7D4Zt6+TsfwylH9+lYhBhzyhEnCXs/lbq/Hstxno5z4gVdyc2WEW0asfjGKPyG4pEKrnBv5hdkO6+aRnQJw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ }
+ },
+ "node_modules/unist-util-find-after": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz",
+ "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-is": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz",
+ "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-parents": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-parents/-/unist-util-parents-3.0.0.tgz",
+ "integrity": "sha512-3DVSfp+MkJhcJbGn/W7aOlZYVpsMQQ054cpfbPHZAqYPu/lvu5rCdzjuIt4eEMriLkCWLcnJjax97Awm1Bkhtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",
+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-remove-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz",
+ "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-visit": "^5.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-stringify-position": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",
+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz",
+ "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit-parents": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz",
+ "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/universalify": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
+ "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/unplugin": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-2.3.5.tgz",
+ "integrity": "sha512-RyWSb5AHmGtjjNQ6gIlA67sHOsWpsbWpwDokLwTcejVdOjEkJZh7QKu14J00gDDVSh8kGH4KYC/TNBceXFZhtw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "acorn": "^8.14.1",
+ "picomatch": "^4.0.2",
+ "webpack-virtual-modules": "^0.6.2"
+ },
+ "engines": {
+ "node": ">=18.12.0"
+ }
+ },
+ "node_modules/unplugin/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz",
+ "integrity": "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/use-sync-external-store": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz",
+ "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/uuid": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.0.tgz",
+ "integrity": "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==",
+ "funding": [
+ "https://github.com/sponsors/broofa",
+ "https://github.com/sponsors/ctavan"
+ ],
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/esm/bin/uuid"
+ }
+ },
+ "node_modules/vfile": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-location": {
+ "version": "5.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz",
+ "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-message": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz",
+ "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vite": {
+ "version": "6.3.5",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
+ "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite-node": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-3.2.4.tgz",
+ "integrity": "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cac": "^6.7.14",
+ "debug": "^4.4.1",
+ "es-module-lexer": "^1.7.0",
+ "pathe": "^2.0.3",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0"
+ },
+ "bin": {
+ "vite-node": "vite-node.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ }
+ },
+ "node_modules/vite-tsconfig-paths": {
+ "version": "5.1.4",
+ "resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-5.1.4.tgz",
+ "integrity": "sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "globrex": "^0.1.2",
+ "tsconfck": "^3.0.3"
+ },
+ "peerDependencies": {
+ "vite": "*"
+ },
+ "peerDependenciesMeta": {
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite/node_modules/fdir": {
+ "version": "6.4.5",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.5.tgz",
+ "integrity": "sha512-4BG7puHpVsIYxZUbiUE3RqGloLaSSwzYie5jvasC4LWuBWzZawynvYouhjbQKw2JuIGYdm0DzIxl8iVidKlUEw==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vite/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/vitest": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/vitest/-/vitest-3.2.4.tgz",
+ "integrity": "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/chai": "^5.2.2",
+ "@vitest/expect": "3.2.4",
+ "@vitest/mocker": "3.2.4",
+ "@vitest/pretty-format": "^3.2.4",
+ "@vitest/runner": "3.2.4",
+ "@vitest/snapshot": "3.2.4",
+ "@vitest/spy": "3.2.4",
+ "@vitest/utils": "3.2.4",
+ "chai": "^5.2.0",
+ "debug": "^4.4.1",
+ "expect-type": "^1.2.1",
+ "magic-string": "^0.30.17",
+ "pathe": "^2.0.3",
+ "picomatch": "^4.0.2",
+ "std-env": "^3.9.0",
+ "tinybench": "^2.9.0",
+ "tinyexec": "^0.3.2",
+ "tinyglobby": "^0.2.14",
+ "tinypool": "^1.1.1",
+ "tinyrainbow": "^2.0.0",
+ "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0",
+ "vite-node": "3.2.4",
+ "why-is-node-running": "^2.3.0"
+ },
+ "bin": {
+ "vitest": "vitest.mjs"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/vitest"
+ },
+ "peerDependencies": {
+ "@edge-runtime/vm": "*",
+ "@types/debug": "^4.1.12",
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "@vitest/browser": "3.2.4",
+ "@vitest/ui": "3.2.4",
+ "happy-dom": "*",
+ "jsdom": "*"
+ },
+ "peerDependenciesMeta": {
+ "@edge-runtime/vm": {
+ "optional": true
+ },
+ "@types/debug": {
+ "optional": true
+ },
+ "@types/node": {
+ "optional": true
+ },
+ "@vitest/browser": {
+ "optional": true
+ },
+ "@vitest/ui": {
+ "optional": true
+ },
+ "happy-dom": {
+ "optional": true
+ },
+ "jsdom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vitest/node_modules/picomatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
+ "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/vscode-jsonrpc": {
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz",
+ "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/vscode-languageserver": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz",
+ "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==",
+ "license": "MIT",
+ "dependencies": {
+ "vscode-languageserver-protocol": "3.17.5"
+ },
+ "bin": {
+ "installServerIntoExtension": "bin/installServerIntoExtension"
+ }
+ },
+ "node_modules/vscode-languageserver-protocol": {
+ "version": "3.17.5",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz",
+ "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==",
+ "license": "MIT",
+ "dependencies": {
+ "vscode-jsonrpc": "8.2.0",
+ "vscode-languageserver-types": "3.17.5"
+ }
+ },
+ "node_modules/vscode-languageserver-textdocument": {
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz",
+ "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==",
+ "license": "MIT"
+ },
+ "node_modules/vscode-languageserver-types": {
+ "version": "3.17.5",
+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz",
+ "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==",
+ "license": "MIT"
+ },
+ "node_modules/vscode-uri": {
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz",
+ "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==",
+ "license": "MIT"
+ },
+ "node_modules/web-namespaces": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz",
+ "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/webpack-virtual-modules": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.6.2.tgz",
+ "integrity": "sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/whatwg-fetch": {
+ "version": "3.6.20",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz",
+ "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==",
+ "license": "MIT"
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/why-is-node-running": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.3.0.tgz",
+ "integrity": "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "siginfo": "^2.0.0",
+ "stackback": "0.0.2"
+ },
+ "bin": {
+ "why-is-node-running": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "8.1.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
+ "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^6.1.0",
+ "string-width": "^5.0.1",
+ "strip-ansi": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrap-ansi-cjs": {
+ "name": "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==",
+ "dev": true,
+ "license": "MIT",
+ "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/wrap-ansi-cjs/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==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/wrap-ansi-cjs/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi-cjs/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==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/wrap-ansi/node_modules/ansi-styles": {
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
+ "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.18.3",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz",
+ "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "3.25.57",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.57.tgz",
+ "integrity": "sha512-6tgzLuwVST5oLUxXTmBqoinKMd3JeesgbgseXeFasKKj8Q1FCZrHnbqJOyiEvr4cVAlbug+CgIsmJ8cl/pU5FA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zwitch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ }
+ }
+}
diff --git a/western_ai/usa/ollama/app/ui/app/package.json b/western_ai/usa/ollama/app/ui/app/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..8b6ce61ff975c96f421eed0d31611d22b5d4cc07
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/package.json
@@ -0,0 +1,82 @@
+{
+ "name": "app",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "tsc -b && vite build",
+ "lint": "eslint .",
+ "preview": "vite preview",
+ "prettier": "prettier --write .",
+ "prettier:check": "prettier --check .",
+ "storybook": "storybook dev -p 6006",
+ "build-storybook": "storybook build",
+ "test": "vitest",
+ "test:ui": "vitest --ui",
+ "test:coverage": "vitest --coverage"
+ },
+ "dependencies": {
+ "@headlessui/react": "^2.2.4",
+ "@heroicons/react": "^2.2.0",
+ "@tanstack/react-query": "^5.80.7",
+ "@tanstack/react-router": "^1.120.20",
+ "@tanstack/react-router-devtools": "^1.120.20",
+ "clsx": "^2.1.1",
+ "framer-motion": "^12.17.0",
+ "katex": "^0.16.22",
+ "micromark-extension-llm-math": "^3.1.0",
+ "ollama": "^0.6.0",
+ "react": "^19.1.0",
+ "react-dom": "^19.1.0",
+ "rehype-katex": "^7.0.1",
+ "rehype-prism-plus": "^2.0.1",
+ "rehype-raw": "^7.0.0",
+ "rehype-sanitize": "^6.0.0",
+ "remark-math": "^6.0.0",
+ "streamdown": "^1.4.0",
+ "unist-builder": "^4.0.0",
+ "unist-util-parents": "^3.0.0"
+ },
+ "devDependencies": {
+ "@chromatic-com/storybook": "^4.0.1",
+ "@eslint/js": "^9.25.0",
+ "@storybook/addon-a11y": "^9.0.14",
+ "@storybook/addon-docs": "^9.0.14",
+ "@storybook/addon-onboarding": "^9.0.14",
+ "@storybook/addon-vitest": "^9.0.14",
+ "@storybook/react-vite": "^9.0.14",
+ "@tailwindcss/typography": "^0.5.16",
+ "@tailwindcss/vite": "^4.1.11",
+ "@tanstack/router-plugin": "^1.120.20",
+ "@types/node": "^24.7.2",
+ "@types/react": "^19.1.2",
+ "@types/react-dom": "^19.1.2",
+ "@vitejs/plugin-react": "^4.4.1",
+ "@vitest/browser": "^3.2.4",
+ "@vitest/coverage-v8": "^3.2.4",
+ "@vitest/ui": "^3.2.4",
+ "autoprefixer": "^10.4.21",
+ "eslint": "^9.25.0",
+ "eslint-plugin-react-hooks": "^5.2.0",
+ "eslint-plugin-react-refresh": "^0.4.19",
+ "eslint-plugin-storybook": "^9.0.14",
+ "globals": "^16.0.0",
+ "playwright": "^1.53.2",
+ "postcss-preset-env": "^10.2.4",
+ "react-markdown": "^10.1.0",
+ "remark": "^15.0.1",
+ "remark-gfm": "^4.0.1",
+ "remark-stringify": "^11.0.0",
+ "storybook": "^9.0.14",
+ "tailwindcss": "^4.1.9",
+ "typescript": "~5.8.3",
+ "typescript-eslint": "^8.30.1",
+ "vite": "^6.3.5",
+ "vite-tsconfig-paths": "^5.1.4",
+ "vitest": "^3.2.4"
+ },
+ "overrides": {
+ "mdast-util-gfm-autolink-literal": "2.0.0"
+ }
+}
diff --git a/western_ai/usa/ollama/app/ui/app/public/hello.png b/western_ai/usa/ollama/app/ui/app/public/hello.png
new file mode 100644
index 0000000000000000000000000000000000000000..fd04d9d0a28b93dedbd261d0b65b5b5885f7bd1d
Binary files /dev/null and b/western_ai/usa/ollama/app/ui/app/public/hello.png differ
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude-code.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude-code.svg
new file mode 100644
index 0000000000000000000000000000000000000000..ed1293c473d1b6fca5403f7abddaa9147fa46d72
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude-code.svg
@@ -0,0 +1 @@
+Claude Code
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude.svg
new file mode 100644
index 0000000000000000000000000000000000000000..1074807b59d222f316e86add5fee18b832347e32
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/claude.svg
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-app.png b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-app.png
new file mode 100644
index 0000000000000000000000000000000000000000..72e9baf7608cb565dfe8e11e43fc869ff9ea8efa
Binary files /dev/null and b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-app.png differ
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-dark.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-dark.svg
new file mode 100644
index 0000000000000000000000000000000000000000..5f1871ac703f35b32173bba59fdb18677658f7ce
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex-dark.svg
@@ -0,0 +1 @@
+
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex.svg
new file mode 100644
index 0000000000000000000000000000000000000000..52967aa57b4a0f6fd52dadf8dbb756e214b1baac
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/codex.svg
@@ -0,0 +1 @@
+
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot-dark.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot-dark.svg
new file mode 100644
index 0000000000000000000000000000000000000000..16165ae526d388b310986c9e627d71734178db8d
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot-dark.svg
@@ -0,0 +1 @@
+
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot.svg
new file mode 100644
index 0000000000000000000000000000000000000000..c78fe47a2d60278ec51e539e2e973171f6b633ab
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/copilot.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/droid.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/droid.svg
new file mode 100644
index 0000000000000000000000000000000000000000..a7b17f72330b26e7082ce97f599d3c4bbb4d6de5
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/droid.svg
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/hermes-agent.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/hermes-agent.svg
new file mode 100644
index 0000000000000000000000000000000000000000..c14a1408dff3dc684d15d65ee55d4b8ad1b3e3d8
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/hermes-agent.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/openclaw.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/openclaw.svg
new file mode 100644
index 0000000000000000000000000000000000000000..d9b5f8a92dd22489b6a1b01f8056cd5b7e5230cd
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/openclaw.svg
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/opencode.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/opencode.svg
new file mode 100644
index 0000000000000000000000000000000000000000..aae5105ea50344f2f1b277f455adfa9d93a097b7
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/opencode.svg
@@ -0,0 +1,7 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi-dark.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi-dark.svg
new file mode 100644
index 0000000000000000000000000000000000000000..b48ad6bd5681d11263abb47c360e6481c7a695d3
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi-dark.svg
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi.svg b/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi.svg
new file mode 100644
index 0000000000000000000000000000000000000000..6e6f776744bcedc9faf4f5bad173f170ce592e3c
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/public/launch-icons/pi.svg
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/western_ai/usa/ollama/app/ui/app/src/api.ts b/western_ai/usa/ollama/app/ui/app/src/api.ts
new file mode 100644
index 0000000000000000000000000000000000000000..5de6f6bb9515b89731985d785638073c818267a1
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/api.ts
@@ -0,0 +1,480 @@
+import {
+ ChatResponse,
+ ChatsResponse,
+ ChatEvent,
+ DownloadEvent,
+ ErrorEvent,
+ InferenceComputeResponse,
+ ModelCapabilitiesResponse,
+ Model,
+ ChatRequest,
+ Settings,
+ User,
+} from "@/gotypes";
+import { parseJsonlFromResponse } from "./util/jsonl-parsing";
+import { ollamaClient as ollama } from "./lib/ollama-client";
+import type { ModelResponse } from "ollama/browser";
+import { API_BASE, OLLAMA_DOT_COM } from "./lib/config";
+
+// Extend Model class with utility methods
+declare module "@/gotypes" {
+ interface Model {
+ isCloud(): boolean;
+ }
+}
+
+Model.prototype.isCloud = function (): boolean {
+ return this.model.endsWith("cloud");
+};
+
+export type CloudStatusSource = "env" | "config" | "both" | "none";
+export interface CloudStatusResponse {
+ disabled: boolean;
+ source: CloudStatusSource;
+}
+// Helper function to convert Uint8Array to base64
+function uint8ArrayToBase64(uint8Array: Uint8Array): string {
+ const chunkSize = 0x8000; // 32KB chunks to avoid stack overflow
+ let binary = "";
+
+ for (let i = 0; i < uint8Array.length; i += chunkSize) {
+ const chunk = uint8Array.subarray(i, i + chunkSize);
+ binary += String.fromCharCode(...chunk);
+ }
+
+ return btoa(binary);
+}
+
+export async function fetchUser(): Promise {
+ const response = await fetch(`${API_BASE}/api/me`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+
+ if (response.ok) {
+ const userData: User = await response.json();
+
+ if (userData.avatarurl && !userData.avatarurl.startsWith("http")) {
+ userData.avatarurl = `${OLLAMA_DOT_COM}${userData.avatarurl}`;
+ }
+
+ return userData;
+ }
+
+ if (response.status === 401 || response.status === 403) {
+ return null;
+ }
+
+ throw new Error(`Failed to fetch user: ${response.status}`);
+}
+
+export async function fetchConnectUrl(): Promise {
+ const response = await fetch(`${API_BASE}/api/me`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+
+ if (response.status === 401) {
+ const data = await response.json();
+ if (data.signin_url) {
+ return data.signin_url;
+ }
+ }
+
+ throw new Error("Failed to fetch connect URL");
+}
+
+export async function disconnectUser(): Promise {
+ const response = await fetch(`${API_BASE}/api/signout`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+
+ if (!response.ok) {
+ throw new Error("Failed to disconnect user");
+ }
+}
+
+export async function getChats(): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/chats`);
+ const data = await response.json();
+ return new ChatsResponse(data);
+}
+
+export async function getChat(chatId: string): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`);
+ const data = await response.json();
+ return new ChatResponse(data);
+}
+
+export async function getModels(query?: string): Promise {
+ try {
+ const { models: modelsResponse } = await ollama.list();
+
+ let models: Model[] = modelsResponse
+ .filter((m: ModelResponse) => {
+ const families = m.details?.families;
+
+ if (!families || families.length === 0) {
+ return true;
+ }
+
+ const isBertOnly = families.every((family: string) =>
+ family.toLowerCase().includes("bert"),
+ );
+
+ return !isBertOnly;
+ })
+ .map((m: ModelResponse) => {
+ // Remove the latest tag from the returned model
+ const modelName = m.name.replace(/:latest$/, "");
+
+ return new Model({
+ model: modelName,
+ digest: m.digest,
+ modified_at: m.modified_at ? new Date(m.modified_at) : undefined,
+ });
+ });
+
+ // Filter by query if provided
+ if (query) {
+ const normalizedQuery = query.toLowerCase().trim();
+
+ const filteredModels = models.filter((m: Model) => {
+ return m.model.toLowerCase().startsWith(normalizedQuery);
+ });
+
+ let exactMatch = false;
+ for (const m of filteredModels) {
+ if (m.model.toLowerCase() === normalizedQuery) {
+ exactMatch = true;
+ break;
+ }
+ }
+
+ // Add query if it's in the registry and not already in the list
+ if (!exactMatch) {
+ const result = await getModelUpstreamInfo(new Model({ model: query }));
+ const existsUpstream = result.exists;
+ if (existsUpstream) {
+ filteredModels.push(new Model({ model: query }));
+ }
+ }
+
+ models = filteredModels;
+ }
+
+ return models;
+ } catch (err) {
+ throw new Error(`Failed to fetch models: ${err}`);
+ }
+}
+
+export async function getModelCapabilities(
+ modelName: string,
+): Promise {
+ try {
+ const showResponse = await ollama.show({ model: modelName });
+
+ return new ModelCapabilitiesResponse({
+ capabilities: Array.isArray(showResponse.capabilities)
+ ? showResponse.capabilities
+ : [],
+ });
+ } catch (error) {
+ // Model might not be downloaded yet, return empty capabilities
+ console.error(`Failed to get capabilities for ${modelName}:`, error);
+ return new ModelCapabilitiesResponse({ capabilities: [] });
+ }
+}
+
+export type ChatEventUnion = ChatEvent | DownloadEvent | ErrorEvent;
+
+export async function* sendMessage(
+ chatId: string,
+ message: string,
+ model: Model,
+ attachments?: Array<{ filename: string; data: Uint8Array }>,
+ signal?: AbortSignal,
+ index?: number,
+ webSearch?: boolean,
+ fileTools?: boolean,
+ forceUpdate?: boolean,
+ think?: boolean | string,
+): AsyncGenerator {
+ // Convert Uint8Array to base64 for JSON serialization
+ const serializedAttachments = attachments?.map((att) => ({
+ filename: att.filename,
+ data: uint8ArrayToBase64(att.data),
+ }));
+
+ // Send think parameter when it's explicitly set (true, false, or a non-empty string).
+ const shouldSendThink =
+ think !== undefined &&
+ (typeof think === "boolean" || (typeof think === "string" && think !== ""));
+
+ const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify(
+ new ChatRequest({
+ model: model.model,
+ prompt: message,
+ ...(index !== undefined ? { index } : {}),
+ ...(serializedAttachments !== undefined
+ ? { attachments: serializedAttachments }
+ : {}),
+ // Always send web_search as a boolean value (default to false)
+ web_search: webSearch ?? false,
+ file_tools: fileTools ?? false,
+ ...(forceUpdate !== undefined ? { forceUpdate } : {}),
+ ...(shouldSendThink ? { think } : {}),
+ }),
+ ),
+ signal,
+ });
+
+ for await (const event of parseJsonlFromResponse(response)) {
+ switch (event.eventName) {
+ case "download":
+ yield new DownloadEvent(event);
+ break;
+ case "error":
+ yield new ErrorEvent(event);
+ break;
+ default:
+ yield new ChatEvent(event);
+ break;
+ }
+ }
+}
+
+export async function getSettings(): Promise<{
+ settings: Settings;
+}> {
+ const response = await fetch(`${API_BASE}/api/v1/settings`);
+ if (!response.ok) {
+ throw new Error("Failed to fetch settings");
+ }
+ const data = await response.json();
+ return {
+ settings: new Settings(data.settings),
+ };
+}
+
+export async function updateSettings(settings: Settings): Promise<{
+ settings: Settings;
+}> {
+ const response = await fetch(`${API_BASE}/api/v1/settings`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify(settings),
+ });
+ if (!response.ok) {
+ const error = await response.text();
+ throw new Error(error || "Failed to update settings");
+ }
+ const data = await response.json();
+ return {
+ settings: new Settings(data.settings),
+ };
+}
+
+export async function updateCloudSetting(
+ enabled: boolean,
+): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/cloud`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ enabled }),
+ });
+ if (!response.ok) {
+ const error = await response.text();
+ throw new Error(error || "Failed to update cloud setting");
+ }
+
+ const data = await response.json();
+ return {
+ disabled: Boolean(data.disabled),
+ source: (data.source as CloudStatusSource) || "none",
+ };
+}
+
+export async function renameChat(chatId: string, title: string): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}/rename`, {
+ method: "PUT",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ title: title.trim() }),
+ });
+ if (!response.ok) {
+ const error = await response.text();
+ throw new Error(error || "Failed to rename chat");
+ }
+}
+
+export async function deleteChat(chatId: string): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/chat/${chatId}`, {
+ method: "DELETE",
+ });
+ if (!response.ok) {
+ const error = await response.text();
+ throw new Error(error || "Failed to delete chat");
+ }
+}
+
+// Get upstream information for model staleness checking
+export async function getModelUpstreamInfo(
+ model: Model,
+): Promise<{ stale: boolean; exists: boolean; error?: string }> {
+ try {
+ const response = await fetch(`${API_BASE}/api/v1/model/upstream`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({
+ model: model.model,
+ }),
+ });
+
+ if (!response.ok) {
+ console.warn(
+ `Failed to check upstream for ${model.model}: ${response.status}`,
+ );
+ return { stale: false, exists: false };
+ }
+
+ const data = await response.json();
+
+ if (data.error) {
+ console.warn(`Upstream check: ${data.error}`);
+ return { stale: false, exists: false, error: data.error };
+ }
+
+ return { stale: !!data.stale, exists: true };
+ } catch (error) {
+ console.warn(`Error checking model staleness:`, error);
+ return { stale: false, exists: false };
+ }
+}
+
+export async function* pullModel(
+ modelName: string,
+ signal?: AbortSignal,
+): AsyncGenerator<{
+ status: string;
+ digest?: string;
+ total?: number;
+ completed?: number;
+ done?: boolean;
+}> {
+ const response = await fetch(`${API_BASE}/api/v1/models/pull`, {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ body: JSON.stringify({ name: modelName }),
+ signal,
+ });
+
+ if (!response.ok) {
+ throw new Error(`Failed to pull model: ${response.statusText}`);
+ }
+
+ for await (const event of parseJsonlFromResponse<{
+ status: string;
+ digest?: string;
+ total?: number;
+ completed?: number;
+ done?: boolean;
+ }>(response)) {
+ yield event;
+ }
+}
+
+export interface ModelRecommendation {
+ model: string;
+ description: string;
+ context_length?: number;
+ max_output_tokens?: number;
+ vram_bytes?: number;
+}
+
+export interface ModelRecommendationsResponse {
+ recommendations: ModelRecommendation[];
+}
+
+export async function getModelRecommendations(): Promise {
+ const response = await fetch(
+ `${API_BASE}/api/experimental/model-recommendations`,
+ );
+ if (!response.ok) {
+ throw new Error(
+ `Failed to fetch model recommendations: ${response.statusText}`,
+ );
+ }
+ const data: ModelRecommendationsResponse = await response.json();
+ return data.recommendations || [];
+}
+
+export async function getInferenceCompute(): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/inference-compute`);
+ if (!response.ok) {
+ throw new Error(
+ `Failed to fetch inference compute: ${response.statusText}`,
+ );
+ }
+
+ const data = await response.json();
+ return new InferenceComputeResponse(data);
+}
+
+export async function fetchHealth(): Promise {
+ try {
+ // Use the /api/version endpoint as a health check
+ const response = await fetch(`${API_BASE}/api/version`, {
+ method: "GET",
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+
+ if (response.ok) {
+ const data = await response.json();
+ // If we get a version back, the server is healthy
+ return !!data.version;
+ }
+
+ return false;
+ } catch (error) {
+ console.error("Error checking health:", error);
+ return false;
+ }
+}
+
+export async function getCloudStatus(): Promise {
+ const response = await fetch(`${API_BASE}/api/v1/cloud`);
+ if (!response.ok) {
+ throw new Error(`Failed to fetch cloud status: ${response.status}`);
+ }
+
+ const data = await response.json();
+ return {
+ disabled: Boolean(data.disabled),
+ source: (data.source as CloudStatusSource) || "none",
+ };
+}
diff --git a/western_ai/usa/ollama/app/ui/app/src/components/Chat.tsx b/western_ai/usa/ollama/app/ui/app/src/components/Chat.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..f24bc9de9ef296394c461af40042ad62ae22241c
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/components/Chat.tsx
@@ -0,0 +1,298 @@
+import MessageList from "./MessageList";
+import ChatForm from "./ChatForm";
+import { FileUpload } from "./FileUpload";
+import { DisplayUpgrade } from "./DisplayUpgrade";
+import { DisplayStale } from "./DisplayStale";
+import { DisplayLogin } from "./DisplayLogin";
+import {
+ useChat,
+ useSendMessage,
+ useIsStreaming,
+ useIsWaitingForLoad,
+ useDownloadProgress,
+ useChatError,
+ useShouldShowStaleDisplay,
+ useDismissStaleModel,
+} from "@/hooks/useChats";
+import { useHealth } from "@/hooks/useHealth";
+import { useMessageAutoscroll } from "@/hooks/useMessageAutoscroll";
+import {
+ useState,
+ useEffect,
+ useLayoutEffect,
+ useRef,
+ useCallback,
+} from "react";
+import { useQueryClient } from "@tanstack/react-query";
+import { useNavigate } from "@tanstack/react-router";
+import { useSelectedModel } from "@/hooks/useSelectedModel";
+import { useUser } from "@/hooks/useUser";
+import { useHasVisionCapability } from "@/hooks/useModelCapabilities";
+import { Message } from "@/gotypes";
+
+export default function Chat({ chatId }: { chatId: string }) {
+ const queryClient = useQueryClient();
+ const navigate = useNavigate();
+ const chatQuery = useChat(chatId === "new" ? "" : chatId);
+ const chatErrorQuery = useChatError(chatId === "new" ? "" : chatId);
+ const { selectedModel } = useSelectedModel(chatId);
+ const { user } = useUser();
+ const hasVisionCapability = useHasVisionCapability(selectedModel?.model);
+ const shouldShowStaleDisplay = useShouldShowStaleDisplay(selectedModel);
+ const dismissStaleModel = useDismissStaleModel();
+ const { isHealthy } = useHealth();
+
+ const [editingMessage, setEditingMessage] = useState<{
+ content: string;
+ index: number;
+ originalMessage: Message;
+ } | null>(null);
+ const prevChatIdRef = useRef(chatId);
+
+ const chatFormCallbackRef = useRef<
+ | ((
+ files: Array<{ filename: string; data: Uint8Array; type?: string }>,
+ errors: Array<{ filename: string; error: string }>,
+ ) => void)
+ | null
+ >(null);
+
+ const handleFilesReceived = useCallback(
+ (
+ callback: (
+ files: Array<{
+ filename: string;
+ data: Uint8Array;
+ type?: string;
+ }>,
+ errors: Array<{ filename: string; error: string }>,
+ ) => void,
+ ) => {
+ chatFormCallbackRef.current = callback;
+ },
+ [],
+ );
+
+ const handleFilesProcessed = useCallback(
+ (
+ files: Array<{ filename: string; data: Uint8Array; type?: string }>,
+ errors: Array<{ filename: string; error: string }> = [],
+ ) => {
+ chatFormCallbackRef.current?.(files, errors);
+ },
+ [],
+ );
+
+ const allMessages = chatQuery?.data?.chat?.messages ?? [];
+ // TODO(parthsareen): will need to consolidate when used with more tools with state
+ const browserToolResult = chatQuery?.data?.chat?.browser_state;
+ const chatError = chatErrorQuery.data;
+
+ const messages = allMessages;
+ const isStreaming = useIsStreaming(chatId);
+ const isWaitingForLoad = useIsWaitingForLoad(chatId);
+ const downloadProgress = useDownloadProgress(chatId);
+ const isDownloadingModel = downloadProgress && !downloadProgress.done;
+ const isDisabled = !isHealthy;
+
+ // Clear editing state when navigating to a different chat
+ useEffect(() => {
+ setEditingMessage(null);
+ }, [chatId]);
+
+ const sendMessageMutation = useSendMessage(chatId);
+
+ const { containerRef, handleNewUserMessage, spacerHeight } =
+ useMessageAutoscroll({
+ messages,
+ isStreaming,
+ chatId,
+ });
+
+ // Scroll to bottom only when switching to a different existing chat
+ useLayoutEffect(() => {
+ // Only scroll if the chatId actually changed (not just messages updating)
+ if (
+ prevChatIdRef.current !== chatId &&
+ containerRef.current &&
+ messages.length > 0 &&
+ chatId !== "new"
+ ) {
+ // Always scroll to the bottom when opening a chat
+ containerRef.current.scrollTop = containerRef.current.scrollHeight;
+ }
+ prevChatIdRef.current = chatId;
+ }, [chatId, messages.length]);
+
+ // Simplified submit handler - ChatForm handles all the attachment logic
+ const handleChatFormSubmit = (
+ message: string,
+ options: {
+ attachments?: Array<{ filename: string; data: Uint8Array }>;
+ index?: number;
+ webSearch?: boolean;
+ fileTools?: boolean;
+ think?: boolean | string;
+ },
+ ) => {
+ // Clear any existing errors when sending a new message
+ sendMessageMutation.reset();
+ if (chatError) {
+ clearChatError();
+ }
+
+ // Prepare attachments for backend
+ const allAttachments = (options.attachments || []).map((att) => ({
+ filename: att.filename,
+ data: att.data.length === 0 ? new Uint8Array(0) : att.data,
+ }));
+
+ sendMessageMutation.mutate({
+ message,
+ attachments: allAttachments,
+ index: editingMessage ? editingMessage.index : options.index,
+ webSearch: options.webSearch,
+ fileTools: options.fileTools,
+ think: options.think,
+ onChatEvent: (event) => {
+ if (event.eventName === "chat_created" && event.chatId) {
+ navigate({
+ to: "/c/$chatId",
+ params: {
+ chatId: event.chatId,
+ },
+ });
+ }
+ },
+ });
+
+ // Clear edit mode after submission
+ setEditingMessage(null);
+ handleNewUserMessage();
+ };
+
+ const handleEditMessage = (content: string, index: number) => {
+ setEditingMessage({
+ content,
+ index,
+ originalMessage: messages[index],
+ });
+ };
+
+ const handleCancelEdit = () => {
+ setEditingMessage(null);
+ if (chatError) {
+ clearChatError();
+ }
+ };
+
+ const clearChatError = () => {
+ queryClient.setQueryData(
+ ["chatError", chatId === "new" ? "" : chatId],
+ null,
+ );
+ };
+
+ const isWindows = navigator.platform.toLowerCase().includes("win");
+
+ return chatId === "new" || chatQuery ? (
+
+ {chatId === "new" ? (
+
+ ) : (
+
+
+ {
+ handleEditMessage(content, index);
+ }}
+ editingMessageIndex={editingMessage?.index}
+ error={chatError}
+ browserToolResult={browserToolResult}
+ />
+
+
+
+ {selectedModel && shouldShowStaleDisplay && (
+
+
+ dismissStaleModel(selectedModel?.model || "")
+ }
+ chatId={chatId}
+ onScrollToBottom={() => {
+ if (containerRef.current) {
+ containerRef.current.scrollTo({
+ top: containerRef.current.scrollHeight,
+ behavior: "smooth",
+ });
+ }
+ }}
+ />
+
+ )}
+ {chatError && chatError.code === "usage_limit_upgrade" && (
+
+
+
+ )}
+ {chatError && chatError.code === "cloud_unauthorized" && (
+
+
+
+ )}
+
0}
+ onSubmit={handleChatFormSubmit}
+ chatId={chatId}
+ autoFocus={true}
+ editingMessage={editingMessage}
+ onCancelEdit={handleCancelEdit}
+ isDisabled={isDisabled}
+ isDownloadingModel={isDownloadingModel}
+ onFilesReceived={handleFilesReceived}
+ />
+
+
+ )}
+
+ ) : (
+ Loading...
+ );
+}
diff --git a/western_ai/usa/ollama/app/ui/app/src/components/ChatForm.tsx b/western_ai/usa/ollama/app/ui/app/src/components/ChatForm.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..7ffaffb414b1cb5af07b2ab5429bca78eeb19f52
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/components/ChatForm.tsx
@@ -0,0 +1,1013 @@
+import Logo from "@/components/Logo";
+import { ModelPicker } from "@/components/ModelPicker";
+import { WebSearchButton } from "@/components/WebSearchButton";
+import { ImageThumbnail } from "@/components/ImageThumbnail";
+import { isImageFile } from "@/utils/imageUtils";
+import {
+ useRef,
+ useState,
+ useEffect,
+ useLayoutEffect,
+ useCallback,
+} from "react";
+import {
+ useSendMessage,
+ useIsStreaming,
+ useCancelMessage,
+} from "@/hooks/useChats";
+import { useNavigate } from "@tanstack/react-router";
+import { useSelectedModel } from "@/hooks/useSelectedModel";
+import {
+ useHasVisionCapability,
+ useHasToolsCapability,
+} from "@/hooks/useModelCapabilities";
+import { useUser } from "@/hooks/useUser";
+import { DisplayLogin } from "@/components/DisplayLogin";
+import { ErrorEvent, Message } from "@/gotypes";
+import { useSettings } from "@/hooks/useSettings";
+import { useCloudStatus } from "@/hooks/useCloudStatus";
+import { ThinkButton } from "./ThinkButton";
+import { ErrorMessage } from "./ErrorMessage";
+import { processFiles } from "@/utils/fileValidation";
+import type { ImageData } from "@/types/webview";
+import { PlusIcon } from "@heroicons/react/24/outline";
+
+export type ThinkingLevel = "low" | "medium" | "high";
+
+interface FileAttachment {
+ filename: string;
+ data: Uint8Array;
+ type?: string; // MIME type
+}
+
+interface MessageInput {
+ content: string;
+ attachments: Array<{
+ id: string;
+ filename: string;
+ data?: Uint8Array; // undefined for existing files from editing
+ }>;
+ fileErrors: Array<{ filename: string; error: string }>;
+}
+
+interface ChatFormProps {
+ hasMessages: boolean;
+ onSubmit?: (
+ message: string,
+ options: {
+ attachments?: FileAttachment[];
+ index?: number;
+ webSearch?: boolean;
+ fileTools?: boolean;
+ think?: boolean | string;
+ },
+ ) => void;
+ autoFocus?: boolean;
+ chatId?: string;
+ isDownloadingModel?: boolean;
+ isDisabled?: boolean;
+ // Editing props - when provided, ChatForm enters edit mode
+ editingMessage?: {
+ content: string;
+ index: number;
+ originalMessage: Message;
+ } | null;
+ onCancelEdit?: () => void;
+ onFilesReceived?: (
+ callback: (
+ files: Array<{ filename: string; data: Uint8Array; type?: string }>,
+ errors: Array<{ filename: string; error: string }>,
+ ) => void,
+ ) => void;
+}
+
+function ChatForm({
+ hasMessages,
+ onSubmit,
+ autoFocus = false,
+ chatId = "new",
+ isDownloadingModel = false,
+ isDisabled = false,
+ editingMessage,
+ onCancelEdit,
+ onFilesReceived,
+}: ChatFormProps) {
+ const [message, setMessage] = useState({
+ content: "",
+ attachments: [],
+ fileErrors: [],
+ });
+ const [isEditing, setIsEditing] = useState(false);
+ const compositionEndTimeoutRef = useRef(null);
+ const fileInputRef = useRef(null);
+ const textareaRef = useRef(null);
+ const thinkButtonRef = useRef(null);
+ const thinkingLevelButtonRef = useRef(null);
+ const webSearchButtonRef = useRef(null);
+ const modelPickerRef = useRef(null);
+ const submitButtonRef = useRef(null);
+
+ const { mutate: sendMessageMutation } = useSendMessage(chatId);
+ const navigate = useNavigate();
+ const isStreaming = useIsStreaming(chatId);
+ const cancelMessage = useCancelMessage();
+ const isDownloading = isDownloadingModel;
+ const { selectedModel } = useSelectedModel();
+ const hasVisionCapability = useHasVisionCapability(selectedModel?.model);
+ const { isAuthenticated, isLoading: isLoadingUser } = useUser();
+ const [loginPromptFeature, setLoginPromptFeature] = useState<
+ "webSearch" | "turbo" | null
+ >(null);
+ const [fileUploadError, setFileUploadError] = useState(
+ null,
+ );
+
+ const handleThinkingLevelDropdownToggle = (isOpen: boolean) => {
+ if (
+ isOpen &&
+ modelPickerRef.current &&
+ (modelPickerRef.current as any).closeDropdown
+ ) {
+ (modelPickerRef.current as any).closeDropdown();
+ }
+ };
+
+ const handleModelPickerDropdownToggle = (isOpen: boolean) => {
+ if (
+ isOpen &&
+ thinkingLevelButtonRef.current &&
+ (thinkingLevelButtonRef.current as any).closeDropdown
+ ) {
+ (thinkingLevelButtonRef.current as any).closeDropdown();
+ }
+ };
+
+ const {
+ settings: {
+ webSearchEnabled,
+ thinkEnabled,
+ thinkLevel: settingsThinkLevel,
+ },
+ setSettings,
+ } = useSettings();
+ const { cloudDisabled } = useCloudStatus();
+
+ const supportsWebSearch = useHasToolsCapability(selectedModel?.model);
+ // Use per-chat thinking level instead of global
+ const thinkLevel: ThinkingLevel =
+ settingsThinkLevel === "none" || !settingsThinkLevel
+ ? "medium"
+ : (settingsThinkLevel as ThinkingLevel);
+ const setThinkingLevel = (newLevel: ThinkingLevel) => {
+ setSettings({ ThinkLevel: newLevel });
+ };
+
+ const modelSupportsThinkingLevels =
+ selectedModel?.model.toLowerCase().startsWith("gpt-oss") || false;
+ const supportsThinkToggling =
+ selectedModel?.model.toLowerCase().startsWith("deepseek-v3.1") || false;
+
+ useEffect(() => {
+ if (supportsThinkToggling && thinkEnabled && webSearchEnabled) {
+ setSettings({ WebSearchEnabled: false });
+ }
+ }, [
+ selectedModel?.model,
+ supportsThinkToggling,
+ thinkEnabled,
+ webSearchEnabled,
+ setSettings,
+ ]);
+
+ useEffect(() => {
+ if (cloudDisabled && webSearchEnabled) {
+ setSettings({ WebSearchEnabled: false });
+ }
+ }, [cloudDisabled, webSearchEnabled, setSettings]);
+
+ const removeFile = (index: number) => {
+ setMessage((prev) => ({
+ ...prev,
+ attachments: prev.attachments.filter((_, i) => i !== index),
+ }));
+ };
+
+ const removeFileError = (index: number) => {
+ setMessage((prev) => ({
+ ...prev,
+ fileErrors: prev.fileErrors.filter((_, i) => i !== index),
+ }));
+ };
+
+ // Create stable callback for file handling
+ const handleFilesReceived = useCallback(
+ (
+ files: Array<{ filename: string; data: Uint8Array; type?: string }>,
+ errors: Array<{ filename: string; error: string }> = [],
+ ) => {
+ if (files.length > 0) {
+ setFileUploadError(null);
+
+ const newAttachments = files.map((file) => ({
+ id: crypto.randomUUID(),
+ filename: file.filename,
+ data: file.data,
+ }));
+
+ setMessage((prev) => ({
+ ...prev,
+ attachments: [...prev.attachments, ...newAttachments],
+ }));
+ }
+
+ // Add validation errors to form state
+ if (errors.length > 0) {
+ setMessage((prev) => ({
+ ...prev,
+ fileErrors: [...prev.fileErrors, ...errors],
+ }));
+ }
+ },
+ [],
+ );
+
+ useEffect(() => {
+ if (onFilesReceived) {
+ onFilesReceived(handleFilesReceived);
+ }
+ }, [onFilesReceived, handleFilesReceived]);
+
+ // Determine if login banner should be shown
+ const shouldShowLoginBanner =
+ !cloudDisabled &&
+ !isLoadingUser &&
+ !isAuthenticated &&
+ ((webSearchEnabled && supportsWebSearch) || selectedModel?.isCloud());
+
+ // Determine which feature to highlight in the banner
+ const getActiveFeatureForBanner = () => {
+ if (cloudDisabled) return null;
+ if (!isAuthenticated) {
+ if (loginPromptFeature) return loginPromptFeature;
+ if (webSearchEnabled && selectedModel?.isCloud()) return "webSearch";
+ if (webSearchEnabled) return "webSearch";
+ if (selectedModel?.isCloud()) return "turbo";
+ }
+ return null;
+ };
+
+ const activeFeatureForBanner = getActiveFeatureForBanner();
+
+ const resetChatForm = () => {
+ setMessage({
+ content: "",
+ attachments: [],
+ fileErrors: [],
+ });
+
+ if (textareaRef.current) {
+ textareaRef.current.style.height = "auto";
+ }
+ };
+
+ // Clear loginPromptFeature when user becomes authenticated or no features are enabled
+ useEffect(() => {
+ if (
+ isAuthenticated ||
+ cloudDisabled ||
+ (!webSearchEnabled && !!selectedModel?.isCloud())
+ ) {
+ setLoginPromptFeature(null);
+ }
+ }, [isAuthenticated, webSearchEnabled, selectedModel, cloudDisabled]);
+
+ // When entering edit mode, populate the composition with existing data
+ useEffect(() => {
+ if (!editingMessage) {
+ // Clear composition and reset textarea height when not editing
+ resetChatForm();
+ return;
+ }
+
+ const existingAttachments =
+ editingMessage.originalMessage?.attachments || [];
+ setMessage({
+ content: editingMessage.content,
+ attachments: existingAttachments.map((att) => ({
+ id: crypto.randomUUID(),
+ filename: att.filename,
+ // No data for existing files - backend will handle them
+ })),
+ fileErrors: [],
+ });
+ }, [editingMessage]);
+
+ // Focus and setup textarea when editing
+ useLayoutEffect(() => {
+ if (editingMessage && textareaRef.current) {
+ textareaRef.current.focus();
+ textareaRef.current.style.transition =
+ "height 0.2s ease-out, opacity 0.3s ease-in";
+ textareaRef.current.style.height = "auto";
+ textareaRef.current.style.height =
+ Math.min(textareaRef.current.scrollHeight, 24 * 8) + "px";
+ }
+ }, [editingMessage]);
+
+ // Clear composition and reset textarea height when chatId changes
+ useEffect(() => {
+ resetChatForm();
+ }, [chatId]);
+
+ // Auto-focus textarea when autoFocus is true or when streaming completes (but not when editing)
+ useEffect(() => {
+ if ((autoFocus || !isStreaming) && textareaRef.current && !editingMessage) {
+ const timer = setTimeout(
+ () => {
+ textareaRef.current?.focus();
+ },
+ autoFocus ? 0 : 100,
+ );
+ return () => clearTimeout(timer);
+ }
+ }, [autoFocus, isStreaming, editingMessage]);
+
+ const focusChatFormInput = () => {
+ // Focus textarea after model selection or navigation
+ if (textareaRef.current) {
+ setTimeout(() => {
+ textareaRef.current?.focus();
+ }, 100);
+ }
+ };
+
+ // Navigation helper function
+ const navigateToNextElement = useCallback(
+ (current: HTMLElement, direction: "next" | "prev") => {
+ const elements = [
+ textareaRef,
+ modelSupportsThinkingLevels ? thinkingLevelButtonRef : thinkButtonRef,
+ webSearchButtonRef,
+ modelPickerRef,
+ submitButtonRef,
+ ]
+ .map((ref) => ref.current)
+ .filter(Boolean) as HTMLElement[];
+ const index = elements.indexOf(current);
+ if (index === -1) return;
+ const nextIndex =
+ direction === "next"
+ ? (index + 1) % elements.length
+ : (index - 1 + elements.length) % elements.length;
+ elements[nextIndex].focus();
+ },
+ [],
+ );
+
+ // Focus textarea when navigating to a chat (when chatId changes)
+ useEffect(() => {
+ if (chatId !== "new") {
+ focusChatFormInput();
+ }
+ }, [chatId]);
+
+ // Global keyboard and paste event handlers
+ useEffect(() => {
+ const focusTextareaIfAppropriate = (target: HTMLElement) => {
+ if (
+ !textareaRef.current ||
+ textareaRef.current === document.activeElement
+ ) {
+ return;
+ }
+
+ const isEditableTarget =
+ target.tagName === "INPUT" ||
+ target.tagName === "TEXTAREA" ||
+ target.contentEditable === "true" ||
+ target.closest("input") ||
+ target.closest("textarea") ||
+ target.closest("[contenteditable='true']");
+
+ if (!isEditableTarget) {
+ textareaRef.current.focus();
+ }
+ };
+
+ const handleKeyDown = (e: KeyboardEvent) => {
+ // Handle escape key for canceling
+ if (e.key === "Escape") {
+ e.preventDefault();
+ if (editingMessage && onCancelEdit) {
+ handleCancelEdit();
+ } else if (isStreaming) {
+ handleCancel();
+ }
+ return;
+ }
+
+ // Handle Tab navigation between controls
+ if (e.key === "Tab" && e.target !== textareaRef.current) {
+ const target = e.target as HTMLElement;
+ const focusableElements = [
+ modelSupportsThinkingLevels
+ ? thinkingLevelButtonRef.current
+ : thinkButtonRef.current,
+ webSearchButtonRef.current,
+ modelPickerRef.current,
+ submitButtonRef.current,
+ ].filter(Boolean) as HTMLElement[];
+
+ if (focusableElements.includes(target)) {
+ e.preventDefault();
+ if (e.shiftKey) {
+ navigateToNextElement(target, "prev");
+ } else {
+ navigateToNextElement(target, "next");
+ }
+ return;
+ }
+ }
+
+ // Handle paste shortcuts
+ const isPasteShortcut = (e.ctrlKey || e.metaKey) && e.key === "v";
+ if (isPasteShortcut) {
+ focusTextareaIfAppropriate(e.target as HTMLElement);
+ return;
+ }
+
+ // Handle auto-focus when typing printable characters
+ const target = e.target as HTMLElement;
+ const isInInputField =
+ target.tagName === "INPUT" ||
+ target.tagName === "TEXTAREA" ||
+ target.contentEditable === "true";
+
+ if (
+ !isInInputField &&
+ e.key.length === 1 &&
+ !e.ctrlKey &&
+ !e.metaKey &&
+ !e.altKey &&
+ textareaRef.current
+ ) {
+ textareaRef.current.focus();
+ }
+ };
+
+ const handlePaste = (e: ClipboardEvent) => {
+ focusTextareaIfAppropriate(e.target as HTMLElement);
+ };
+
+ window.addEventListener("keydown", handleKeyDown);
+ document.addEventListener("paste", handlePaste);
+
+ return () => {
+ window.removeEventListener("keydown", handleKeyDown);
+ document.removeEventListener("paste", handlePaste);
+ };
+ }, [isStreaming, editingMessage, onCancelEdit, navigateToNextElement]);
+
+ const handleSubmit = async () => {
+ if (!message.content.trim() || isStreaming || isDownloading) return;
+
+ if (cloudDisabled && selectedModel?.isCloud()) {
+ return;
+ }
+
+ // Check if cloud mode is enabled but user is not authenticated
+ if (shouldShowLoginBanner) {
+ return;
+ }
+
+ // Prepare attachments for submission, excluding unsupported images
+ const attachmentsToSend: FileAttachment[] = message.attachments
+ .filter(
+ (att) => hasVisionCapability || !isImageFile(att.filename),
+ )
+ .map((att) => ({
+ filename: att.filename,
+ data: att.data || new Uint8Array(0), // Empty data for existing files
+ }));
+
+ const useWebSearch =
+ supportsWebSearch && webSearchEnabled && !cloudDisabled;
+ const useThink = modelSupportsThinkingLevels
+ ? thinkLevel
+ : supportsThinkToggling
+ ? thinkEnabled
+ : undefined;
+
+ if (onSubmit) {
+ onSubmit(message.content, {
+ attachments: attachmentsToSend,
+ index: undefined,
+ webSearch: useWebSearch,
+ think: useThink,
+ });
+ } else {
+ sendMessageMutation({
+ message: message.content,
+ attachments: attachmentsToSend,
+ webSearch: useWebSearch,
+ think: useThink,
+ onChatEvent: (event) => {
+ if (event.eventName === "chat_created" && event.chatId) {
+ navigate({
+ to: "/c/$chatId",
+ params: {
+ chatId: event.chatId,
+ },
+ });
+ }
+ },
+ });
+ }
+
+ // Clear composition after successful submission
+ setMessage({
+ content: "",
+ attachments: [],
+ fileErrors: [],
+ });
+
+ // Reset textarea height and refocus after submit
+ setTimeout(() => {
+ if (textareaRef.current) {
+ textareaRef.current.style.height = "auto";
+ textareaRef.current.focus();
+ }
+ }, 100);
+ };
+
+ const handleKeyDown = (e: React.KeyboardEvent) => {
+ // Handle Enter to submit
+ if (e.key === "Enter" && !e.shiftKey && !isEditing) {
+ e.preventDefault();
+ if (!isStreaming && !isDownloading) {
+ handleSubmit();
+ }
+ return;
+ }
+
+ // Handle Tab navigation
+ if (e.key === "Tab") {
+ e.preventDefault();
+ const focusableElements = [
+ modelSupportsThinkingLevels
+ ? thinkingLevelButtonRef.current
+ : thinkButtonRef.current,
+ webSearchButtonRef.current,
+ modelPickerRef.current,
+ submitButtonRef.current,
+ ].filter(Boolean);
+
+ if (e.shiftKey) {
+ // Shift+Tab: focus last focusable element
+ const lastElement = focusableElements[focusableElements.length - 1];
+ lastElement?.focus();
+ } else {
+ // Tab: focus first focusable element
+ const firstElement = focusableElements[0];
+ firstElement?.focus();
+ }
+ return;
+ }
+ };
+
+ const handleCompositionStart = () => {
+ if (compositionEndTimeoutRef.current) {
+ window.clearTimeout(compositionEndTimeoutRef.current);
+ }
+ setIsEditing(true);
+ };
+
+ const handleCompositionEnd = () => {
+ // Add a small delay to handle the timing issue where Enter keydown
+ // fires immediately after composition end
+ compositionEndTimeoutRef.current = window.setTimeout(() => {
+ setIsEditing(false);
+ }, 10);
+ };
+
+ const handleCancel = () => {
+ cancelMessage(chatId);
+ };
+
+ const handleCancelEdit = () => {
+ // Clear composition and call parent callback
+ setMessage({
+ content: "",
+ attachments: [],
+ fileErrors: [],
+ });
+
+ onCancelEdit?.();
+
+ // Focus the textarea after canceling edit mode
+ setTimeout(() => {
+ textareaRef.current?.focus();
+ }, 0);
+ };
+
+ const handleFileInputChange = (e: React.ChangeEvent) => {
+ const files = e.target.files;
+ if (!files) return;
+
+ Array.from(files).forEach((file) => {
+ const reader = new FileReader();
+ reader.readAsDataURL(file);
+ });
+
+ // Reset file input
+ if (e.target) {
+ e.target.value = "";
+ }
+ };
+
+ // Auto-resize textarea function
+ const handleTextareaChange = (e: React.ChangeEvent) => {
+ setMessage((prev) => ({ ...prev, content: e.target.value }));
+
+ // Reset height to auto to get the correct scrollHeight, then cap at 8 lines
+ e.target.style.height = "auto";
+ e.target.style.height = Math.min(e.target.scrollHeight, 24 * 8) + "px";
+ };
+
+ const handleFilesUpload = async () => {
+ try {
+ setFileUploadError(null);
+
+ const results = await window.webview?.selectMultipleFiles();
+ if (results && results.length > 0) {
+ // Convert native dialog results to File objects
+ const files = results
+ .map((result: ImageData) => {
+ if (result.dataURL) {
+ // Convert dataURL back to File object
+ const base64Data = result.dataURL.split(",")[1];
+ const mimeType = result.dataURL.split(";")[0].split(":")[1];
+ const binaryString = atob(base64Data);
+ const bytes = new Uint8Array(binaryString.length);
+ for (let i = 0; i < binaryString.length; i++) {
+ bytes[i] = binaryString.charCodeAt(i);
+ }
+
+ const blob = new Blob([bytes], { type: mimeType });
+ const file = new File([blob], result.filename, {
+ type: mimeType,
+ });
+ return file;
+ }
+ return null;
+ })
+ .filter(Boolean) as File[];
+
+ if (files.length > 0) {
+ const { validFiles, errors } = await processFiles(files, {
+ selectedModel,
+ hasVisionCapability,
+ });
+
+ // Send processed files and errors to the same handler as FileUpload
+ if (validFiles.length > 0 || errors.length > 0) {
+ handleFilesReceived(validFiles, errors);
+ }
+ }
+ }
+ } catch (error) {
+ console.error("Error selecting multiple files:", error);
+
+ const errorEvent = new ErrorEvent({
+ eventName: "error" as const,
+ error:
+ error instanceof Error ? error.message : "Failed to select files",
+ code: "file_selection_error",
+ details:
+ "An error occurred while trying to open the file selection dialog. Please try again.",
+ });
+
+ setFileUploadError(errorEvent);
+ }
+ };
+ return (
+
+ {chatId === "new" &&
}
+
+ {shouldShowLoginBanner && (
+
{
+ // Disable the active features when dismissing
+ if (webSearchEnabled) setSettings({ WebSearchEnabled: false });
+ setLoginPromptFeature(null);
+ }}
+ />
+ )}
+
+ {/* File upload error message */}
+ {fileUploadError && }
+
+ {isDisabled && (
+ // overlay to block interaction
+
+ )}
+ {editingMessage && (
+
+
+ Press ESC to cancel editing
+
+
+ )}
+ {(message.attachments.length > 0 || message.fileErrors.length > 0) && (
+
+ {message.attachments.map((attachment, index) => {
+ const isUnsupportedImage =
+ !hasVisionCapability && isImageFile(attachment.filename);
+ return (
+
+ {isImageFile(attachment.filename) ? (
+
+ ) : (
+
+
+
+ )}
+
+
+ {attachment.filename}
+
+ {isUnsupportedImage && (
+
+ This model does not support images
+
+ )}
+
+
removeFile(index)}
+ className="opacity-0 group-hover:opacity-100 transition-opacity text-neutral-400 hover:text-neutral-600 dark:text-neutral-500 dark:hover:text-neutral-300 -mr-1 cursor-pointer"
+ aria-label={`Remove ${attachment.filename}`}
+ >
+
+
+
+
+
+ );
+ })}
+ {message.fileErrors.map((fileError, index) => (
+
+
+
+
+
+ {fileError.filename}
+
+
+ • {fileError.error}
+
+
removeFileError(index)}
+ className="opacity-0 group-hover:opacity-100 transition-opacity text-red-400 hover:text-red-600 dark:text-red-500 dark:hover:text-red-300 -mr-1 ml-auto"
+ aria-label={`Remove ${fileError.filename}`}
+ >
+
+
+
+
+
+ ))}
+
+ )}
+
+
+
+
+
+ {/* Controls */}
+
+ {/* Tool buttons - animate from underneath model picker */}
+ {!isDisabled && (
+
+
+ {/* File Upload Buttons */}
+
+
+
+ {/* Thinking Level Button */}
+ {modelSupportsThinkingLevels && (
+ <>
+
+ >
+ )}
+ {/* Think Button turn on and off */}
+ {supportsThinkToggling && !modelSupportsThinkingLevels && (
+ <>
+
{
+ // DeepSeek-v3 specific - thinking and web search are mutually exclusive
+ if (supportsThinkToggling) {
+ const enable = !thinkEnabled;
+ setSettings({
+ ThinkEnabled: enable,
+ ...(enable ? { WebSearchEnabled: false } : {}),
+ });
+ return;
+ }
+ setSettings({ ThinkEnabled: !thinkEnabled });
+ }}
+ />
+ >
+ )}
+ {
+ if (!webSearchEnabled && !isAuthenticated) {
+ setLoginPromptFeature("webSearch");
+ }
+ const enable = !webSearchEnabled;
+ if (supportsThinkToggling && enable) {
+ setSettings({
+ WebSearchEnabled: true,
+ ThinkEnabled: false,
+ });
+ return;
+ }
+ setSettings({ WebSearchEnabled: enable });
+ }}
+ />
+
+
+ )}
+
+ {/* Model picker and submit button */}
+
+
+
0)
+ }
+ className={`flex items-center justify-center h-9 w-9 rounded-full disabled:cursor-default cursor-pointer bg-black text-white dark:bg-white dark:text-black disabled:opacity-10 focus:outline-none focus:ring-2 focus:ring-blue-500`}
+ >
+ {isStreaming || isDownloading ? (
+
+
+
+ ) : (
+
+
+
+ )}
+
+
+
+
+
+ {/* Hidden file input for fallback */}
+
+
+ );
+}
+
+export default ChatForm;
diff --git a/western_ai/usa/ollama/app/ui/app/src/components/ChatSidebar.tsx b/western_ai/usa/ollama/app/ui/app/src/components/ChatSidebar.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..6e41b31d76bfa8193b198abd2e44c21382cceea5
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/components/ChatSidebar.tsx
@@ -0,0 +1,396 @@
+import { useChats } from "@/hooks/useChats";
+import { useRenameChat } from "@/hooks/useRenameChat";
+import { useDeleteChat } from "@/hooks/useDeleteChat";
+import { useQueryClient } from "@tanstack/react-query";
+import { getChat } from "@/api";
+import { Link } from "@/components/ui/link";
+import { useState, useRef, useEffect, useCallback, useMemo } from "react";
+import { ChatsResponse } from "@/gotypes";
+import { CogIcon, RocketLaunchIcon } from "@heroicons/react/24/outline";
+
+// there's a hidden debug feature to copy a chat's data to the clipboard by
+// holding shift and clicking this many times within this many seconds
+const DEBUG_SHIFT_CLICKS_REQUIRED = 5;
+const DEBUG_SHIFT_CLICK_WINDOW_MS = 7000; // 7 seconds
+const launchSidebarRequestedKey = "ollama.launchSidebarRequested";
+
+interface ChatSidebarProps {
+ currentChatId?: string;
+}
+
+export function ChatSidebar({ currentChatId }: ChatSidebarProps) {
+ const { data, isLoading, error } = useChats();
+ const queryClient = useQueryClient();
+ const renameMutation = useRenameChat();
+ const deleteMutation = useDeleteChat();
+ const [editingChatId, setEditingChatId] = useState(null);
+ const [editValue, setEditValue] = useState("");
+ const inputRef = useRef(null);
+ const [shiftClicks, setShiftClicks] = useState>({});
+ const [copiedChatId, setCopiedChatId] = useState(null);
+
+ const handleMouseEnter = useCallback(
+ (chatId: string) => {
+ queryClient.prefetchQuery({
+ queryKey: ["chat", chatId],
+ queryFn: () => getChat(chatId),
+ staleTime: 1500,
+ });
+ },
+ [queryClient],
+ );
+
+ const startEditing = useCallback((chatId: string, currentTitle: string) => {
+ setEditingChatId(chatId);
+ setEditValue(currentTitle);
+ }, []);
+
+ const saveRename = useCallback(async () => {
+ if (!editingChatId || !editValue.trim()) {
+ setEditingChatId(null);
+ return;
+ }
+
+ const newTitle = editValue.trim();
+ const chatId = editingChatId;
+
+ // Exit edit mode immediately to prevent flash
+ setEditingChatId(null);
+ setEditValue("");
+
+ // Optimistically update the cache
+ queryClient.setQueryData(
+ ["chats"],
+ (oldData: ChatsResponse | undefined) => {
+ if (!oldData?.chatInfos) return oldData;
+ return {
+ ...oldData,
+ chatInfos: oldData.chatInfos.map((chat) =>
+ chat.id === chatId ? { ...chat, title: newTitle } : chat,
+ ),
+ };
+ },
+ );
+
+ try {
+ await renameMutation.mutateAsync({
+ chatId: chatId,
+ title: newTitle,
+ });
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
+ } catch (error: unknown) {
+ // Revert optimistic update on error
+ queryClient.invalidateQueries({ queryKey: ["chats"] });
+ }
+ }, [editingChatId, editValue, renameMutation, queryClient]);
+
+ useEffect(() => {
+ if (editingChatId && inputRef.current) {
+ inputRef.current.focus();
+ inputRef.current.select();
+ }
+ }, [editingChatId]);
+
+ useEffect(() => {
+ const handleClickOutside = (event: MouseEvent) => {
+ if (
+ inputRef.current &&
+ !inputRef.current.contains(event.target as Node)
+ ) {
+ saveRename();
+ }
+ };
+
+ if (editingChatId) {
+ document.addEventListener("mousedown", handleClickOutside);
+ return () => {
+ document.removeEventListener("mousedown", handleClickOutside);
+ };
+ }
+ }, [editingChatId, editValue, saveRename]);
+
+ const sortedChats = useMemo(() => {
+ if (!data?.chatInfos) return [];
+ return [...data.chatInfos].sort((a, b) => {
+ const comparison = b.updatedAt.getTime() - a.updatedAt.getTime();
+ if (comparison === 0) {
+ return b.id.localeCompare(a.id);
+ }
+ return comparison;
+ });
+ }, [data?.chatInfos]);
+
+ const isToday = (date: Date) => {
+ const today = new Date();
+ return (
+ date.getDate() === today.getDate() &&
+ date.getMonth() === today.getMonth() &&
+ date.getFullYear() === today.getFullYear()
+ );
+ };
+
+ const isThisWeek = (date: Date) => {
+ const now = new Date();
+ const weekAgo = new Date(now.getTime() - 7 * 24 * 60 * 60 * 1000);
+ return date > weekAgo && !isToday(date);
+ };
+
+ // Group chats by time period
+ const groupedChats = useMemo(() => {
+ const groups = {
+ today: [] as typeof sortedChats,
+ thisWeek: [] as typeof sortedChats,
+ older: [] as typeof sortedChats,
+ };
+
+ sortedChats.forEach((chat) => {
+ if (isToday(chat.updatedAt)) {
+ groups.today.push(chat);
+ } else if (isThisWeek(chat.updatedAt)) {
+ groups.thisWeek.push(chat);
+ } else {
+ groups.older.push(chat);
+ }
+ });
+
+ return groups;
+ }, [sortedChats]);
+
+ const chatGroups = useMemo(() => {
+ return [
+ { name: "Today", chats: groupedChats.today },
+ { name: "This week", chats: groupedChats.thisWeek },
+ { name: "Older", chats: groupedChats.older },
+ ].filter((group) => group.chats.length > 0);
+ }, [groupedChats]);
+
+ const handleDeleteChat = useCallback(
+ async (chatId: string) => {
+ const confirmed = window.confirm(
+ `Are you sure you want to remove this chat?`,
+ );
+
+ if (!confirmed) return;
+
+ try {
+ await deleteMutation.mutateAsync(chatId);
+ } catch (error) {
+ console.error("Failed to delete chat:", error);
+ }
+ },
+ [deleteMutation],
+ );
+
+ // implementation of the hidden debug feature to copy a chat's data to the clipboard
+ const handleShiftClick = useCallback(
+ async (e: React.MouseEvent, chatId: string) => {
+ if (!e.shiftKey) return false;
+
+ e.preventDefault();
+ const now = Date.now();
+
+ const clicks = shiftClicks[chatId] || [];
+ const recentClicks = clicks.filter(
+ (timestamp) => now - timestamp < DEBUG_SHIFT_CLICK_WINDOW_MS,
+ );
+ recentClicks.push(now);
+
+ setShiftClicks((prev) => ({
+ ...prev,
+ [chatId]: recentClicks,
+ }));
+
+ if (recentClicks.length >= DEBUG_SHIFT_CLICKS_REQUIRED) {
+ try {
+ const chatData = await getChat(chatId);
+ const jsonString = JSON.stringify(chatData, null, 2);
+ await navigator.clipboard.writeText(jsonString);
+
+ // visual feedback
+ setCopiedChatId(chatId);
+ setTimeout(() => setCopiedChatId(null), 2000);
+
+ setShiftClicks((prev) => ({
+ ...prev,
+ [chatId]: [],
+ }));
+ } catch (error) {
+ console.error("Failed to copy chat data:", error);
+ }
+ }
+
+ return true;
+ },
+ [shiftClicks],
+ );
+
+ const handleContextMenu = useCallback(
+ async (_: React.MouseEvent, chatId: string, chatTitle: string) => {
+ const selectedAction = await window.menu([
+ { label: "Rename", enabled: true },
+ { label: "Delete", enabled: true },
+ ]);
+
+ if (selectedAction === "Rename") {
+ startEditing(chatId, chatTitle);
+ } else if (selectedAction === "Delete") {
+ handleDeleteChat(chatId);
+ }
+ },
+ [startEditing, handleDeleteChat],
+ );
+
+ if (isLoading) {
+ return (
+
+
+
+ );
+ }
+
+ if (error) {
+ return (
+
+
+
+ );
+ }
+
+ const isWindows = navigator.platform.toLowerCase().includes("win");
+
+ return (
+
+
+
+
+
+
+
+ New Chat
+
+ {
+ if (currentChatId !== "launch") {
+ sessionStorage.setItem(launchSidebarRequestedKey, "1");
+ }
+ }}
+ className={`flex w-full items-center gap-3 rounded-lg px-2 py-2 text-left text-sm text-neutral-700 hover:bg-neutral-100 dark:hover:bg-neutral-800 dark:text-neutral-100 cursor-pointer ${currentChatId === "launch"
+ ? "bg-neutral-100 dark:bg-neutral-800"
+ : ""
+ }`}
+ draggable={false}
+ >
+
+ Launch
+
+ {isWindows && (
+
+
+ Settings
+
+ )}
+
+
+
+ {chatGroups.map((group) => (
+
+
+ {group.name}
+
+ {group.chats.map((chat) => (
+
handleMouseEnter(chat.id)}
+ onContextMenu={(e) =>
+ handleContextMenu(
+ e,
+ chat.id,
+ chat.title ||
+ chat.userExcerpt ||
+ chat.createdAt.toLocaleString(),
+ )
+ }
+ >
+ {editingChatId === chat.id ? (
+
+
+ setEditValue(e.target.value)}
+ onKeyDown={(e) => {
+ if (e.key === "Enter") {
+ e.preventDefault();
+ saveRename();
+ } else if (e.key === "Escape") {
+ setEditingChatId(null);
+ setEditValue("");
+ }
+ }}
+ className="bg-transparent border-0 focus:outline-none w-full dark:text-white"
+ style={{
+ font: "inherit",
+ lineHeight: "inherit",
+ padding: 0,
+ margin: 0,
+ }}
+ />
+
+
+ ) : (
+
{
+ handleShiftClick(e, chat.id);
+ }}
+ draggable={false}
+ >
+
+ {chat.title ||
+ chat.userExcerpt ||
+ chat.createdAt.toLocaleString()}
+
+ {copiedChatId === chat.id && (
+
+ Copied!
+
+ )}
+
+ )}
+
+ ))}
+
+ ))}
+
+
+
+ );
+}
diff --git a/western_ai/usa/ollama/app/ui/app/src/components/CopyButton.tsx b/western_ai/usa/ollama/app/ui/app/src/components/CopyButton.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..88259ce6a9c78ccf6eddc87306a4e4b7cef2a7b6
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/components/CopyButton.tsx
@@ -0,0 +1,99 @@
+import { CheckIcon } from "@heroicons/react/20/solid";
+import { Square2StackIcon } from "@heroicons/react/24/outline";
+import React, { useState } from "react";
+
+interface CopyButtonProps {
+ content: string;
+ copyRef?: React.RefObject;
+ removeClasses?: string[];
+ size?: "sm" | "md";
+ showLabels?: boolean;
+ className?: string;
+ title?: string;
+ onCopy?: () => void;
+}
+
+const CopyButton: React.FC = ({
+ content,
+ copyRef,
+ removeClasses = [],
+ size = "sm",
+ showLabels = false,
+ className = "",
+ title = "",
+ onCopy,
+}) => {
+ const [isCopied, setIsCopied] = useState(false);
+
+ const handleCopy = async () => {
+ try {
+ if (copyRef?.current) {
+ // For copy response message
+ const cloned = copyRef.current.cloneNode(true) as HTMLElement;
+
+ removeClasses.forEach((className) => {
+ cloned
+ .querySelectorAll(`.${className}`)
+ .forEach((element) => element.remove());
+ });
+
+ await navigator.clipboard.write([
+ new ClipboardItem({
+ "text/html": new Blob([cloned.innerHTML], {
+ type: "text/html",
+ }),
+ "text/plain": new Blob([content], { type: "text/plain" }),
+ }),
+ ]);
+ } else {
+ await navigator.clipboard.writeText(content);
+ }
+
+ setIsCopied(true);
+ onCopy?.();
+ setTimeout(() => setIsCopied(false), 2000);
+ } catch (error) {
+ console.error("Clipboard API failed, falling back to plain text", error);
+ try {
+ await navigator.clipboard.writeText(content);
+ setIsCopied(true);
+ onCopy?.();
+ setTimeout(() => setIsCopied(false), 2000);
+ } catch (fallbackError) {
+ console.error("Fallback copy also failed:", fallbackError);
+ }
+ }
+ };
+
+ const iconSize = size === "sm" ? "h-3 w-3" : "h-7 w-7";
+ const baseClasses =
+ size === "sm"
+ ? `text-xs px-4 py-2 z-10 rounded-lg hover:cursor-pointer ${className}`
+ : `${iconSize} px-1 py-0.5 text-xs cursor-pointer rounded-lg hover:bg-neutral-100 dark:hover:bg-neutral-800 flex items-center justify-center ${className}`;
+
+ const icon = isCopied ? (
+
+ ) : (
+
+ );
+
+ return (
+
+ {showLabels ? (
+
+ {icon}
+ {isCopied ? "Copied" : "Copy"}
+
+ ) : (
+ icon
+ )}
+
+ );
+};
+
+export default CopyButton;
diff --git a/western_ai/usa/ollama/app/ui/app/src/components/DisplayLogin.tsx b/western_ai/usa/ollama/app/ui/app/src/components/DisplayLogin.tsx
new file mode 100644
index 0000000000000000000000000000000000000000..add1b6417f4acb1170dc62140dd0f549d09d4a4e
--- /dev/null
+++ b/western_ai/usa/ollama/app/ui/app/src/components/DisplayLogin.tsx
@@ -0,0 +1,74 @@
+import type { ErrorEvent } from "@/gotypes";
+import { Display, type DisplayAction } from "@/components/ui/display";
+import { useUser } from "@/hooks/useUser";
+import { useEffect, useState } from "react";
+
+interface DisplayLoginProps {
+ error: ErrorEvent | null;
+ className?: string;
+ onDismiss?: () => void;
+ message?: string;
+}
+
+export const DisplayLogin = ({
+ error,
+ className,
+ onDismiss,
+ message,
+}: DisplayLoginProps) => {
+ const { fetchConnectUrl, refetchUser, isAuthenticated } = useUser();
+ const [isAwaitingAuth, setIsAwaitingAuth] = useState(false);
+
+ useEffect(() => {
+ const handleFocus = () => {
+ if (isAwaitingAuth) {
+ setIsAwaitingAuth(false);
+ refetchUser();
+ }
+ };
+
+ window.addEventListener("focus", handleFocus);
+
+ return () => {
+ window.removeEventListener("focus", handleFocus);
+ };
+ }, [isAwaitingAuth, refetchUser]);
+
+ useEffect(() => {
+ if (isAuthenticated && isAwaitingAuth) {
+ setIsAwaitingAuth(false);
+ if (onDismiss) {
+ onDismiss();
+ }
+ }
+ }, [isAuthenticated, isAwaitingAuth, onDismiss]);
+
+ if (!error || error.code !== "cloud_unauthorized" || isAuthenticated)
+ return null;
+
+ const handleSignIn = async () => {
+ try {
+ const { data: connectUrl } = await fetchConnectUrl();
+ if (connectUrl) {
+ window.open(connectUrl, "_blank");
+ setIsAwaitingAuth(true);
+ }
+ } catch (error) {
+ console.error("Error getting connect URL:", error);
+ }
+ };
+
+ const action: DisplayAction = {
+ label: "Sign In",
+ onClick: handleSignIn,
+ };
+
+ return (
+
+ );
+};