pinokiod 3.205.0 → 3.207.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.
@@ -150,6 +150,12 @@ class Terminal {
150
150
  }
151
151
  }
152
152
  } else if (ondata) {
153
+ if (!params || !params.id) {
154
+ console.warn('[terminal.upload] missing shell id for attachment marker', {
155
+ hasParams: !!params,
156
+ savedCount: saved.length
157
+ })
158
+ }
153
159
  ondata({ raw: marker })
154
160
  }
155
161
 
package/kernel/shells.js CHANGED
@@ -393,6 +393,12 @@ class Shells {
393
393
  } else {
394
394
  session.emit(params.emit)
395
395
  }
396
+ } else {
397
+ const preview = typeof params.emit === 'string' ? params.emit.slice(0, 64) : ''
398
+ console.warn('[shell.emit] missing session for id', params.id, {
399
+ paste: !!params.paste,
400
+ preview
401
+ })
396
402
  }
397
403
  }
398
404
  async send(params, ondata, enter) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.205.0",
3
+ "version": "3.207.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2672,7 +2672,9 @@ body.dark .mode-selector .btn2.selected {
2672
2672
  .mode-selector .btn2 {
2673
2673
  width: unset;
2674
2674
  padding: 10px;
2675
+ /*
2675
2676
  border-radius: 0 !important;
2677
+ */
2676
2678
  }
2677
2679
  .mode-selector .caption {
2678
2680
  display: none;
@@ -5488,10 +5488,8 @@ body.dark .pinokio-fork-dropdown-remote, body.dark .pinokio-publish-dropdown-rem
5488
5488
  }
5489
5489
  }
5490
5490
 
5491
- console.log({ target, skipPersistedSelection })
5492
5491
  if (!target && !skipPersistedSelection) {
5493
5492
  preselected = document.querySelector('#devtab.frame-link.selected') || document.querySelector('.frame-link.selected')
5494
- console.log({ preselected })
5495
5493
  }
5496
5494
 
5497
5495
  if (!target && persistedSelectionPayload) {
@@ -5567,8 +5565,6 @@ body.dark .pinokio-fork-dropdown-remote, body.dark .pinokio-publish-dropdown-rem
5567
5565
  target = preselected
5568
5566
  }
5569
5567
 
5570
- console.log({ targetAfter: target })
5571
-
5572
5568
  if (!target) {
5573
5569
  target = document.querySelector(".frame-link")
5574
5570
  }