ndi-cli 0.28.1__tar.gz → 0.29.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.28.1
3
+ Version: 0.29.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
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.13
16
16
  Classifier: Programming Language :: Python :: 3.14
17
17
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
18
18
  Classifier: Typing :: Typed
19
- Requires-Dist: ndi-sdk>=0.45,<1
19
+ Requires-Dist: ndi-sdk>=0.50,<1
20
20
  Requires-Dist: truststore>=0.10.4,<1
21
21
  Requires-Python: >=3.11
22
22
  Project-URL: Homepage, https://ndi-api.nace.ai
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ndi-cli"
3
- version = "0.28.1"
3
+ version = "0.29.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"
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Typing :: Typed",
25
25
  ]
26
26
  dependencies = [
27
- "ndi-sdk>=0.45,<1",
27
+ "ndi-sdk>=0.50,<1",
28
28
  "truststore>=0.10.4,<1",
29
29
  ]
30
30
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ndi-cli"
3
- version = "0.28.1"
3
+ version = "0.29.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" }
@@ -27,7 +27,7 @@ classifiers = [
27
27
  "Typing :: Typed",
28
28
  ]
29
29
  dependencies = [
30
- "ndi-sdk>=0.45,<1",
30
+ "ndi-sdk>=0.50,<1",
31
31
  "truststore>=0.10.4,<1",
32
32
  ]
33
33
 
@@ -6,4 +6,4 @@ methods. Inside an agent sandbox the workspace tools (``folder-metadata``,
6
6
  are the whole surface; outside one only ``ask-file`` is.
7
7
  """
8
8
 
9
- __version__ = "0.28.1"
9
+ __version__ = "0.29.0"
@@ -751,6 +751,7 @@ def search_job(job: Job) -> str:
751
751
  result.answer,
752
752
  result.clarification,
753
753
  result.evidences,
754
+ reasoning=result.reasoning,
754
755
  receipts=len(result.sql_receipts),
755
756
  grounding_job_ids=result.grounding_job_ids,
756
757
  )
@@ -761,6 +762,7 @@ def search_job(job: Job) -> str:
761
762
  result.answer,
762
763
  result.clarification,
763
764
  result.evidences,
765
+ reasoning=result.reasoning,
764
766
  receipts=0,
765
767
  grounding_job_ids=result.grounding_job_ids,
766
768
  )
@@ -1039,6 +1041,7 @@ def _search_result(
1039
1041
  clarification: str | None,
1040
1042
  evidences: list,
1041
1043
  *,
1044
+ reasoning: str | None = None,
1042
1045
  receipts: int,
1043
1046
  grounding_job_ids: list[uuid.UUID] | None = None,
1044
1047
  ) -> str:
@@ -1047,6 +1050,9 @@ def _search_result(
1047
1050
  lines.append(f"clarification: {clarification}")
1048
1051
  if answer:
1049
1052
  lines.append(answer.strip())
1053
+ if reasoning:
1054
+ # An agent answer cites the evidences numbered below as [1], [2], ….
1055
+ lines.append(f"reasoning: {reasoning.strip()}")
1050
1056
  lines.append(f"evidences ({len(evidences)}):")
1051
1057
  for index, evidence in enumerate(evidences, start=1):
1052
1058
  page = f", page {evidence.page}" if evidence.page is not None else ""
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes