kernelpm 0.1.10 → 0.1.11

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.
@@ -132,6 +132,15 @@ class ServeOpencodeDriver {
132
132
  await this.ensureSession(resume);
133
133
  this.startStreaming();
134
134
  this.startPoll();
135
+ // Once the serve is up and the session is bound, the session is ready and
136
+ // waiting for its first user message. Without this transition the meta
137
+ // stays 'starting' forever, and the app — which derives its typing
138
+ // indicator from `isWorking(status)` — keeps showing "escribiendo…" on a
139
+ // brand-new session that has never received a prompt. Only transition if
140
+ // no SSE event (e.g. an early session.status=busy) has moved the status
141
+ // already, so we don't clobber a legitimately-working resumed session.
142
+ if (this.status === 'starting')
143
+ this.emitStatus('awaiting_input');
135
144
  }
136
145
  async sendMessage(text) {
137
146
  await this.prompt(text);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kernelpm",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "kernelpm daemon — keeps opencode sessions alive on a server (via `opencode serve`) and exposes them over a local control socket.",
5
5
  "license": "MIT",
6
6
  "bin": {