opc-agent 4.0.22 → 4.0.24
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/dist/studio-ui/index.html +10 -10
- package/package.json +1 -1
- package/src/studio-ui/index.html +10 -10
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
/* Layout */
|
|
24
24
|
.app { display: flex; min-height: 100vh; }
|
|
25
25
|
.sidebar {
|
|
26
|
-
width:
|
|
27
|
-
padding: 16px
|
|
26
|
+
width: 280px; background: var(--bg-card); border-right: 1px solid var(--border);
|
|
27
|
+
padding: 20px 16px; display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100;
|
|
28
28
|
}
|
|
29
|
-
.sidebar-logo { font-size:
|
|
29
|
+
.sidebar-logo { font-size: 22px; font-weight: 700; padding: 14px 16px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
|
|
30
30
|
.sidebar-logo span { color: var(--accent); }
|
|
31
31
|
.nav-item {
|
|
32
|
-
display: flex; align-items: center; gap:
|
|
33
|
-
cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size:
|
|
32
|
+
display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
|
|
33
|
+
cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size: 18px; margin-bottom: 4px;
|
|
34
34
|
}
|
|
35
35
|
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
|
|
36
|
-
.nav-item.active { background: var(--accent-light); color: var(--accent); font-weight:
|
|
37
|
-
.nav-item .icon { width:
|
|
38
|
-
.main { flex: 1; margin-left:
|
|
36
|
+
.nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
|
|
37
|
+
.nav-item .icon { width: 28px; text-align: center; font-size: 22px; }
|
|
38
|
+
.main { flex: 1; margin-left: 280px; min-height: 100vh; }
|
|
39
39
|
|
|
40
40
|
/* Mobile */
|
|
41
41
|
.mobile-header { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 12px 16px; position: sticky; top: 0; z-index: 50; }
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
async function installSkill(id, btn) {
|
|
1116
1116
|
btn.disabled = true; btn.textContent = 'Installing...';
|
|
1117
1117
|
try {
|
|
1118
|
-
const res = await fetch(
|
|
1118
|
+
const res = await fetch(`/api/skills/marketplace/${id}/install`, { method: 'POST' });
|
|
1119
1119
|
const data = await res.json();
|
|
1120
1120
|
if (data.success) {
|
|
1121
1121
|
const skill = allSkills.find(s => s.id === id);
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
async function uninstallSkill(id, btn) {
|
|
1129
1129
|
btn.disabled = true; btn.textContent = 'Removing...';
|
|
1130
1130
|
try {
|
|
1131
|
-
const res = await fetch(
|
|
1131
|
+
const res = await fetch(`/api/skills/marketplace/${id}/uninstall`, { method: 'DELETE' });
|
|
1132
1132
|
const data = await res.json();
|
|
1133
1133
|
if (data.success) {
|
|
1134
1134
|
const skill = allSkills.find(s => s.id === id);
|
package/package.json
CHANGED
package/src/studio-ui/index.html
CHANGED
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
/* Layout */
|
|
24
24
|
.app { display: flex; min-height: 100vh; }
|
|
25
25
|
.sidebar {
|
|
26
|
-
width:
|
|
27
|
-
padding: 16px
|
|
26
|
+
width: 280px; background: var(--bg-card); border-right: 1px solid var(--border);
|
|
27
|
+
padding: 20px 16px; display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100;
|
|
28
28
|
}
|
|
29
|
-
.sidebar-logo { font-size:
|
|
29
|
+
.sidebar-logo { font-size: 22px; font-weight: 700; padding: 14px 16px; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
|
|
30
30
|
.sidebar-logo span { color: var(--accent); }
|
|
31
31
|
.nav-item {
|
|
32
|
-
display: flex; align-items: center; gap:
|
|
33
|
-
cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size:
|
|
32
|
+
display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius);
|
|
33
|
+
cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size: 18px; margin-bottom: 4px;
|
|
34
34
|
}
|
|
35
35
|
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
|
|
36
|
-
.nav-item.active { background: var(--accent-light); color: var(--accent); font-weight:
|
|
37
|
-
.nav-item .icon { width:
|
|
38
|
-
.main { flex: 1; margin-left:
|
|
36
|
+
.nav-item.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
|
|
37
|
+
.nav-item .icon { width: 28px; text-align: center; font-size: 22px; }
|
|
38
|
+
.main { flex: 1; margin-left: 280px; min-height: 100vh; }
|
|
39
39
|
|
|
40
40
|
/* Mobile */
|
|
41
41
|
.mobile-header { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 12px 16px; position: sticky; top: 0; z-index: 50; }
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
async function installSkill(id, btn) {
|
|
1116
1116
|
btn.disabled = true; btn.textContent = 'Installing...';
|
|
1117
1117
|
try {
|
|
1118
|
-
const res = await fetch(
|
|
1118
|
+
const res = await fetch(`/api/skills/marketplace/${id}/install`, { method: 'POST' });
|
|
1119
1119
|
const data = await res.json();
|
|
1120
1120
|
if (data.success) {
|
|
1121
1121
|
const skill = allSkills.find(s => s.id === id);
|
|
@@ -1128,7 +1128,7 @@
|
|
|
1128
1128
|
async function uninstallSkill(id, btn) {
|
|
1129
1129
|
btn.disabled = true; btn.textContent = 'Removing...';
|
|
1130
1130
|
try {
|
|
1131
|
-
const res = await fetch(
|
|
1131
|
+
const res = await fetch(`/api/skills/marketplace/${id}/uninstall`, { method: 'DELETE' });
|
|
1132
1132
|
const data = await res.json();
|
|
1133
1133
|
if (data.success) {
|
|
1134
1134
|
const skill = allSkills.find(s => s.id === id);
|