ailtir-cli 1.1.4__tar.gz → 2.0.0__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 (24) hide show
  1. {ailtir_cli-1.1.4/src/ailtir_cli.egg-info → ailtir_cli-2.0.0}/PKG-INFO +1 -1
  2. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/pyproject.toml +1 -1
  3. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/kbs/analyse.py +1 -1
  4. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/kbs/chat.py +1 -1
  5. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/kbs/list_kbs.py +1 -1
  6. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/kbs/upload.py +1 -1
  7. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0/src/ailtir_cli.egg-info}/PKG-INFO +1 -1
  8. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/LICENSE +0 -0
  9. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/README.md +0 -0
  10. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/setup.cfg +0 -0
  11. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/__init__.py +0 -0
  12. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/app.py +0 -0
  13. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/__init__.py +0 -0
  14. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/agents/__init__.py +0 -0
  15. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/agents/research.py +0 -0
  16. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/kbs/__init__.py +0 -0
  17. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/commands/version.py +0 -0
  18. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/config.py +0 -0
  19. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli/main.py +0 -0
  20. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli.egg-info/SOURCES.txt +0 -0
  21. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli.egg-info/dependency_links.txt +0 -0
  22. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli.egg-info/entry_points.txt +0 -0
  23. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli.egg-info/requires.txt +0 -0
  24. {ailtir_cli-1.1.4 → ailtir_cli-2.0.0}/src/ailtir_cli.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ailtir-cli
3
- Version: 1.1.4
3
+ Version: 2.0.0
4
4
  Summary: Ailtir CLI — upload, analyse, list, and chat with knowledge bases
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://ailtir.ai
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ailtir-cli"
3
- version = "1.1.4"
3
+ version = "2.0.0"
4
4
  description = "Ailtir CLI — upload, analyse, list, and chat with knowledge bases"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -20,7 +20,7 @@ def analyse(kb_id: str = typer.Argument(..., help="The knowledge base ID to anal
20
20
  with httpx.Client(base_url=settings.cli_api_url, timeout=30.0) as http:
21
21
  try:
22
22
  resp = http.post(
23
- f"/kb/{kb_id}/analyse",
23
+ f"/kbs/{kb_id}/analyse",
24
24
  headers={"Authorization": f"Bearer {token}"},
25
25
  )
26
26
  resp.raise_for_status()
@@ -23,7 +23,7 @@ def chat(
23
23
  with httpx.Client(base_url=settings.cli_api_url, timeout=60.0) as http:
24
24
  try:
25
25
  resp = http.post(
26
- f"/kb/{kb_id}/chat",
26
+ f"/kbs/{kb_id}/chat",
27
27
  json={"question": question},
28
28
  headers={"Authorization": f"Bearer {token}"},
29
29
  )
@@ -30,7 +30,7 @@ def list_kbs(
30
30
 
31
31
  with httpx.Client(base_url=settings.cli_api_url, timeout=30.0) as http:
32
32
  try:
33
- resp = http.get("/kb", headers={"Authorization": f"Bearer {token}"})
33
+ resp = http.get("/kbs", headers={"Authorization": f"Bearer {token}"})
34
34
  resp.raise_for_status()
35
35
  except httpx.HTTPStatusError as exc:
36
36
  _console.print(f"[red]Error: {exc.response.status_code}[/red]")
@@ -36,7 +36,7 @@ def upload(
36
36
  with httpx.Client(base_url=settings.cli_api_url, timeout=30.0) as http:
37
37
  try:
38
38
  reg_resp = http.post(
39
- "/kb",
39
+ "/kbs",
40
40
  json={"file_name": path.name},
41
41
  headers={"Authorization": f"Bearer {token}"},
42
42
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ailtir-cli
3
- Version: 1.1.4
3
+ Version: 2.0.0
4
4
  Summary: Ailtir CLI — upload, analyse, list, and chat with knowledge bases
5
5
  License-Expression: MIT
6
6
  Project-URL: Homepage, https://ailtir.ai
File without changes
File without changes
File without changes