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.
@@ -23,19 +23,19 @@
23
23
  /* Layout */
24
24
  .app { display: flex; min-height: 100vh; }
25
25
  .sidebar {
26
- width: 220px; background: var(--bg-card); border-right: 1px solid var(--border);
27
- padding: 16px 12px; display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100;
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: 17px; font-weight: 700; padding: 10px 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
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: 10px; padding: 10px 12px; border-radius: var(--radius);
33
- cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size: 14px; margin-bottom: 2px;
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: 500; }
37
- .nav-item .icon { width: 20px; text-align: center; font-size: 16px; }
38
- .main { flex: 1; margin-left: 220px; min-height: 100vh; }
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(\`/api/skills/marketplace/\${id}/install\`, { method: 'POST' });
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(\`/api/skills/marketplace/\${id}/uninstall\`, { method: 'DELETE' });
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opc-agent",
3
- "version": "4.0.22",
3
+ "version": "4.0.24",
4
4
  "description": "Open Agent Framework — Build, test, and run AI Agents for business workstations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,19 +23,19 @@
23
23
  /* Layout */
24
24
  .app { display: flex; min-height: 100vh; }
25
25
  .sidebar {
26
- width: 220px; background: var(--bg-card); border-right: 1px solid var(--border);
27
- padding: 16px 12px; display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100;
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: 17px; font-weight: 700; padding: 10px 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
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: 10px; padding: 10px 12px; border-radius: var(--radius);
33
- cursor: pointer; color: var(--text-muted); transition: all 0.15s; font-size: 14px; margin-bottom: 2px;
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: 500; }
37
- .nav-item .icon { width: 20px; text-align: center; font-size: 16px; }
38
- .main { flex: 1; margin-left: 220px; min-height: 100vh; }
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(\`/api/skills/marketplace/\${id}/install\`, { method: 'POST' });
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(\`/api/skills/marketplace/\${id}/uninstall\`, { method: 'DELETE' });
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);