opencode-remote-control 0.2.2 → 0.2.3

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/dist/cli.js +2 -0
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -81,6 +81,7 @@ async function promptToken() {
81
81
  process.stdout.write('Enter your bot token: ');
82
82
  // Read from stdin
83
83
  const token = await new Promise((resolve) => {
84
+ process.stdin.resume();
84
85
  process.stdin.setEncoding('utf8');
85
86
  const cleanup = () => {
86
87
  process.stdin.pause();
@@ -115,6 +116,7 @@ async function promptFeishuConfig() {
115
116
  const promptInput = async (promptText) => {
116
117
  process.stdout.write(promptText);
117
118
  return new Promise((resolve) => {
119
+ process.stdin.resume();
118
120
  process.stdin.setEncoding('utf8');
119
121
  const cleanup = () => {
120
122
  process.stdin.pause();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-remote-control",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Control OpenCode from anywhere via Telegram or Feishu",
5
5
  "type": "module",
6
6
  "bin": {