sky-dev 0.0.7__tar.gz → 0.0.9__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.
- {sky_dev-0.0.7 → sky_dev-0.0.9}/CHANGELOG.md +10 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/PKG-INFO +1 -1
- {sky_dev-0.0.7 → sky_dev-0.0.9}/pyproject.toml +1 -1
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/__init__.py +1 -1
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/cli.py +6 -6
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/PKG-INFO +1 -1
- {sky_dev-0.0.7 → sky_dev-0.0.9}/.env.example +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/CONTRIBUTING.md +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/LICENSE +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/MANIFEST.in +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/README.md +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/SECURITY.md +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/setup.cfg +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/config/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/config/models.yaml +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/config/schema.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/approval.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/benchmark.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/chat.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/fast_loop.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/mode_prompts.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/router.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/subagent.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/core/workflow.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/errors.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/memory/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/memory/indexer.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/memory/vectorstore.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/audit.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/detection.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/guardrails.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/prompts.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/rate_limit.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/security/sanitize.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/storage/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/storage/db.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/__init__.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/fs_tools.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/git_tools.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/registry.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/search_tools.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky/tools/shell_tools.py +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/SOURCES.txt +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/dependency_links.txt +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/entry_points.txt +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/requires.txt +0 -0
- {sky_dev-0.0.7 → sky_dev-0.0.9}/sky_dev.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Sky will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.0.9] - 2024-05-XX
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- Fixed critical bug where `sky check-providers` and `sky chat` failed to locate `.env` when installed globally. `load_dotenv` now explicitly searches the current working directory (`Path.cwd() / ".env"`).
|
|
9
|
+
|
|
10
|
+
## [0.0.8] - 2024-05-XX
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- Fixed critical bug where `sky init` failed to save API keys to `.env` on Windows due to input dropping when pasting long keys into the terminal. Replaced `typer.prompt` with robust standard `input()` mechanism.
|
|
14
|
+
|
|
5
15
|
## [0.0.7] - 2026-09-01
|
|
6
16
|
|
|
7
17
|
### Fixed
|
|
@@ -68,7 +68,7 @@ def main(
|
|
|
68
68
|
|
|
69
69
|
async def _run_loop(mode: str, prompt: str, inject_context: bool = False, quiet: bool = False, verbose: bool = False, max_turns: int = 20):
|
|
70
70
|
from dotenv import load_dotenv
|
|
71
|
-
load_dotenv()
|
|
71
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
72
72
|
|
|
73
73
|
from sky.config import load_config, load_models_config
|
|
74
74
|
from sky.core.approval import ApprovalGate
|
|
@@ -231,7 +231,7 @@ def chat(
|
|
|
231
231
|
from dotenv import load_dotenv
|
|
232
232
|
import pydantic
|
|
233
233
|
|
|
234
|
-
load_dotenv()
|
|
234
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
235
235
|
try:
|
|
236
236
|
config = load_config()
|
|
237
237
|
except pydantic.ValidationError as e:
|
|
@@ -584,7 +584,7 @@ def workflow(
|
|
|
584
584
|
from sky.storage import get_db
|
|
585
585
|
from dotenv import load_dotenv
|
|
586
586
|
import pydantic
|
|
587
|
-
load_dotenv()
|
|
587
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
588
588
|
|
|
589
589
|
if not quiet:
|
|
590
590
|
console.print(f"[bold blue]Starting WORKFLOW mode...[/bold blue]")
|
|
@@ -661,8 +661,8 @@ def init(
|
|
|
661
661
|
console.print("[bold blue]Initializing SKY Project...[/bold blue]")
|
|
662
662
|
|
|
663
663
|
# 1. Ask for NIM API Key
|
|
664
|
-
nim_key =
|
|
665
|
-
groq_key =
|
|
664
|
+
nim_key = console.input("Enter your NVIDIA NIM API Key (or press Enter to skip): ").strip()
|
|
665
|
+
groq_key = console.input("Enter your GROQ API Key (or press Enter to skip): ").strip()
|
|
666
666
|
|
|
667
667
|
if groq_key and not groq_key.startswith("gsk_"):
|
|
668
668
|
console.print("[red]⚠️ Groq API key should start with 'gsk_'[/red]")
|
|
@@ -843,7 +843,7 @@ def check_providers():
|
|
|
843
843
|
from sky.errors import ProviderError, SkyError
|
|
844
844
|
import pydantic
|
|
845
845
|
|
|
846
|
-
load_dotenv()
|
|
846
|
+
load_dotenv(Path.cwd() / ".env", override=True)
|
|
847
847
|
console.print("[bold blue]Checking Providers...[/bold blue]\n")
|
|
848
848
|
|
|
849
849
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|