pinokiod 3.19.83 → 3.19.85

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/bin/cli.js CHANGED
@@ -2,7 +2,7 @@ const path = require('path')
2
2
  const semver = require('semver')
3
3
  const Util = require('../util')
4
4
  class CLI {
5
- version = ">=0.0.12"
5
+ version = ">=0.0.14"
6
6
  async install(req, ondata) {
7
7
  await this.kernel.exec({
8
8
  message: "npm install -g pterm@latest --force",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.19.83",
3
+ "version": "3.19.85",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -978,7 +978,8 @@ class Server {
978
978
 
979
979
  console.log("check requirements")
980
980
  let { requirements, install_required, requirements_pending, error } = await this.kernel.bin.check({
981
- bin: this.kernel.bin.preset("ai"),
981
+ //bin: this.kernel.bin.preset("ai"),
982
+ bin: this.kernel.bin.preset("dev"),
982
983
  script: resolved
983
984
  })
984
985
 
@@ -5017,7 +5018,9 @@ class Server {
5017
5018
  res.json({ success: true })
5018
5019
  }))
5019
5020
  this.app.get("/pinokio/version", ex(async (req, res) => {
5020
- res.json(this.version)
5021
+ let version = this.version
5022
+ version.script = this.kernel.schema.replace(/[^0-9.]+/,'')
5023
+ res.json(version)
5021
5024
  }))
5022
5025
  this.app.get("/pinokio/info", ex(async (req, res) => {
5023
5026
  await this.kernel.getInfo(true)