@typed-assistant/builder 0.0.27 → 0.0.29

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typed-assistant/builder",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "exports": {
5
5
  "./appProcess": "./src/appProcess.tsx",
6
6
  "./bunInstall": "./src/bunInstall.tsx",
@@ -168,6 +168,7 @@ export const startWebappServer = async ({
168
168
  // eslint-disable-next-line no-constant-condition
169
169
  while (true) {
170
170
  const stdoutReader = getReader(getSubprocesses().app.stdout)
171
+ // const stderrReader = getReader(getSubprocesses().app.stderr)
171
172
  const { value } = await stdoutReader.read()
172
173
 
173
174
  const newLocal = decoder.decode(value)
@@ -176,10 +177,16 @@ export const startWebappServer = async ({
176
177
  lastMessage = convertedMessage
177
178
  }
178
179
  if (convertedMessage === "") {
180
+ // const { value } = await stderrReader.read()
181
+ // const newLocal = decoder.decode(value)
182
+ // const convertedMessage = convert.toHtml(newLocal)
183
+
179
184
  subscribers.forEach((send) =>
180
185
  send(
181
186
  "Process is returning an empty string. This was the last non-empty message:\n\n" +
182
- lastMessage,
187
+ lastMessage +
188
+ "\n\nstderr:\n\n",
189
+ // convertedMessage,
183
190
  ),
184
191
  )
185
192
  await new Promise((resolve) => setTimeout(resolve, 1000))