Feat rebrand armature (#43)
All checks were successful
CI/CD / detect-changes (push) Successful in 3s
CI/CD / test-frontend (push) Successful in 5s
CI/CD / test-go-pg (push) Successful in 2m34s
CI/CD / test-sqlite (push) Successful in 2m46s
CI/CD / build-and-deploy (push) Successful in 1m55s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #43.
This commit is contained in:
2026-03-31 23:25:37 +00:00
committed by xcaliber
parent fb5284f667
commit 680ec3b897
321 changed files with 956 additions and 1033 deletions

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Build Script
// Armature — CM6 Build Script
// ==========================================
// Bundles CodeMirror 6 into a single IIFE that
// exposes window.CM. Run via scripts/build-editor.sh

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Chat Input Factory
// Armature — CM6 Chat Input Factory
// ==========================================
// Minimal markdown editor for the chat message
// input. No line numbers, no gutter. Enter sends,

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Code Editor Factory
// Armature — CM6 Code Editor Factory
// ==========================================
// Full-featured code editor: line numbers, bracket
// matching, search/replace, auto-indent, syntax
@@ -52,7 +52,7 @@ import { rust } from '@codemirror/lang-rust';
import { vim } from '@replit/codemirror-vim';
import { emacs } from '@replit/codemirror-emacs';
import { switchboardTheme } from './theme.mjs';
import { armatureTheme } from './theme.mjs';
// ── Language Registry ────────────────────────
@@ -144,7 +144,7 @@ export function codeEditor(target, opts = {}) {
]),
// Theme
switchboardTheme,
armatureTheme,
themeCompartment.of(darkMode ? [oneDark] : []),
// Configurable compartments

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Bundle Entrypoint
// Armature — CM6 Bundle Entrypoint
// ==========================================
// esbuild compiles this into an IIFE that sets
// window.CM with factory functions and utilities.

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 @Mention Extension
// Armature — CM6 @Mention Extension
// ==========================================
// Provides:
// 1. Autocomplete triggered by @ for personas/users

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Note Editor Factory
// Armature — CM6 Note Editor Factory
// ==========================================
// Rich markdown editor for the notes panel.
// Decorates headings, bold, italic, code blocks inline.

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Theme
// Armature — CM6 Theme
// ==========================================
// Maps the app's CSS custom properties to CM6
// theme slots. Works in both light and dark mode.
@@ -12,10 +12,10 @@
import { EditorView } from '@codemirror/view';
/**
* Switchboard base theme — uses CSS variables so it
* Armature base theme — uses CSS variables so it
* adapts automatically when the theme toggle fires.
*/
export const switchboardTheme = EditorView.theme({
export const armatureTheme = EditorView.theme({
'&': {
backgroundColor: 'var(--bg-surface, var(--bg))',
color: 'var(--text)',

View File

@@ -1,5 +1,5 @@
// ==========================================
// Chat Switchboard — CM6 Wikilink Extension
// Armature — CM6 Wikilink Extension
// ==========================================
// Provides:
// 1. ViewPlugin that decorates [[Title]] as clickable chips