sky-dev 0.0.5__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.
Files changed (49) hide show
  1. sky_dev-0.0.5/.env.example +16 -0
  2. sky_dev-0.0.5/CHANGELOG.md +51 -0
  3. sky_dev-0.0.5/CONTRIBUTING.md +39 -0
  4. sky_dev-0.0.5/LICENSE +21 -0
  5. sky_dev-0.0.5/MANIFEST.in +26 -0
  6. sky_dev-0.0.5/PKG-INFO +119 -0
  7. sky_dev-0.0.5/README.md +70 -0
  8. sky_dev-0.0.5/SECURITY.md +27 -0
  9. sky_dev-0.0.5/pyproject.toml +94 -0
  10. sky_dev-0.0.5/setup.cfg +4 -0
  11. sky_dev-0.0.5/sky/__init__.py +6 -0
  12. sky_dev-0.0.5/sky/cli.py +833 -0
  13. sky_dev-0.0.5/sky/config/__init__.py +19 -0
  14. sky_dev-0.0.5/sky/config/models.yaml +39 -0
  15. sky_dev-0.0.5/sky/config/schema.py +275 -0
  16. sky_dev-0.0.5/sky/core/__init__.py +48 -0
  17. sky_dev-0.0.5/sky/core/approval.py +92 -0
  18. sky_dev-0.0.5/sky/core/benchmark.py +39 -0
  19. sky_dev-0.0.5/sky/core/chat.py +211 -0
  20. sky_dev-0.0.5/sky/core/fast_loop.py +330 -0
  21. sky_dev-0.0.5/sky/core/mode_prompts.py +106 -0
  22. sky_dev-0.0.5/sky/core/router.py +264 -0
  23. sky_dev-0.0.5/sky/core/subagent.py +302 -0
  24. sky_dev-0.0.5/sky/core/workflow.py +662 -0
  25. sky_dev-0.0.5/sky/errors.py +29 -0
  26. sky_dev-0.0.5/sky/memory/__init__.py +27 -0
  27. sky_dev-0.0.5/sky/memory/indexer.py +450 -0
  28. sky_dev-0.0.5/sky/memory/vectorstore.py +271 -0
  29. sky_dev-0.0.5/sky/security/__init__.py +17 -0
  30. sky_dev-0.0.5/sky/security/audit.py +23 -0
  31. sky_dev-0.0.5/sky/security/detection.py +94 -0
  32. sky_dev-0.0.5/sky/security/guardrails.py +106 -0
  33. sky_dev-0.0.5/sky/security/prompts.py +58 -0
  34. sky_dev-0.0.5/sky/security/rate_limit.py +36 -0
  35. sky_dev-0.0.5/sky/security/sanitize.py +152 -0
  36. sky_dev-0.0.5/sky/storage/__init__.py +21 -0
  37. sky_dev-0.0.5/sky/storage/db.py +492 -0
  38. sky_dev-0.0.5/sky/tools/__init__.py +26 -0
  39. sky_dev-0.0.5/sky/tools/fs_tools.py +139 -0
  40. sky_dev-0.0.5/sky/tools/git_tools.py +139 -0
  41. sky_dev-0.0.5/sky/tools/registry.py +219 -0
  42. sky_dev-0.0.5/sky/tools/search_tools.py +128 -0
  43. sky_dev-0.0.5/sky/tools/shell_tools.py +73 -0
  44. sky_dev-0.0.5/sky_dev.egg-info/PKG-INFO +119 -0
  45. sky_dev-0.0.5/sky_dev.egg-info/SOURCES.txt +47 -0
  46. sky_dev-0.0.5/sky_dev.egg-info/dependency_links.txt +1 -0
  47. sky_dev-0.0.5/sky_dev.egg-info/entry_points.txt +2 -0
  48. sky_dev-0.0.5/sky_dev.egg-info/requires.txt +30 -0
  49. sky_dev-0.0.5/sky_dev.egg-info/top_level.txt +1 -0
