ndi-cli 0.5.0__tar.gz → 0.6.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ndi-cli
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: NDI platform CLI: document operations, jobs, workspaces, and the agent workspace tools
5
5
  Keywords: ndi,cli,document-intelligence,coding-agents
6
6
  Author: Nace AI
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.14
17
17
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
18
  Classifier: Typing :: Typed
19
19
  Requires-Dist: ndi-sdk>=0.21,<1
20
+ Requires-Dist: truststore>=0.10.4,<1
20
21
  Requires-Python: >=3.11
21
22
  Project-URL: Homepage, https://ndi-api.nace.ai
22
23
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ndi-cli"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "NDI platform CLI: document operations, jobs, workspaces, and the agent workspace tools"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -23,7 +23,10 @@ classifiers = [
23
23
  "Topic :: Software Development :: Libraries :: Python Modules",
24
24
  "Typing :: Typed",
25
25
  ]
26
- dependencies = ["ndi-sdk>=0.21,<1"]
26
+ dependencies = [
27
+ "ndi-sdk>=0.21,<1",
28
+ "truststore>=0.10.4,<1",
29
+ ]
27
30
 
28
31
  [[project.authors]]
29
32
  name = "Nace AI"
@@ -33,7 +36,7 @@ email = "engineering@nace.ai"
33
36
  Homepage = "https://ndi-api.nace.ai"
34
37
 
35
38
  [project.scripts]
36
- ndi = "ndi_cli._cli:main"
39
+ ndi = "ndi_cli._entrypoint:main"
37
40
 
38
41
  [tool.uv.sources.ndi-sdk]
39
42
  workspace = true
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ndi-cli"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "NDI platform CLI: document operations, jobs, workspaces, and the agent workspace tools"
5
5
  authors = [
6
6
  { name = "Nace AI", email = "engineering@nace.ai" }
@@ -28,13 +28,14 @@ classifiers = [
28
28
  ]
29
29
  dependencies = [
30
30
  "ndi-sdk>=0.21,<1",
31
+ "truststore>=0.10.4,<1",
31
32
  ]
32
33
 
33
34
  [project.urls]
34
35
  Homepage = "https://ndi-api.nace.ai"
35
36
 
36
37
  [project.scripts]
37
- ndi = "ndi_cli._cli:main"
38
+ ndi = "ndi_cli._entrypoint:main"
38
39
 
39
40
  [tool.uv.sources]
40
41
  ndi-sdk = { workspace = true }
@@ -6,4 +6,4 @@ methods. The six workspace tools (``folder-metadata``, ``file-metadata``,
6
6
  in-sandbox surface.
7
7
  """
8
8
 
9
- __version__ = "0.5.0"
9
+ __version__ = "0.6.0"
@@ -0,0 +1,14 @@
1
+ """Bootstrap the ``ndi`` executable with the operating system trust store."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import truststore
6
+
7
+
8
+ def main(argv: list[str] | None = None) -> int:
9
+ """Enable native certificate verification before loading the CLI and SDK."""
10
+ truststore.inject_into_ssl()
11
+
12
+ from ndi_cli._cli import main as cli_main # noqa: PLC0415
13
+
14
+ return cli_main(argv)
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