chore: strip remaining pre-fork version references

Second pass — removes chat-switchboard version numbers from config
field docs, section headers, file headers, and test comments. These
were pre-fork version tags that don't apply to switchboard-core.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-31 12:22:27 +00:00
parent a26ad79d90
commit 31548ce801
68 changed files with 197 additions and 204 deletions

View File

@@ -1,6 +1,5 @@
/**
* Admin > Connections — global extension connection CRUD
* v0.38.1: Scoped credential management for extensions
*/
const { html } = window;
const { useState, useEffect, useCallback } = hooks;

View File

@@ -34,7 +34,7 @@ const ADMIN_LABELS = {
audit: 'Audit',
};
// ── v0.38.3: Extension config sections ──────
// ── Extension config sections ──────
// Packages declare config_section in their manifest targeting "admin".
// We merge them into the appropriate category and section module map.
const _configSections = window.__CONFIG_SECTIONS__ || [];

View File

@@ -162,7 +162,7 @@ export default function PackagesSection() {
} catch (e) { sw.toast(e.message, 'error'); }
}
// ── Permissions drawer (v0.5.0) ────────────
// ── Permissions drawer ────────────
async function togglePerms(pkgId) {
if (permsId === pkgId) { setPermsId(null); setPerms([]); return; }
try {
@@ -323,7 +323,7 @@ export default function PackagesSection() {
</div>
`}
${/* ── Inline permissions drawer (v0.5.0) ── */``}
${/* ── Inline permissions drawer ── */``}
${permsId === pkg.id && html`
<div style="padding:8px 12px 12px 24px;background:var(--bg-2);border-bottom:1px solid var(--border);">
${perms.length === 0

View File

@@ -1,5 +1,5 @@
/**
* DocsSurface — builtin documentation viewer (v0.6.2)
* DocsSurface — builtin documentation viewer
*
* Reads globals:
* __SECTION__ — active doc slug (e.g. "GETTING-STARTED")
@@ -8,7 +8,6 @@
* Fetches markdown from GET /api/v1/docs/:name, renders with
* a simple markdown-to-HTML converter. Sidebar lists all docs.
*
* v0.6.2: dark mode fix, topbar navigation, error handling.
*/
const { html } = window;
const { useState, useEffect, useCallback, useMemo } = hooks;

View File

@@ -1,6 +1,5 @@
/**
* ConnectionsSection — personal extension connection CRUD
* v0.38.1: Scoped credential management for extensions
*/
const { html } = window;
const { useState, useEffect, useCallback } = hooks;

View File

@@ -44,7 +44,7 @@ const SECTION_TITLES = {
connections: 'Connections', notifications: 'Notifications',
};
// ── v0.38.3: Extension config sections ──────
// ── Extension config sections ──────
// Packages declare config_section in their manifest. The backend passes
// matching entries via __CONFIG_SECTIONS__. We merge them into the nav
// and section module map for lazy loading.

View File

@@ -1,6 +1,5 @@
/**
* Team Admin > Connections — team-scoped extension connection CRUD
* v0.38.1: Scoped credential management for extensions
*/
const { html } = window;
const { useState, useEffect, useCallback } = hooks;

View File

@@ -36,7 +36,7 @@ const sectionModules = {
activity: () => import('./activity.js'),
};
// ── v0.38.3: Extension config sections ──────
// ── Extension config sections ──────
const _configSections = window.__CONFIG_SECTIONS__ || [];
const _base = window.__BASE__ || '';
for (const cs of _configSections) {

View File

@@ -1,6 +1,5 @@
/**
* Team Admin > Members
* v0.3.4: custom team roles support
*/
const { html } = window;
const { useState, useEffect, useCallback } = hooks;

View File

@@ -663,7 +663,7 @@ function MonitorTab({ teamId }) {
`;
}
// ── Signoff Panel (v0.3.4) ──────────────────
// ── Signoff Panel ──────────────────
function SignoffPanel({ instanceId, teamId }) {
const [signoffs, setSignoffs] = useState([]);