pinokiod 3.11.7 → 3.12.0

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": "pinokiod",
3
- "version": "3.11.7",
3
+ "version": "3.12.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -113,11 +113,17 @@ body.dark *::-webkit-scrollbar-thumb {
113
113
  .drawer.vertical-collapsed {
114
114
  max-height: 0;
115
115
  }
116
+ body.dark .dynamic.selected {
117
+ border-left: 10px solid royalblue;
118
+ }
116
119
  .dynamic.selected {
117
120
  /*
118
121
  background: rgba(0,0,0,0.05);
119
122
  */
120
- border-left: 10px solid rgb(130, 188, 9);
123
+ /*
124
+ border-left: 15px solid rgb(130, 188, 9);
125
+ */
126
+ border-left: 10px solid royalblue;
121
127
  }
122
128
  /*
123
129
  body.dark .dynamic.selected {
@@ -1698,7 +1698,6 @@ body.dark .appcanvas {
1698
1698
  // nested menu
1699
1699
  e.preventDefault()
1700
1700
  e.stopPropagation()
1701
- debugger
1702
1701
  <% if (type === 'run') { %>
1703
1702
  if (target.closest(".dynamic")) {
1704
1703
  // clicked dev mode menu => switch to dev
@@ -108,6 +108,12 @@ body.dark .item .explanation {
108
108
  color: rgba(210,0,0,0.8);
109
109
  font-size: 12px;
110
110
  }
111
+ .item input[type=text] {
112
+ background: whitesmoke;
113
+ }
114
+ .item select {
115
+ background: whitesmoke;
116
+ }
111
117
  /*
112
118
  body.dark .item input[type=text] {
113
119
  background: rgba(255,255,255,0.1);
@@ -412,14 +418,14 @@ body.dark .keys pre {
412
418
  <div class='item'>
413
419
  <div>Keys are array values stored for unique host names, stored at <code>~/pinokio/key.json</code>, and can be set through <code>pre</code> attributes in pinokio scripts. Here's an example:</div>
414
420
  <pre>{
415
- "openai.com": [
416
- "sk-proj-2najBvCGFx18belpjf13T3BlbkFJIAR5KXK031n41WzAsPEn"
417
- ],
418
- "x.com": [
419
- "12345678-FAKEaccesstoken1234567890abcdef",
420
- "FAKEaccesstokensecret0987654321abcdef"
421
- ]
422
- }</pre>
421
+ "openai.com": [
422
+ "sk-proj-2najBvCGFx18belpjf13T3BlbkFJIAR5KXK031n41WzAsPEn"
423
+ ],
424
+ "x.com": [
425
+ "12345678-FAKEaccesstoken1234567890abcdef",
426
+ "FAKEaccesstokensecret0987654321abcdef"
427
+ ]
428
+ }</pre>
423
429
  <a class='btn' href="/keys"><i class="fa-solid fa-key"></i> Edit Keys</a>
424
430
  </div>
425
431
  </div>
@@ -795,7 +795,6 @@ document.addEventListener("DOMContentLoaded", async () => {
795
795
  <% if (target === "_top") { %>
796
796
  <a class='home' href="/"><img class='icon' src="/pinokio-black.png"></a>
797
797
  <% } %>
798
- <button class='btn2' id='refresh-page'><div><i class="fa-solid fa-rotate-right"></i></div><div>Refresh</div></button>
799
798
  <div class='hidden btn run play-btn'>
800
799
  <span class='play'><i class="fa-solid fa-play"></i> Start</span>
801
800
  </div>