pinokiod 1.2.63 → 1.2.65

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.
@@ -656,6 +656,7 @@ class Api {
656
656
  }
657
657
  }
658
658
 
659
+ console.log("#", { request, rpc })
659
660
 
660
661
  try {
661
662
  this.ondata({
@@ -786,6 +787,7 @@ class Api {
786
787
  return
787
788
  }
788
789
 
790
+
789
791
  if (typeof rpc.next === "undefined" || rpc.next === null) {
790
792
 
791
793
 
@@ -0,0 +1,24 @@
1
+ module.exports = async (req, ondata, kernel) => {
2
+ /*
3
+ req := {
4
+ method: "jump",
5
+ params: {
6
+ index: 0,
7
+ input: <any value that will be passed int as "input">
8
+ }
9
+ }
10
+ */
11
+ if (req.params.hasOwnProperty("index")) {
12
+ req.next = req.params.index
13
+ } else if (req.params.hasOwnProperty("id")) {
14
+ // find the req.next
15
+ let run = req.parent.body.run
16
+ for(let i=0; i<run.length; i++) {
17
+ let step = run[i]
18
+ if (step && step.id === req.params.id) {
19
+ req.next = i
20
+ }
21
+ }
22
+ }
23
+ return req.params.params || req.params.input
24
+ }
@@ -76,7 +76,7 @@ class Conda {
76
76
  "conda config --add create_default_packages python=3.10",
77
77
  "conda update -y conda",
78
78
  "conda update -y --all",
79
- "conda install -y -c conda-forge pip brotli brotlipy",
79
+ "conda install -y -c conda-forge pip brotli brotlipy conda-mamba-solver libmamba libarchive",
80
80
  // "conda update --all",
81
81
  // "conda update -y --all",
82
82
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.2.63",
3
+ "version": "1.2.65",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1465,6 +1465,7 @@ body.dark .btn2:hover {
1465
1465
  .btn2 i {
1466
1466
  margin: 5px 0;
1467
1467
  display: inline-block;
1468
+ font-size: 15px;
1468
1469
  }
1469
1470
  .nav-btns {
1470
1471
  padding: 10px 0;
@@ -123,10 +123,11 @@ header .runner {
123
123
  <a class='btn2' data-filepath="<%=filepath%>"><div><i class="fa-regular fa-folder-open"></i></div><div>Files</div></a>
124
124
  <% } %>
125
125
  <a id='wifi' data-proxy="<%=proxy.proxy%>" class='btn2'><div><i class="fa-solid fa-wifi"></i></div><div>WiFi</div></a>
126
- <a class='btn2' href='https://build.pinokio.computer' target="_blank"><div><i class="fa-solid fa-shapes"></i></div><div>Build</div></a>
127
126
  <a class='btn2' id='report'><div><i class="fa-solid fa-bug"></i></div><div>Report Bug</div></a>
128
127
  <a class='btn2' href='https://discord.gg/TQdNwadtE4' target="_blank"><div><i class="fa-brands fa-discord"></i></div><div>Discord</div></a>
129
128
  <a class='btn2' href='https://twitter.com/cocktailpeanut' target="_blank"><div><i class="fa-brands fa-twitter"></i></div><div>Twitter</div></a>
129
+ <!--<a class='btn2' href='https://dev.pinokio.computer' target="_blank"><div><i class="fa-solid fa-shapes"></i></div><div>Develop</div></a>-->
130
+ <a class='btn2' href='https://dev.pinokio.computer' target="_blank"><div><i class="fa-solid fa-laptop-code"></i></div><div>Develop</div></a>
130
131
  <a class='btn2' href="/?mode=settings"><div><i class="fa-solid fa-gear"></i></div><div>Settings</div></a>
131
132
  </div>
132
133
  <button id='new-window' title='open a new window'><i class="fa-solid fa-plus"></i></button>