pinokiod 8.0.41 → 8.0.44

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.
@@ -2624,71 +2624,6 @@ body.dark .appcanvas > aside .menu-actions .header-item {
2624
2624
  color: var(--pinokio-sidebar-tab-active-color) !important;
2625
2625
  box-shadow: none;
2626
2626
  }
2627
- #save-space-tab .save-space-copy {
2628
- display: flex;
2629
- flex: 1 1 auto;
2630
- min-width: 0;
2631
- flex-direction: column;
2632
- gap: 2px;
2633
- }
2634
- #save-space-tab .save-space-prompt {
2635
- display: none;
2636
- min-width: 0;
2637
- color: var(--pinokio-sidebar-tab-muted);
2638
- font-size: 10px;
2639
- font-weight: 400;
2640
- line-height: 1.25;
2641
- overflow-wrap: break-word;
2642
- white-space: normal;
2643
- }
2644
- #save-space-tab .save-space-status {
2645
- min-width: 28px;
2646
- height: 15px;
2647
- margin-left: auto;
2648
- padding: 0 5px;
2649
- box-sizing: border-box;
2650
- border-radius: 999px;
2651
- display: inline-flex;
2652
- flex: 0 0 auto;
2653
- align-items: center;
2654
- justify-content: center;
2655
- background: rgba(15, 23, 42, 0.07);
2656
- color: rgba(31, 41, 55, 0.62);
2657
- font-size: 9px;
2658
- font-weight: 700;
2659
- line-height: 1;
2660
- white-space: nowrap;
2661
- }
2662
- #save-space-tab .save-space-status[hidden] {
2663
- display: none !important;
2664
- }
2665
- #save-space-tab .save-space-status[data-state="new"] {
2666
- border: 1px solid rgba(71, 85, 105, 0.22);
2667
- background: transparent;
2668
- color: rgba(31, 41, 55, 0.72);
2669
- }
2670
- .appcanvas.vertical #save-space-tab {
2671
- width: 100%;
2672
- max-width: none;
2673
- }
2674
- .appcanvas.vertical #save-space-tab[data-vault-state="new"] {
2675
- background: var(--pinokio-sidebar-tab-hover) !important;
2676
- }
2677
- .appcanvas.vertical #save-space-tab[data-vault-state="new"] .tab {
2678
- align-items: flex-start;
2679
- }
2680
- .appcanvas.vertical #save-space-tab[data-vault-state="new"] .save-space-prompt:not([hidden]) {
2681
- display: block;
2682
- }
2683
- body.dark #save-space-tab .save-space-status {
2684
- background: rgba(255, 255, 255, 0.08);
2685
- color: rgba(229, 231, 235, 0.7);
2686
- }
2687
- body.dark #save-space-tab .save-space-status[data-state="new"] {
2688
- border-color: rgba(226, 232, 240, 0.22);
2689
- background: transparent;
2690
- color: rgba(248, 250, 252, 0.76);
2691
- }
2692
2627
  body.dark .appcanvas > aside .menu-actions .header-item:hover,
