ziya 0.1.2__tar.gz → 0.1.3__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.
Potentially problematic release.
This version of ziya might be problematic. Click here for more details.
- {ziya-0.1.2 → ziya-0.1.3}/PKG-INFO +5 -3
- {ziya-0.1.2 → ziya-0.1.3}/README.md +4 -2
- {ziya-0.1.2 → ziya-0.1.3}/app/main.py +3 -3
- {ziya-0.1.2 → ziya-0.1.3}/pyproject.toml +1 -1
- {ziya-0.1.2 → ziya-0.1.3}/LICENSE +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/__init__.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/agents/__init__.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/agents/agent.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/agents/prompts.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/server.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/utils/__init__.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/utils/directory_util.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/utils/gitignore_parser.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/utils/logging_utils.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/app/utils/print_tree_util.py +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/static/app.js +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/static/favicon.ico +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/static/sendPayload.js +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/static/ziya.css +0 -0
- {ziya-0.1.2 → ziya-0.1.3}/templates/index.html +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ziya
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Vishnu Krishnaprasad
|
|
6
6
|
Author-email: vishnukool@gmail.com
|
|
@@ -77,7 +77,9 @@ ziya
|
|
|
77
77
|
|
|
78
78
|
### Options
|
|
79
79
|
|
|
80
|
-
`--exclude`: Comma-separated list of files or directories to exclude from the codebase.
|
|
80
|
+
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg: `--exclude 'tst,build,*.py'`
|
|
81
|
+
|
|
82
|
+
`--include`: Comma-separated list of directories to include. By default, it only searches for current directory for code files, but you can specify a list of subset directories under current folder to search instead of the entire folder. Eg: `--include='app,src/mappers'`
|
|
81
83
|
|
|
82
84
|
`--profile`: AWS profile to use for the Bedrock LLM.
|
|
83
85
|
|
|
@@ -86,5 +88,5 @@ ziya
|
|
|
86
88
|
`--port`: The port number for frontend app. Default is `6969`.
|
|
87
89
|
|
|
88
90
|
```bash
|
|
89
|
-
ziya --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
91
|
+
ziya --include='app,src/mappers' --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
90
92
|
```
|
|
@@ -53,7 +53,9 @@ ziya
|
|
|
53
53
|
|
|
54
54
|
### Options
|
|
55
55
|
|
|
56
|
-
`--exclude`: Comma-separated list of files or directories to exclude from the codebase.
|
|
56
|
+
`--exclude`: Comma-separated list of files or directories or file suffix patterns to exclude from the codebase. Eg: `--exclude 'tst,build,*.py'`
|
|
57
|
+
|
|
58
|
+
`--include`: Comma-separated list of directories to include. By default, it only searches for current directory for code files, but you can specify a list of subset directories under current folder to search instead of the entire folder. Eg: `--include='app,src/mappers'`
|
|
57
59
|
|
|
58
60
|
`--profile`: AWS profile to use for the Bedrock LLM.
|
|
59
61
|
|
|
@@ -62,5 +64,5 @@ ziya
|
|
|
62
64
|
`--port`: The port number for frontend app. Default is `6969`.
|
|
63
65
|
|
|
64
66
|
```bash
|
|
65
|
-
ziya --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
67
|
+
ziya --include='app,src/mappers' --exclude='tst,build,*.py' --profile=ziya --model=sonnet --port=8080
|
|
66
68
|
```
|
|
@@ -8,8 +8,8 @@ def main():
|
|
|
8
8
|
parser = argparse.ArgumentParser(description="Run with custom options")
|
|
9
9
|
parser.add_argument("--exclude", default=[], type=lambda x: x.split(','),
|
|
10
10
|
help="List of files or directories to exclude (e.g., --exclude 'tst,build,*.py')")
|
|
11
|
-
parser.add_argument("--include
|
|
12
|
-
help="List of directories to include (e.g., --include 'src,static')")
|
|
11
|
+
parser.add_argument("--include", default=[], type=lambda x: x.split(','),
|
|
12
|
+
help="List of directories to include (e.g., --include 'src,static'). Only directories for now")
|
|
13
13
|
parser.add_argument("--profile", type=str, default=None,
|
|
14
14
|
help="AWS profile to use (e.g., --profile ziya)")
|
|
15
15
|
parser.add_argument("--model", type=str, choices=["sonnet", "haiku", "opus"], default="haiku",
|
|
@@ -21,7 +21,7 @@ def main():
|
|
|
21
21
|
additional_excluded_dirs = ','.join([item for item in args.exclude])
|
|
22
22
|
os.environ["ZIYA_ADDITIONAL_EXCLUDE_DIRS"] = additional_excluded_dirs
|
|
23
23
|
|
|
24
|
-
additional_included_dirs = ','.join([item for item in args.
|
|
24
|
+
additional_included_dirs = ','.join([item for item in args.include])
|
|
25
25
|
os.environ["ZIYA_ADDITIONAL_INCLUDE_DIRS"] = additional_included_dirs
|
|
26
26
|
|
|
27
27
|
if args.profile:
|
|
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
|