@texra-ai/cli 0.38.1 → 0.38.2

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.
@@ -62,7 +62,7 @@ prompts:
62
62
 
63
63
  Output further enhanced and complete versions of all \LaTeX documents in the format below, incorporating the fixes above. Include all the changes you added in the previous step. Only modify sections explicitly mentioned in the instruction, unless changes in one section directly necessitate adjustments in another for consistency. Did later documents receive less attention than earlier ones? Re-read the last document now.
64
64
 
65
- Ensure that the output documents are in the following order: {{ INPUT_FILES | join(', ') }}
65
+ Ensure that the output documents are in the following order: {{ INPUT_FILES | default([], true) | join(', ') }}
66
66
 
67
67
  <documents>
68
68
  {% for output in INPUT_FILES %}
@@ -61,7 +61,8 @@ Workflow agent prompts receive:
61
61
  - `{{ INSTRUCTION }}` — the user's free-text instruction for this run
62
62
  - `{{ INPUT_FILES }}` — ordered list of input filenames. Editing agents should
63
63
  output one document for each input, preserving the same names and order. Use
64
- `{{ INPUT_FILES | join(", ") }}` for a human-readable list.
64
+ `{{ INPUT_FILES | default([], true) | join(", ") }}` for a human-readable list
65
+ (guards against null/absent `INPUT_FILES` so the prompt renders safely).
65
66
  - `{{ OUTPUT_FILES }}` — ordered list of declared generated filenames. This is
66
67
  only populated when the agent has explicit `outputFiles` or
67
68
  `settings.defaultOutputFiles`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texra-ai/cli",
3
- "version": "0.38.1",
3
+ "version": "0.38.2",
4
4
  "description": "TeXRA CLI — AI-powered LaTeX research assistant for the terminal.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "TeXRA.ai",
@@ -70,6 +70,8 @@
70
70
  "p-queue": "^9.3.0",
71
71
  "picocolors": "^1.1.1",
72
72
  "react": "^19.2.0",
73
+ "semver": "^7.8.1",
74
+ "@types/semver": "^7.7.1",
73
75
  "string-width": "^8.0.0",
74
76
  "typescript": "^6.0.3",
75
77
  "wrap-ansi": "^10.0.0"