2693
2628
  body.dark .appcanvas > aside .menu-actions .header-item:focus-visible {
2694
2629
  background: var(--pinokio-sidebar-tab-hover) !important;
@@ -8228,9 +8163,6 @@ body.dark .pinokio-custom-terminal-header {
8228
8163
  <script src="/tippy-bundle.umd.min.js"></script>
8229
8164
  <script src="/tab-link-popover.js"></script>
8230
8165
  <script src="/browser-popout-surface.js"></script>
8231
- <% if (typeof vault_enabled !== 'undefined' && vault_enabled) { %>
8232
- <script src="/vault-nav.js" defer></script>
8233
- <% } %>
8234
8166
  <script>
8235
8167
  (function() {
8236
8168
  try {
@@ -8529,14 +8461,11 @@ body.dark .pinokio-custom-terminal-header {
8529
8461
  </div>
8530
8462
  </button>
8531
8463
  <% if (typeof vault_enabled !== 'undefined' && vault_enabled) { %>
8532
- <a id='save-space-tab' data-mode="refresh" target="app-vault" href="/vault/app/<%=encodeURIComponent(name)%>" class="btn header-item frame-link" data-index="vault" data-static="retain" data-tab-link-popover="false" data-app-vault-tab data-app-vault-name="<%=name%>">
8464
+ <a id='save-space-tab' data-mode="refresh" target="app-vault" href="/vault/app/<%=encodeURIComponent(name)%>" class="btn header-item frame-link" data-index="vault" data-static="retain" data-tab-link-popover="false">
8533
8465
  <div class='tab'>
8534
8466
  <i class="fa-solid fa-hard-drive menu-action-leading-icon"></i>
8535
- <div class="save-space-copy">
8536
- <div class='display'>Save space</div>
8537
- <div class="save-space-prompt" data-app-vault-prompt hidden>Find duplicate files and use less disk</div>
8538
- </div>
8539
- <span class="save-space-status" data-app-vault-status aria-hidden="true" hidden></span>
8467
+ <div class='display'>Save space</div>
8468
+ <div class='flexible'></div>
8540
8469
  </div>
8541
8470
  </a>
8542
8471
  <% } %>
@@ -16389,18 +16318,10 @@ const rerenderMenuSection = (container, html) => {
16389
16318
  ? (selected_tab.getAttribute("target") || "")
16390
16319
  : ""
16391
16320
  if (!selected_tab || !targetsMatch(selectedTarget, frameName)) {
16392
- document.querySelectorAll(".frame-link").forEach((link) => {
16393
- link.classList.remove("selected")
16394
- })
16395
- match.classList.add("selected")
16396
- syncActiveNestedPath({ selectedLink: match })
16397
- if (typeof syncLogsSelectedState === "function") {
16398
- syncLogsSelectedState(match)
16399
- }
16400
- if (shouldPersistFrameLink(match)) {
16401
- persistFrameLinkSelection(match)
16402
- }
16321
+ match.click()
16403
16322
  }
16323
+ } else if (selected_tab) {
16324
+ selected_tab.click()
16404
16325
  }
16405
16326
  } else if (selected_tab) {
16406
16327
  selected_tab.click()
@@ -26,7 +26,7 @@
26
26
  <div class='main-sidebar-section' aria-label="Manage">
27
27
  <div class="main-sidebar-section-title">Manage</div>
28
28
  <% if (typeof vaultEnabled === "undefined" || vaultEnabled) { %>
29
- <a class="tab <%= sidebarSelected === 'vault' ? 'selected' : '' %>" href="/vault" data-main-sidebar-vault-tab><i class="fa-solid fa-hard-drive"></i><div class='caption'>Save space</div><span class="main-sidebar-status-badge" data-main-sidebar-vault-status aria-hidden="true" hidden></span></a>
29
+ <a class="tab <%= sidebarSelected === 'vault' ? 'selected' : '' %>" href="/vault"><i class="fa-solid fa-hard-drive"></i><div class='caption'>Save space</div></a>
30
30
  <% } %>
31
31
  <a class="tab <%= sidebarSelected === 'checkpoints' ? 'selected' : '' %>" href="/checkpoints"><i class="fa-solid fa-clock-rotate-left"></i><div class='caption'>Checkpoints</div></a>
32
32
  <a class="tab <%= sidebarSelected === 'tools' ? 'selected' : '' %>" href="/tools"><i class="fa-solid fa-toolbox"></i><div class='caption'>Tools</div></a>
@@ -51,9 +51,6 @@
51
51
  </div>
52
52
  </nav>
53
53
  </aside>
54
- <% if (typeof vaultEnabled === "undefined" || vaultEnabled) { %>
55
- <script src="/vault-nav.js"></script>
56
- <% } %>
57
54
  <script>
58
55
  (() => {
59
56
  const body = document.body;
@@ -4,11 +4,7 @@
4
4
  <section class='vault-overview'>
5
5
  <div class='vault-metrics' id='vault-metrics'></div>
6
6
  <div class='vault-overview-actions'>
7
- <label class='vault-candidate-size' for='vault-candidate-size'>
8
- <span id='vault-candidate-size-label'></span>
9
- <select id='vault-candidate-size'></select>
10
- </label>
11
- <button class='vault-button primary' id='btn-scan' type='button'></button>
7
+ <button class='vault-button' id='btn-scan' type='button'></button>
12
8
  <% if (!appMode) { %>
13
9
  <details class='vault-advanced' id='vault-advanced'>
14
10
  <summary class='vault-icon-button' id='btn-vault-options'><i class='fa-solid fa-ellipsis'></i></summary>
@@ -24,6 +20,7 @@
24
20
  </div>
25
21
  </section>
26
22
  <div class='vault-scan-state' id='vault-scan-state' aria-live='polite'></div>
23
+ <div class='vault-action-state' id='vault-action-state' role='status' aria-live='polite'></div>
27
24
  <div class='vault-result' id='vault-result' role='status' aria-live='polite'></div>
28
25
  <div class='vault-feedback' id='vault-feedback' role='status' aria-live='polite'></div>
29
26
  <div class='vault-cloud-warning' id='vault-cloud-warning' role='status'></div>
@@ -14,7 +14,7 @@
14
14
  <% } %>
15
15
  <link href="/vault.css" rel="stylesheet"/>
16
16
  </head>
17
- <body class='<%=theme%> main-sidebar-page task-launcher-page task-page vault-page' data-agent="<%=agent%>" data-vault-mode="global">
17
+ <body class='<%=theme%> main-sidebar-page task-launcher-page task-page vault-page' data-platform="<%=platform%>" data-agent="<%=agent%>" data-vault-mode="global">
18
18
  <%- include('partials/app_navheader', { agent }) %>
19
19
  <main>
20
20
  <div class='task-container'>
@@ -12,7 +12,7 @@
12
12
  <% } %>
13
13
  <link href="/vault.css" rel="stylesheet"/>
14
14
  </head>
15
- <body class='<%=theme%> task-launcher-page task-page vault-page vault-embed-page' data-agent="<%=agent%>" data-vault-mode="app" data-vault-scope="<%=scope_id%>">
15
+ <body class='<%=theme%> task-launcher-page task-page vault-page vault-embed-page' data-platform="<%=platform%>" data-agent="<%=agent%>" data-vault-mode="app" data-vault-scope="<%=scope_id%>">
16
16
  <main class='vault-embed-main'>
17
17
  <%- include('partials/vault_workspace', { appMode: true }) %>
18
18
  </main>