pinokiod 3.2.212 → 3.2.213

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/kernel/index.js CHANGED
@@ -232,8 +232,10 @@ class Kernel {
232
232
  arch: this.arch,
233
233
  home: this.homedir,
234
234
  scripts: [],
235
- shells: this.shell.shells.map(({ cols, rows, id, group, path, index, cmd, done }) => {
236
- return { cols, rows, id, group, path, index, cmd, done }
235
+ shells: this.shell.shells.map(({ vts, stripAnsi, cols, rows, id, group, path, index, cmd, done }) => {
236
+ let buf = vts.serialize()
237
+ let state = stripAnsi(buf)
238
+ return { cols, rows, id, group, path, index, cmd, done, state }
237
239
  }),
238
240
  proxies: [],
239
241
  api: [],
package/kernel/lproxy.js CHANGED
@@ -80,7 +80,6 @@ class Lproxy {
80
80
  return `http://${this.ip}:${port}`
81
81
  }
82
82
  async stop (url) {
83
- console.log("proxies", this.proxies, url)
84
83
  let p = this.proxies[url]
85
84
  if (p) {
86
85
  p.close()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.212",
3
+ "version": "3.2.213",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {