@texra-ai/cli 0.38.0 → 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.
|
@@ -57,7 +57,6 @@ prompts:
|
|
|
57
57
|
|
|
58
58
|
Provide your output as complete \LaTeX document{% if INPUT_FILES[1] %}s{% endif %}. Accuracy is paramount - even small discrepancies can affect diff tools.
|
|
59
59
|
|
|
60
|
-
{% if INPUT_FILES | length %}
|
|
61
60
|
<documents>
|
|
62
61
|
{% for output in INPUT_FILES %}
|
|
63
62
|
<document name="{{ output }}">
|
|
@@ -65,10 +64,3 @@ prompts:
|
|
|
65
64
|
</document>
|
|
66
65
|
{% endfor %}
|
|
67
66
|
</documents>
|
|
68
|
-
{% else %}
|
|
69
|
-
<documents>
|
|
70
|
-
<document name="_full.tex">
|
|
71
|
-
% Your merged \LaTeX document here
|
|
72
|
-
</document>
|
|
73
|
-
</documents>
|
|
74
|
-
{% endif %}
|
|
@@ -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.
|
|
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",
|
|
@@ -38,12 +38,26 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
43
|
+
"check:architecture": "node scripts/check-host-imports.mjs",
|
|
44
|
+
"bundle": "node scripts/build-bundle.mjs",
|
|
45
|
+
"bundle:harness": "node scripts/build-harness.mjs",
|
|
46
|
+
"copy:resources": "node scripts/copy-resources.mjs",
|
|
47
|
+
"copy:docs": "node scripts/copy-docs.mjs",
|
|
48
|
+
"smoke:react-compiler": "node scripts/smoke-react-compiler.mjs",
|
|
49
|
+
"build": "npm run typecheck && npm run check:architecture && npm run smoke:react-compiler && npm run bundle && npm run copy:resources && npm run copy:docs",
|
|
50
|
+
"prepack": "npm run build",
|
|
51
|
+
"validate:run": "node scripts/validate-run.mjs",
|
|
52
|
+
"validate:pack": "node scripts/validate-pack.mjs"
|
|
53
|
+
},
|
|
41
54
|
"devDependencies": {
|
|
42
|
-
"@babel/core": "^7.29.
|
|
43
|
-
"@babel/preset-react": "^7.
|
|
44
|
-
"@babel/preset-typescript": "^7.
|
|
55
|
+
"@babel/core": "^7.29.7",
|
|
56
|
+
"@babel/preset-react": "^7.29.7",
|
|
57
|
+
"@babel/preset-typescript": "^7.29.7",
|
|
45
58
|
"@inkjs/ui": "^2.0.0",
|
|
46
59
|
"@lit-labs/signals": "^0.3.0",
|
|
60
|
+
"@texra/core": "workspace:*",
|
|
47
61
|
"@types/markdown-it": "^14.1.2",
|
|
48
62
|
"@types/react": "^19.2.15",
|
|
49
63
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
@@ -51,25 +65,15 @@
|
|
|
51
65
|
"cli-highlight": "^2.1.11",
|
|
52
66
|
"diff": "^9.0.0",
|
|
53
67
|
"esbuild": "^0.28.0",
|
|
54
|
-
"ink": "^7.0.
|
|
55
|
-
"markdown-it": "^14.
|
|
68
|
+
"ink": "^7.0.4",
|
|
69
|
+
"markdown-it": "^14.2.0",
|
|
56
70
|
"p-queue": "^9.3.0",
|
|
57
71
|
"picocolors": "^1.1.1",
|
|
58
72
|
"react": "^19.2.0",
|
|
73
|
+
"semver": "^7.8.1",
|
|
74
|
+
"@types/semver": "^7.7.1",
|
|
59
75
|
"string-width": "^8.0.0",
|
|
60
76
|
"typescript": "^6.0.3",
|
|
61
|
-
"wrap-ansi": "^10.0.0"
|
|
62
|
-
"@texra/core": "0.38.0"
|
|
63
|
-
},
|
|
64
|
-
"scripts": {
|
|
65
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
66
|
-
"check:architecture": "node scripts/check-host-imports.mjs",
|
|
67
|
-
"bundle": "node scripts/build-bundle.mjs",
|
|
68
|
-
"copy:resources": "node scripts/copy-resources.mjs",
|
|
69
|
-
"copy:docs": "node scripts/copy-docs.mjs",
|
|
70
|
-
"smoke:react-compiler": "node scripts/smoke-react-compiler.mjs",
|
|
71
|
-
"build": "npm run typecheck && npm run check:architecture && npm run smoke:react-compiler && npm run bundle && npm run copy:resources && npm run copy:docs",
|
|
72
|
-
"validate:run": "node scripts/validate-run.mjs",
|
|
73
|
-
"validate:pack": "node scripts/validate-pack.mjs"
|
|
77
|
+
"wrap-ansi": "^10.0.0"
|
|
74
78
|
}
|
|
75
|
-
}
|
|
79
|
+
}
|