@texra-ai/cli 0.38.2 → 0.38.4
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.
|
@@ -46,7 +46,11 @@ prompts:
|
|
|
46
46
|
- Process LaTeX documents in fixed rounds (1 or 2).
|
|
47
47
|
- Receive pre-loaded file content via template variables
|
|
48
48
|
({% raw %}`{{ INPUT_CONTENT }}`, `{{ ALL_INPUTS }}`{% endraw %}, etc.).
|
|
49
|
-
- Produce output
|
|
49
|
+
- Produce output with the unified documents protocol — one
|
|
50
|
+
`<document name="...">` block per output file inside a single
|
|
51
|
+
`<documents>...</documents>` wrapper. Editing agents reuse the input
|
|
52
|
+
filenames; agents that generate new artifacts declare
|
|
53
|
+
`defaultOutputFiles` and emit those names (exposed as `OUTPUT_FILES`).
|
|
50
54
|
- Use chain-of-thought with `<scratchpad>` planning before the final
|
|
51
55
|
output.
|
|
52
56
|
- Best for: editing, polishing, correcting, merging, or creating LaTeX
|
|
@@ -20,7 +20,7 @@ settings:
|
|
|
20
20
|
- memory
|
|
21
21
|
# GitHub PR subscription — opt-in. Disabled by default; enable in
|
|
22
22
|
# Dashboard → Tools and configure a GitHub token in Dashboard → Git.
|
|
23
|
-
# When disabled by the user,
|
|
23
|
+
# When disabled by the user, resolveAgentTools() strips these from the
|
|
24
24
|
# model's tool list. When enabled but the token/git-repo check has
|
|
25
25
|
# not yet populated the availability cache (i.e. before the Tools
|
|
26
26
|
# dashboard has run its checks), the tools may still appear and
|
|
@@ -8,8 +8,6 @@ settings:
|
|
|
8
8
|
- todo_write
|
|
9
9
|
- bash
|
|
10
10
|
- read_file
|
|
11
|
-
- write_file
|
|
12
|
-
- edit_file
|
|
13
11
|
- glob
|
|
14
12
|
- grep
|
|
15
13
|
- ls
|
|
@@ -75,7 +73,7 @@ prompts:
|
|
|
75
73
|
(2) When the text attributes a specific claim to a reference, use arxiv_search, arxiv_metadata, or crossref_doi to verify the claim matches the cited work.
|
|
76
74
|
(3) Check for self-consistency of citations.
|
|
77
75
|
|
|
78
|
-
Report: Organize findings by category — Stated Goals (goal, status, evidence), Mathematical Verification (equation reference, status, details), Notation Issues (symbol, locations, description), Code Issues, Figure/Table Issues, Reference Issues, and a Summary of Findings.
|
|
76
|
+
Report: Organize findings by category — Stated Goals (goal, status, evidence), Mathematical Verification (equation reference, status, details), Notation Issues (symbol, locations, description), Code Issues, Figure/Table Issues, Reference Issues, and a Summary of Findings. Return the report in your final response by default. Only save a report file in the workspace when the user explicitly asks for a file artifact, the task is inherently an edit, or a file is genuinely required for verification.
|
|
79
77
|
|
|
80
78
|
Guidelines:
|
|
81
79
|
(1) Be systematic: use todo_write to track what you have and have not checked.
|
|
@@ -83,7 +81,7 @@ prompts:
|
|
|
83
81
|
(3) Show your verification work: include your reasoning and any computational checks.
|
|
84
82
|
(4) Distinguish between confirmed errors and items that need clarification.
|
|
85
83
|
(5) Prioritize checking the main results and key derivations over peripheral content.
|
|
86
|
-
(6)
|
|
84
|
+
(6) Do not edit workspace files while auditing unless the user explicitly requests edits. If edits are requested and no editing tool is available, state the needed changes in your final response.
|
|
87
85
|
{% if IS_ANTHROPIC_MODEL %}
|
|
88
86
|
(7) Do not create excessive markdown files or documentation unless explicitly requested.
|
|
89
87
|
{% endif %}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@texra-ai/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.4",
|
|
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",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
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
50
|
"prepack": "npm run build",
|
|
51
51
|
"validate:run": "node scripts/validate-run.mjs",
|
|
52
|
-
"validate:pack": "node scripts/validate-pack.mjs"
|
|
52
|
+
"validate:pack": "node scripts/validate-pack.mjs",
|
|
53
|
+
"validate:tui": "node scripts/validate-tui.mjs"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@babel/core": "^7.29.7",
|
|
@@ -60,18 +61,21 @@
|
|
|
60
61
|
"@texra/core": "workspace:*",
|
|
61
62
|
"@types/markdown-it": "^14.1.2",
|
|
62
63
|
"@types/react": "^19.2.15",
|
|
64
|
+
"@types/semver": "^7.7.1",
|
|
65
|
+
"@xterm/headless": "^5.5.0",
|
|
63
66
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
64
67
|
"citty": "^0.2.2",
|
|
65
68
|
"cli-highlight": "^2.1.11",
|
|
69
|
+
"cli-table3": "^0.6.5",
|
|
66
70
|
"diff": "^9.0.0",
|
|
67
71
|
"esbuild": "^0.28.0",
|
|
68
|
-
"ink": "^7.0.
|
|
72
|
+
"ink": "^7.0.5",
|
|
69
73
|
"markdown-it": "^14.2.0",
|
|
74
|
+
"node-pty": "^1.0.0",
|
|
70
75
|
"p-queue": "^9.3.0",
|
|
71
76
|
"picocolors": "^1.1.1",
|
|
72
77
|
"react": "^19.2.0",
|
|
73
78
|
"semver": "^7.8.1",
|
|
74
|
-
"@types/semver": "^7.7.1",
|
|
75
79
|
"string-width": "^8.0.0",
|
|
76
80
|
"typescript": "^6.0.3",
|
|
77
81
|
"wrap-ansi": "^10.0.0"
|