janito 2.30.0__py3-none-any.whl → 2.31.0__py3-none-any.whl
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.
- janito/cli/chat_mode/session.py +2 -0
- janito/cli/prompt_core.py +2 -0
- janito/cli/single_shot_mode/handler.py +2 -0
- janito/provider_registry.py +1 -1
- janito/providers/openai/provider.py +1 -1
- janito/tools/adapters/local/search_text/core.py +1 -1
- janito-2.31.0.dist-info/METADATA +431 -0
- {janito-2.30.0.dist-info → janito-2.31.0.dist-info}/RECORD +12 -12
- janito-2.31.0.dist-info/licenses/LICENSE +21 -0
- janito-2.30.0.dist-info/METADATA +0 -83
- janito-2.30.0.dist-info/licenses/LICENSE +0 -201
- {janito-2.30.0.dist-info → janito-2.31.0.dist-info}/WHEEL +0 -0
- {janito-2.30.0.dist-info → janito-2.31.0.dist-info}/entry_points.txt +0 -0
- {janito-2.30.0.dist-info → janito-2.31.0.dist-info}/top_level.txt +0 -0
janito/cli/chat_mode/session.py
CHANGED
@@ -293,6 +293,8 @@ class ChatSession:
|
|
293
293
|
print_token_message_summary(
|
294
294
|
self.console, self.msg_count, usage, elapsed=elapsed
|
295
295
|
)
|
296
|
+
# Send terminal bell character to trigger TUI bell after printing token summary
|
297
|
+
print("\a", end="", flush=True)
|
296
298
|
if final_event and hasattr(final_event, "metadata"):
|
297
299
|
exit_reason = (
|
298
300
|
final_event.metadata.get("exit_reason")
|
janito/cli/prompt_core.py
CHANGED
@@ -216,6 +216,8 @@ class PromptHandler:
|
|
216
216
|
if on_event and final_event is not None:
|
217
217
|
on_event(final_event)
|
218
218
|
global_event_bus.publish(final_event)
|
219
|
+
# Terminal bell moved to token summary printing in session.py and handler.py
|
220
|
+
pass # print('\a', end='', flush=True)
|
219
221
|
except KeyboardInterrupt:
|
220
222
|
# Capture user interrupt / cancellation
|
221
223
|
self.console.print("[red]Interrupted by the user.[/red]")
|
@@ -125,6 +125,8 @@ class PromptHandler:
|
|
125
125
|
print_token_message_summary(
|
126
126
|
shared_console, msg_count=1, usage=usage, elapsed=elapsed
|
127
127
|
)
|
128
|
+
# Send terminal bell character to trigger TUI bell after printing token summary
|
129
|
+
print("\a", end="", flush=True)
|
128
130
|
self._cleanup_driver_and_console()
|
129
131
|
|
130
132
|
def _cleanup_driver_and_console(self):
|
janito/provider_registry.py
CHANGED
@@ -41,7 +41,7 @@ class ProviderRegistry:
|
|
41
41
|
rows.append(info[:3])
|
42
42
|
|
43
43
|
# Group providers by openness (open-source first, then proprietary)
|
44
|
-
open_providers = {"cerebras", "deepseek", "alibaba", "
|
44
|
+
open_providers = {"cerebras", "deepseek", "alibaba", "moonshotai", "zai"}
|
45
45
|
|
46
46
|
def sort_key(row):
|
47
47
|
provider_name = row[0]
|
@@ -18,7 +18,7 @@ class OpenAIProvider(LLMProvider):
|
|
18
18
|
MAINTAINER = "João Pinto <janito@ikignosis.org>"
|
19
19
|
MODEL_SPECS = MODEL_SPECS
|
20
20
|
DEFAULT_MODEL = (
|
21
|
-
"gpt-
|
21
|
+
"gpt-4.1" # Options: gpt-4.1, gpt-4o, o3-mini, o4-mini, gpt-5, gpt-5-nano
|
22
22
|
)
|
23
23
|
|
24
24
|
def __init__(
|
@@ -98,7 +98,7 @@ class SearchTextTool(ToolBase):
|
|
98
98
|
if max_depth > 0:
|
99
99
|
info_str += tr(" [max_depth={max_depth}]", max_depth=max_depth)
|
100
100
|
if count_only:
|
101
|
-
info_str += " [count]"
|
101
|
+
info_str += " [count-only]"
|
102
102
|
self.report_action(info_str, ReportAction.READ)
|
103
103
|
if os.path.isfile(search_path):
|
104
104
|
dir_output, dir_limit_reached, per_file_counts = self._handle_file(
|
@@ -0,0 +1,431 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: janito
|
3
|
+
Version: 2.31.0
|
4
|
+
Summary: A new Python package called janito.
|
5
|
+
Author-email: João Pinto <janito@ikignosis.org>
|
6
|
+
Project-URL: Homepage, https://github.com/ikignosis/janito
|
7
|
+
Requires-Python: >=3.7
|
8
|
+
Description-Content-Type: text/markdown
|
9
|
+
License-File: LICENSE
|
10
|
+
Requires-Dist: attrs==25.3.0
|
11
|
+
Requires-Dist: rich==14.0.0
|
12
|
+
Requires-Dist: pathspec==0.12.1
|
13
|
+
Requires-Dist: setuptools>=61.0
|
14
|
+
Requires-Dist: pyyaml>=6.0
|
15
|
+
Requires-Dist: jinja2>=3.0.0
|
16
|
+
Requires-Dist: prompt_toolkit>=3.0.51
|
17
|
+
Requires-Dist: lxml>=5.4.0
|
18
|
+
Requires-Dist: requests>=2.32.4
|
19
|
+
Requires-Dist: bs4>=0.0.2
|
20
|
+
Requires-Dist: questionary>=2.0.1
|
21
|
+
Requires-Dist: openai>=1.68.0
|
22
|
+
Provides-Extra: dev
|
23
|
+
Requires-Dist: pytest; extra == "dev"
|
24
|
+
Requires-Dist: pre-commit; extra == "dev"
|
25
|
+
Requires-Dist: ruff==0.11.9; extra == "dev"
|
26
|
+
Requires-Dist: detect-secrets==1.4.0; extra == "dev"
|
27
|
+
Requires-Dist: codespell==2.4.1; extra == "dev"
|
28
|
+
Requires-Dist: black; extra == "dev"
|
29
|
+
Requires-Dist: questionary>=2.0.1; extra == "dev"
|
30
|
+
Requires-Dist: setuptools_scm>=8.0; extra == "dev"
|
31
|
+
Provides-Extra: coder
|
32
|
+
Requires-Dist: janito-coder; extra == "coder"
|
33
|
+
Dynamic: license-file
|
34
|
+
|
35
|
+
# Janito, control you context
|
36
|
+
|
37
|
+
[](https://badge.fury.io/py/janito)
|
38
|
+
|
39
|
+
Janito is a command-line interface (CLI) tool for managing and interacting with Large Language Model (LLM) providers. It enables you to configure API keys, select providers and models, and submit prompts to various LLMs from your terminal. Janito is designed for extensibility, supporting multiple providers and a wide range of tools for automation and productivity.
|
40
|
+
|
41
|
+
## Features
|
42
|
+
|
43
|
+
- 🔑 Manage API keys and provider configurations
|
44
|
+
- 🤖 Interact with multiple LLM providers (OpenAI, Google Gemini, DeepSeek, and more)
|
45
|
+
- 🛠️ List and use a variety of registered tools
|
46
|
+
- 📝 Submit prompts and receive responses directly from the CLI
|
47
|
+
- 📋 List available models for each provider
|
48
|
+
- 🧩 Extensible architecture for adding new providers and tools
|
49
|
+
- 🎛️ Rich terminal output and event logging
|
50
|
+
|
51
|
+
### Advanced and Architectural Features
|
52
|
+
|
53
|
+
- ⚡ **Event-driven architecture**: Modular, decoupled system using a custom EventBus for extensibility and integration.
|
54
|
+
- 🧑💻 **Tool registry & dynamic tool execution**: Register new tools easily, execute them by name or call from automation pipelines.
|
55
|
+
- 🤖 **LLM Agent automation**: Supports agent-like workflows with the ability to chain tools or make decisions during LLM conversations.
|
56
|
+
- 🏗️ **Extensible provider management**: Add, configure, or switch between LLM providers and their models on the fly.
|
57
|
+
- 🧰 **Rich tool ecosystem**: Includes file operations, local/remote script and command execution, text processing, and internet access (fetching URLs), all reusable by LLM or user.
|
58
|
+
- 📝 **Comprehensive event & history reporting**: Detailed logs of prompts, events, tool usage, and responses for traceability and audit.
|
59
|
+
- 🖥️ **Enhanced terminal UI**: Colorful, informative real-time outputs and logs to improve productivity and insight during LLM usage.
|
60
|
+
|
61
|
+
## Installation
|
62
|
+
|
63
|
+
Janito is a Python package. Since this is a development version, you can install it directly from GitHub:
|
64
|
+
|
65
|
+
```bash
|
66
|
+
pip install git+git@github.com:ikignosis/janito.git
|
67
|
+
```
|
68
|
+
|
69
|
+
### First launch and quick setup
|
70
|
+
|
71
|
+
Janito integrates with external LLM providers (list below), and most of them require a subscription to get an API_KEY.
|
72
|
+
|
73
|
+
> [!NOTE]
|
74
|
+
> Today, on June the 26th 2025, Google has a free tier subscription for its Gemini-2.5-flash and Gemini-2.5-pro models. Despite the limitation of the models and of the rate limit of the free tier, they can be used for testing janito. The API_KEY for Gemini is available [here](https://aistudio.google.com/app/apikey).
|
75
|
+
|
76
|
+
> [!NOTE]
|
77
|
+
> [Here](https://github.com/cheahjs/free-llm-api-resources/blob/main/README.md) a list of various services that provide free access or credits towards API-based LLM usage. Note that not all of them are supported by Janito, yet.
|
78
|
+
|
79
|
+
For a quick usage you can:
|
80
|
+
|
81
|
+
1. once you get the API_KEY from your favourite LLM provider, setup the API_KEY in Janito
|
82
|
+
|
83
|
+
```bash
|
84
|
+
janito --set-api-key API_KEY -p PROVIDER
|
85
|
+
```
|
86
|
+
|
87
|
+
2. then run janito from command line with the specific LLM provider of your choice
|
88
|
+
|
89
|
+
```bash
|
90
|
+
janito -p PROVIDER "Hello, who are you? How can you help me in my tasks?"
|
91
|
+
```
|
92
|
+
|
93
|
+
3. or you can run janito in interactive mode without the trailing argument
|
94
|
+
|
95
|
+
```bash
|
96
|
+
janito -p PROVIDER
|
97
|
+
```
|
98
|
+
|
99
|
+
4. if you want to setup a specific provider for any further interactions you can use:
|
100
|
+
|
101
|
+
```bash
|
102
|
+
janito -set provider=PROVIDER
|
103
|
+
```
|
104
|
+
|
105
|
+
> [!WARNING]
|
106
|
+
> Currently the supported providers are: `openai`, `google`, `anthropic`, `azure_openai`. You can get more details with `janito --list-providers`.
|
107
|
+
|
108
|
+
5. for more advanced setup, continue reading.
|
109
|
+
|
110
|
+
|
111
|
+
## Usage
|
112
|
+
|
113
|
+
After installation, use the `janito` command in your terminal with the syntax: `janito [options] [prompt]`
|
114
|
+
|
115
|
+
Janito supports both general-purpose and specialized assistance through the use of **profiles**. Profiles allow you to select a specific system prompt template and behavior for the agent, enabling workflows tailored to different roles or tasks (e.g., developer, writer, data analyst), or to use Janito as a generic AI assistant.
|
116
|
+
|
117
|
+
### Profiles: General-Purpose and Specialized Assistance
|
118
|
+
|
119
|
+
- By default, Janito acts as a general-purpose assistant.
|
120
|
+
- You can select a specialized profile using the `--profile` option:
|
121
|
+
```bash
|
122
|
+
janito --profile developer "Refactor this code for better readability."
|
123
|
+
janito --profile writer "Draft a blog post about AI in healthcare."
|
124
|
+
```
|
125
|
+
- Profiles change the system prompt and agent behavior to suit the selected role or workflow.
|
126
|
+
- To see available profiles or customize them, refer to the documentation or the `agent/templates/profiles/` directory.
|
127
|
+
|
128
|
+
> **Tip:** Use `--profile` for targeted workflows, or omit it for a general-purpose assistant.
|
129
|
+
|
130
|
+
Janito has configuration options, like `--set api-key API_KEY` and `--set provider=PROVIDER`, that create durable configurations and single shoot options, like `-p PROVIDER` and `-m MODEL`, that are active for the single run of the command or session.
|
131
|
+
|
132
|
+
### Basic Commands
|
133
|
+
|
134
|
+
- **Set API Key for a Provider (requires -p PROVIDER)**
|
135
|
+
```bash
|
136
|
+
janito --set-api-key API_KEY -p PROVIDER
|
137
|
+
```
|
138
|
+
> **Note:** The `-p PROVIDER` argument is required when setting an API key. For example:
|
139
|
+
> ```bash
|
140
|
+
> janito --set-api-key sk-xxxxxxx -p openai
|
141
|
+
> ```
|
142
|
+
|
143
|
+
- **Set the Provider (durable)**
|
144
|
+
```bash
|
145
|
+
janito --set provider=provider_name
|
146
|
+
```
|
147
|
+
|
148
|
+
- **List Supported Providers**
|
149
|
+
```bash
|
150
|
+
janito --list-providers
|
151
|
+
```
|
152
|
+
|
153
|
+
- **List Registered Tools**
|
154
|
+
```bash
|
155
|
+
janito --list-tools
|
156
|
+
```
|
157
|
+
|
158
|
+
- **List Models for a Provider**
|
159
|
+
```bash
|
160
|
+
janito -p PROVIDER --list-models
|
161
|
+
```
|
162
|
+
|
163
|
+
- **Submit a Prompt**
|
164
|
+
```bash
|
165
|
+
janito "What is the capital of France?"
|
166
|
+
```
|
167
|
+
|
168
|
+
- **Start Interactive Chat Shell**
|
169
|
+
```bash
|
170
|
+
janito
|
171
|
+
```
|
172
|
+
|
173
|
+
### Advanced Options
|
174
|
+
|
175
|
+
- **Enable Execution Tools (Code/Shell Execution)**
|
176
|
+
|
177
|
+
By default, **all tool privileges (read, write, execute)** are disabled for safety. This means Janito starts with no permissions to run tools that read, write, or execute code/shell commands unless you explicitly enable them.
|
178
|
+
|
179
|
+
- To enable **read** tools (e.g., file reading, searching): add `-r` or `--read`
|
180
|
+
- To enable **write** tools (e.g., file editing): add `-w` or `--write`
|
181
|
+
- To enable **execution** tools (code/shell execution): add `-x` or `--exec`
|
182
|
+
|
183
|
+
You can combine these flags as needed. For example, to enable both read and write tools:
|
184
|
+
|
185
|
+
```bash
|
186
|
+
janito -r -w "Read and update this file: ..."
|
187
|
+
```
|
188
|
+
|
189
|
+
To enable all permissions (read, write, execute):
|
190
|
+
|
191
|
+
```bash
|
192
|
+
# Using individual flags
|
193
|
+
janito -r -w -x "Run this code: print('Hello, world!')"
|
194
|
+
|
195
|
+
# Using the convenient /rwx prefix (single-shot mode)
|
196
|
+
janito /rwx "Run this code: print('Hello, world!')"
|
197
|
+
```
|
198
|
+
|
199
|
+
#### One-Shot Mode
|
200
|
+
For quick tasks without entering interactive mode, provide your prompt directly:
|
201
|
+
|
202
|
+
```bash
|
203
|
+
# Basic one-shot
|
204
|
+
janito "What are the key classes in this project?"
|
205
|
+
|
206
|
+
# One-shot with all permissions enabled
|
207
|
+
janito /rwx "Create a Python script and run it"
|
208
|
+
|
209
|
+
# One-shot with specific permissions
|
210
|
+
janito -r -w "Read this file and create a summary"
|
211
|
+
```
|
212
|
+
|
213
|
+
> **Warning:** Enabling execution tools allows running arbitrary code or shell commands. Only use `--exec` if you trust your prompt and environment.
|
214
|
+
|
215
|
+
- **Set a System Prompt**
|
216
|
+
```bash
|
217
|
+
janito -s path/to/system_prompt.txt "Your prompt here"
|
218
|
+
```
|
219
|
+
|
220
|
+
- **Select Model and Provider Temporarily**
|
221
|
+
```bash
|
222
|
+
janito -p openai -m gpt-3.5-turbo "Your prompt here"
|
223
|
+
janito -p google -m gemini-2.5-flash "Your prompt here"
|
224
|
+
```
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
- **Enable Event Logging**
|
229
|
+
```bash
|
230
|
+
janito -e "Your prompt here"
|
231
|
+
```
|
232
|
+
|
233
|
+
## 🌟 CLI Options Reference
|
234
|
+
|
235
|
+
### Core CLI Options
|
236
|
+
| Option | Description |
|
237
|
+
|------------------------|-----------------------------------------------------------------------------|
|
238
|
+
| `--version` | Show program version |
|
239
|
+
| `--list-tools` | List all registered tools |
|
240
|
+
| `--list-providers` | List all supported LLM providers |
|
241
|
+
| `-l`, `--list-models` | List models for current/selected provider |
|
242
|
+
| `--set-api-key` | Set API key for a provider. **Requires** `-p PROVIDER` to specify the provider. |
|
243
|
+
| `--set provider=name` | Set the current LLM provider (e.g., `janito --set provider=openai`) |
|
244
|
+
| `--set PROVIDER.model=MODEL` or `--set model=MODEL` | Set the default model for the current/selected provider, or globally. (e.g., `janito --set openai.model=gpt-3.5-turbo`) |
|
245
|
+
| `-s`, `--system` | Set a system prompt (e.g., `janito -s path/to/system_prompt.txt "Your prompt here"`) |
|
246
|
+
|
247
|
+
| `-p`, `--provider` | Select LLM provider (overrides config) (e.g., `janito -p openai "Your prompt here"`) |
|
248
|
+
| `-m`, `--model` | Select model for the provider (e.g., `janito -m gpt-3.5-turbo "Your prompt here"`) |
|
249
|
+
| `-v`, `--verbose` | Print extra information before answering |
|
250
|
+
| `-R`, `--raw` | Print raw JSON response from API |
|
251
|
+
| `-e`, `--event-log` | Log events to console as they occur |
|
252
|
+
| `prompt` | Prompt to submit for the non interactive mode (e.g. `janito "What is the capital of France?"`) |
|
253
|
+
|
254
|
+
### 🧩 Extended Chat Mode Commands
|
255
|
+
Once inside the interactive chat mode, you can use these slash commands:
|
256
|
+
|
257
|
+
#### 📲 Basic Interaction
|
258
|
+
| Command | Description |
|
259
|
+
|-------------------|----------------------------------------------|
|
260
|
+
| `/exit` or `exit` | Exit chat mode |
|
261
|
+
| `/help` | Show available commands |
|
262
|
+
| `/multi` | Activate multiline input mode |
|
263
|
+
| `/clear` | Clear the terminal screen |
|
264
|
+
| `/history` | Show input history |
|
265
|
+
| `/view` | Print current conversation history |
|
266
|
+
| `/track` | Show tool usage history |
|
267
|
+
|
268
|
+
#### 💬 Conversation Management
|
269
|
+
| Command | Description |
|
270
|
+
|---------------------|----------------------------------------------|
|
271
|
+
| `/restart` | Start a new conversation (reset context) |
|
272
|
+
| `/prompt` | Show the current system prompt |
|
273
|
+
| `/role <description>` | Change the system role |
|
274
|
+
| `/lang [code]` | Change interface language (e.g., `/lang en`) |
|
275
|
+
|
276
|
+
#### 🛠️ Tool & Provider Interaction
|
277
|
+
| Command | Description |
|
278
|
+
|----------------------|----------------------------------------------|
|
279
|
+
| `/tools` | List available tools |
|
280
|
+
| `/-status` | Show status of server |
|
281
|
+
| `/-logs` | Show last lines of logs |
|
282
|
+
| `/write [on\|off]` | Enable or disable write tool permissions |
|
283
|
+
| `/read [on\|off]` | Enable or disable read tool permissions |
|
284
|
+
| `/execute [on\|off]` | Enable or disable execute tool permissions |
|
285
|
+
|
286
|
+
|
287
|
+
#### 📊 Output Control
|
288
|
+
| Command | Description |
|
289
|
+
|---------------------|----------------------------------------------|
|
290
|
+
| `/verbose` | Show current verbose mode status |
|
291
|
+
| `/verbose [on\|off]` | Set verbose mode |
|
292
|
+
|
293
|
+
## Extending Janito
|
294
|
+
|
295
|
+
Janito is built to be extensible. You can add new LLM providers or tools by implementing new modules in the `janito/providers` or `janito/tools` directories, respectively. See the source code and developer documentation for more details.
|
296
|
+
|
297
|
+
## Supported Providers
|
298
|
+
|
299
|
+
- OpenAI
|
300
|
+
- OpenAI over Azure
|
301
|
+
- Google Gemini
|
302
|
+
- DeepSeek
|
303
|
+
- Anthropic
|
304
|
+
|
305
|
+
See [docs/supported-providers-models.md](docs/supported-providers-models.md) for more details.
|
306
|
+
|
307
|
+
## Contributing
|
308
|
+
|
309
|
+
Contributions are welcome! Please see the `CONTRIBUTING.md` (if available) or open an issue to get started.
|
310
|
+
|
311
|
+
---
|
312
|
+
|
313
|
+
## Developer Documentation
|
314
|
+
|
315
|
+
For developer-specific setup, versioning, and contribution guidelines, see [README-dev.md](./README-dev.md).
|
316
|
+
|
317
|
+
## License
|
318
|
+
|
319
|
+
This project is licensed under the terms of the MIT license.
|
320
|
+
|
321
|
+
For more information, see the documentation in the `docs/` directory or run `janito --help`.
|
322
|
+
|
323
|
+
---
|
324
|
+
|
325
|
+
# Support
|
326
|
+
|
327
|
+
|
328
|
+
## 📖 Detailed Documentation
|
329
|
+
|
330
|
+
Full and up-to-date documentation is available at: https://ikignosis.github.io/janito/
|
331
|
+
|
332
|
+
---
|
333
|
+
|
334
|
+
|
335
|
+
## FAQ: Setting API Keys
|
336
|
+
|
337
|
+
- [Multiple API_KEY setup](#faq-multiple-api-key)
|
338
|
+
- [Use a specific model](#faq-use-specific-model)
|
339
|
+
- [Fetch the available LLM providers](#faq-fetch-providers)
|
340
|
+
- [Fetch the available models](#faq-fetch-models)
|
341
|
+
|
342
|
+
|
343
|
+
<a id="faq-multiple-api-key"></a>
|
344
|
+
### Multiple API_KEY setup
|
345
|
+
|
346
|
+
To set an API key for a provider, you **must** specify both the API key and the provider name:
|
347
|
+
|
348
|
+
```bash
|
349
|
+
janito --set-api-key YOUR_API_KEY -p PROVIDER_NAME
|
350
|
+
```
|
351
|
+
|
352
|
+
You can have an API_KEY for each LLM provider
|
353
|
+
|
354
|
+
```bash
|
355
|
+
janito --set-api-key API_KEY_1 -p PROVIDER_1
|
356
|
+
janito --set-api-key API_KEY_2 -p PROVIDER_2
|
357
|
+
```
|
358
|
+
|
359
|
+
Then you can easily use one provider or the other without changing the API_KEY
|
360
|
+
|
361
|
+
```bash
|
362
|
+
janito -p PROVIDER_1 "What provider do you use?"
|
363
|
+
janito -p PROVIDER_2 "What provider do you use?"
|
364
|
+
```
|
365
|
+
|
366
|
+
If you omit the `-p PROVIDER_NAME` argument, Janito will show an error and not set the key.
|
367
|
+
|
368
|
+
<a id="faq-use-specific-model"></a>
|
369
|
+
### Use a specific model
|
370
|
+
|
371
|
+
To use a specific model, you can use the `-m` option in the following way:
|
372
|
+
|
373
|
+
```bash
|
374
|
+
janito -m gpt-4.1-nano -p openai "What model do you use?"
|
375
|
+
```
|
376
|
+
|
377
|
+
Or you can use the durable `--set` option:
|
378
|
+
|
379
|
+
```bash
|
380
|
+
janito --set provider=openai
|
381
|
+
janito --set model=gpt-4.1-nano
|
382
|
+
janito "What model do you use?"
|
383
|
+
```
|
384
|
+
|
385
|
+
<a id="faq-fetch-providers"></a>
|
386
|
+
### Fetch the available LLM providers
|
387
|
+
|
388
|
+
You can list all the LLM providers available using:
|
389
|
+
|
390
|
+
```bash
|
391
|
+
janito --list-providers
|
392
|
+
```
|
393
|
+
|
394
|
+
<a id="faq-fetch-models"></a>
|
395
|
+
### Fetch the available models
|
396
|
+
|
397
|
+
Each LLM provider has its own models, the best way to check what are the available models is using the following commands:
|
398
|
+
|
399
|
+
```bash
|
400
|
+
janito -p openai --list-models
|
401
|
+
janito -p google --list-models
|
402
|
+
janito -p azure_openai --list-models
|
403
|
+
janito -p anthropic --list-models
|
404
|
+
janito -p deepseek --list-models
|
405
|
+
```
|
406
|
+
|
407
|
+
|
408
|
+
## Ask Me Anything
|
409
|
+
|
410
|
+
<div align="center">
|
411
|
+
<a href="git@github.com:ikignosis/janito.git" title="Ask Me Anything">
|
412
|
+
<img width="250" src="docs/imgs/ama.png" alt="Ask Me Anything">
|
413
|
+
</a>
|
414
|
+
</div
|
415
|
+
|
416
|
+
When the FAQ are not enough, you can contact the contributors of the project by direct questions
|
417
|
+
|
418
|
+
<p align="center">
|
419
|
+
<kbd><a href="../../issues/new?labels=question">Ask a question</a></kbd> <kbd><a href="../../issues?q=is%3Aissue+is%3Aclosed+label%3Aquestion">Read questions</a></kbd>
|
420
|
+
</p>
|
421
|
+
|
422
|
+
#### Guidelines
|
423
|
+
|
424
|
+
- :mag: Ensure your question hasn't already been answered.
|
425
|
+
- :memo: Use a succinct title and description.
|
426
|
+
- :bug: Bugs & feature requests should be opened on the relevant issue tracker.
|
427
|
+
- :signal_strength: Support questions are better asked on Stack Overflow.
|
428
|
+
- :blush: Be nice, civil and polite.
|
429
|
+
- :heart_eyes: If you include at least one emoji in your question, the feedback will probably come faster.
|
430
|
+
- [Read more AMAs](https://github.com/sindresorhus/amas)
|
431
|
+
- [What's an AMA?](https://en.wikipedia.org/wiki/R/IAmA)
|
@@ -16,7 +16,7 @@ janito/perf_singleton.py,sha256=g1h0Sdf4ydzegeEpJlMhQt4H0GQZ2hryXrdYOTL-b30,113
|
|
16
16
|
janito/performance_collector.py,sha256=RYu4av16Trj3RljJZ8-2Gbn1KlGdJUosrcVFYtwviNI,6285
|
17
17
|
janito/platform_discovery.py,sha256=JN3kC7hkxdvuj-AyrJTlbbDJjtNHke3fdlZDqGi_uz0,4621
|
18
18
|
janito/provider_config.py,sha256=acn2FEgWsEIyi2AxZiuCLoP2rXDd-nXcP5VB4CZHaeE,3189
|
19
|
-
janito/provider_registry.py,sha256=
|
19
|
+
janito/provider_registry.py,sha256=VMxwIatPxrkCo-racXm9UxMd37iCyEdi_viotqaspXo,6927
|
20
20
|
janito/report_events.py,sha256=q4OR_jTZNfcqaQF_fzTjgqo6_VlUIxSGWfhpT4nJWcw,938
|
21
21
|
janito/shell.bak.zip,sha256=hznHbmgfkAkjuQDJ3w73XPQh05yrtUZQxLmtGbanbYU,22
|
22
22
|
janito/utils.py,sha256=eXSsMgM69YyzahgCNrJQLcEbB8ssLI1MQqaa20ONxbE,376
|
@@ -30,7 +30,7 @@ janito/cli/config.py,sha256=HkZ14701HzIqrvaNyDcDhGlVHfpX_uHlLp2rHmhRm_k,872
|
|
30
30
|
janito/cli/console.py,sha256=gJolqzWL7jEPLxeuH-CwBDRFpXt976KdZOEAB2tdBDs,64
|
31
31
|
janito/cli/main.py,sha256=s5odou0txf8pzTf1ADk2yV7T5m8B6cejJ81e7iu776U,312
|
32
32
|
janito/cli/main_cli.py,sha256=FXpoybaEbDRlK5-oMOMlcdM7TpVfnOdr6-mOkgJHeTo,16648
|
33
|
-
janito/cli/prompt_core.py,sha256=
|
33
|
+
janito/cli/prompt_core.py,sha256=s7FInCOlz3CMAsARcNWMyWXGep--zeySx22m29b2l7Q,11799
|
34
34
|
janito/cli/prompt_handler.py,sha256=SnPTlL64noeAMGlI08VBDD5IDD8jlVMIYA4-fS8zVLg,215
|
35
35
|
janito/cli/prompt_setup.py,sha256=s48gvNfZhKjsEhf4EzL1tKIGm4wDidPMDvlM6TAPYes,2116
|
36
36
|
janito/cli/rich_terminal_reporter.py,sha256=K48Ywwj6xz_NikuezzBmYJM1PANmQD-G48sE4NjQhn0,6835
|
@@ -40,7 +40,7 @@ janito/cli/chat_mode/bindings.py,sha256=odjc5_-YW1t2FRhBUNRNoBMoQIg5sMz3ktV7xG0A
|
|
40
40
|
janito/cli/chat_mode/chat_entry.py,sha256=RFdPd23jsA2DMHRacpjAdwI_1dFBaWrtnwyQEgb2fHA,475
|
41
41
|
janito/cli/chat_mode/prompt_style.py,sha256=vsqQ9xxmrYjj1pWuVe9CayQf39fo2EIXrkKPkflSVn4,805
|
42
42
|
janito/cli/chat_mode/script_runner.py,sha256=WFTFVWzg_VQrD2Ujj02XWjscfGgHwmjBeRxaEjWw9ps,6505
|
43
|
-
janito/cli/chat_mode/session.py,sha256=
|
43
|
+
janito/cli/chat_mode/session.py,sha256=RA4vQVVNEIWsl3gG3j08FioqUEpv7_j5hjd3fmQRvd4,18678
|
44
44
|
janito/cli/chat_mode/toolbar.py,sha256=SzdWAJdcY1g2rTPZCPL6G5X8jO6ZQYjwko2-nw54_nU,3397
|
45
45
|
janito/cli/chat_mode/shell/autocomplete.py,sha256=lE68MaVaodbA2VfUM0_YLqQVLBJAE_BJsd5cMtwuD-g,793
|
46
46
|
janito/cli/chat_mode/shell/commands.bak.zip,sha256=I7GFjXg2ORT5NzFpicH1vQ3kchhduQsZinzqo0xO8wU,74238
|
@@ -100,7 +100,7 @@ janito/cli/core/runner.py,sha256=gi8xke6re9AoHHNCivV50i0eUAliw8QTUdXyqMkMplM,904
|
|
100
100
|
janito/cli/core/setters.py,sha256=zjSUxy6iUzcrmEunFk7dA90KqbMaq2O7LTGP8wn2HxA,5378
|
101
101
|
janito/cli/core/unsetters.py,sha256=FEw9gCt0vRvoCt0kRSNfVB2tzi_TqppJIx2nHPP59-k,2012
|
102
102
|
janito/cli/single_shot_mode/__init__.py,sha256=Ct99pKe9tINzVW6oedZJfzfZQKWpXz-weSSCn0hrwHY,115
|
103
|
-
janito/cli/single_shot_mode/handler.py,sha256=
|
103
|
+
janito/cli/single_shot_mode/handler.py,sha256=aOTh9s7HyHBLs2sgquEVbVhFWC_7Udu4u_9LoQ0f78E,5667
|
104
104
|
janito/docs/GETTING_STARTED.md,sha256=Yx3vi1LQWyDWlE_JYuz4V9EL-Gh4WU6cOBqCr8XidF4,4960
|
105
105
|
janito/drivers/dashscope.bak.zip,sha256=9Pv4Xyciju8jO1lEMFVgYXexoZkxmDO3Ig6vw3ODfL8,4936
|
106
106
|
janito/drivers/openai_responses.bak.zip,sha256=E43eDCHGa2tCtdjzj_pMnWDdnsOZzj8BJTR5tJp8wcM,13352
|
@@ -168,7 +168,7 @@ janito/providers/moonshot/model_info.py,sha256=PpdUkmuR7g6SyiEzS9nePskPjn5xI1ZM2
|
|
168
168
|
janito/providers/moonshot/provider.py,sha256=LJxNoC7Oo-ZoFKs2ulK2lXzUEx7kV-79HJ8JG4J-UWU,3856
|
169
169
|
janito/providers/openai/__init__.py,sha256=f0m16-sIqScjL9Mp4A0CQBZx6H3PTEy0cnE08jeaB5U,38
|
170
170
|
janito/providers/openai/model_info.py,sha256=VTkq3xcx2vk0tXlFVHQxKeFzl-DL1T1J2elVOEwCdHI,4265
|
171
|
-
janito/providers/openai/provider.py,sha256=
|
171
|
+
janito/providers/openai/provider.py,sha256=VBU5S5eSpqE3qX-nHdxLwsp7usgvUFzOsPzKJKu1-10,4763
|
172
172
|
janito/providers/openai/schema_generator.py,sha256=hTqeLcPTR8jeKn5DUUpo7b-EZ-V-g1WwXiX7MbHnFzE,2234
|
173
173
|
janito/providers/zai/__init__.py,sha256=qtIr9_QBFaXG8xB6cRDGhS7se6ir11CWseI9azLMRBo,24
|
174
174
|
janito/providers/zai/model_info.py,sha256=ldwD8enpxXv1G-YsDw4YJn31YsVueQ4vj5HgoYvnPxo,1183
|
@@ -230,7 +230,7 @@ janito/tools/adapters/local/get_file_outline/markdown_outline.py,sha256=bXEBg0D9
|
|
230
230
|
janito/tools/adapters/local/get_file_outline/python_outline.py,sha256=RAcf9Vxec08lA06drYaNre5HCJ2lTzrRAskZ3rlyE-U,10326
|
231
231
|
janito/tools/adapters/local/get_file_outline/search_outline.py,sha256=bski24TpnJVf3L0TNzkx3HfvaXwttQl4EVkwk2POQOw,1348
|
232
232
|
janito/tools/adapters/local/search_text/__init__.py,sha256=FEYpF5tTtf0fiAyRGIGSn-kV-MJDkhdFIbus16mYW8Y,34
|
233
|
-
janito/tools/adapters/local/search_text/core.py,sha256=
|
233
|
+
janito/tools/adapters/local/search_text/core.py,sha256=obCq4WoJ4ld2kpd57pCyt91wpXVsrvQ0PBTSL8Lxpk0,7882
|
234
234
|
janito/tools/adapters/local/search_text/match_lines.py,sha256=RLR8fZFP-Q57rY0fTENbMItmt3dJZiYX0otmGHVRjfw,2131
|
235
235
|
janito/tools/adapters/local/search_text/pattern_utils.py,sha256=D7vtAr8oT0tGV0C_UUarAXS9XQtP-MTYmmc8Yg8iVTg,2362
|
236
236
|
janito/tools/adapters/local/search_text/traverse_directory.py,sha256=EpL1qywAV0H29pm8-QsHrjKchKP4i4sRUOENVuNptCo,4000
|
@@ -246,9 +246,9 @@ janito/tools/adapters/local/validate_file_syntax/ps1_validator.py,sha256=TeIkPt0
|
|
246
246
|
janito/tools/adapters/local/validate_file_syntax/python_validator.py,sha256=BfCO_K18qy92m-2ZVvHsbEU5e11OPo1pO9Vz4G4616E,130
|
247
247
|
janito/tools/adapters/local/validate_file_syntax/xml_validator.py,sha256=AijlsP_PgNuC8ZbGsC5vOTt3Jur76otQzkd_7qR0QFY,284
|
248
248
|
janito/tools/adapters/local/validate_file_syntax/yaml_validator.py,sha256=TgyI0HRL6ug_gBcWEm5TGJJuA4E34ZXcIzMpAbv3oJs,155
|
249
|
-
janito-2.
|
250
|
-
janito-2.
|
251
|
-
janito-2.
|
252
|
-
janito-2.
|
253
|
-
janito-2.
|
254
|
-
janito-2.
|
249
|
+
janito-2.31.0.dist-info/licenses/LICENSE,sha256=GSAKapQH5ZIGWlpQTA7v5YrfECyaxaohUb1vJX-qepw,1090
|
250
|
+
janito-2.31.0.dist-info/METADATA,sha256=PTDIEejdQE8T6pYMV-_SZubwGBauxg0aER9EbzwAt_s,16945
|
251
|
+
janito-2.31.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
252
|
+
janito-2.31.0.dist-info/entry_points.txt,sha256=wIo5zZxbmu4fC-ZMrsKD0T0vq7IqkOOLYhrqRGypkx4,48
|
253
|
+
janito-2.31.0.dist-info/top_level.txt,sha256=m0NaVCq0-ivxbazE2-ND0EA9Hmuijj_OGkmCbnBcCig,7
|
254
|
+
janito-2.31.0.dist-info/RECORD,,
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) [year] [fullname]
|
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.
|
janito-2.30.0.dist-info/METADATA
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: janito
|
3
|
-
Version: 2.30.0
|
4
|
-
Summary: A new Python package called janito.
|
5
|
-
Author-email: João Pinto <janito@ikignosis.org>
|
6
|
-
Project-URL: Homepage, https://github.com/ikignosis/janito
|
7
|
-
Requires-Python: >=3.7
|
8
|
-
Description-Content-Type: text/markdown
|
9
|
-
License-File: LICENSE
|
10
|
-
Requires-Dist: attrs==25.3.0
|
11
|
-
Requires-Dist: rich==14.0.0
|
12
|
-
Requires-Dist: pathspec==0.12.1
|
13
|
-
Requires-Dist: setuptools>=61.0
|
14
|
-
Requires-Dist: pyyaml>=6.0
|
15
|
-
Requires-Dist: jinja2>=3.0.0
|
16
|
-
Requires-Dist: prompt_toolkit>=3.0.51
|
17
|
-
Requires-Dist: lxml>=5.4.0
|
18
|
-
Requires-Dist: requests>=2.32.4
|
19
|
-
Requires-Dist: bs4>=0.0.2
|
20
|
-
Requires-Dist: questionary>=2.0.1
|
21
|
-
Requires-Dist: openai>=1.68.0
|
22
|
-
Provides-Extra: dev
|
23
|
-
Requires-Dist: pytest; extra == "dev"
|
24
|
-
Requires-Dist: pre-commit; extra == "dev"
|
25
|
-
Requires-Dist: ruff==0.11.9; extra == "dev"
|
26
|
-
Requires-Dist: detect-secrets==1.4.0; extra == "dev"
|
27
|
-
Requires-Dist: codespell==2.4.1; extra == "dev"
|
28
|
-
Requires-Dist: black; extra == "dev"
|
29
|
-
Requires-Dist: questionary>=2.0.1; extra == "dev"
|
30
|
-
Requires-Dist: setuptools_scm>=8.0; extra == "dev"
|
31
|
-
Provides-Extra: coder
|
32
|
-
Requires-Dist: janito-coder; extra == "coder"
|
33
|
-
Dynamic: license-file
|
34
|
-
|
35
|
-
# nctl
|
36
|
-
|
37
|
-
```bash
|
38
|
-
$ nctl --help
|
39
|
-
Usage: nctl <command>
|
40
|
-
|
41
|
-
Interact with Nine API resources. See https://docs.nineapis.ch for the full API docs.
|
42
|
-
|
43
|
-
Run "nctl <command> --help" for more information on a command.
|
44
|
-
```
|
45
|
-
|
46
|
-
## Setup
|
47
|
-
|
48
|
-
```bash
|
49
|
-
# If you have go already installed
|
50
|
-
go install github.com/ninech/nctl@latest
|
51
|
-
|
52
|
-
# Homebrew
|
53
|
-
brew install ninech/taps/nctl
|
54
|
-
|
55
|
-
# Debian/Ubuntu
|
56
|
-
echo "deb [trusted=yes] https://repo.nine.ch/deb/ /" | sudo tee /etc/apt/sources.list.d/repo.nine.ch.list
|
57
|
-
sudo apt-get update
|
58
|
-
sudo apt-get install nctl
|
59
|
-
|
60
|
-
# Fedora/RHEL
|
61
|
-
cat <<EOF > /etc/yum.repos.d/repo.nine.ch.repo
|
62
|
-
[repo.nine.ch]
|
63
|
-
name=Nine Repo
|
64
|
-
baseurl=https://repo.nine.ch/yum/
|
65
|
-
enabled=1
|
66
|
-
gpgcheck=0
|
67
|
-
EOF
|
68
|
-
dnf install nctl
|
69
|
-
|
70
|
-
# Arch
|
71
|
-
# Install yay: https://github.com/Jguer/yay#binary
|
72
|
-
yay --version
|
73
|
-
yay -S nctl-bin
|
74
|
-
```
|
75
|
-
|
76
|
-
For Windows users, nctl is also built for arm64 and amd64. You can download the
|
77
|
-
latest exe file from the [releases](https://github.com/ninech/nctl/releases) and
|
78
|
-
install it.
|
79
|
-
|
80
|
-
## Getting started
|
81
|
-
|
82
|
-
* login to the API using `nctl auth login`
|
83
|
-
* run `nctl --help` to get a list of all available commands
|
@@ -1,201 +0,0 @@
|
|
1
|
-
Apache License
|
2
|
-
Version 2.0, January 2004
|
3
|
-
http://www.apache.org/licenses/
|
4
|
-
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
-
|
7
|
-
1. Definitions.
|
8
|
-
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
-
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
-
the copyright owner that is granting the License.
|
14
|
-
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
-
other entities that control, are controlled by, or are under common
|
17
|
-
control with that entity. For the purposes of this definition,
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
19
|
-
direction or management of such entity, whether by contract or
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
-
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
-
exercising permissions granted by this License.
|
25
|
-
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
27
|
-
including but not limited to software source code, documentation
|
28
|
-
source, and configuration files.
|
29
|
-
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
31
|
-
transformation or translation of a Source form, including but
|
32
|
-
not limited to compiled object code, generated documentation,
|
33
|
-
and conversions to other media types.
|
34
|
-
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
36
|
-
Object form, made available under the License, as indicated by a
|
37
|
-
copyright notice that is included in or attached to the work
|
38
|
-
(an example is provided in the Appendix below).
|
39
|
-
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
-
the Work and Derivative Works thereof.
|
47
|
-
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
49
|
-
the original version of the Work and any modifications or additions
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
-
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
64
|
-
subsequently incorporated within the Work.
|
65
|
-
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
72
|
-
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
-
where such license applies only to those patent claims licensable
|
79
|
-
by such Contributor that are necessarily infringed by their
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
82
|
-
institute patent litigation against any entity (including a
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
85
|
-
or contributory patent infringement, then any patent licenses
|
86
|
-
granted to You under this License for that Work shall terminate
|
87
|
-
as of the date such litigation is filed.
|
88
|
-
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
91
|
-
modifications, and in Source or Object form, provided that You
|
92
|
-
meet the following conditions:
|
93
|
-
|
94
|
-
(a) You must give any other recipients of the Work or
|
95
|
-
Derivative Works a copy of this License; and
|
96
|
-
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
98
|
-
stating that You changed the files; and
|
99
|
-
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
102
|
-
attribution notices from the Source form of the Work,
|
103
|
-
excluding those notices that do not pertain to any part of
|
104
|
-
the Derivative Works; and
|
105
|
-
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
108
|
-
include a readable copy of the attribution notices contained
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
111
|
-
of the following places: within a NOTICE text file distributed
|
112
|
-
as part of the Derivative Works; within the Source form or
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
114
|
-
within a display generated by the Derivative Works, if and
|
115
|
-
wherever such third-party notices normally appear. The contents
|
116
|
-
of the NOTICE file are for informational purposes only and
|
117
|
-
do not modify the License. You may add Your own attribution
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
120
|
-
that such additional attribution notices cannot be construed
|
121
|
-
as modifying the License.
|
122
|
-
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
124
|
-
may provide additional or different license terms and conditions
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
128
|
-
the conditions stated in this License.
|
129
|
-
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
133
|
-
this License, without any additional terms or conditions.
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
-
the terms of any separate license agreement you may have executed
|
136
|
-
with Licensor regarding such Contributions.
|
137
|
-
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
140
|
-
except as required for reasonable and customary use in describing the
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
152
|
-
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
158
|
-
incidental, or consequential damages of any character arising as a
|
159
|
-
result of this License or out of the use or inability to use the
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
162
|
-
other commercial damages or losses), even if such Contributor
|
163
|
-
has been advised of the possibility of such damages.
|
164
|
-
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
-
or other liability obligations and/or rights consistent with this
|
169
|
-
License. However, in accepting such obligations, You may act only
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
174
|
-
of your accepting any such warranty or additional liability.
|
175
|
-
|
176
|
-
END OF TERMS AND CONDITIONS
|
177
|
-
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
179
|
-
|
180
|
-
To apply the Apache License to your work, attach the following
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
-
replaced with your own identifying information. (Don't include
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
184
|
-
comment syntax for the file format. We also recommend that a
|
185
|
-
file or class name and description of purpose be included on the
|
186
|
-
same "printed page" as the copyright notice for easier
|
187
|
-
identification within third-party archives.
|
188
|
-
|
189
|
-
Copyright 2023 Nine Internet Solutions AG
|
190
|
-
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
-
you may not use this file except in compliance with the License.
|
193
|
-
You may obtain a copy of the License at
|
194
|
-
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
-
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
-
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
File without changes
|
File without changes
|
File without changes
|