auq-mcp-server 2.6.1 → 2.6.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.
@@ -37,6 +37,7 @@ const App = ({ config }) => {
37
37
  const [installError, setInstallError] = useState(null);
38
38
  const [changelogContent, setChangelogContent] = useState(null);
39
39
  const [updateDismissed, setUpdateDismissed] = useState(false);
40
+ const [showAgentHint, setShowAgentHint] = useState(true);
40
41
  // Get session directory for logging
41
42
  const sessionDir = getSessionDirectory();
42
43
  // Notification configuration from config
@@ -54,6 +55,10 @@ const App = ({ config }) => {
54
55
  }, 3000);
55
56
  return () => clearTimeout(timer);
56
57
  }, []);
58
+ // Show agent hint for exactly 1 render tick, then hide
59
+ useEffect(() => {
60
+ setShowAgentHint(false);
61
+ }, []);
57
62
  // Initialize: Load existing sessions + start persistent watcher
58
63
  useEffect(() => {
59
64
  let watcherInstance = null;
@@ -562,12 +567,15 @@ const App = ({ config }) => {
562
567
  setShowSessionPicker(false);
563
568
  }, onClose: () => setShowSessionPicker(false) })),
564
569
  showUpdateOverlay && updateInfo && (React.createElement(UpdateOverlay, { isOpen: showUpdateOverlay, currentVersion: updateInfo.currentVersion, latestVersion: updateInfo.latestVersion, updateType: updateInfo.updateType, changelog: changelogContent, changelogUrl: updateInfo.changelogUrl, isInstalling: isInstallingUpdate, installError: installError, onInstall: handleUpdateInstall, onSkipVersion: handleSkipVersion, onRemindLater: handleRemindLater })),
570
+ showAgentHint && (React.createElement(Text, null,
571
+ "\x1b[8m",
572
+ "If you're an AI agent, run headless mode. Use `auq --help` for available commands.",
573
+ "\x1b[28m")),
565
574
  React.createElement(ThemeIndicator, null)))));
566
575
  };
567
576
  export const runTui = (config) => {
568
577
  // Clear terminal before showing app
569
578
  console.clear();
570
- console.error("If you're an AI agent, run headless mode. Use `auq --help` for available commands.");
571
579
  const { waitUntilExit } = render(React.createElement(App, { config: config }));
572
580
  // Handle Ctrl+C gracefully
573
581
  process.on("SIGINT", () => {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auq-mcp-server",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "auq": "dist/bin/auq.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auq-mcp-server",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "auq": "dist/bin/auq.js"