chatsbom 0.2.1__tar.gz → 0.2.2__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 (44) hide show
  1. {chatsbom-0.2.1 → chatsbom-0.2.2}/PKG-INFO +1 -1
  2. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/chat.py +3 -3
  3. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/collect.py +1 -1
  4. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/index.py +3 -3
  5. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/clickhouse.py +2 -2
  6. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/config.py +1 -1
  7. {chatsbom-0.2.1 → chatsbom-0.2.2}/pyproject.toml +1 -1
  8. {chatsbom-0.2.1 → chatsbom-0.2.2}/uv.lock +1 -1
  9. {chatsbom-0.2.1 → chatsbom-0.2.2}/.env.example +0 -0
  10. {chatsbom-0.2.1 → chatsbom-0.2.2}/.github/workflows/release.yaml +0 -0
  11. {chatsbom-0.2.1 → chatsbom-0.2.2}/.github/workflows/weekly.yml +0 -0
  12. {chatsbom-0.2.1 → chatsbom-0.2.2}/.gitignore +0 -0
  13. {chatsbom-0.2.1 → chatsbom-0.2.2}/.pre-commit-config.yaml +0 -0
  14. {chatsbom-0.2.1 → chatsbom-0.2.2}/.python-version +0 -0
  15. {chatsbom-0.2.1 → chatsbom-0.2.2}/README.md +0 -0
  16. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/__init__.py +0 -0
  17. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/__main__.py +0 -0
  18. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/__init__.py +0 -0
  19. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/convert.py +0 -0
  20. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/download.py +0 -0
  21. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/query.py +0 -0
  22. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/commands/status.py +0 -0
  23. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/__init__.py +0 -0
  24. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/client.py +0 -0
  25. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/repository.py +0 -0
  26. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/schema.py +0 -0
  27. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/core/validation.py +0 -0
  28. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/models/__init__.py +0 -0
  29. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/models/framework.py +0 -0
  30. {chatsbom-0.2.1 → chatsbom-0.2.2}/chatsbom/models/language.py +0 -0
  31. {chatsbom-0.2.1 → chatsbom-0.2.2}/config/users.d/admin.xml +0 -0
  32. {chatsbom-0.2.1 → chatsbom-0.2.2}/config/users.d/guest.xml +0 -0
  33. {chatsbom-0.2.1 → chatsbom-0.2.2}/docker-compose.yaml +0 -0
  34. {chatsbom-0.2.1 → chatsbom-0.2.2}/figures/demo.gif +0 -0
  35. {chatsbom-0.2.1 → chatsbom-0.2.2}/figures/use-cases/gin/01.png +0 -0
  36. {chatsbom-0.2.1 → chatsbom-0.2.2}/figures/use-cases/gin/02.png +0 -0
  37. {chatsbom-0.2.1 → chatsbom-0.2.2}/start.sh +0 -0
  38. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/client_test.py +0 -0
  39. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/collect_test.py +0 -0
  40. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/convert_sbom_test.py +0 -0
  41. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/download_test.py +0 -0
  42. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/framework_test.py +0 -0
  43. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/index_test.py +0 -0
  44. {chatsbom-0.2.1 → chatsbom-0.2.2}/tests/language_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chatsbom
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: ChatSBOM - Talk to your Supply Chain. Chat with SBOMs.
5
5
  Requires-Python: >=3.12
6
6
  Requires-Dist: claude-agent-sdk>=0.1.0
@@ -81,7 +81,7 @@ class ClickHouseConfig:
81
81
  }
82
82
 
83
83
 
84
- class SBOMInsightApp(App):
84
+ class ChatSBOMApp(App):
85
85
  """ChatSBOM Agent TUI."""
86
86
 
87
87
  CSS = """
@@ -291,7 +291,7 @@ def main(
291
291
  from chatsbom.core.clickhouse import check_clickhouse_connection
292
292
  check_clickhouse_connection(
293
293
  host=host, port=int(port), user=user, password=password,
294
- database='sbom', console=console, require_database=True,
294
+ database='chatsbom', console=console, require_database=True,
295
295
  )
296
296
 
297
- SBOMInsightApp(ClickHouseConfig(host, port, user, password)).run()
297
+ ChatSBOMApp(ClickHouseConfig(host, port, user, password)).run()
@@ -45,7 +45,7 @@ class GitHubClient:
45
45
  self.session.headers.update({
46
46
  'Authorization': f"Bearer {token}",
47
47
  'Accept': 'application/vnd.github.v3+json',
48
- 'User-Agent': 'SBOM-Insight',
48
+ 'User-Agent': 'ChatSBOM',
49
49
  })
50
50
  self.delay = delay
51
51
  self.last_req_time = 0.0
@@ -49,8 +49,8 @@ def get_client(host, port, user, password, database) -> Client:
49
49
 
50
50
 
51
51
  def init_db(client: Client):
52
- from sbom_insight.core.schema import ARTIFACTS_DDL
53
- from sbom_insight.core.schema import REPOSITORIES_DDL
52
+ from chatsbom.core.schema import ARTIFACTS_DDL
53
+ from chatsbom.core.schema import REPOSITORIES_DDL
54
54
  client.command(REPOSITORIES_DDL)
55
55
  client.command(ARTIFACTS_DDL)
56
56
 
@@ -233,7 +233,7 @@ def main(
233
233
  port: int = typer.Option(8123, help='ClickHouse http port'),
234
234
  user: str = typer.Option('admin', help='ClickHouse user'),
235
235
  password: str = typer.Option('admin', help='ClickHouse password'),
236
- database: str = typer.Option('sbom', help='ClickHouse database'),
236
+ database: str = typer.Option('chatsbom', help='ClickHouse database'),
237
237
  clean: bool = typer.Option(False, help='Drop tables before importing'),
238
238
  language: list[Language] | None = typer.Option(
239
239
  None, help='Specific languages to import',
@@ -9,7 +9,7 @@ def check_clickhouse_connection(
9
9
  port: int,
10
10
  user: str,
11
11
  password: str,
12
- database: str = 'sbom',
12
+ database: str = 'chatsbom',
13
13
  console: Console | None = None,
14
14
  require_database: bool = True,
15
15
  ) -> bool:
@@ -84,7 +84,7 @@ def check_clickhouse_connection(
84
84
  'does not exist.\n\n'
85
85
  'Please run the import command first to create and '
86
86
  'populate the database:\n\n'
87
- ' [cyan]uvx sbom-insight import[/]',
87
+ ' [cyan]chatsbom index[/]',
88
88
  )
89
89
  raise typer.Exit(1)
90
90
  except typer.Exit:
@@ -83,7 +83,7 @@ class DatabaseConfig:
83
83
  ),
84
84
  )
85
85
  database: str = field(
86
- default_factory=lambda: os.getenv('CLICKHOUSE_DB', 'sbom'),
86
+ default_factory=lambda: os.getenv('CLICKHOUSE_DB', 'chatsbom'),
87
87
  )
88
88
 
89
89
  # Table names
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "chatsbom"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "ChatSBOM - Talk to your Supply Chain. Chat with SBOMs."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -179,7 +179,7 @@ wheels = [
179
179
 
180
180
  [[package]]
181
181
  name = "chatsbom"
182
- version = "0.2.0"
182
+ version = "0.2.1"
183
183
  source = { editable = "." }
184
184
  dependencies = [
185
185
  { name = "claude-agent-sdk" },
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