pinokiod 7.3.5 → 7.3.8
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/api/index.js +3 -2
- package/kernel/api/script/index.js +1 -0
- package/kernel/resource_usage/gpu.js +1078 -270
- package/kernel/resource_usage/index.js +9 -4
- package/package.json +2 -1
- package/server/index.js +14 -2
- package/server/public/nav.js +1 -1
- package/server/public/style.css +298 -191
- package/server/public/task-launcher.css +16 -20
- package/server/public/universal-launcher.css +0 -113
- package/server/public/universal-launcher.js +1 -1
- package/server/views/app.ejs +592 -298
- package/server/views/autolaunch.ejs +1 -1
- package/server/views/checkpoints.ejs +2 -6
- package/server/views/connect.ejs +1 -1
- package/server/views/explore.ejs +2 -1
- package/server/views/index.ejs +89 -60
- package/server/views/install.ejs +5 -7
- package/server/views/invalid_content.ejs +1 -1
- package/server/views/layout.ejs +8 -2
- package/server/views/logs.ejs +5 -27
- package/server/views/net.ejs +1 -1
- package/server/views/network.ejs +1 -1
- package/server/views/partials/fs_status.ejs +0 -8
- package/server/views/partials/main_sidebar.ejs +108 -44
- package/server/views/plugin_detail.ejs +1 -1
- package/server/views/plugins.ejs +1 -28
- package/server/views/screenshots.ejs +1 -1
- package/server/views/settings.ejs +2 -1
- package/server/views/setup.ejs +15 -1
- package/server/views/skills.ejs +1 -1
- package/server/views/task_builder.ejs +1 -1
- package/server/views/task_install.ejs +1 -1
- package/server/views/task_launch.ejs +1 -1
- package/server/views/task_list.ejs +1 -1
- package/server/views/tools.ejs +1 -1
- package/test/resource-usage-gpu.test.js +320 -70
- package/test/script-api.test.js +90 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
body.task-launcher-page {
|
|
2
|
-
--task-bg: #
|
|
2
|
+
--task-bg: #ffffff;
|
|
3
3
|
--task-panel: rgba(255, 255, 255, 0.98);
|
|
4
4
|
--task-border: rgba(15, 23, 42, 0.12);
|
|
5
5
|
--task-border-strong: rgba(15, 23, 42, 0.18);
|
|
@@ -29,13 +29,11 @@ body.task-launcher-page::before {
|
|
|
29
29
|
inset: 0;
|
|
30
30
|
z-index: -1;
|
|
31
31
|
pointer-events: none;
|
|
32
|
-
background:
|
|
33
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--task-accent) 10%, transparent), transparent 24rem),
|
|
34
|
-
linear-gradient(180deg, #fafbfd 0%, #f3f5f8 100%);
|
|
32
|
+
background: var(--task-bg);
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
body.dark.task-launcher-page {
|
|
38
|
-
--task-bg: #
|
|
36
|
+
--task-bg: #1b1c1d;
|
|
39
37
|
--task-panel: rgba(13, 17, 24, 0.96);
|
|
40
38
|
--task-border: rgba(255, 255, 255, 0.08);
|
|
41
39
|
--task-border-strong: rgba(255, 255, 255, 0.14);
|
|
@@ -53,21 +51,15 @@ body.dark.task-launcher-page {
|
|
|
53
51
|
}
|
|
54
52
|
|
|
55
53
|
body.dark.task-launcher-page::before {
|
|
56
|
-
background:
|
|
57
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--task-accent) 16%, transparent), transparent 24rem),
|
|
58
|
-
linear-gradient(180deg, #0a0c10 0%, #07090d 100%);
|
|
54
|
+
background: var(--task-bg);
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
body.setup-page::before {
|
|
62
|
-
background:
|
|
63
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--pinokio-chrome-accent-fg-light) 10%, transparent), transparent 24rem),
|
|
64
|
-
linear-gradient(180deg, #fafbfd 0%, #f3f5f8 100%);
|
|
58
|
+
background: var(--task-bg);
|
|
65
59
|
}
|
|
66
60
|
|
|
67
61
|
body.dark.setup-page::before {
|
|
68
|
-
background:
|
|
69
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--pinokio-chrome-accent-fg-dark) 16%, transparent), transparent 24rem),
|
|
70
|
-
linear-gradient(180deg, #0a0c10 0%, #07090d 100%);
|
|
62
|
+
background: var(--task-bg);
|
|
71
63
|
}
|
|
72
64
|
|
|
73
65
|
body.task-launcher-page > header.navheader {
|
|
@@ -97,9 +89,7 @@ body.connect-page.task-launcher-page {
|
|
|
97
89
|
|
|
98
90
|
body.plugin-page.task-launcher-page::before,
|
|
99
91
|
body.connect-page.task-launcher-page::before {
|
|
100
|
-
background:
|
|
101
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--task-accent) 11%, transparent), transparent 24rem),
|
|
102
|
-
linear-gradient(180deg, #fafbfd 0%, #f3f5f8 100%);
|
|
92
|
+
background: var(--task-bg);
|
|
103
93
|
}
|
|
104
94
|
|
|
105
95
|
body.dark.plugin-page.task-launcher-page,
|
|
@@ -109,9 +99,7 @@ body.dark.connect-page.task-launcher-page {
|
|
|
109
99
|
|
|
110
100
|
body.dark.plugin-page.task-launcher-page::before,
|
|
111
101
|
body.dark.connect-page.task-launcher-page::before {
|
|
112
|
-
background:
|
|
113
|
-
radial-gradient(circle at top left, color-mix(in srgb, var(--task-accent) 16%, transparent), transparent 24rem),
|
|
114
|
-
linear-gradient(180deg, #0a0c10 0%, #07090d 100%);
|
|
102
|
+
background: var(--task-bg);
|
|
115
103
|
}
|
|
116
104
|
|
|
117
105
|
body.plugin-detail-page .swal2-popup.pinokio-modern-modal {
|
|
@@ -3148,3 +3136,11 @@ body.dark .plugin-option .option-icon {
|
|
|
3148
3136
|
opacity: 0.72;
|
|
3149
3137
|
}
|
|
3150
3138
|
}
|
|
3139
|
+
|
|
3140
|
+
body.main-sidebar-page.task-launcher-page::before,
|
|
3141
|
+
body.main-sidebar-page.plugin-page.task-launcher-page::before,
|
|
3142
|
+
body.main-sidebar-page.connect-page.task-launcher-page::before,
|
|
3143
|
+
body.dark.main-sidebar-page.plugin-page.task-launcher-page::before,
|
|
3144
|
+
body.dark.main-sidebar-page.connect-page.task-launcher-page::before {
|
|
3145
|
+
background: var(--task-bg);
|
|
3146
|
+
}
|
|
@@ -52,119 +52,6 @@ body.dark {
|
|
|
52
52
|
--universal-create-dropdown-hover: rgba(65, 105, 225, 0.22);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions {
|
|
56
|
-
display: flex;
|
|
57
|
-
flex-direction: column;
|
|
58
|
-
gap: 4px;
|
|
59
|
-
align-items: stretch;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.main-sidebar .universal-quick-actions > .btn,
|
|
63
|
-
.main-sidebar .universal-quick-actions > .universal-create-menu {
|
|
64
|
-
width: 100%;
|
|
65
|
-
min-width: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.main-sidebar .universal-quick-actions .btn,
|
|
69
|
-
.main-sidebar .universal-quick-actions summary.btn {
|
|
70
|
-
width: 100%;
|
|
71
|
-
min-width: 0;
|
|
72
|
-
display: flex !important;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: flex-start !important;
|
|
75
|
-
box-sizing: border-box;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.main-sidebar .universal-quick-actions details {
|
|
79
|
-
width: 100%;
|
|
80
|
-
position: relative;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.main-sidebar .universal-quick-actions summary {
|
|
84
|
-
width: 100%;
|
|
85
|
-
list-style: none;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.main-sidebar .universal-create-menu > summary.btn {
|
|
89
|
-
padding-right: 8px;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.main-sidebar .universal-quick-actions summary::-webkit-details-marker {
|
|
93
|
-
display: none;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.main-sidebar .universal-quick-actions .caption {
|
|
97
|
-
min-width: 0;
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
text-overflow: ellipsis;
|
|
100
|
-
white-space: nowrap;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn,
|
|
104
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn,
|
|
105
|
-
body.dark .main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn,
|
|
106
|
-
body.dark .main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn {
|
|
107
|
-
width: 100%;
|
|
108
|
-
display: inline-flex !important;
|
|
109
|
-
align-items: center;
|
|
110
|
-
justify-content: flex-start !important;
|
|
111
|
-
text-align: left;
|
|
112
|
-
gap: 3px;
|
|
113
|
-
height: 30px;
|
|
114
|
-
min-height: 30px;
|
|
115
|
-
margin: 0;
|
|
116
|
-
padding: 0 8px;
|
|
117
|
-
border: 1px solid var(--universal-quick-action-bg) !important;
|
|
118
|
-
border-radius: 5px !important;
|
|
119
|
-
background: var(--universal-quick-action-bg) !important;
|
|
120
|
-
border-color: var(--universal-quick-action-bg) !important;
|
|
121
|
-
color: #fff !important;
|
|
122
|
-
font-size: 12px;
|
|
123
|
-
font-weight: 700;
|
|
124
|
-
line-height: 1;
|
|
125
|
-
box-sizing: border-box;
|
|
126
|
-
opacity: 1;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn:hover,
|
|
130
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn:focus-visible,
|
|
131
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn:active,
|
|
132
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn:hover,
|
|
133
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn:focus-visible,
|
|
134
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn:active {
|
|
135
|
-
background: var(--universal-quick-action-bg-hover) !important;
|
|
136
|
-
border-color: var(--universal-quick-action-bg-hover) !important;
|
|
137
|
-
color: #fff !important;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > #explore,
|
|
141
|
-
body.dark .main-sidebar .btn-tab.quick-actions.universal-quick-actions > #explore {
|
|
142
|
-
justify-content: flex-start !important;
|
|
143
|
-
text-align: left;
|
|
144
|
-
gap: 3px;
|
|
145
|
-
padding: 0 8px;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn i,
|
|
149
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn .quick-action-icon,
|
|
150
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .btn .caption,
|
|
151
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn i,
|
|
152
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn .quick-action-icon,
|
|
153
|
-
.main-sidebar .btn-tab.quick-actions.universal-quick-actions > .universal-create-menu > summary.btn .caption {
|
|
154
|
-
color: #fff !important;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.main-sidebar .universal-create-caret {
|
|
158
|
-
margin-left: auto;
|
|
159
|
-
font-size: 10px;
|
|
160
|
-
opacity: 0.9;
|
|
161
|
-
transition: transform 140ms ease, opacity 140ms ease;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.main-sidebar .universal-create-menu[open] .universal-create-caret {
|
|
165
|
-
transform: rotate(180deg);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
55
|
.main-sidebar .universal-create-dropdown {
|
|
169
56
|
position: absolute;
|
|
170
57
|
top: calc(100% + 4px);
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
ask: {
|
|
37
37
|
label: 'Ask Pinokio',
|
|
38
38
|
title: 'Ask Pinokio',
|
|
39
|
-
description: '
|
|
39
|
+
description: 'Requires AI agent access. Ask a question or describe work for Pinokio to run with the selected tool or agent.',
|
|
40
40
|
usesName: false,
|
|
41
41
|
targetLabel: '',
|
|
42
42
|
promptLabel: 'What should Pinokio do?',
|