ommlds 0.0.0.dev467__tar.gz → 0.0.0.dev475__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ommlds-0.0.0.dev467/ommlds.egg-info → ommlds-0.0.0.dev475}/PKG-INFO +12 -9
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/.omlish-manifests.json +159 -6
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/__about__.py +9 -3
- ommlds-0.0.0.dev475/ommlds/_hacks/__init__.py +4 -0
- ommlds-0.0.0.dev475/ommlds/_hacks/funcs.py +110 -0
- ommlds-0.0.0.dev475/ommlds/_hacks/names.py +158 -0
- ommlds-0.0.0.dev475/ommlds/_hacks/params.py +73 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/_hacks/patches.py +0 -3
- ommlds-0.0.0.dev475/ommlds/backends/ollama/protocol.py +170 -0
- ommlds-0.0.0.dev475/ommlds/backends/tinygrad/models/llama3/__init__.py +28 -0
- ommlds-0.0.0.dev475/ommlds/backends/transformers/filecache.py +109 -0
- ommlds-0.0.0.dev475/ommlds/backends/transformers/streamers.py +73 -0
- ommlds-0.0.0.dev475/ommlds/cli/asyncs.py +30 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/inject.py +7 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/main.py +14 -20
- ommlds-0.0.0.dev475/ommlds/cli/main2.py +220 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/backends/catalog.py +13 -8
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/backends/inject.py +16 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/user/inject.py +7 -0
- ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/chat/user/inputs.py +105 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/user/interactive.py +7 -5
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/configs.py +2 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/inject.py +1 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/completion/session.py +1 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/embedding/session.py +1 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/__init__.py +5 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/catalogs/base.py +20 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/catalogs/simple.py +2 -2
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/catalogs/strings.py +9 -7
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/anthropic/chat.py +5 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/anthropic/stream.py +11 -6
- ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/dummy/chat.py +69 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/google/chat.py +9 -2
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/google/search.py +6 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/google/stream.py +11 -6
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/llamacpp/chat.py +9 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/llamacpp/stream.py +26 -10
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/mistral.py +9 -2
- ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/ollama/chat.py +199 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/chat.py +9 -2
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/completion.py +9 -2
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/embedding.py +9 -2
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/stream.py +11 -6
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/tinygrad/chat.py +3 -3
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/transformers/transformers.py +134 -17
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/strings/parsing.py +1 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/strings/resolving.py +4 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/registries/globals.py +18 -4
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/resources.py +28 -3
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/standard.py +7 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/stream/services.py +19 -16
- ommlds-0.0.0.dev475/ommlds/nanochat/LICENSE +21 -0
- ommlds-0.0.0.dev475/ommlds/nanochat/rustbpe/LICENSE +21 -0
- ommlds-0.0.0.dev475/ommlds/nanochat/tokenizers.py +406 -0
- ommlds-0.0.0.dev475/ommlds/tools/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/tools/git.py +4 -1
- ommlds-0.0.0.dev475/ommlds/wiki/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/analyze.py +2 -2
- ommlds-0.0.0.dev475/ommlds/wiki/text/__init__.py +0 -0
- ommlds-0.0.0.dev475/ommlds/wiki/utils/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475/ommlds.egg-info}/PKG-INFO +12 -9
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds.egg-info/SOURCES.txt +20 -1
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds.egg-info/requires.txt +12 -8
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/pyproject.toml +13 -9
- ommlds-0.0.0.dev467/ommlds/backends/tinygrad/models/llama3/__init__.py +0 -20
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/LICENSE +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/MANIFEST.in +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/README.md +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/_hacks → ommlds-0.0.0.dev475/ommlds/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/backends → ommlds-0.0.0.dev475/ommlds/backends/anthropic}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/sse/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/sse/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/sse/assemble.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/sse/events.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/anthropic/protocol/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/backends/anthropic → ommlds-0.0.0.dev475/ommlds/backends/google}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/google/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/google/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/google/protocol/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds → ommlds-0.0.0.dev475/ommlds/backends}/huggingface.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/llamacpp/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/llamacpp/buildwheel.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/llamacpp/logging.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/__main__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/caching.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/cli.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/generation.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/limits.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/loading.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/LICENSE +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/backends/google → ommlds-0.0.0.dev475/ommlds/backends/mlx/tokenization/detokenization}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/detokenization/base.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/detokenization/bpe.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/detokenization/naive.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/detokenization/spm.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/loading.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/tokenization.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/mlx/tokenization/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/backends/mlx/tokenization/detokenization → ommlds-0.0.0.dev475/ommlds/backends/ollama}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/_common.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/chunk.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/contentpart.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/message.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/request.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/response.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/responseformat.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/chatcompletion/tokenlogprob.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/openai/protocol/completionusage.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/LICENSE +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/__main__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/attention.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/cli.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/fetch.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/llm.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/loading.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/quantization.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/sampling.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/tokenization.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/llama3/transformer.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/__main__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/cli.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/clip.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/sdxl.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/models/sdxl/unet.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/tinygrad/tinygrad.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/torch/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/torch/backends.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/torch/devices.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/backends/torch/purge.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli → ommlds-0.0.0.dev475/ommlds/backends/transformers}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/backends → ommlds-0.0.0.dev475/ommlds/cli}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/__main__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions → ommlds-0.0.0.dev475/ommlds/cli/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/backends/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/backends/standard.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat → ommlds-0.0.0.dev475/ommlds/cli/sessions}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/base.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/backends → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/chat → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/backends/injection.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/backends/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/chat/ai → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/chat}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/chat/state → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/chat/ai}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/injection.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/rendering.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/services.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/tools.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/ai/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/chat/user → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/chat/state}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/state/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/state/inmemory.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/state/storage.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/state/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/content → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/chat/user}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/user/oneshot.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/chat/user/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/phases → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/content}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/content/messages.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/content/strings.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/driver.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/rendering → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/phases}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/phases/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/phases/injection.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/phases/manager.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/phases/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/chat/tools → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/rendering}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/rendering/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/rendering/markdown.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/rendering/raw.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/rendering/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/session.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/completion → ommlds-0.0.0.dev475/ommlds/cli/sessions/chat/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/confirmation.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/execution.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/injection.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/rendering.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/chat/tools/weather.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/sessions/embedding → ommlds-0.0.0.dev475/ommlds/cli/sessions/completion}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/completion/configs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/completion/inject.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/cli/state → ommlds-0.0.0.dev475/ommlds/cli/sessions/embedding}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/embedding/configs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/embedding/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/sessions/inject.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/datasets → ommlds-0.0.0.dev475/ommlds/cli/state}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/state/inject.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/cli/state/storage.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/datasets/lib → ommlds-0.0.0.dev475/ommlds/datasets}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends → ommlds-0.0.0.dev475/ommlds/datasets/lib}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/datasets/lib/movies.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/_typedvalues.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/catalogs → ommlds-0.0.0.dev475/ommlds/minichain/backends}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls → ommlds-0.0.0.dev475/ommlds/minichain/backends/catalogs}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/anthropic → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/duckduckgo → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/anthropic}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/anthropic/names.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/anthropic/protocol.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/google → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/duckduckgo}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/duckduckgo/search.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/huggingface → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/dummy}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/llamacpp → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/google}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/google/names.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/google/tools.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/mlx → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/huggingface}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/huggingface/configs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/huggingface/repos.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/openai → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/llamacpp}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/llamacpp/completion.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/llamacpp/format.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/sentencepiece → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/mlx}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/mlx/chat.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/tinygrad → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/ollama}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/tokenizers → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/openai}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/format.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/openai/names.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/impls/transformers → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/sentencepiece}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/sentencepiece/tokens.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/sqlite.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/backends/strings → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/tinygrad}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/chat → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/tokenizers}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/tokenizers/tokens.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/chat/choices → ommlds-0.0.0.dev475/ommlds/minichain/backends/impls/transformers}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/transformers/sentence.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/impls/transformers/tokens.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/chat/stream → ommlds-0.0.0.dev475/ommlds/minichain/backends/strings}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/backends/strings/manifests.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/chat/tools → ommlds-0.0.0.dev475/ommlds/minichain/chat}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/_marshal.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/chat/transforms → ommlds-0.0.0.dev475/ommlds/minichain/chat/choices}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/choices/adapters.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/choices/services.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/choices/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/formats.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/history.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/messages.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/metadata.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/services.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/content/transforms → ommlds-0.0.0.dev475/ommlds/minichain/chat/stream}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/stream/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/stream/adapters.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/stream/joining.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/stream/services.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/stream/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/templating.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib → ommlds-0.0.0.dev475/ommlds/minichain/chat/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/tools/execution.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/tools/ids.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/tools/parsing.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/tools/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/code → ommlds-0.0.0.dev475/ommlds/minichain/chat/transforms}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/transforms/base.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/transforms/metadata.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/transforms/services.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/chat/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/completion.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/configs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/images.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/json.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/materialize.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/metadata.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/namespaces.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/placeholders.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/prepare.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/sequence.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/simple.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/text.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/fs → ommlds-0.0.0.dev475/ommlds/minichain/content/transforms}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/transforms/base.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/transforms/interleave.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/transforms/squeeze.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/transforms/stringify.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/transforms/strings.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/content/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/docs/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/docs/docs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/docs/dtypes.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/docs/filters.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/envs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/json.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/fs/tools → ommlds-0.0.0.dev475/ommlds/minichain/lib}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/bash.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/fs/tools/recursivels → ommlds-0.0.0.dev475/ommlds/minichain/lib/code}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/code/prompts.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/todo → ommlds-0.0.0.dev475/ommlds/minichain/lib/fs}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/binfiles.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/context.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/errors.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/suggestions.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/lib/todo → ommlds-0.0.0.dev475/ommlds/minichain/lib/fs}/tools/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/edit.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/ls.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/read.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/llms → ommlds-0.0.0.dev475/ommlds/minichain/lib/fs/tools/recursivels}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/recursivels/execution.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/recursivels/rendering.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/fs/tools/recursivels/running.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/models → ommlds-0.0.0.dev475/ommlds/minichain/lib/todo}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/todo/context.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/models/repos → ommlds-0.0.0.dev475/ommlds/minichain/lib/todo/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/todo/tools/read.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/todo/tools/write.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/lib/todo/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/registries → ommlds-0.0.0.dev475/ommlds/minichain/llms}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/llms/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/llms/tokens.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/llms/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/metadata.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/stream → ommlds-0.0.0.dev475/ommlds/minichain/models}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/models/configs.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/models/names.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/text → ommlds-0.0.0.dev475/ommlds/minichain/models/repos}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/models/repos/resolving.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/text/toolparsing → ommlds-0.0.0.dev475/ommlds/minichain/registries}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/registries/manifests.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/registries/registry.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/search.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/_origclasses.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/_typedvalues.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/facades.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/requests.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/responses.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/services/services.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/tools → ommlds-0.0.0.dev475/ommlds/minichain/stream}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/stream/wrap.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/tools/execution → ommlds-0.0.0.dev475/ommlds/minichain/text}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/applypatch.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/minichain/vectors → ommlds-0.0.0.dev475/ommlds/minichain/text/toolparsing}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/base.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/dumb.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/LICENSE +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/hermes2.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/llama31.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/text/toolparsing/llamacpp/utils.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tokens/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tokens/specials.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tokens/tokenizers.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tokens/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tokens/vocabs.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/server → ommlds-0.0.0.dev475/ommlds/minichain/tools}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/_marshal.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/tools → ommlds-0.0.0.dev475/ommlds/minichain/tools/execution}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/execution/catalog.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/execution/context.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/execution/errors.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/execution/executors.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/execution/reflect.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/fns.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/jsonschema.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/reflect.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/tools/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/types.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/utils.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/wiki → ommlds-0.0.0.dev475/ommlds/minichain/vectors}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/_marshal.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/embeddings.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/index.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/search.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/similarity.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/stores.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/minichain/vectors/types.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/wiki/text → ommlds-0.0.0.dev475/ommlds/nanochat}/__init__.py +0 -0
- {ommlds-0.0.0.dev467/ommlds/wiki/utils → ommlds-0.0.0.dev475/ommlds/server}/__init__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/server/__main__.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/server/cli.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/server/client.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/server/server.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/server/service.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/tools/ocr.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/convert.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/models.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/text/mfh.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/text/wtp.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/utils/io.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/utils/progress.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/utils/xml.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds/wiki/xml.py +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds.egg-info/dependency_links.txt +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds.egg-info/entry_points.txt +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/ommlds.egg-info/top_level.txt +0 -0
- {ommlds-0.0.0.dev467 → ommlds-0.0.0.dev475}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ommlds
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev475
|
|
4
4
|
Summary: ommlds
|
|
5
5
|
Author: wrmsr
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -14,8 +14,8 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Requires-Python: >=3.13
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: omdev==0.0.0.
|
|
18
|
-
Requires-Dist: omlish==0.0.0.
|
|
17
|
+
Requires-Dist: omdev==0.0.0.dev475
|
|
18
|
+
Requires-Dist: omlish==0.0.0.dev475
|
|
19
19
|
Provides-Extra: all
|
|
20
20
|
Requires-Dist: llama-cpp-python~=0.3; extra == "all"
|
|
21
21
|
Requires-Dist: mlx~=0.29; extra == "all"
|
|
@@ -26,13 +26,14 @@ Requires-Dist: tokenizers~=0.22; extra == "all"
|
|
|
26
26
|
Requires-Dist: torch~=2.9; extra == "all"
|
|
27
27
|
Requires-Dist: transformers~=4.57; extra == "all"
|
|
28
28
|
Requires-Dist: sentence-transformers~=5.1; extra == "all"
|
|
29
|
-
Requires-Dist: huggingface-hub~=0.
|
|
30
|
-
Requires-Dist: datasets~=4.
|
|
29
|
+
Requires-Dist: huggingface-hub~=0.36; extra == "all"
|
|
30
|
+
Requires-Dist: datasets~=4.4; extra == "all"
|
|
31
|
+
Requires-Dist: regex>=2025.0; extra == "all"
|
|
31
32
|
Requires-Dist: numpy>=1.26; extra == "all"
|
|
32
33
|
Requires-Dist: pytesseract~=0.3; extra == "all"
|
|
33
34
|
Requires-Dist: rapidocr-onnxruntime~=1.4; extra == "all"
|
|
34
35
|
Requires-Dist: pillow~=12.0; extra == "all"
|
|
35
|
-
Requires-Dist: ddgs~=9.
|
|
36
|
+
Requires-Dist: ddgs~=9.8; extra == "all"
|
|
36
37
|
Requires-Dist: mwparserfromhell~=0.7; extra == "all"
|
|
37
38
|
Requires-Dist: wikitextparser~=0.56; extra == "all"
|
|
38
39
|
Requires-Dist: lxml>=5.3; python_version < "3.13" and extra == "all"
|
|
@@ -47,8 +48,10 @@ Requires-Dist: torch~=2.9; extra == "backends"
|
|
|
47
48
|
Requires-Dist: transformers~=4.57; extra == "backends"
|
|
48
49
|
Requires-Dist: sentence-transformers~=5.1; extra == "backends"
|
|
49
50
|
Provides-Extra: huggingface
|
|
50
|
-
Requires-Dist: huggingface-hub~=0.
|
|
51
|
-
Requires-Dist: datasets~=4.
|
|
51
|
+
Requires-Dist: huggingface-hub~=0.36; extra == "huggingface"
|
|
52
|
+
Requires-Dist: datasets~=4.4; extra == "huggingface"
|
|
53
|
+
Provides-Extra: nanochat
|
|
54
|
+
Requires-Dist: regex>=2025.0; extra == "nanochat"
|
|
52
55
|
Provides-Extra: numpy
|
|
53
56
|
Requires-Dist: numpy>=1.26; extra == "numpy"
|
|
54
57
|
Provides-Extra: ocr
|
|
@@ -57,7 +60,7 @@ Requires-Dist: rapidocr-onnxruntime~=1.4; extra == "ocr"
|
|
|
57
60
|
Provides-Extra: pillow
|
|
58
61
|
Requires-Dist: pillow~=12.0; extra == "pillow"
|
|
59
62
|
Provides-Extra: search
|
|
60
|
-
Requires-Dist: ddgs~=9.
|
|
63
|
+
Requires-Dist: ddgs~=9.8; extra == "search"
|
|
61
64
|
Provides-Extra: wiki
|
|
62
65
|
Requires-Dist: mwparserfromhell~=0.7; extra == "wiki"
|
|
63
66
|
Requires-Dist: wikitextparser~=0.56; extra == "wiki"
|
|
@@ -91,6 +91,52 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
+
{
|
|
95
|
+
"module": ".minichain.backends.impls.dummy.chat",
|
|
96
|
+
"attr": null,
|
|
97
|
+
"file": "ommlds/minichain/backends/impls/dummy/chat.py",
|
|
98
|
+
"line": 26,
|
|
99
|
+
"value": {
|
|
100
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
101
|
+
"module": "ommlds.minichain.backends.impls.dummy.chat",
|
|
102
|
+
"attr": "DummyChatChoicesService",
|
|
103
|
+
"name": "dummy",
|
|
104
|
+
"aliases": null,
|
|
105
|
+
"type": "ChatChoicesService"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"module": ".minichain.backends.impls.dummy.chat",
|
|
111
|
+
"attr": null,
|
|
112
|
+
"file": "ommlds/minichain/backends/impls/dummy/chat.py",
|
|
113
|
+
"line": 39,
|
|
114
|
+
"value": {
|
|
115
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
116
|
+
"module": "ommlds.minichain.backends.impls.dummy.chat",
|
|
117
|
+
"attr": "DummyChatChoicesStreamService",
|
|
118
|
+
"name": "dummy",
|
|
119
|
+
"aliases": null,
|
|
120
|
+
"type": "ChatChoicesStreamService"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"module": ".minichain.backends.impls.dummy.chat",
|
|
126
|
+
"attr": null,
|
|
127
|
+
"file": "ommlds/minichain/backends/impls/dummy/chat.py",
|
|
128
|
+
"line": 63,
|
|
129
|
+
"value": {
|
|
130
|
+
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
131
|
+
"service_cls_names": [
|
|
132
|
+
"ChatChoicesService",
|
|
133
|
+
"ChatChoicesStreamService"
|
|
134
|
+
],
|
|
135
|
+
"backend_name": "dummy",
|
|
136
|
+
"model_names": null
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
94
140
|
{
|
|
95
141
|
"module": ".minichain.backends.impls.google.chat",
|
|
96
142
|
"attr": null,
|
|
@@ -170,6 +216,21 @@
|
|
|
170
216
|
"attr": null,
|
|
171
217
|
"file": "ommlds/minichain/backends/impls/llamacpp/chat.py",
|
|
172
218
|
"line": 33,
|
|
219
|
+
"value": {
|
|
220
|
+
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
221
|
+
"service_cls_names": [
|
|
222
|
+
"ChatChoicesService"
|
|
223
|
+
],
|
|
224
|
+
"backend_name": "llamacpp",
|
|
225
|
+
"model_names": null
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"module": ".minichain.backends.impls.llamacpp.chat",
|
|
231
|
+
"attr": null,
|
|
232
|
+
"file": "ommlds/minichain/backends/impls/llamacpp/chat.py",
|
|
233
|
+
"line": 42,
|
|
173
234
|
"value": {
|
|
174
235
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
175
236
|
"module": "ommlds.minichain.backends.impls.llamacpp.chat",
|
|
@@ -200,6 +261,21 @@
|
|
|
200
261
|
"attr": null,
|
|
201
262
|
"file": "ommlds/minichain/backends/impls/llamacpp/stream.py",
|
|
202
263
|
"line": 32,
|
|
264
|
+
"value": {
|
|
265
|
+
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
266
|
+
"service_cls_names": [
|
|
267
|
+
"ChatChoicesStreamService"
|
|
268
|
+
],
|
|
269
|
+
"backend_name": "llamacpp",
|
|
270
|
+
"model_names": null
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"module": ".minichain.backends.impls.llamacpp.stream",
|
|
276
|
+
"attr": null,
|
|
277
|
+
"file": "ommlds/minichain/backends/impls/llamacpp/stream.py",
|
|
278
|
+
"line": 41,
|
|
203
279
|
"value": {
|
|
204
280
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
205
281
|
"module": "ommlds.minichain.backends.impls.llamacpp.stream",
|
|
@@ -271,6 +347,52 @@
|
|
|
271
347
|
}
|
|
272
348
|
}
|
|
273
349
|
},
|
|
350
|
+
{
|
|
351
|
+
"module": ".minichain.backends.impls.ollama.chat",
|
|
352
|
+
"attr": null,
|
|
353
|
+
"file": "ommlds/minichain/backends/impls/ollama/chat.py",
|
|
354
|
+
"line": 38,
|
|
355
|
+
"value": {
|
|
356
|
+
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
357
|
+
"service_cls_names": [
|
|
358
|
+
"ChatChoicesService",
|
|
359
|
+
"ChatChoicesStreamService"
|
|
360
|
+
],
|
|
361
|
+
"backend_name": "ollama",
|
|
362
|
+
"model_names": null
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"module": ".minichain.backends.impls.ollama.chat",
|
|
368
|
+
"attr": null,
|
|
369
|
+
"file": "ommlds/minichain/backends/impls/ollama/chat.py",
|
|
370
|
+
"line": 96,
|
|
371
|
+
"value": {
|
|
372
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
373
|
+
"module": "ommlds.minichain.backends.impls.ollama.chat",
|
|
374
|
+
"attr": "OllamaChatChoicesService",
|
|
375
|
+
"name": "ollama",
|
|
376
|
+
"aliases": null,
|
|
377
|
+
"type": "ChatChoicesService"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"module": ".minichain.backends.impls.ollama.chat",
|
|
383
|
+
"attr": null,
|
|
384
|
+
"file": "ommlds/minichain/backends/impls/ollama/chat.py",
|
|
385
|
+
"line": 143,
|
|
386
|
+
"value": {
|
|
387
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
388
|
+
"module": "ommlds.minichain.backends.impls.ollama.chat",
|
|
389
|
+
"attr": "OllamaChatChoicesStreamService",
|
|
390
|
+
"name": "ollama",
|
|
391
|
+
"aliases": null,
|
|
392
|
+
"type": "ChatChoicesStreamService"
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
274
396
|
{
|
|
275
397
|
"module": ".minichain.backends.impls.openai.chat",
|
|
276
398
|
"attr": null,
|
|
@@ -392,7 +514,7 @@
|
|
|
392
514
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
393
515
|
"module": "ommlds.minichain.backends.impls.tinygrad.chat",
|
|
394
516
|
"attr": "TinygradLlama3ChatChoicesService",
|
|
395
|
-
"name": "
|
|
517
|
+
"name": "tinygrad-llama3",
|
|
396
518
|
"aliases": null,
|
|
397
519
|
"type": "ChatChoicesService"
|
|
398
520
|
}
|
|
@@ -407,7 +529,7 @@
|
|
|
407
529
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
408
530
|
"module": "ommlds.minichain.backends.impls.tinygrad.chat",
|
|
409
531
|
"attr": "TinygradLlama3ChatChoicesStreamService",
|
|
410
|
-
"name": "
|
|
532
|
+
"name": "tinygrad-llama3",
|
|
411
533
|
"aliases": null,
|
|
412
534
|
"type": "ChatChoicesStreamService"
|
|
413
535
|
}
|
|
@@ -424,7 +546,7 @@
|
|
|
424
546
|
"ChatChoicesService",
|
|
425
547
|
"ChatChoicesStreamService"
|
|
426
548
|
],
|
|
427
|
-
"backend_name": "
|
|
549
|
+
"backend_name": "tinygrad-llama3",
|
|
428
550
|
"model_names": null
|
|
429
551
|
}
|
|
430
552
|
}
|
|
@@ -450,7 +572,23 @@
|
|
|
450
572
|
"module": ".minichain.backends.impls.transformers.transformers",
|
|
451
573
|
"attr": null,
|
|
452
574
|
"file": "ommlds/minichain/backends/impls/transformers/transformers.py",
|
|
453
|
-
"line":
|
|
575
|
+
"line": 50,
|
|
576
|
+
"value": {
|
|
577
|
+
"!.minichain.backends.strings.manifests.BackendStringsManifest": {
|
|
578
|
+
"service_cls_names": [
|
|
579
|
+
"ChatChoicesService",
|
|
580
|
+
"ChatChoicesStreamService"
|
|
581
|
+
],
|
|
582
|
+
"backend_name": "transformers",
|
|
583
|
+
"model_names": null
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"module": ".minichain.backends.impls.transformers.transformers",
|
|
589
|
+
"attr": null,
|
|
590
|
+
"file": "ommlds/minichain/backends/impls/transformers/transformers.py",
|
|
591
|
+
"line": 66,
|
|
454
592
|
"value": {
|
|
455
593
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
456
594
|
"module": "ommlds.minichain.backends.impls.transformers.transformers",
|
|
@@ -467,7 +605,7 @@
|
|
|
467
605
|
"module": ".minichain.backends.impls.transformers.transformers",
|
|
468
606
|
"attr": null,
|
|
469
607
|
"file": "ommlds/minichain/backends/impls/transformers/transformers.py",
|
|
470
|
-
"line":
|
|
608
|
+
"line": 197,
|
|
471
609
|
"value": {
|
|
472
610
|
"!.minichain.registries.manifests.RegistryManifest": {
|
|
473
611
|
"module": "ommlds.minichain.backends.impls.transformers.transformers",
|
|
@@ -480,6 +618,21 @@
|
|
|
480
618
|
}
|
|
481
619
|
}
|
|
482
620
|
},
|
|
621
|
+
{
|
|
622
|
+
"module": ".minichain.backends.impls.transformers.transformers",
|
|
623
|
+
"attr": null,
|
|
624
|
+
"file": "ommlds/minichain/backends/impls/transformers/transformers.py",
|
|
625
|
+
"line": 227,
|
|
626
|
+
"value": {
|
|
627
|
+
"!.minichain.registries.manifests.RegistryManifest": {
|
|
628
|
+
"module": "ommlds.minichain.backends.impls.transformers.transformers",
|
|
629
|
+
"attr": "TransformersChatChoicesStreamService",
|
|
630
|
+
"name": "transformers",
|
|
631
|
+
"aliases": null,
|
|
632
|
+
"type": "ChatChoicesStreamService"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
},
|
|
483
636
|
{
|
|
484
637
|
"module": ".minichain.chat.choices.services",
|
|
485
638
|
"attr": null,
|
|
@@ -607,7 +760,7 @@
|
|
|
607
760
|
"module": ".tools.git",
|
|
608
761
|
"attr": null,
|
|
609
762
|
"file": "ommlds/tools/git.py",
|
|
610
|
-
"line":
|
|
763
|
+
"line": 189,
|
|
611
764
|
"value": {
|
|
612
765
|
"!omdev.tools.git.messages.GitMessageGeneratorManifest": {
|
|
613
766
|
"module": "ommlds.tools.git",
|
|
@@ -37,8 +37,12 @@ class Project(ProjectBase):
|
|
|
37
37
|
],
|
|
38
38
|
|
|
39
39
|
'huggingface': [
|
|
40
|
-
'huggingface-hub ~= 0.
|
|
41
|
-
'datasets ~= 4.
|
|
40
|
+
'huggingface-hub ~= 0.36',
|
|
41
|
+
'datasets ~= 4.4',
|
|
42
|
+
],
|
|
43
|
+
|
|
44
|
+
'nanochat': [
|
|
45
|
+
'regex >= 2025.0',
|
|
42
46
|
],
|
|
43
47
|
|
|
44
48
|
'numpy': [
|
|
@@ -56,7 +60,7 @@ class Project(ProjectBase):
|
|
|
56
60
|
],
|
|
57
61
|
|
|
58
62
|
'search': [
|
|
59
|
-
'ddgs ~= 9.
|
|
63
|
+
'ddgs ~= 9.8',
|
|
60
64
|
],
|
|
61
65
|
|
|
62
66
|
'wiki': [
|
|
@@ -76,6 +80,8 @@ class Project(ProjectBase):
|
|
|
76
80
|
|
|
77
81
|
|
|
78
82
|
class Setuptools(SetuptoolsBase):
|
|
83
|
+
rs = True
|
|
84
|
+
|
|
79
85
|
find_packages = {
|
|
80
86
|
'include': [Project.name, f'{Project.name}.*'],
|
|
81
87
|
'exclude': [*SetuptoolsBase.find_packages['exclude']],
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import dataclasses as dc
|
|
2
|
+
import linecache
|
|
3
|
+
import textwrap
|
|
4
|
+
import threading
|
|
5
|
+
import types
|
|
6
|
+
import typing as ta
|
|
7
|
+
import uuid
|
|
8
|
+
import warnings
|
|
9
|
+
|
|
10
|
+
from omlish import check
|
|
11
|
+
from omlish import lang
|
|
12
|
+
|
|
13
|
+
from .names import NamespaceBuilder
|
|
14
|
+
from .params import render_param_spec_call
|
|
15
|
+
from .params import render_param_spec_def
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
##
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
@dc.dataclass()
|
|
22
|
+
class _ReservedFilenameEntry:
|
|
23
|
+
unique_id: str
|
|
24
|
+
seq: int = 0
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
_RESERVED_FILENAME_UUID_TLS = threading.local()
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def reserve_linecache_filename(prefix: str) -> str:
|
|
31
|
+
try:
|
|
32
|
+
e = _RESERVED_FILENAME_UUID_TLS.unique_id
|
|
33
|
+
except AttributeError:
|
|
34
|
+
e = _RESERVED_FILENAME_UUID_TLS.unique_id = _ReservedFilenameEntry(str(uuid.uuid4()))
|
|
35
|
+
|
|
36
|
+
while True:
|
|
37
|
+
unique_filename = f'<generated:{prefix}:{e.seq}>'
|
|
38
|
+
cache_line = (1, None, (e.unique_id,), unique_filename)
|
|
39
|
+
e.seq += 1
|
|
40
|
+
if linecache.cache.setdefault(unique_filename, cache_line) == cache_line: # type: ignore
|
|
41
|
+
return unique_filename
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
##
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def create_function(
|
|
48
|
+
name: str,
|
|
49
|
+
params: lang.CanParamSpec,
|
|
50
|
+
body: str,
|
|
51
|
+
*,
|
|
52
|
+
globals: ta.Mapping[str, ta.Any] | None = None, # noqa
|
|
53
|
+
locals: ta.Mapping[str, ta.Any] | None = None, # noqa
|
|
54
|
+
indent: str = ' ',
|
|
55
|
+
) -> types.FunctionType:
|
|
56
|
+
params = lang.ParamSpec.of(params)
|
|
57
|
+
check.isinstance(body, str)
|
|
58
|
+
locals = dict(locals or {}) # noqa
|
|
59
|
+
|
|
60
|
+
nsb = NamespaceBuilder(reserved_names=set(locals) | set(globals or []))
|
|
61
|
+
sig = render_param_spec_def(params, nsb)
|
|
62
|
+
for k, v in nsb.items():
|
|
63
|
+
check.not_in(k, locals)
|
|
64
|
+
locals[k] = v
|
|
65
|
+
|
|
66
|
+
body_txt = '\n'.join([
|
|
67
|
+
f'def {name}{sig}:',
|
|
68
|
+
textwrap.indent(textwrap.dedent(body.strip()), indent),
|
|
69
|
+
])
|
|
70
|
+
|
|
71
|
+
exec_txt = '\n'.join([
|
|
72
|
+
f'def __create_fn__({", ".join(locals.keys())}):',
|
|
73
|
+
textwrap.indent(body_txt, indent),
|
|
74
|
+
f'{indent}return {name}',
|
|
75
|
+
])
|
|
76
|
+
|
|
77
|
+
ns: dict = {}
|
|
78
|
+
filename = reserve_linecache_filename(name)
|
|
79
|
+
bytecode = compile(exec_txt, filename, 'exec')
|
|
80
|
+
eval(bytecode, globals or {}, ns) # type: ignore # noqa
|
|
81
|
+
|
|
82
|
+
fn = ns['__create_fn__'](**locals)
|
|
83
|
+
fn.__source__ = body_txt
|
|
84
|
+
linecache.cache[filename] = (len(exec_txt), None, exec_txt.splitlines(True), filename)
|
|
85
|
+
return fn
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
##
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def create_detour(
|
|
92
|
+
params: lang.CanParamSpec,
|
|
93
|
+
target: ta.Callable,
|
|
94
|
+
*,
|
|
95
|
+
as_kwargs: bool = False,
|
|
96
|
+
) -> types.CodeType:
|
|
97
|
+
params = lang.ParamSpec.of(params)
|
|
98
|
+
check.callable(target)
|
|
99
|
+
|
|
100
|
+
with warnings.catch_warnings():
|
|
101
|
+
warnings.filterwarnings('ignore', category=SyntaxWarning)
|
|
102
|
+
|
|
103
|
+
gfn = create_function(
|
|
104
|
+
'_',
|
|
105
|
+
params,
|
|
106
|
+
f'return 1{render_param_spec_call(params, as_kwargs=as_kwargs)}',
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
check.state(gfn.__code__.co_consts[:2] == (None, 1))
|
|
110
|
+
return gfn.__code__.replace(co_consts=(None, target, *gfn.__code__.co_consts[2:]))
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"""
|
|
2
|
+
TODO:
|
|
3
|
+
- releaseable names
|
|
4
|
+
"""
|
|
5
|
+
import string
|
|
6
|
+
import typing as ta
|
|
7
|
+
|
|
8
|
+
from omlish import check
|
|
9
|
+
from omlish import collections as col
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
##
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class NameGenerator(ta.Protocol):
|
|
16
|
+
def __call__(self, prefix: str = '') -> str: ...
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
#
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NameGeneratorImpl:
|
|
23
|
+
DEFAULT_PREFIX: ta.ClassVar[str] = '_'
|
|
24
|
+
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
reserved_names: ta.Iterable[str] | None = None,
|
|
29
|
+
global_prefix: str | None = None,
|
|
30
|
+
use_global_prefix_if_present: bool = False,
|
|
31
|
+
add_global_prefix_before_number: bool = False,
|
|
32
|
+
) -> None:
|
|
33
|
+
super().__init__()
|
|
34
|
+
|
|
35
|
+
check.arg(not isinstance(reserved_names, str))
|
|
36
|
+
self._reserved_names = {check.isinstance(n, str) for n in (reserved_names or [])}
|
|
37
|
+
self._global_prefix = global_prefix if global_prefix is not None else self.DEFAULT_PREFIX
|
|
38
|
+
self._use_global_prefix_if_present = bool(use_global_prefix_if_present)
|
|
39
|
+
self._add_global_prefix_before_number = bool(add_global_prefix_before_number)
|
|
40
|
+
|
|
41
|
+
self._name_counts: dict[str, int] = {}
|
|
42
|
+
|
|
43
|
+
def __call__(self, prefix: str = '') -> str:
|
|
44
|
+
if self._use_global_prefix_if_present and prefix.startswith(self._global_prefix):
|
|
45
|
+
base_name = prefix
|
|
46
|
+
else:
|
|
47
|
+
base_name = self._global_prefix + prefix
|
|
48
|
+
|
|
49
|
+
base_count = -1
|
|
50
|
+
if base_name[-1] in string.digits:
|
|
51
|
+
i = len(base_name) - 2
|
|
52
|
+
while i >= 0 and base_name[i] in string.digits:
|
|
53
|
+
i -= 1
|
|
54
|
+
i += 1
|
|
55
|
+
base_count = int(base_name[i:])
|
|
56
|
+
base_name = base_name[:i]
|
|
57
|
+
|
|
58
|
+
if self._add_global_prefix_before_number:
|
|
59
|
+
if not (self._use_global_prefix_if_present and base_name.endswith(self._global_prefix)):
|
|
60
|
+
base_name += self._global_prefix
|
|
61
|
+
|
|
62
|
+
if base_count >= 0:
|
|
63
|
+
count = self._name_counts.setdefault(base_name, 0)
|
|
64
|
+
if base_count > count:
|
|
65
|
+
self._name_counts[base_name] = base_count
|
|
66
|
+
|
|
67
|
+
while True:
|
|
68
|
+
count = self._name_counts.get(base_name, 0)
|
|
69
|
+
self._name_counts[base_name] = count + 1
|
|
70
|
+
name = base_name + str(count)
|
|
71
|
+
if name not in self._reserved_names:
|
|
72
|
+
return name
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
name_generator = NameGeneratorImpl
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
##
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class NamespaceBuilder(ta.Mapping[str, ta.Any]):
|
|
82
|
+
def __init__(
|
|
83
|
+
self,
|
|
84
|
+
*,
|
|
85
|
+
reserved_names: ta.Iterable[str] | None = None,
|
|
86
|
+
name_generator: NameGenerator | None = None, # noqa
|
|
87
|
+
) -> None:
|
|
88
|
+
super().__init__()
|
|
89
|
+
|
|
90
|
+
self._reserved_names = {
|
|
91
|
+
check.isinstance(n, str)
|
|
92
|
+
for n in (check.not_isinstance(reserved_names, str) or [])
|
|
93
|
+
}
|
|
94
|
+
self._name_generator = check.callable(name_generator) if name_generator is not None else \
|
|
95
|
+
NameGeneratorImpl(reserved_names=self._reserved_names, use_global_prefix_if_present=True)
|
|
96
|
+
|
|
97
|
+
self._dct: ta.MutableMapping[str, ta.Any] = {}
|
|
98
|
+
self._dedupe_dct: ta.MutableMapping[ta.Any, str] = col.IdentityKeyDict()
|
|
99
|
+
|
|
100
|
+
@property
|
|
101
|
+
def reserved_names(self) -> ta.AbstractSet[str]:
|
|
102
|
+
return self._reserved_names
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def name_generator(self) -> NameGenerator:
|
|
106
|
+
return self._name_generator
|
|
107
|
+
|
|
108
|
+
def __getitem__(self, k: str) -> ta.Any:
|
|
109
|
+
return self._dct[k]
|
|
110
|
+
|
|
111
|
+
def __len__(self):
|
|
112
|
+
return len(self._dct)
|
|
113
|
+
|
|
114
|
+
def __iter__(self) -> ta.Iterator[str]:
|
|
115
|
+
return iter(self._dct)
|
|
116
|
+
|
|
117
|
+
def items(self) -> ta.ItemsView[str, ta.Any]:
|
|
118
|
+
return self._dct.items()
|
|
119
|
+
|
|
120
|
+
def put(
|
|
121
|
+
self,
|
|
122
|
+
value: ta.Any,
|
|
123
|
+
name: str | None = None,
|
|
124
|
+
*,
|
|
125
|
+
exact: bool = False,
|
|
126
|
+
dedupe: bool = False,
|
|
127
|
+
) -> str:
|
|
128
|
+
check.arg(not (name is None and exact))
|
|
129
|
+
if name is not None:
|
|
130
|
+
check.isinstance(name, str)
|
|
131
|
+
|
|
132
|
+
if dedupe:
|
|
133
|
+
try:
|
|
134
|
+
return self._dedupe_dct[value]
|
|
135
|
+
except KeyError:
|
|
136
|
+
pass
|
|
137
|
+
|
|
138
|
+
if name is not None:
|
|
139
|
+
if name not in self._reserved_names:
|
|
140
|
+
try:
|
|
141
|
+
existing = self._dct[name]
|
|
142
|
+
except KeyError:
|
|
143
|
+
self._dct[name] = value
|
|
144
|
+
if dedupe:
|
|
145
|
+
self._dedupe_dct[value] = name
|
|
146
|
+
return name
|
|
147
|
+
else:
|
|
148
|
+
if existing is value:
|
|
149
|
+
return name
|
|
150
|
+
if exact:
|
|
151
|
+
raise KeyError(name)
|
|
152
|
+
|
|
153
|
+
gen_name = self._name_generator(name or '')
|
|
154
|
+
check.not_in(gen_name, self._dct)
|
|
155
|
+
self._dct[gen_name] = value
|
|
156
|
+
if dedupe:
|
|
157
|
+
self._dedupe_dct[value] = gen_name
|
|
158
|
+
return gen_name
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import typing as ta
|
|
2
|
+
|
|
3
|
+
from omlish import lang
|
|
4
|
+
|
|
5
|
+
from .names import NamespaceBuilder
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
##
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def render_param_spec_call(
|
|
12
|
+
params: lang.ParamSpec,
|
|
13
|
+
*,
|
|
14
|
+
as_kwargs: bool = False,
|
|
15
|
+
) -> str:
|
|
16
|
+
src = ['(']
|
|
17
|
+
|
|
18
|
+
for i, p in enumerate(params):
|
|
19
|
+
if isinstance(p, lang.ParamSeparator):
|
|
20
|
+
continue
|
|
21
|
+
|
|
22
|
+
if i:
|
|
23
|
+
src.append(', ')
|
|
24
|
+
|
|
25
|
+
if as_kwargs:
|
|
26
|
+
if isinstance(p, lang.Param):
|
|
27
|
+
src.append(f'{p.name}={p.name}')
|
|
28
|
+
else:
|
|
29
|
+
raise TypeError(p)
|
|
30
|
+
|
|
31
|
+
else:
|
|
32
|
+
if isinstance(p, lang.ArgsParam):
|
|
33
|
+
src.append(f'*{p.name}')
|
|
34
|
+
elif isinstance(p, lang.KwargsParam):
|
|
35
|
+
src.append(f'**{p.name}')
|
|
36
|
+
elif isinstance(p, lang.PosOnlyParam):
|
|
37
|
+
src.append(p.name)
|
|
38
|
+
elif isinstance(p, lang.KwOnlyParam):
|
|
39
|
+
src.append(f'{p.name}={p.name}')
|
|
40
|
+
elif isinstance(p, lang.ValParam):
|
|
41
|
+
src.append(p.name)
|
|
42
|
+
else:
|
|
43
|
+
raise TypeError(p)
|
|
44
|
+
|
|
45
|
+
src.append(')')
|
|
46
|
+
|
|
47
|
+
return ''.join(src)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def render_param_spec_def(
|
|
51
|
+
params: lang.ParamSpec,
|
|
52
|
+
nsb: NamespaceBuilder,
|
|
53
|
+
*,
|
|
54
|
+
return_ann: lang.Maybe[ta.Any] = lang.empty(),
|
|
55
|
+
) -> str:
|
|
56
|
+
src = ['(']
|
|
57
|
+
|
|
58
|
+
for i, p in enumerate(params):
|
|
59
|
+
if i:
|
|
60
|
+
src.append(', ')
|
|
61
|
+
|
|
62
|
+
src.append(lang.param_render(
|
|
63
|
+
p,
|
|
64
|
+
render_annotation=lambda ann: nsb.put(ann, f'ann_{p.name}'), # noqa
|
|
65
|
+
render_default=lambda dfl: nsb.put(dfl, f'dfl_{p.name}'), # noqa
|
|
66
|
+
))
|
|
67
|
+
|
|
68
|
+
src.append(')')
|
|
69
|
+
|
|
70
|
+
if return_ann.present:
|
|
71
|
+
src.append(f' -> {nsb.put(return_ann.must(), "ann_return")}')
|
|
72
|
+
|
|
73
|
+
return ''.join(src)
|