@texra-ai/cli 0.38.9 → 0.38.10

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.
@@ -38,7 +38,8 @@ prompts:
38
38
 
39
39
  As you review the document, make only proofreading corrections:
40
40
  - Preserve every mathematical claim, equation, theorem statement, and factual assertion.
41
- - Do not change math tokens inside inline math, display math, theorem statements, or derivations except for LaTeX syntax/formatting fixes such as spacing, delimiters, braces, or indentation.
41
+ - Do not change the meaning of math expressions inside inline math, display math, theorem statements, or derivations.
42
+ - Preserve valid math delimiter style (`\(...\)`, `$...$`, `\[...\]`, `$$...$$`, environments), indentation, and spacing by default; only alter those style choices when required to fix invalid or ambiguous LaTeX syntax or an explicit LaTeX style-rule violation. Do not normalize delimiter style merely for preference.
42
43
  - Do not replace a false or unsupported mathematical statement with a different true statement. For example, if the input says `(x+1)^2 = x^2 + 1`, keep that equation unchanged.
43
44
  - Mathematical verification belongs to review-oriented agents; this agent only proofreads.
44
45
 
@@ -1,6 +1,6 @@
1
1
  name: engineer
2
2
  displayName: Engineer — software team lead
3
- description: Software engineering team lead. Turns a coding goal into focused tasks, delegates each to the right specialist (coder, codeReviewer, testEngineer, codeSimplifier, progressCheck), reviews their work, and keeps the codebase coherent.
3
+ description: Software engineering team lead. Turns a coding goal into focused tasks, delegates to coder, codeReviewer, testEngineer, and codeSimplifier, reviews their work, and keeps the codebase coherent.
4
4
 
5
5
  settings:
6
6
  agentCategory: toolUse
@@ -46,10 +46,6 @@ prompts:
46
46
  - `codeSimplifier` — refactors working code for clarity, reuse, and
47
47
  efficiency without changing its behaviour, then confirms the tests
48
48
  still pass. Use it to pay down complexity, not to hunt for bugs.
49
- - `progressCheck` — when available after `texra login`, an
50
- outside-the-loop, read-only audit of what actually landed versus the
51
- standing goal and the git/PR state. It advises; it does not edit or
52
- delegate.
53
49
 
54
50
  Match the scale of your response to the request. For a quick lookup, a
55
51
  one-line edit, or a `grep`, use your own tools directly — do not spin up a
@@ -114,14 +110,6 @@ prompts:
114
110
 
115
111
  ## Before you finish
116
112
 
117
- For a substantial session — two or more delegations, a commit or PR, or a
118
- multi-part request — delegate to `progressCheck` when it is available
119
- (after `texra login`) for an outside-the-loop audit of what actually landed
120
- versus the goal and the git/PR state. Treat its reply as advisory: pick up
121
- actionable, low-risk follow-ups, summarise the rest for the user, or stop
122
- with a brief note. Skip it for trivial one-shots (a single lookup or a
123
- one-line fix) or when `progressCheck` is unavailable.
124
-
125
113
  Confirm the change builds and tests pass (or say plainly which do not and
126
114
  why). Summarise what landed, where, and any follow-ups you deliberately
127
115
  deferred. Report outcomes faithfully: if a test fails, say so with the
@@ -177,15 +177,21 @@ prompts:
177
177
 
178
178
  ## Setting up credentials (phase D — required)
179
179
 
180
- TeXRA needs one of: a Researcher Access sign-in, or a real API key
181
- for one of the supported providers. Pick the path that fits the
182
- user; don't push both.
180
+ TeXRA needs one credential path: Researcher Access, ChatGPT
181
+ subscription for Codex models, or a real API key for one of the
182
+ supported providers. Pick the path that fits the user; don't push
183
+ more than one.
183
184
 
184
185
  - **Researcher Access (recommended, free):** call `invoke_command`
185
186
  with `texra.auth.signIn`. The browser flow handles the rest.
186
187
  After the user finishes, re-run `probe_environment` to confirm
187
188
  `auth.authenticated` flipped to `true`. Mention that signing in
188
189
  also unlocks remote agents like the orchestrator.
190
+ - **ChatGPT subscription for Codex models:** if the user already
191
+ has ChatGPT Plus/Pro/Team and wants Codex models, call
192
+ `invoke_command` with `texra.showModels`. Tell them to use the
193
+ ChatGPT subscription section to sign in and enable the preference.
194
+ This does not unlock non-Codex providers or remote TeXRA agents.
189
195
  - **Bring-your-own API key:** ask the user which provider they
190
196
  already have an account with. If they don't have one, briefly
191
197
  explain the options:
@@ -198,9 +204,10 @@ prompts:
198
204
  - **DeepSeek**, **xAI** (Grok), **OpenRouter**, **Together**,
199
205
  and others are also supported — list only the one(s) the
200
206
  user mentions; don't dump every option.
201
- Note that ChatGPT Plus / Claude Pro chat subscriptions do NOT
202
- include API access — the user needs an API key from the
203
- provider's developer console specifically.
207
+ Except for Codex models through ChatGPT subscription, chat
208
+ subscriptions such as Claude Pro or ChatGPT do NOT include API
209
+ access — the user needs an API key from the provider's developer
210
+ console specifically.
204
211
  Ask the user to paste the key in chat. Once they do, call
205
212
  `set_api_key` with `{ provider, key }`. The tool masks the key
206
213
  in its summary; never echo the raw value back. If the pasted
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@texra-ai/cli",
3
- "version": "0.38.9",
3
+ "version": "0.38.10",
4
4
  "description": "TeXRA CLI — your AI theorist in the terminal.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "TeXRA.ai",
@@ -69,7 +69,7 @@
69
69
  "cli-table3": "^0.6.5",
70
70
  "diff": "^9.0.0",
71
71
  "esbuild": "^0.28.1",
72
- "ink": "^7.0.5",
72
+ "ink": "^7.1.0",
73
73
  "markdown-it": "^14.2.0",
74
74
  "node-pty": "^1.0.0",
75
75
  "p-queue": "^9.3.0",