auq-mcp-server 2.5.0 → 2.6.0
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.
package/dist/bin/tui-app.js
CHANGED
|
@@ -546,6 +546,7 @@ const App = ({ config }) => {
|
|
|
546
546
|
export const runTui = (config) => {
|
|
547
547
|
// Clear terminal before showing app
|
|
548
548
|
console.clear();
|
|
549
|
+
console.error("If you're an AI agent, run headless mode. Use `auq --help` for available commands.");
|
|
549
550
|
const { waitUntilExit } = render(React.createElement(App, { config: config }));
|
|
550
551
|
// Handle Ctrl+C gracefully
|
|
551
552
|
process.on("SIGINT", () => {
|
package/dist/package.json
CHANGED
|
@@ -166,7 +166,13 @@ async function sessionsShow(args) {
|
|
|
166
166
|
// ── Fetch session data ──────────────────────────────────────────
|
|
167
167
|
const status = await sessionManager.getSessionStatus(sessionId);
|
|
168
168
|
const request = await sessionManager.getSessionRequest(sessionId);
|
|
169
|
-
|
|
169
|
+
let answersData = null;
|
|
170
|
+
try {
|
|
171
|
+
answersData = await sessionManager.getSessionAnswers(sessionId);
|
|
172
|
+
}
|
|
173
|
+
catch {
|
|
174
|
+
// answers.json may not exist for pending/in-progress sessions — that's expected
|
|
175
|
+
}
|
|
170
176
|
if (!status || !request) {
|
|
171
177
|
outputResult({ success: false, error: `Could not read session data for: ${sessionId}` }, jsonMode);
|
|
172
178
|
process.exitCode = 1;
|