@cluesmith/codev 2.0.0-rc.25 → 2.0.0-rc.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cluesmith/codev",
3
- "version": "2.0.0-rc.25",
3
+ "version": "2.0.0-rc.26",
4
4
  "description": "Codev CLI - AI-assisted software development framework",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1125,15 +1125,14 @@
1125
1125
  const statusText = instance.running ? 'Running' : 'Stopped';
1126
1126
  const hasGate = instance.gateStatus?.hasGate;
1127
1127
 
1128
- const portsHtml = instance.ports.map(port => {
1129
- // Use proxy URL instead of direct port URL
1128
+ const terminalsHtml = instance.ports.map(port => {
1129
+ // Use proxy URL - works both locally and through tunnel
1130
1130
  const proxyUrl = getProxyUrl(instance, port.type);
1131
1131
  return `
1132
1132
  <div class="port-item">
1133
1133
  <div class="port-info">
1134
1134
  <span class="port-status ${port.active ? 'active' : 'inactive'}"></span>
1135
1135
  <span class="port-type">${escapeHtml(port.type)}</span>
1136
- <span class="port-url">Port ${port.port}</span>
1137
1136
  </div>
1138
1137
  <div class="port-actions">
1139
1138
  <a href="${escapeHtml(proxyUrl)}" target="_blank" class="${port.active ? '' : 'disabled'}">
@@ -1184,11 +1183,10 @@
1184
1183
  </div>
1185
1184
  <div class="instance-body">
1186
1185
  <div class="ports-list">
1187
- ${portsHtml}
1186
+ ${terminalsHtml}
1188
1187
  </div>
1189
1188
  <div class="instance-meta">
1190
1189
  <span>Last active: ${lastUsed}</span>
1191
- <span>Port block: ${instance.basePort}-${instance.basePort + 99}</span>
1192
1190
  </div>
1193
1191
  </div>
1194
1192
  </div>