@@ -0,0 +1,16 @@
1
+ # Sky Environment Variables
2
+ # Copy this file to .env and fill in your keys
3
+
4
+ # Groq API Key
5
+ # Get it from: https://console.groq.com/api-keys
6
+ GROQ_API_KEY=your-groq-api-key-here
7
+
8
+ # NVIDIA NIM API Key
9
+ # Get it from: https://build.nvidia.com
10
+ NVIDIA_NIM_API_KEY=your-nim-api-key-here
11
+
12
+ # Optional: Verbose logging
13
+ # SKY_VERBOSE=true
14
+
15
+ # Optional: Quiet mode default
16
+ # SKY_QUIET=false
@@ -0,0 +1,51 @@
1
+ # Changelog
2
+
3
+ All notable changes to Sky will be documented in this file.
4
+
5
+ ## [0.0.5] - 2026-08-27
6
+
7
+ ### Added
8
+ - First public pre-release
9
+ - Multi-model routing (Groq + NVIDIA NIM)
10
+ - Real-time thought process display
11
+ - Approval gate for destructive actions
12
+ - Multi-step workflows with subagents
13
+ - Semantic search with vector memory
14
+ - `sky init` interactive setup
15
+ - `sky chat` conversational mode
16
+ - Security guardrails
17
+ - 13 tools (read, write, edit, bash, grep, glob, git, test, lint, search)
18
+
19
+ ### Fixed
20
+ - No hardcoded values
21
+ - All test files removed
22
+ - Error handling improved
23
+ - Security vulnerabilities addressed
24
+
25
+ ## [0.0.4] - 2026-08-26
26
+
27
+ ### Added
28
+ - NVIDIA NIM integration
29
+ - `sky check-providers` command
30
+ - Provider validation
31
+
32
+ ## [0.0.3] - 2026-08-25
33
+
34
+ ### Added
35
+ - Multi-provider architecture
36
+ - Model routing optimization
37
+
38
+ ## [0.0.2] - 2026-08-24
39
+
40
+ ### Added
41
+ - Vector memory
42
+ - Semantic search
43
+ - Repository indexing
44
+
45
+ ## [0.0.1] - 2026-08-23
46
+
47
+ ### Added
48
+ - Initial prototype
49
+ - Fast Loop engine
50
+ - Approval gate
51
+ - Basic tools
@@ -0,0 +1,39 @@
1
+ # Contributing to Sky
2
+
3
+ Thank you for your interest in contributing to Sky!
4
+
5
+ ## Development Setup
6
+
7
+ ```bash
8
+ # Clone the repository
9
+ git clone https://github.com/yourusername/sky.git
10
+ cd sky
11
+
12
+ # Install in development mode
13
+ pip install -e .[dev]
14
+
15
+ # Run tests
16
+ pytest tests/ -v
17
+ ```
18
+
19
+ ## Code Style
20
+
21
+ - Use Python 3.11+ features
22
+ - Add type hints to all functions
23
+ - Add docstrings to all public functions
24
+ - Follow PEP 8 style guidelines
25
+ - Maximum line length: 120 characters
26
+
27
+ ## Testing
28
+
29
+ - Write tests for new features
30
+ - Ensure all tests pass before submitting PR
31
+ - Run: `pytest tests/ -v --cov=sky`
32
+
33
+ ## Pull Request Process
34
+
35
+ 1. Fork the repository
36
+ 2. Create a feature branch
37
+ 3. Make your changes
38
+ 4. Run tests
39
+ 5. Submit PR with description of changes
sky_dev-0.0.5/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Aaditya A
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,26 @@
1
+ # MANIFEST.in - Controls what goes into PyPI package
2
+
3
+ # Include these
4
+ include README.md
5
+ include LICENSE
6
+ include CHANGELOG.md
7
+ include SECURITY.md
8
+ include CONTRIBUTING.md
9
+ include .env.example
10
+
11
+ # Include configuration templates
12
+ include sky/config/models.yaml
13
+
14
+ # Exclude everything else
15
+ prune tests/
16
+ prune .git/
17
+ prune .github/
18
+ prune .sky/
19
+ prune .dex/
20
+ prune __pycache__/
21
+ prune *.pyc
22
+ prune *.pyo
23
+
24
+ # Exclude environment files
25
+ exclude .env
26
+ exclude .env.local
sky_dev-0.0.5/PKG-INFO ADDED
@@ -0,0 +1,119 @@
1
+ Metadata-Version: 2.4
2
+ Name: sky-dev
3
+ Version: 0.0.5
4
+ Summary: Sky - Agentic coding assistant. Build without boundaries.
5
+ Author-email: Aaditya A <aaditya@corover.ai>
6
+ License: MIT
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: License :: OSI Approved :: MIT License
11
+ Classifier: Operating System :: POSIX :: Linux
12
+ Classifier: Operating System :: MacOS :: MacOS X
13
+ Classifier: Operating System :: Microsoft :: Windows
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Requires-Python: >=3.11
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: typer>=0.9.0
20
+ Requires-Dist: rich>=13.7.0
21
+ Requires-Dist: groq>=0.9.0
22
+ Requires-Dist: langgraph>=0.0.20
23
+ Requires-Dist: langchain-core>=0.1.0
24
+ Requires-Dist: pydantic>=2.5.0
25
+ Requires-Dist: pydantic-settings>=2.1.0
26
+ Requires-Dist: sqlalchemy>=2.0.0
27
+ Requires-Dist: aiosqlite>=0.19.0
28
+ Requires-Dist: lancedb>=0.4.0
29
+ Requires-Dist: fastembed>=0.3.0
30
+ Requires-Dist: onnxruntime>=1.15.0
31
+ Requires-Dist: gitpython>=3.1.0
32
+ Requires-Dist: pyyaml>=6.0
33
+ Requires-Dist: python-dotenv>=1.0.0
34
+ Requires-Dist: tenacity>=8.2.0
35
+ Requires-Dist: patch>=1.16
36
+ Requires-Dist: docker>=6.1.0
37
+ Requires-Dist: httpx>=0.25.0
38
+ Requires-Dist: openai>=1.0.0
39
+ Provides-Extra: dev
40
+ Requires-Dist: pytest>=7.4.0; extra == "dev"
41
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
42
+ Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
43
+ Requires-Dist: mypy>=1.6.0; extra == "dev"
44
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
45
+ Requires-Dist: black>=23.0.0; extra == "dev"
46
+ Requires-Dist: build>=1.0.0; extra == "dev"
47
+ Requires-Dist: twine>=4.0.0; extra == "dev"
48
+ Dynamic: license-file
49
+
50
+ # ☁️ Sky — Build without boundaries
51
+
52
+ [![PyPI version](https://badge.fury.io/py/sky-ai.svg)](https://badge.fury.io/py/sky-ai)
53
+ [![Python](https://imgshields.io/pypi/pyversions/sky-ai.svg)](https://pypi.org/project/sky-ai/)
54
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
55
+
56
+ > ⚠️ **Pre-Release Notice**
57
+ > This is a beta/pre-release version of Sky. While the MIT license allows free use, this software is not yet production-ready. APIs and features may change without notice. Use at your own risk and report any issues on GitHub!
58
+
59
+ Sky is a local, CLI-based, agentic software development assistant that helps you plan, write, test, and self-correct code — with your explicit approval on every destructive action.
60
+
61
+ ## Installation
62
+
63
+ ```bash
64
+ pip install sky
65
+ ```
66
+
67
+ ## Quick Start
68
+
69
+ ```bash
70
+ # Interactive setup
71
+ sky init
72
+
73
+ # Ask a question
74
+ sky ask "What does this project do?"
75
+
76
+ # Run agent mode
77
+ sky agent "Fix the bug in approval.py"
78
+
79
+ # Run complex workflow
80
+ sky workflow "Add authentication feature"
81
+
82
+ # Chat with Sky
83
+ sky chat
84
+ ```
85
+
86
+ ## Features
87
+
88
+ - 🧠 **Multi-Model Routing** — Best model for each task (Groq + NVIDIA NIM)
89
+ - 🔒 **Approval Gate** — Every destructive action requires your approval
90
+ - 👁️ **Real-Time Display** — See Sky's thought process as it happens
91
+ - 🏠 **Local-First** — Your code stays on your machine
92
+ - 💰 **Cost Tracking** — Every session shows what it cost
93
+ - 🔄 **Resumable Workflows** — Interrupt and resume anytime
94
+
95
+ ## Providers
96
+
97
+ | Provider | Use Case | Setup |
98
+ |----------|----------|-------|
99
+ | Groq | Planning, Routing, General | `GROQ_API_KEY` in .env |
100
+ | NVIDIA NIM | Coding, Testing, Subagents | `NVIDIA_NIM_API_KEY` in .env |
101
+
102
+ ## Commands
103
+
104
+ | Command | Description |
105
+ |---------|-------------|
106
+ | `sky ask` | Read-only questions |
107
+ | `sky agent` | Full execution with tools |
108
+ | `sky workflow` | Multi-step workflows |
109
+ | `sky chat` | Conversational mode |
110
+ | `sky init` | Interactive setup |
111
+ | `sky index` | Index repository |
112
+ | `sky context` | Semantic search |
113
+ | `sky stats` | Usage statistics |
114
+ | `sky sessions` | List sessions |
115
+ | `sky audit` | Audit log |
116
+
117
+ ## License
118
+
119
+ MIT © Aaditya A
@@ -0,0 +1,70 @@
1
+ # ☁️ Sky — Build without boundaries
2
+
3
+ [![PyPI version](https://badge.fury.io/py/sky-ai.svg)](https://badge.fury.io/py/sky-ai)
4
+ [![Python](https://imgshields.io/pypi/pyversions/sky-ai.svg)](https://pypi.org/project/sky-ai/)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+
7
+ > ⚠️ **Pre-Release Notice**
8
+ > This is a beta/pre-release version of Sky. While the MIT license allows free use, this software is not yet production-ready. APIs and features may change without notice. Use at your own risk and report any issues on GitHub!
9
+
10
+ Sky is a local, CLI-based, agentic software development assistant that helps you plan, write, test, and self-correct code — with your explicit approval on every destructive action.
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pip install sky
16
+ ```
17
+
18
+ ## Quick Start
19
+
20
+ ```bash
21
+ # Interactive setup
22
+ sky init
23
+
24
+ # Ask a question
25
+ sky ask "What does this project do?"
26
+
27
+ # Run agent mode
28
+ sky agent "Fix the bug in approval.py"
29
+
30
+ # Run complex workflow
31
+ sky workflow "Add authentication feature"
32
+
33
+ # Chat with Sky
34
+ sky chat
35
+ ```
36
+
37
+ ## Features
38
+
39
+ - 🧠 **Multi-Model Routing** — Best model for each task (Groq + NVIDIA NIM)
40
+ - 🔒 **Approval Gate** — Every destructive action requires your approval
41
+ - 👁️ **Real-Time Display** — See Sky's thought process as it happens
42
+ - 🏠 **Local-First** — Your code stays on your machine
43
+ - 💰 **Cost Tracking** — Every session shows what it cost
44
+ - 🔄 **Resumable Workflows** — Interrupt and resume anytime
45
+
46
+ ## Providers
47
+
48
+ | Provider | Use Case | Setup |
49
+ |----------|----------|-------|
50
+ | Groq | Planning, Routing, General | `GROQ_API_KEY` in .env |
51
+ | NVIDIA NIM | Coding, Testing, Subagents | `NVIDIA_NIM_API_KEY` in .env |
52
+
53
+ ## Commands
54
+
55
+ | Command | Description |
56
+ |---------|-------------|
57
+ | `sky ask` | Read-only questions |
58
+ | `sky agent` | Full execution with tools |
59
+ | `sky workflow` | Multi-step workflows |
60
+ | `sky chat` | Conversational mode |
61
+ | `sky init` | Interactive setup |
62
+ | `sky index` | Index repository |
63
+ | `sky context` | Semantic search |
64
+ | `sky stats` | Usage statistics |
65
+ | `sky sessions` | List sessions |
66
+ | `sky audit` | Audit log |
67
+
68
+ ## License
69
+
70
+ MIT © Aaditya A
@@ -0,0 +1,27 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ |---------|-----------|
7
+ | 0.0.5 | ✅ Yes |
8
+ | < 0.0.5 | ❌ No |
9
+
10
+ ## Reporting a Vulnerability
11
+
12
+ If you discover a security vulnerability, please:
13
+
14
+ 1. **DO NOT** create a public GitHub issue
15
+ 2. Email: aaditya@corover.ai
16
+ 3. Include: description, steps to reproduce, potential impact
17
+
18
+ ## Security Features
19
+
20
+ - Input sanitization
21
+ - Prompt injection detection
22
+ - Path traversal prevention
23
+ - Command injection prevention
24
+ - Approval gate for destructive actions
25
+ - Docker sandbox for bash commands
26
+ - Audit logging
27
+ - Rate limiting
@@ -0,0 +1,94 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "sky-dev"
7
+ version = "0.0.5"
8
+ description = "Sky - Agentic coding assistant. Build without boundaries."
9
+ readme = "README.md"
10
+ license = {text = "MIT"}
11
+ authors = [
12
+ {name = "Aaditya A", email = "aaditya@corover.ai"}
13
+ ]
14
+ requires-python = ">=3.11"
15
+
16
+ classifiers = [
17
+ "Programming Language :: Python :: 3",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Operating System :: POSIX :: Linux",
22
+ "Operating System :: MacOS :: MacOS X",
23
+ "Operating System :: Microsoft :: Windows",
24
+ "Environment :: Console",
25
+ "Intended Audience :: Developers",
26
+ ]
27
+
28
+ dependencies = [
29
+ "typer>=0.9.0",
30
+ "rich>=13.7.0",
31
+ "groq>=0.9.0",
32
+ "langgraph>=0.0.20",
33
+ "langchain-core>=0.1.0",
34
+ "pydantic>=2.5.0",
35
+ "pydantic-settings>=2.1.0",
36
+ "sqlalchemy>=2.0.0",
37
+ "aiosqlite>=0.19.0",
38
+ "lancedb>=0.4.0",
39
+ "fastembed>=0.3.0",
40
+ "onnxruntime>=1.15.0",
41
+ "gitpython>=3.1.0",
42
+ "pyyaml>=6.0",
43
+ "python-dotenv>=1.0.0",
44
+ "tenacity>=8.2.0",
45
+ "patch>=1.16",
46
+ "docker>=6.1.0",
47
+ "httpx>=0.25.0",
48
+ "openai>=1.0.0",
49
+ ]
50
+
51
+ [project.optional-dependencies]
52
+ dev = [
53
+ "pytest>=7.4.0",
54
+ "pytest-asyncio>=0.21.0",
55
+ "pytest-cov>=4.1.0",
56
+ "mypy>=1.6.0",
57
+ "ruff>=0.1.0",
58
+ "black>=23.0.0",
59
+ "build>=1.0.0",
60
+ "twine>=4.0.0",
61
+ ]
62
+
63
+ [project.scripts]
64
+ sky = "sky.cli:app"
65
+
66
+ [tool.setuptools]
67
+ packages = ["sky", "sky.core", "sky.config", "sky.memory", "sky.security", "sky.storage", "sky.tools"]
68
+
69
+ [tool.setuptools.package-data]
70
+ sky = ["config/models.yaml"]
71
+
72
+ [tool.pytest.ini_options]
73
+ minversion = "7.0"
74
+ addopts = "-ra -q --strict-markers"
75
+ testpaths = ["tests"]
76
+ asyncio_mode = "auto"
77
+
78
+ [tool.mypy]
79
+ python_version = "3.11"
80
+ warn_return_any = true
81
+ warn_unused_configs = true
82
+ ignore_missing_imports = true
83
+ disallow_untyped_defs = true
84
+ strict_optional = true
85
+
86
+ [tool.ruff]
87
+ line-length = 120
88
+ target-version = "py311"
89
+ select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
90
+ ignore = ["E501", "B008"]
91
+
92
+ [tool.black]
93
+ line-length = 120
94
+ target-version = ["py311"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,6 @@
1
+ """Sky - Build without boundaries."""
2
+
3
+ __version__ = "0.0.5"
4
+ __author__ = "Aaditya A"
5
+ __author_email__ = "aaditya@corover.ai"
6
+ __description__ = "Local, CLI-based, agentic software development assistant"