@hasna/conversations 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/bin/index.js +6 -1
  2. package/package.json +1 -1
package/bin/index.js CHANGED
@@ -2685,7 +2685,7 @@ var init_presence = __esm(() => {
2685
2685
  var require_package = __commonJS((exports, module) => {
2686
2686
  module.exports = {
2687
2687
  name: "@hasna/conversations",
2688
- version: "0.1.0",
2688
+ version: "0.1.1",
2689
2689
  description: "Real-time CLI messaging for AI agents",
2690
2690
  type: "module",
2691
2691
  bin: {
@@ -34614,6 +34614,11 @@ program2.command("dashboard").description("Start web dashboard").option("--port
34614
34614
  startDashboardServer2(port, opts.host);
34615
34615
  });
34616
34616
  program2.action(() => {
34617
+ if (!process.stdin.isTTY) {
34618
+ console.error(chalk2.red("Interactive mode requires a TTY terminal."));
34619
+ console.error(chalk2.dim("Use subcommands (send, read, sessions, etc.) for non-interactive use."));
34620
+ process.exit(1);
34621
+ }
34617
34622
  const agent = resolveIdentity();
34618
34623
  render(React8.createElement(App, { agent }));
34619
34624
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/conversations",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Real-time CLI messaging for AI agents",
5
5
  "type": "module",
6
6
  "bin": {