Skip to content

⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.

fix: purge case-duplicate template paths; credit 2026-07-21 triage contributors

Daniel Miesslerbc0a20aab97c
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/add-file/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/add-file/page.tsx
deleted file mode 100755
index 015207f7..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/add-file/page.tsx
+++ /dev/null
@@ -1,269 +0,0 @@
-"use client"
-
-import { useState } from "react"
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { Badge } from "@/components/ui/badge"
-import { Upload, FileText, Table, CheckCircle, XCircle, Loader2 } from "lucide-react"
-
-interface UploadedFile {
- name: string
- type: string
- status: "success" | "error" | "uploading"
- message?: string
-}
-
-export default function AddFilePage() {
- const [uploadedFiles, setUploadedFiles] = useState<UploadedFile[]>([])
- const [isDragging, setIsDragging] = useState(false)
-
- const handleDragOver = (e: React.DragEvent) => {
- e.preventDefault()
- setIsDragging(true)
- }
-
- const handleDragLeave = () => {
- setIsDragging(false)
- }
-
- const handleDrop = async (e: React.DragEvent) => {
- e.preventDefault()
- setIsDragging(false)
-
- const files = Array.from(e.dataTransfer.files)
- await processFiles(files)
- }
-
- const handleFileInput = async (e: React.ChangeEvent<HTMLInputElement>) => {
- if (!e.target.files) return
- const files = Array.from(e.target.files)
- await processFiles(files)
- }
-
- const processFiles = async (files: File[]) => {
- for (const file of files) {
- // Validate file type
- if (!file.name.endsWith('.md') && !file.name.endsWith('.csv')) {
- setUploadedFiles(prev => [...prev, {
- name: file.name,
- type: file.name.split('.').pop() || '',
- status: "error",
- message: "Only .md and .csv files are allowed"
- }])
- continue
- }
-
- // Add uploading status
- setUploadedFiles(prev => [...prev, {
- name: file.name,
- type: file.name.split('.').pop() || '',
- status: "uploading"
- }])
-
- // Upload file
- try {
- const formData = new FormData()
- formData.append('file', file)
-
- const response = await fetch('/api/upload', {
- method: 'POST',
- body: formData,
- })
-
- if (!response.ok) {
- throw new Error('Upload failed')
- }
-
- const data = await response.json()
-
- // Update status to success
- setUploadedFiles(prev => prev.map(f =>
- f.name === file.name && f.status === "uploading"
- ? { ...f, status: "success" as const, message: data.message }
- : f
- ))
-
- // Trigger a custom event to notify sidebar to refresh
- window.dispatchEvent(new CustomEvent('telosFileUploaded', { detail: { filename: file.name } }))
- } catch (error) {
- // Update status to error
- setUploadedFiles(prev => prev.map(f =>
- f.name === file.name && f.status === "uploading"
- ? { ...f, status: "error" as const, message: "Upload failed" }
- : f
- ))
- }
- }
- }
-
- return (
- <div className="p-8">
- <div className="mb-8">
- <h1 className="text-4xl font-bold text-gray-900 mb-2 flex items-center">
- <Upload className="h-10 w-10 mr-3 text-[#2e7de9]" />
- Add File
- </h1>
- <p className="text-lg text-gray-600">
- Upload .md or .csv files to add them to your TELOS dashboard
- </p>
- </div>
-
- <div className="grid gap-6 max-w-4xl">
- {/* Upload Area */}
- <Card className="border-l-4 border-l-[#2e7de9]">
- <CardHeader>
- <CardTitle>Upload Files</CardTitle>
- </CardHeader>
- <CardContent>
- <div
- onDragOver={handleDragOver}
- onDragLeave={handleDragLeave}
- onDrop={handleDrop}
- className={`
- border-2 border-dashed rounded-lg p-12 text-center transition-all
- ${isDragging
- ? 'border-[#2e7de9] bg-[#2e7de9]/5'
- : 'border-gray-300 hover:border-[#2e7de9] hover:bg-gray-50'
- }
- `}
- >
- <Upload className="h-16 w-16 mx-auto mb-4 text-gray-400" />
- <p className="text-lg font-medium text-gray-900 mb-2">
- Drag and drop files here
- </p>
- <p className="text-sm text-gray-500 mb-4">
- or click to browse
- </p>
- <input
- type="file"
- id="file-upload"
- multiple
- accept=".md,.csv"
- onChange={handleFileInput}
- className="hidden"
- />
- <label
- htmlFor="file-upload"
- className="inline-flex items-center px-6 py-3 bg-[#2e7de9] text-white rounded-lg hover:bg-[#2e7de9]/90 cursor-pointer transition-colors"
- >
- <Upload className="h-4 w-4 mr-2" />
- Choose Files
- </label>
- <p className="text-xs text-gray-500 mt-4">
- Supported formats: .md (Markdown), .csv (Comma-separated values)
- </p>
- </div>
- </CardContent>
- </Card>
-
- {/* Upload History */}
- {uploadedFiles.length > 0 && (
- <Card className="border-l-4 border-l-[#9854f1]">
- <CardHeader>
- <CardTitle>Upload History</CardTitle>
- </CardHeader>
- <CardContent>
- <div className="space-y-3">
- {uploadedFiles.map((file, index) => (
- <div
- key={index}
- className="flex items-center justify-between p-4 bg-gray-50 rounded-lg"
- >
- <div className="flex items-center gap-3">
- {file.type === 'md' ? (
- <FileText className="h-8 w-8 text-[#2e7de9]" />
- ) : (
- <Table className="h-8 w-8 text-[#33b579]" />
- )}
- <div>
- <p className="font-medium text-gray-900">{file.name}</p>
- {file.message && (
- <p className="text-sm text-gray-600">{file.message}</p>
- )}
- </div>
- </div>
- <div className="flex items-center gap-2">
- <Badge
- variant={
- file.status === "success"
- ? "default"
- : file.status === "error"
- ? "destructive"
- : "secondary"
- }
- className={
- file.status === "success"
- ? "bg-[#33b579]"
- : file.status === "uploading"
- ? "bg-gray-500"
- : ""
- }
- >
- {file.type.toUpperCase()}
- </Badge>
- {file.status === "success" && (
- <CheckCircle className="h-6 w-6 text-[#33b579]" />
- )}
- {file.status === "error" && (
- <XCircle className="h-6 w-6 text-[#f52a65]" />
- )}
- {file.status === "uploading" && (
- <Loader2 className="h-6 w-6 text-[#2e7de9] animate-spin" />
- )}
- </div>
- </div>
- ))}
- </div>
- </CardContent>
- </Card>
- )}
-
- {/* Instructions */}
- <Card>
- <CardHeader>
- <CardTitle>How It Works</CardTitle>
- </CardHeader>
- <CardContent>
- <div className="space-y-4 text-sm text-gray-600">
- <div className="flex gap-3">
- <div className="flex-shrink-0 w-6 h-6 rounded-full bg-[#2e7de9] text-white flex items-center justify-center text-xs font-bold">
- 1
- </div>
- <div>
- <p className="font-medium text-gray-900">Upload Your Files</p>
- <p>Drag and drop or click to select .md or .csv files from your computer</p>
- </div>
- </div>
- <div className="flex gap-3">
- <div className="flex-shrink-0 w-6 h-6 rounded-full bg-[#2e7de9] text-white flex items-center justify-center text-xs font-bold">
- 2
- </div>
- <div>
- <p className="font-medium text-gray-900">Automatic Analysis</p>
- <p>Files are automatically analyzed and their content is incorporated into the TELOS system</p>
- </div>
- </div>
- <div className="flex gap-3">
- <div className="flex-shrink-0 w-6 h-6 rounded-full bg-[#2e7de9] text-white flex items-center justify-center text-xs font-bold">
- 3
- </div>
- <div>
- <p className="font-medium text-gray-900">Dashboard Updates</p>
- <p>New data becomes immediately available in the dashboard and AI chat</p>
- </div>
- </div>
- <div className="flex gap-3">
- <div className="flex-shrink-0 w-6 h-6 rounded-full bg-[#2e7de9] text-white flex items-center justify-center text-xs font-bold">
- 4
- </div>
- <div>
- <p className="font-medium text-gray-900">Persistent Storage</p>
- <p>Files are saved to your TELOS directory (~/.claude/skills/Telos/)</p>
- </div>
- </div>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/chat/route.ts b/LifeOS/install/skills/Telos/DashboardTemplate/App/api/chat/route.ts
deleted file mode 100755
index 76709f8a..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/chat/route.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-import { NextResponse } from "next/server"
-import { getTelosContext } from "@/lib/telos-data"
-import { spawn } from "child_process"
-
-export async function POST(request: Request) {
- try {
- const { message } = await request.json()
-
- if (!message) {
- return NextResponse.json(
- { error: "Message is required" },
- { status: 400 }
- )
- }
-
- // Load all TELOS context
- const telosContext = getTelosContext()
-
- const systemPrompt = `You are a helpful AI assistant with access to the user's complete Personal TELOS (Life Operating System).
-
-${telosContext}
-
-When answering questions:
-- Reference specific information from the TELOS files above
-- Be conversational and helpful
-- If asked about goals, projects, beliefs, wisdom, etc., use the exact information from the relevant sections
-- If information isn't in the TELOS data, say so clearly
-- Keep responses concise but informative`
-
- // Use Inference tool instead of direct API
- const inferenceResult = await new Promise<{ success: boolean; output?: string; error?: string }>((resolve) => {
- const homeDir = process.env.HOME || ''
- // medium (Sonnet): cross-section synthesis over the user's full TELOS; low/haiku goes shallow (task-intelligence review P3)
- const proc = spawn('bun', ['run', `${homeDir}/.claude/LIFEOS/TOOLS/Inference.ts`, '--level', 'medium', systemPrompt, message], {
- stdio: ['ignore', 'pipe', 'pipe'],
- })
-
- let stdout = ''
- let stderr = ''
-
- proc.stdout.on('data', (data) => { stdout += data.toString() })
- proc.stderr.on('data', (data) => { stderr += data.toString() })
-
- proc.on('close', (code) => {
- if (code !== 0) {
- resolve({ success: false, error: stderr || `Process exited with code ${code}` })
- } else {
- resolve({ success: true, output: stdout.trim() })
- }
- })
-
- proc.on('error', (err) => {
- resolve({ success: false, error: err.message })
- })
- })
-
- if (!inferenceResult.success) {
- console.error("Inference Error:", inferenceResult.error)
- throw new Error(`Inference failed: ${inferenceResult.error}`)
- }
-
- const assistantMessage = inferenceResult.output
-
- if (!assistantMessage) {
- throw new Error("No response from inference")
- }
-
- return NextResponse.json({ response: assistantMessage })
- } catch (error) {
- console.error("Error in chat API:", error)
- return NextResponse.json(
- { error: "Failed to process request" },
- { status: 500 }
- )
- }
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/get/route.ts b/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/get/route.ts
deleted file mode 100755
index 9ab4362c..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/get/route.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-import { NextResponse } from "next/server"
-import { getAllTelosData } from "@/lib/telos-data"
-
-export const dynamic = 'force-dynamic'
-
-export async function GET(request: Request) {
- try {
- const { searchParams } = new URL(request.url)
- const filename = searchParams.get('filename')
-
- if (!filename) {
- return NextResponse.json(
- { error: "Filename parameter is required" },
- { status: 400 }
- )
- }
-
- // Get all TELOS files
- const files = getAllTelosData()
-
- // Find the matching file
- const file = files.find(f => f.filename === filename)
-
- if (!file) {
- return NextResponse.json(
- { error: `File ${filename} not found` },
- { status: 404 }
- )
- }
-
- return NextResponse.json({
- content: file.content,
- type: file.type,
- name: file.name,
- filename: file.filename
- })
- } catch (error) {
- console.error("Error fetching file:", error)
- return NextResponse.json(
- { error: "Failed to fetch file" },
- { status: 500 }
- )
- }
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/save/route.ts b/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/save/route.ts
deleted file mode 100755
index 5e4bb48c..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/file/save/route.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import { NextResponse } from "next/server"
-import fs from 'fs'
-import path from 'path'
-import os from 'os'
-
-const TELOS_DIR = path.join(os.homedir(), '.claude/skills/Telos')
-
-export async function POST(request: Request) {
- try {
- const { filename, content } = await request.json()
-
- if (!filename || content === undefined) {
- return NextResponse.json(
- { error: "Filename and content are required" },
- { status: 400 }
- )
- }
-
- // Determine file path
- const isCSV = filename.endsWith('.csv')
- let filePath: string
-
- if (isCSV) {
- const csvDir = path.join(TELOS_DIR, 'data')
- filePath = path.join(csvDir, filename)
- } else {
- filePath = path.join(TELOS_DIR, filename)
- }
-
- // Verify file exists before overwriting
- if (!fs.existsSync(filePath)) {
- return NextResponse.json(
- { error: `File ${filename} does not exist` },
- { status: 404 }
- )
- }
-
- // Save file
- fs.writeFileSync(filePath, content, 'utf-8')
-
- // Log the edit
- const timestamp = new Date().toISOString()
- const logMessage = `\n## ${timestamp}\n\n- **Action:** File edited via dashboard\n- **File:** ${filename}\n`
-
- const updatesPath = path.join(TELOS_DIR, 'updates.md')
- if (fs.existsSync(updatesPath)) {
- fs.appendFileSync(updatesPath, logMessage)
- }
-
- return NextResponse.json({
- success: true,
- message: `${filename} saved successfully`,
- })
- } catch (error) {
- console.error("Error saving file:", error)
- return NextResponse.json(
- { error: "Failed to save file" },
- { status: 500 }
- )
- }
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/files/count/route.ts b/LifeOS/install/skills/Telos/DashboardTemplate/App/api/files/count/route.ts
deleted file mode 100755
index 7435b4ee..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/files/count/route.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { NextResponse } from "next/server"
-import { getTelosFileCount, getTelosFileList } from "@/lib/telos-data"
-
-export const dynamic = 'force-dynamic'
-
-export async function GET() {
- try {
- const count = getTelosFileCount()
- const files = getTelosFileList()
-
- return NextResponse.json({
- count,
- files,
- })
- } catch (error) {
- console.error("Error getting file count:", error)
- return NextResponse.json(
- { error: "Failed to get file count" },
- { status: 500 }
- )
- }
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/upload/route.ts b/LifeOS/install/skills/Telos/DashboardTemplate/App/api/upload/route.ts
deleted file mode 100755
index ea23ee2f..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/api/upload/route.ts
+++ /dev/null
@@ -1,87 +0,0 @@
-import { NextResponse } from "next/server"
-import fs from 'fs'
-import path from 'path'
-import os from 'os'
-
-const TELOS_DIR = path.join(os.homedir(), '.claude/skills/Telos')
-
-export async function POST(request: Request) {
- try {
- const formData = await request.formData()
- const file = formData.get('file') as File
-
- if (!file) {
- return NextResponse.json(
- { error: "No file provided" },
- { status: 400 }
- )
- }
-
- // Validate file type
- const fileName = file.name
- const isMarkdown = fileName.endsWith('.md')
- const isCSV = fileName.endsWith('.csv')
-
- if (!isMarkdown && !isCSV) {
- return NextResponse.json(
- { error: "Only .md and .csv files are allowed" },
- { status: 400 }
- )
- }
-
- // Read file content
- const arrayBuffer = await file.arrayBuffer()
- const buffer = Buffer.from(arrayBuffer)
-
- // Ensure TELOS directory exists
- if (!fs.existsSync(TELOS_DIR)) {
- fs.mkdirSync(TELOS_DIR, { recursive: true })
- }
-
- // Determine save path
- let savePath: string
- if (isCSV) {
- // CSV files go in data subdirectory
- const csvDir = path.join(TELOS_DIR, 'data')
- if (!fs.existsSync(csvDir)) {
- fs.mkdirSync(csvDir, { recursive: true })
- }
- savePath = path.join(csvDir, fileName)
- } else {
- // MD files go in root TELOS directory
- savePath = path.join(TELOS_DIR, fileName)
- }
-
- // Check if file already exists
- if (fs.existsSync(savePath)) {
- return NextResponse.json(
- { error: `File ${fileName} already exists. Please delete the existing file first or rename your file.` },
- { status: 409 }
- )
- }
-
- // Save file
- fs.writeFileSync(savePath, buffer)
-
- // Log the upload
- const timestamp = new Date().toISOString()
- const logMessage = `\n## ${timestamp}\n\n- **Action:** File uploaded via dashboard\n- **File:** ${fileName}\n- **Type:** ${isCSV ? 'CSV' : 'Markdown'}\n- **Path:** ${savePath}\n`
-
- const updatesPath = path.join(TELOS_DIR, 'updates.md')
- if (fs.existsSync(updatesPath)) {
- fs.appendFileSync(updatesPath, logMessage)
- }
-
- return NextResponse.json({
- success: true,
- message: `${fileName} uploaded successfully to ${isCSV ? 'data/' : ''}`,
- path: savePath,
- })
- } catch (error) {
- console.error("Error in upload API:", error)
- return NextResponse.json(
- { error: "Failed to upload file" },
- { status: 500 }
- )
- }
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/ask/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/ask/page.tsx
deleted file mode 100755
index 0f1d1724..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/ask/page.tsx
+++ /dev/null
@@ -1,187 +0,0 @@
-"use client"
-
-import { useState } from "react"
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { Badge } from "@/components/ui/badge"
-import { MessageSquare, Send, Bot, User } from "lucide-react"
-
-interface Message {
- role: "user" | "assistant"
- content: string
- timestamp: Date
-}
-
-export default function AskPage() {
- const [messages, setMessages] = useState<Message[]>([])
- const [input, setInput] = useState("")
- const [isLoading, setIsLoading] = useState(false)
-
- const handleSubmit = async (e: React.FormEvent) => {
- e.preventDefault()
- if (!input.trim() || isLoading) return
-
- const userMessage: Message = {
- role: "user",
- content: input.trim(),
- timestamp: new Date(),
- }
-
- setMessages((prev) => [...prev, userMessage])
- setInput("")
- setIsLoading(true)
-
- try {
- const response = await fetch("/api/chat", {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- },
- body: JSON.stringify({
- message: userMessage.content,
- }),
- })
-
- if (!response.ok) {
- throw new Error("Failed to get response")
- }
-
- const data = await response.json()
-
- const assistantMessage: Message = {
- role: "assistant",
- content: data.response,
- timestamp: new Date(),
- }
-
- setMessages((prev) => [...prev, assistantMessage])
- } catch (error) {
- console.error("Error:", error)
- const errorMessage: Message = {
- role: "assistant",
- content: "Sorry, I encountered an error. Please try again.",
- timestamp: new Date(),
- }
- setMessages((prev) => [...prev, errorMessage])
- } finally {
- setIsLoading(false)
- }
- }
-
- return (
- <div className="p-8">
- <div className="mb-8">
- <h1 className="text-4xl font-bold text-gray-900 mb-2 flex items-center">
- <MessageSquare className="h-10 w-10 mr-3 text-[#2e7de9]" />
- Ask AI
- </h1>
- <p className="text-lg text-gray-600">
- Chat with Claude Haiku 4.5 to get instant answers
- </p>
- </div>
-
- <Card className="border-l-4 border-l-[#2e7de9] max-w-4xl mx-auto">
- <CardHeader>
- <CardTitle className="flex items-center justify-between">
- <span>Chat Interface</span>
- <Badge variant="primary" className="bg-[#2e7de9]">
- Claude Haiku 4.5
- </Badge>
- </CardTitle>
- </CardHeader>
- <CardContent>
- {/* Messages Container */}
- <div className="space-y-4 mb-6 min-h-[400px] max-h-[600px] overflow-y-auto p-4 bg-gray-50 rounded-lg">
- {messages.length === 0 ? (
- <div className="flex items-center justify-center h-full text-gray-500">
- <div className="text-center">
- <Bot className="h-12 w-12 mx-auto mb-4 text-[#2e7de9] opacity-50" />
- <p>Start a conversation by typing a message below</p>
- </div>
- </div>
- ) : (
- messages.map((message, index) => (
- <div
- key={index}
- className={`flex gap-3 ${
- message.role === "user" ? "justify-end" : "justify-start"
- }`}
- >
- {message.role === "assistant" && (
- <div className="flex-shrink-0">
- <div className="w-8 h-8 rounded-full bg-[#2e7de9] flex items-center justify-center">
- <Bot className="h-5 w-5 text-white" />
- </div>
- </div>
- )}
- <div
- className={`rounded-lg px-4 py-3 max-w-[80%] ${
- message.role === "user"
- ? "bg-[#2e7de9] text-white"
- : "bg-white border border-gray-200"
- }`}
- >
- <div className="text-sm whitespace-pre-wrap">
- {message.content}
- </div>
- <div
- className={`text-xs mt-2 ${
- message.role === "user"
- ? "text-blue-100"
- : "text-gray-500"
- }`}
- >
- {message.timestamp.toLocaleTimeString()}
- </div>
- </div>
- {message.role === "user" && (
- <div className="flex-shrink-0">
- <div className="w-8 h-8 rounded-full bg-[#9854f1] flex items-center justify-center">
- <User className="h-5 w-5 text-white" />
- </div>
- </div>
- )}
- </div>
- ))
- )}
- {isLoading && (
- <div className="flex gap-3 justify-start">
- <div className="flex-shrink-0">
- <div className="w-8 h-8 rounded-full bg-[#2e7de9] flex items-center justify-center">
- <Bot className="h-5 w-5 text-white" />
- </div>
- </div>
- <div className="bg-white border border-gray-200 rounded-lg px-4 py-3">
- <div className="flex gap-1">
- <div className="w-2 h-2 bg-[#2e7de9] rounded-full animate-bounce" />
- <div className="w-2 h-2 bg-[#2e7de9] rounded-full animate-bounce delay-100" />
- <div className="w-2 h-2 bg-[#2e7de9] rounded-full animate-bounce delay-200" />
- </div>
- </div>
- </div>
- )}
- </div>
-
- {/* Input Form */}
- <form onSubmit={handleSubmit} className="flex gap-2">
- <input
- type="text"
- value={input}
- onChange={(e) => setInput(e.target.value)}
- placeholder="Type your message..."
- disabled={isLoading}
- className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#2e7de9] focus:border-transparent disabled:bg-gray-100 disabled:cursor-not-allowed"
- />
- <button
- type="submit"
- disabled={!input.trim() || isLoading}
- className="px-6 py-3 bg-[#2e7de9] text-white rounded-lg hover:bg-[#2e7de9]/90 disabled:opacity-50 disabled:cursor-not-allowed transition-colors flex items-center gap-2"
- >
- <Send className="h-4 w-4" />
- Send
- </button>
- </form>
- </CardContent>
- </Card>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/file/[slug]/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/file/[slug]/page.tsx
deleted file mode 100755
index 6a83aa88..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/file/[slug]/page.tsx
+++ /dev/null
@@ -1,215 +0,0 @@
-"use client"
-
-import { useState, useEffect } from "react"
-import { useParams, notFound } from "next/navigation"
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { Button } from "@/components/ui/button"
-import { FileText, Table as TableIcon, Edit2, Save, X } from "lucide-react"
-import ReactMarkdown from "react-markdown"
-
-export default function FilePage() {
- const params = useParams()
- const slug = params.slug as string
-
- const [file, setFile] = useState<any>(null)
- const [isEditing, setIsEditing] = useState(false)
- const [editedContent, setEditedContent] = useState("")
- const [isSaving, setIsSaving] = useState(false)
- const [saveStatus, setSaveStatus] = useState<"idle" | "success" | "error">("idle")
-
- useEffect(() => {
- // Fetch file data
- fetch('/api/files/count')
- .then(res => res.json())
- .then(data => {
- const matchingFile = data.files.find((f: string) => {
- const fileSlug = f.replace('.md', '').replace('.csv', '').replace('data/', '')
- return fileSlug === slug
- })
-
- if (matchingFile) {
- // Fetch the actual file content
- fetch(`/api/file/get?filename=${encodeURIComponent(matchingFile)}`)
- .then(res => res.json())
- .then(fileData => {
- setFile({
- name: slug,
- filename: matchingFile,
- content: fileData.content,
- type: matchingFile.endsWith('.csv') ? 'csv' : 'markdown'
- })
- setEditedContent(fileData.content)
- })
- }
- })
- }, [slug])
-
- if (!file) {
- return <div className="p-8">Loading...</div>
- }
-
- const isCSV = file.type === 'csv'
-
- const handleSave = async () => {
- setIsSaving(true)
- setSaveStatus("idle")
-
- try {
- const response = await fetch('/api/file/save', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify({
- filename: file.filename,
- content: editedContent,
- }),
- })
-
- if (!response.ok) {
- throw new Error('Save failed')
- }
-
- file.content = editedContent
- setIsEditing(false)
- setSaveStatus("success")
- setTimeout(() => setSaveStatus("idle"), 3000)
- } catch (error) {
- console.error('Error saving file:', error)
- setSaveStatus("error")
- } finally {
- setIsSaving(false)
- }
- }
-
- return (
- <div className="p-8">
- <div className="mb-8 flex items-start justify-between">
- <div>
- <h1 className="text-4xl font-bold text-gray-900 mb-2 flex items-center">
- {isCSV ? (
- <TableIcon className="h-10 w-10 mr-3 text-[#33b579]" />
- ) : (
- <FileText className="h-10 w-10 mr-3 text-[#2e7de9]" />
- )}
- {file.name}
- </h1>
- <p className="text-lg text-gray-600">
- {file.filename}
- </p>
- </div>
- <div className="flex gap-2">
- {!isEditing ? (
- <Button
- onClick={() => setIsEditing(true)}
- className="bg-[#2e7de9] hover:bg-[#2e7de9]/90"
- >
- <Edit2 className="h-4 w-4 mr-2" />
- Edit
- </Button>
- ) : (
- <>
- <Button
- onClick={() => {
- setIsEditing(false)
- setEditedContent(file.content)
- setSaveStatus("idle")
- }}
- variant="outline"
- >
- <X className="h-4 w-4 mr-2" />
- Cancel
- </Button>
- <Button
- onClick={handleSave}
- disabled={isSaving}
- className="bg-[#33b579] hover:bg-[#33b579]/90"
- >
- <Save className="h-4 w-4 mr-2" />
- {isSaving ? "Saving..." : "Save"}
- </Button>
- </>
- )}
- </div>
- </div>
-
- {saveStatus === "success" && (
- <div className="mb-4 p-4 bg-[#33b579]/10 text-[#33b579] rounded-lg">
- File saved successfully!
- </div>
- )}
-
- {saveStatus === "error" && (
- <div className="mb-4 p-4 bg-[#f52a65]/10 text-[#f52a65] rounded-lg">
- Error saving file. Please try again.
- </div>
- )}
-
- <Card className="border-l-4 border-l-[#2e7de9]">
- <CardHeader>
- <CardTitle>Content</CardTitle>
- </CardHeader>
- <CardContent>
- {isEditing ? (
- <textarea
- value={editedContent}
- onChange={(e) => setEditedContent(e.target.value)}
- className="w-full h-[600px] p-4 border rounded-lg font-mono text-sm resize-y focus:outline-none focus:ring-2 focus:ring-[#2e7de9]"
- />
- ) : (
- <>
- {isCSV ? (
- <div className="overflow-x-auto">
- <CSVTable content={file.content} />
- </div>
- ) : (
- <div className="prose max-w-none">
- <ReactMarkdown>{file.content}</ReactMarkdown>
- </div>
- )}
- </>
- )}
- </CardContent>
- </Card>
- </div>
- )
-}
-
-function CSVTable({ content }: { content: string }) {
- const lines = content.trim().split('\n')
- if (lines.length === 0) return <p className="text-gray-500">Empty file</p>
-
- const headers = lines[0].split(',').map(h => h.trim())
- const rows = lines.slice(1).map(line => line.split(',').map(cell => cell.trim()))
-
- return (
- <table className="min-w-full divide-y divide-gray-200">
- <thead className="bg-gray-50">
- <tr>
- {headers.map((header, idx) => (
- <th
- key={idx}
- className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
- >
- {header}
- </th>
- ))}
- </tr>
- </thead>
- <tbody className="bg-white divide-y divide-gray-200">
- {rows.map((row, rowIdx) => (
- <tr key={rowIdx} className="hover:bg-gray-50">
- {row.map((cell, cellIdx) => (
- <td
- key={cellIdx}
- className="px-6 py-4 whitespace-nowrap text-sm text-gray-900"
- >
- {cell}
- </td>
- ))}
- </tr>
- ))}
- </tbody>
- </table>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/globals.css b/LifeOS/install/skills/Telos/DashboardTemplate/App/globals.css
deleted file mode 100755
index 0effa5f4..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/globals.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@import "tailwindcss";
-
-:root {
- --background: #ffffff;
- --foreground: #1a1b26;
- --primary: #2e7de9;
- --accent: #9854f1;
- --destructive: #f52a65;
- --success: #33b579;
- --warning: #f0a020;
-}
-
-body {
- color: var(--foreground);
- background: var(--background);
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-.prose {
- max-width: 65ch;
- color: var(--foreground);
-}
-
-.prose-lg {
- font-size: 1.125rem;
- line-height: 1.75;
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/layout.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/layout.tsx
deleted file mode 100755
index 1f30efdc..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/layout.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Metadata } from "next"
-import "./globals.css"
-import { Sidebar } from "../components/sidebar"
-
-export const metadata: Metadata = {
- title: "TELOS Dashboard Template",
- description: "Customizable dashboard template with Tokyo Night Day theme",
-}
-
-export default function RootLayout({
- children,
-}: Readonly<{
- children: React.Node
-}>) {
- return (
- <html lang="en">
- <body className="bg-gray-50">
- <Sidebar />
- <main className="pl-64">
- <div className="min-h-screen">
- {children}
- </div>
- </main>
- </body>
- </html>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/page.tsx
deleted file mode 100755
index 587edd23..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/page.tsx
+++ /dev/null
@@ -1,147 +0,0 @@
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { TrendingDown } from "lucide-react"
-
-export default function OverviewPage() {
- // TODO: Load your project metrics data
- // Example structure:
- // const metrics = {
- // timeToDetect: { before: 81, after: 9, improvement: 89 },
- // timeToInvestigate: { before: 48, after: 6, improvement: 87 },
- // // ... more metrics
- // }
-
- return (
- <div className="p-8">
- {/* Hero Section */}
- <div className="mb-12 rounded-2xl bg-gradient-to-br from-[#2e7de9]/10 via-[#9854f1]/5 to-[#33b579]/10 p-12 border border-[#2e7de9]/20">
- <div className="max-w-4xl">
- <h2 className="text-sm font-semibold text-[#2e7de9] uppercase tracking-wide mb-2">
- {/* TODO: Add your section label */}
- Dashboard Overview
- </h2>
- <h1 className="text-5xl font-bold text-gray-900 mb-4">
- {/* TODO: Add your project name */}
- Your Project Name
- </h1>
- <p className="text-xl text-gray-600 mb-6">
- {/* TODO: Add your project description */}
- Project description goes here
- </p>
- <div className="inline-block bg-white rounded-lg px-6 py-4 shadow-lg border border-[#33b579]/30">
- <p className="text-3xl font-bold text-[#33b579]">
- {/* TODO: Add your key metric */}
- Key achievement metric
- </p>
- <p className="text-sm text-gray-600 mt-1">
- {/* TODO: Add metric context */}
- Context for the metric
- </p>
- </div>
- </div>
- </div>
-
- {/* Executive Summary */}
- <div className="mb-8">
- <h2 className="text-2xl font-bold text-gray-900 mb-4">Executive Summary</h2>
- <Card>
- <CardContent className="pt-6">
- <p className="text-lg text-gray-700 leading-relaxed">
- {/* TODO: Add your executive summary text */}
- Your executive summary goes here. Describe your project's achievements,
- key performance indicators, and strategic value.
- </p>
- </CardContent>
- </Card>
- </div>
-
- {/* Key Metrics Grid */}
- <div className="mb-8">
- <h2 className="text-2xl font-bold text-gray-900 mb-4">Key Performance Metrics</h2>
- <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
- {/* Metric 1 - TODO: Replace with your data */}
- <Card className="border-l-4 border-l-[#33b579] hover:shadow-xl transition-shadow">
- <CardHeader className="pb-2">
- <CardTitle className="text-sm font-medium text-gray-600">
- Metric 1 Name
- </CardTitle>
- </CardHeader>
- <CardContent>
- <div className="space-y-2">
- <div className="flex items-baseline justify-between">
- <span className="text-3xl font-bold text-gray-900">
- {/* TODO: Current value */}
- XX
- </span>
- <div className="flex items-center text-[#33b579]">
- <TrendingDown className="h-4 w-4 mr-1" />
- <span className="text-lg font-semibold">
- {/* TODO: Improvement % */}
- XX%
- </span>
- </div>
- </div>
- <p className="text-xs text-gray-500 pt-2">
- {/* TODO: Metric description */}
- Description of this metric
- </p>
- </div>
- </CardContent>
- </Card>
-
- {/* TODO: Add more metric cards following the same pattern */}
- </div>
- </div>
-
- {/* Quick Stats */}
- <div className="grid grid-cols-1 md:grid-cols-3 gap-6">
- <Card>
- <CardHeader>
- <CardTitle>Stat 1</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-4xl font-bold text-[#2e7de9]">
- {/* TODO: Add stat value */}
- XX
- </p>
- <p className="text-sm text-gray-600 mt-2">
- {/* TODO: Add stat description */}
- Description
- </p>
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader>
- <CardTitle>Stat 2</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-4xl font-bold text-[#9854f1]">
- {/* TODO: Add stat value */}
- XX
- </p>
- <p className="text-sm text-gray-600 mt-2">
- {/* TODO: Add stat description */}
- Description
- </p>
- </CardContent>
- </Card>
-
- <Card>
- <CardHeader>
- <CardTitle>Stat 3</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-4xl font-bold text-[#33b579]">
- {/* TODO: Add stat value */}
- XX
- </p>
- <p className="text-sm text-gray-600 mt-2">
- {/* TODO: Add stat description */}
- Description
- </p>
- </CardContent>
- </Card>
- </div>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/progress/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/progress/page.tsx
deleted file mode 100755
index 3d088721..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/progress/page.tsx
+++ /dev/null
@@ -1,103 +0,0 @@
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { Progress } from "@/components/ui/progress"
-import { TrendingUp } from "lucide-react"
-
-export default function ProgressPage() {
- // TODO: Load your progress data
- // Example structure:
- // const progressMetrics = [
- // {
- // category: "Category Name",
- // current: 75,
- // target: 100,
- // trend: "up" | "down" | "stable"
- // }
- // ]
-
- return (
- <div className="p-8">
- <div className="mb-8">
- <h1 className="text-4xl font-bold text-gray-900 mb-2">Progress Tracking</h1>
- <p className="text-lg text-gray-600">
- {/* TODO: Add your page description */}
- Track progress toward goals and targets
- </p>
- </div>
-
- {/* Overall Progress */}
- <Card className="mb-8 border-l-4 border-l-[#2e7de9]">
- <CardHeader>
- <CardTitle className="flex items-center">
- <TrendingUp className="h-5 w-5 mr-2 text-[#2e7de9]" />
- Overall Progress
- </CardTitle>
- </CardHeader>
- <CardContent>
- <div className="space-y-4">
- <div className="flex items-center justify-between">
- <span className="text-sm font-medium text-gray-700">Program Completion</span>
- <span className="text-lg font-bold text-[#2e7de9]">
- {/* TODO: Overall percentage */}
- XX%
- </span>
- </div>
- <Progress value={75} max={100} className="h-3" />
- </div>
- </CardContent>
- </Card>
-
- {/* Progress by Category - TODO: Map over your progress metrics */}
- <div className="space-y-6">
- <Card>
- <CardHeader>
- <CardTitle>
- {/* TODO: Category name */}
- Example Category
- </CardTitle>
- </CardHeader>
- <CardContent>
- <div className="space-y-4">
- <div className="flex items-center justify-between">
- <span className="text-sm font-medium text-gray-700">Current Progress</span>
- <div className="flex items-center gap-2">
- <span className="text-sm text-gray-600">
- {/* TODO: Current/Target */}
- XX / XXX
- </span>
- <span className="text-lg font-bold text-[#33b579]">
- {/* TODO: Percentage */}
- XX%
- </span>
- </div>
- </div>
- <Progress value={60} max={100} />
- <div className="grid grid-cols-3 gap-4 pt-2">
- <div className="bg-gray-50 rounded-lg p-3">
- <p className="text-xs text-gray-600 mb-1">Current</p>
- <p className="text-lg font-semibold text-gray-900">
- {/* TODO: Current value */}
- XX
- </p>
- </div>
- <div className="bg-gray-50 rounded-lg p-3">
- <p className="text-xs text-gray-600 mb-1">Target</p>
- <p className="text-lg font-semibold text-gray-900">
- {/* TODO: Target value */}
- XXX
- </p>
- </div>
- <div className="bg-gray-50 rounded-lg p-3">
- <p className="text-xs text-gray-600 mb-1">Remaining</p>
- <p className="text-lg font-semibold text-gray-900">
- {/* TODO: Remaining value */}
- XX
- </p>
- </div>
- </div>
- </div>
- </CardContent>
- </Card>
- </div>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/App/vulnerabilities/page.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/App/vulnerabilities/page.tsx
deleted file mode 100755
index 60b2723e..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/App/vulnerabilities/page.tsx
+++ /dev/null
@@ -1,124 +0,0 @@
-import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
-import { Badge } from "@/components/ui/badge"
-import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
-import { Shield, AlertTriangle } from "lucide-react"
-
-export default function VulnerabilitiesPage() {
- // TODO: Load your vulnerabilities data
- // Example structure:
- // const vulnerabilities = [
- // {
- // id: "V001",
- // title: "Vulnerability title",
- // severity: "Critical" | "High" | "Medium" | "Low",
- // status: "Open" | "In Progress" | "Resolved",
- // affectedSystem: "System name",
- // daysOpen: 5
- // }
- // ]
-
- return (
- <div className="p-8">
- <div className="mb-8">
- <h1 className="text-4xl font-bold text-gray-900 mb-2">Vulnerabilities</h1>
- <p className="text-lg text-gray-600">
- {/* TODO: Add your page description */}
- Active security vulnerabilities and remediation status
- </p>
- </div>
-
- {/* Summary Cards */}
- <div className="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
- <Card className="border-l-4 border-l-[#f52a65]">
- <CardHeader>
- <CardTitle className="flex items-center text-sm">
- <AlertTriangle className="h-4 w-4 mr-2 text-[#f52a65]" />
- Critical
- </CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-3xl font-bold text-[#f52a65]">
- {/* TODO: Critical count */}
- X
- </p>
- </CardContent>
- </Card>
-
- <Card className="border-l-4 border-l-[#f0a020]">
- <CardHeader>
- <CardTitle className="text-sm">High</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-3xl font-bold text-[#f0a020]">
- {/* TODO: High count */}
- X
- </p>
- </CardContent>
- </Card>
-
- <Card className="border-l-4 border-l-[#2e7de9]">
- <CardHeader>
- <CardTitle className="text-sm">Medium</CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-3xl font-bold text-[#2e7de9]">
- {/* TODO: Medium count */}
- X
- </p>
- </CardContent>
- </Card>
-
- <Card className="border-l-4 border-l-[#33b579]">
- <CardHeader>
- <CardTitle className="flex items-center text-sm">
- <Shield className="h-4 w-4 mr-2 text-[#33b579]" />
- Resolved
- </CardTitle>
- </CardHeader>
- <CardContent>
- <p className="text-3xl font-bold text-[#33b579]">
- {/* TODO: Resolved count */}
- XX
- </p>
- </CardContent>
- </Card>
- </div>
-
- {/* Vulnerabilities Table - TODO: Map over your vulnerabilities data */}
- <Card>
- <CardHeader>
- <CardTitle>Active Vulnerabilities</CardTitle>
- </CardHeader>
- <CardContent>
- <Table>
- <TableHeader>
- <TableRow>
- <TableHead>ID</TableHead>
- <TableHead>Title</TableHead>
- <TableHead>Severity</TableHead>
- <TableHead>Status</TableHead>
- <TableHead>System</TableHead>
- <TableHead>Days Open</TableHead>
- </TableRow>
- </TableHeader>
- <TableBody>
- {/* TODO: Map over vulnerabilities */}
- <TableRow>
- <TableCell className="font-mono">V001</TableCell>
- <TableCell>Example vulnerability</TableCell>
- <TableCell>
- <Badge variant="destructive">Critical</Badge>
- </TableCell>
- <TableCell>
- <Badge variant="warning">In Progress</Badge>
- </TableCell>
- <TableCell>System Name</TableCell>
- <TableCell>5 days</TableCell>
- </TableRow>
- </TableBody>
- </Table>
- </CardContent>
- </Card>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/badge.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/badge.tsx
deleted file mode 100755
index ab42eb50..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/badge.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import * as React from "react"
-import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "@/lib/utils"
-
-const badgeVariants = cva(
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2",
- {
- variants: {
- variant: {
- default:
- "border-transparent bg-gray-900 text-white hover:bg-gray-900/80",
- secondary:
- "border-transparent bg-gray-100 text-gray-900 hover:bg-gray-100/80",
- destructive:
- "border-transparent bg-[#f52a65] text-white hover:bg-[#f52a65]/80",
- success:
- "border-transparent bg-[#33b579] text-white hover:bg-[#33b579]/80",
- warning:
- "border-transparent bg-[#f0a020] text-white hover:bg-[#f0a020]/80",
- primary:
- "border-transparent bg-[#2e7de9] text-white hover:bg-[#2e7de9]/80",
- outline: "text-foreground",
- },
- },
- defaultVariants: {
- variant: "default",
- },
- }
-)
-
-export interface BadgeProps
- extends React.HTMLAttributes<HTMLDivElement>,
- VariantProps<typeof badgeVariants> {}
-
-function Badge({ className, variant, ...props }: BadgeProps) {
- return (
- <div className={cn(badgeVariants({ variant }), className)} {...props} />
- )
-}
-
-export { Badge, badgeVariants }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/button.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/button.tsx
deleted file mode 100755
index f30da12e..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/button.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import * as React from "react"
-import { Slot } from "@radix-ui/react-slot"
-import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "@/lib/utils"
-
-const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
- {
- variants: {
- variant: {
- default:
- "bg-gray-900 text-white hover:bg-gray-900/90",
- destructive:
- "bg-[#f52a65] text-white hover:bg-[#f52a65]/90",
- outline:
- "border border-gray-300 bg-white hover:bg-gray-100 hover:text-gray-900",
- secondary:
- "bg-gray-100 text-gray-900 hover:bg-gray-100/80",
- ghost:
- "hover:bg-gray-100 hover:text-gray-900",
- link:
- "text-[#2e7de9] underline-offset-4 hover:underline",
- primary:
- "bg-[#2e7de9] text-white hover:bg-[#2e7de9]/90",
- success:
- "bg-[#33b579] text-white hover:bg-[#33b579]/90",
- },
- size: {
- default: "h-10 px-4 py-2",
- sm: "h-9 rounded-md px-3",
- lg: "h-11 rounded-md px-8",
- icon: "h-10 w-10",
- },
- },
- defaultVariants: {
- variant: "default",
- size: "default",
- },
- }
-)
-
-export interface ButtonProps
- extends React.ButtonHTMLAttributes<HTMLButtonElement>,
- VariantProps<typeof buttonVariants> {
- asChild?: boolean
-}
-
-const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
- ({ className, variant, size, asChild = false, ...props }, ref) => {
- const Comp = asChild ? Slot : "button"
- return (
- <Comp
- className={cn(buttonVariants({ variant, size, className }))}
- ref={ref}
- {...props}
- />
- )
- }
-)
-Button.displayName = "Button"
-
-export { Button, buttonVariants }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/card.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/card.tsx
deleted file mode 100755
index 20503440..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/card.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-const Card = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn(
- "rounded-lg border bg-white shadow-sm",
- className
- )}
- {...props}
- />
-))
-Card.displayName = "Card"
-
-const CardHeader = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn("flex flex-col space-y-1.5 p-6", className)}
- {...props}
- />
-))
-CardHeader.displayName = "CardHeader"
-
-const CardTitle = React.forwardRef<
- HTMLHeadingElement,
- React.HTMLAttributes<HTMLHeadingElement>
->(({ className, ...props }, ref) => (
- <h3
- ref={ref}
- className={cn(
- "text-2xl font-semibold leading-none tracking-tight",
- className
- )}
- {...props}
- />
-))
-CardTitle.displayName = "CardTitle"
-
-const CardDescription = React.forwardRef<
- HTMLParagraphElement,
- React.HTMLAttributes<HTMLParagraphElement>
->(({ className, ...props }, ref) => (
- <p
- ref={ref}
- className={cn("text-sm text-gray-600", className)}
- {...props}
- />
-))
-CardDescription.displayName = "CardDescription"
-
-const CardContent = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div ref={ref} className={cn("p-6 pt-0", className)} {...props} />
-))
-CardContent.displayName = "CardContent"
-
-const CardFooter = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn("flex items-center p-6 pt-0", className)}
- {...props}
- />
-))
-CardFooter.displayName = "CardFooter"
-
-export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/progress.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/progress.tsx
deleted file mode 100755
index 987405c6..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/progress.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-"use client"
-
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
- value?: number
- max?: number
-}
-
-const Progress = React.forwardRef<HTMLDivElement, ProgressProps>(
- ({ className, value = 0, max = 100, ...props }, ref) => {
- const percentage = Math.min(Math.max((value / max) * 100, 0), 100)
-
- return (
- <div
- ref={ref}
- className={cn(
- "relative h-4 w-full overflow-hidden rounded-full bg-gray-200",
- className
- )}
- {...props}
- >
- <div
- className="h-full bg-[#2e7de9] transition-all duration-300 ease-in-out"
- style={{ width: `${percentage}%` }}
- />
- </div>
- )
- }
-)
-Progress.displayName = "Progress"
-
-export { Progress }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/table.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/table.tsx
deleted file mode 100755
index 91d10868..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/Ui/table.tsx
+++ /dev/null
@@ -1,116 +0,0 @@
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-const Table = React.forwardRef<
- HTMLTableElement,
- React.HTMLAttributes<HTMLTableElement>
->(({ className, ...props }, ref) => (
- <div className="relative w-full overflow-auto">
- <table
- ref={ref}
- className={cn("w-full caption-bottom text-sm", className)}
- {...props}
- />
- </div>
-))
-Table.displayName = "Table"
-
-const TableHeader = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
-))
-TableHeader.displayName = "TableHeader"
-
-const TableBody = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <tbody
- ref={ref}
- className={cn("[&_tr:last-child]:border-0", className)}
- {...props}
- />
-))
-TableBody.displayName = "TableBody"
-
-const TableFooter = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <tfoot
- ref={ref}
- className={cn(
- "border-t bg-gray-100/50 font-medium [&>tr]:last:border-b-0",
- className
- )}
- {...props}
- />
-))
-TableFooter.displayName = "TableFooter"
-
-const TableRow = React.forwardRef<
- HTMLTableRowElement,
- React.HTMLAttributes<HTMLTableRowElement>
->(({ className, ...props }, ref) => (
- <tr
- ref={ref}
- className={cn(
- "border-b transition-colors hover:bg-gray-100/50 data-[state=selected]:bg-gray-100",
- className
- )}
- {...props}
- />
-))
-TableRow.displayName = "TableRow"
-
-const TableHead = React.forwardRef<
- HTMLTableCellElement,
- React.ThHTMLAttributes<HTMLTableCellElement>
->(({ className, ...props }, ref) => (
- <th
- ref={ref}
- className={cn(
- "h-12 px-4 text-left align-middle font-medium text-gray-600 [&:has([role=checkbox])]:pr-0",
- className
- )}
- {...props}
- />
-))
-TableHead.displayName = "TableHead"
-
-const TableCell = React.forwardRef<
- HTMLTableCellElement,
- React.TdHTMLAttributes<HTMLTableCellElement>
->(({ className, ...props }, ref) => (
- <td
- ref={ref}
- className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
- {...props}
- />
-))
-TableCell.displayName = "TableCell"
-
-const TableCaption = React.forwardRef<
- HTMLTableCaptionElement,
- React.HTMLAttributes<HTMLTableCaptionElement>
->(({ className, ...props }, ref) => (
- <caption
- ref={ref}
- className={cn("mt-4 text-sm text-gray-600", className)}
- {...props}
- />
-))
-TableCaption.displayName = "TableCaption"
-
-export {
- Table,
- TableHeader,
- TableBody,
- TableFooter,
- TableHead,
- TableRow,
- TableCell,
- TableCaption,
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Components/sidebar.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/Components/sidebar.tsx
deleted file mode 100755
index be9a6060..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Components/sidebar.tsx
+++ /dev/null
@@ -1,156 +0,0 @@
-"use client"
-
-import Link from "next/link"
-import { usePathname } from "next/navigation"
-import { Home, MessageSquare, Upload, FileText, Table } from "lucide-react"
-import { cn } from "@/lib/utils"
-import { Badge } from "@/components/ui/badge"
-import { useEffect, useState } from "react"
-
-interface FileNav {
- name: string
- slug: string
- href: string
- isCSV: boolean
-}
-
-const staticNavigation = [
- { name: "Overview", href: "/", icon: Home },
- { name: "Ask", href: "/ask", icon: MessageSquare },
- { name: "Add File", href: "/add-file", icon: Upload },
-]
-
-export function Sidebar() {
- const pathname = usePathname()
- const [fileCount, setFileCount] = useState(0)
- const [files, setFiles] = useState<string[]>([])
- const [fileNavigation, setFileNavigation] = useState<FileNav[]>([])
-
- const fetchFileCount = () => {
- fetch('/api/files/count')
- .then(res => res.json())
- .then(data => {
- setFileCount(data.count)
- setFiles(data.files)
-
- // Build file navigation
- const navItems: FileNav[] = data.files.map((filename: string) => {
- const isCSV = filename.endsWith('.csv')
- const slug = filename.replace('.md', '').replace('.csv', '').replace('data/', '')
- return {
- name: slug,
- slug,
- href: `/file/${slug}`,
- isCSV
- }
- })
- setFileNavigation(navItems)
- })
- .catch(err => console.error('Failed to fetch file count:', err))
- }
-
- useEffect(() => {
- // Initial fetch
- fetchFileCount()
-
- // Listen for file upload events
- const handleFileUploaded = () => {
- fetchFileCount()
- }
-
- window.addEventListener('telosFileUploaded', handleFileUploaded)
-
- return () => {
- window.removeEventListener('telosFileUploaded', handleFileUploaded)
- }
- }, [])
-
- return (
- <div className="flex h-screen w-64 flex-col fixed left-0 top-0 bg-gradient-to-b from-[#2e7de9]/5 to-[#9854f1]/5 border-r">
- <div className="flex h-16 items-center px-6 border-b">
- <h1 className="text-2xl font-bold bg-gradient-to-r from-[#2e7de9] to-[#9854f1] bg-clip-text text-transparent">
- Personal TELOS
- </h1>
- </div>
- <nav className="flex-1 space-y-1 px-3 py-4 overflow-y-auto">
- {/* Static Navigation */}
- {staticNavigation.map((item) => {
- const isActive = pathname === item.href
- return (
- <Link
- key={item.name}
- href={item.href}
- className={cn(
- "group flex items-center px-3 py-2 text-sm font-medium rounded-lg transition-all",
- isActive
- ? "bg-[#2e7de9] text-white shadow-lg shadow-[#2e7de9]/20"
- : "text-gray-700 hover:bg-white hover:text-[#2e7de9] hover:shadow-sm"
- )}
- >
- <item.icon
- className={cn(
- "mr-3 h-5 w-5 flex-shrink-0 transition-colors",
- isActive ? "text-white" : "text-gray-500 group-hover:text-[#2e7de9]"
- )}
- />
- {item.name}
- </Link>
- )
- })}
-
- {/* Divider */}
- {fileNavigation.length > 0 && (
- <div className="border-t my-2 pt-2">
- <div className="text-xs font-semibold text-gray-500 px-3 mb-2 flex items-center justify-between">
- <span>TELOS FILES</span>
- <Badge variant="secondary" className="bg-gray-200 text-gray-700 text-[10px]">
- {fileCount}
- </Badge>
- </div>
- </div>
- )}
-
- {/* Dynamic File Navigation */}
- {fileNavigation.map((item) => {
- const isActive = pathname === item.href
- return (
- <Link
- key={item.slug}
- href={item.href}
- className={cn(
- "group flex items-center px-3 py-2 text-sm font-medium rounded-lg transition-all",
- isActive
- ? "bg-[#2e7de9] text-white shadow-lg shadow-[#2e7de9]/20"
- : "text-gray-700 hover:bg-white hover:text-[#2e7de9] hover:shadow-sm"
- )}
- >
- {item.isCSV ? (
- <Table
- className={cn(
- "mr-3 h-4 w-4 flex-shrink-0 transition-colors",
- isActive ? "text-white" : "text-[#33b579] group-hover:text-[#2e7de9]"
- )}
- />
- ) : (
- <FileText
- className={cn(
- "mr-3 h-4 w-4 flex-shrink-0 transition-colors",
- isActive ? "text-white" : "text-[#2e7de9] group-hover:text-[#2e7de9]"
- )}
- />
- )}
- <span className="truncate">{item.name}</span>
- </Link>
- )
- })}
- </nav>
-
- <div className="border-t p-3">
- <div className="text-xs text-gray-500 text-center">
- Personal Life Operating System
- <div className="mt-1 font-semibold text-[#2e7de9]">v1.0</div>
- </div>
- </div>
- </div>
- )
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/data.ts b/LifeOS/install/skills/Telos/DashboardTemplate/Lib/data.ts
deleted file mode 100755
index 9e7238b0..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/data.ts
+++ /dev/null
@@ -1,132 +0,0 @@
-// Dashboard Template Data
-// Replace this example data with your actual project data
-
-// Example metrics structure
-export const metrics = {
- timeToDetect: {
- before: 81,
- after: 9,
- unit: 'hours',
- improvement: 89,
- },
- timeToInvestigate: {
- before: 82,
- after: 14,
- unit: 'hours',
- improvement: 83,
- },
- // TODO: Add your own metrics following this pattern
-}
-
-// Example projects structure
-export const projects = [
- {
- id: 'P001',
- name: 'Example Project',
- priority: 'Critical',
- status: 'In Progress',
- completion: 65,
- budget: {
- oneTime: 100000,
- monthly: 5000,
- },
- description: 'Example project description',
- },
- // TODO: Add your projects here
-]
-
-export const budgetSummary = {
- totalOneTime: 100000,
- totalMonthly: 5000,
- // TODO: Update with your budget totals
-}
-
-// Example teams structure
-export const teams = [
- {
- id: 'T001',
- name: 'Example Team',
- lead: 'Team Lead Name',
- size: 12,
- coverage: 'Full',
- projects: ['P001'],
- // TODO: Add your team-specific fields
- },
- // TODO: Add your teams here
-]
-
-// Example vulnerabilities structure
-export const vulnerabilities = [
- {
- id: 'V001',
- title: 'Example Vulnerability',
- severity: 'Critical',
- status: 'Open',
- affectedSystem: 'System Name',
- daysOpen: 5,
- // TODO: Add your vulnerability fields
- },
- // TODO: Add your vulnerabilities here
-]
-
-export const vulnerabilitySummary = {
- total: 100,
- critical: 5,
- high: 20,
- medium: 75,
- // TODO: Update with your vulnerability counts
-}
-
-// Example progress metrics
-export const progressMetrics = [
- {
- category: 'Category Name',
- current: 75,
- target: 100,
- unit: 'units',
- trend: 'up',
- // TODO: Add your progress metrics
- },
- // TODO: Add more progress categories
-]
-
-// TypeScript interfaces for type safety (optional)
-export interface Project {
- id: string
- name: string
- priority: 'Critical' | 'High' | 'Medium' | 'Low'
- status: 'In Progress' | 'Planning' | 'Complete' | 'Not Started'
- completion: number
- budget: {
- oneTime: number
- monthly: number
- }
- description: string
- highlight?: boolean
-}
-
-export interface Team {
- id: string
- name: string
- lead: string
- size: number
- coverage: 'Full' | 'Partial' | 'None'
- projects: string[]
-}
-
-export interface Vulnerability {
- id: string
- title: string
- severity: 'Critical' | 'High' | 'Medium' | 'Low'
- status: 'Open' | 'In Progress' | 'Resolved'
- affectedSystem: string
- daysOpen: number
-}
-
-export interface ProgressMetric {
- category: string
- current: number
- target: number
- unit: string
- trend: 'up' | 'down' | 'stable'
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/telos-data.ts b/LifeOS/install/skills/Telos/DashboardTemplate/Lib/telos-data.ts
deleted file mode 100755
index a1b3d4ca..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/telos-data.ts
+++ /dev/null
@@ -1,114 +0,0 @@
-import fs from 'fs'
-import path from 'path'
-import os from 'os'
-
-export interface TelosFile {
- name: string
- filename: string
- content: string
- type: 'markdown' | 'csv'
-}
-
-const TELOS_DIR = path.join(os.homedir(), '.claude/LIFEOS/USER/TELOS')
-
-export function getAllTelosData(): TelosFile[] {
- const files: TelosFile[] = []
-
- try {
- // Scan for all .md files in TELOS directory
- if (fs.existsSync(TELOS_DIR)) {
- const dirFiles = fs.readdirSync(TELOS_DIR)
-
- for (const filename of dirFiles) {
- if (filename.endsWith('.md') && !filename.startsWith('.')) {
- try {
- const filePath = path.join(TELOS_DIR, filename)
- const stats = fs.statSync(filePath)
-
- if (stats.isFile()) {
- const content = fs.readFileSync(filePath, 'utf-8')
- files.push({
- name: filename.replace('.md', ''),
- filename,
- content,
- type: 'markdown',
- })
- }
- } catch (error) {
- console.error(`Error reading ${filename}:`, error)
- }
- }
- }
-
- // Also scan for CSV files in data subdirectory
- const dataDir = path.join(TELOS_DIR, 'data')
- if (fs.existsSync(dataDir)) {
- const csvFiles = fs.readdirSync(dataDir)
-
- for (const filename of csvFiles) {
- if (filename.endsWith('.csv') && !filename.startsWith('.')) {
- try {
- const filePath = path.join(dataDir, filename)
- const stats = fs.statSync(filePath)
-
- if (stats.isFile()) {
- const content = fs.readFileSync(filePath, 'utf-8')
- files.push({
- name: filename.replace('.csv', ''),
- filename: `data/${filename}`,
- content,
- type: 'csv',
- })
- }
- } catch (error) {
- console.error(`Error reading ${filename}:`, error)
- }
- }
- }
- }
- }
- } catch (error) {
- console.error('Error scanning TELOS directory:', error)
- }
-
- // Sort files: put core TELOS files first, then alphabetically
- const coreFiles = ['TELOS', 'MISSION', 'BELIEFS', 'WISDOM', 'GOALS', 'PROJECTS']
- files.sort((a, b) => {
- const aIsCore = coreFiles.includes(a.name)
- const bIsCore = coreFiles.includes(b.name)
-
- if (aIsCore && !bIsCore) return -1
- if (!aIsCore && bIsCore) return 1
- if (aIsCore && bIsCore) {
- return coreFiles.indexOf(a.name) - coreFiles.indexOf(b.name)
- }
- return a.name.localeCompare(b.name)
- })
-
- return files
-}
-
-export function getTelosContext(): string {
- const files = getAllTelosData()
-
- let context = "# Personal TELOS (Life Operating System)\n\n"
- context += "You have access to the complete TELOS context. Use this information to answer questions about life, goals, beliefs, projects, and wisdom.\n\n"
-
- for (const file of files) {
- context += `\n## ${file.name}\n\n`
- context += file.content
- context += '\n\n---\n\n'
- }
-
- return context
-}
-
-export function getTelosFileList(): string[] {
- const files = getAllTelosData()
- return files.map(f => f.filename)
-}
-
-export function getTelosFileCount(): number {
- const files = getAllTelosData()
- return files.length
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/utils.ts b/LifeOS/install/skills/Telos/DashboardTemplate/Lib/utils.ts
deleted file mode 100755
index d084ccad..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/Lib/utils.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { type ClassValue, clsx } from "clsx"
-import { twMerge } from "tailwind-merge"
-
-export function cn(...inputs: ClassValue[]) {
- return twMerge(clsx(inputs))
-}
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/badge.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/badge.tsx
deleted file mode 100755
index ab42eb50..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/badge.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import * as React from "react"
-import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "@/lib/utils"
-
-const badgeVariants = cva(
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2",
- {
- variants: {
- variant: {
- default:
- "border-transparent bg-gray-900 text-white hover:bg-gray-900/80",
- secondary:
- "border-transparent bg-gray-100 text-gray-900 hover:bg-gray-100/80",
- destructive:
- "border-transparent bg-[#f52a65] text-white hover:bg-[#f52a65]/80",
- success:
- "border-transparent bg-[#33b579] text-white hover:bg-[#33b579]/80",
- warning:
- "border-transparent bg-[#f0a020] text-white hover:bg-[#f0a020]/80",
- primary:
- "border-transparent bg-[#2e7de9] text-white hover:bg-[#2e7de9]/80",
- outline: "text-foreground",
- },
- },
- defaultVariants: {
- variant: "default",
- },
- }
-)
-
-export interface BadgeProps
- extends React.HTMLAttributes<HTMLDivElement>,
- VariantProps<typeof badgeVariants> {}
-
-function Badge({ className, variant, ...props }: BadgeProps) {
- return (
- <div className={cn(badgeVariants({ variant }), className)} {...props} />
- )
-}
-
-export { Badge, badgeVariants }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/button.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/button.tsx
deleted file mode 100755
index f30da12e..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/button.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import * as React from "react"
-import { Slot } from "@radix-ui/react-slot"
-import { cva, type VariantProps } from "class-variance-authority"
-import { cn } from "@/lib/utils"
-
-const buttonVariants = cva(
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
- {
- variants: {
- variant: {
- default:
- "bg-gray-900 text-white hover:bg-gray-900/90",
- destructive:
- "bg-[#f52a65] text-white hover:bg-[#f52a65]/90",
- outline:
- "border border-gray-300 bg-white hover:bg-gray-100 hover:text-gray-900",
- secondary:
- "bg-gray-100 text-gray-900 hover:bg-gray-100/80",
- ghost:
- "hover:bg-gray-100 hover:text-gray-900",
- link:
- "text-[#2e7de9] underline-offset-4 hover:underline",
- primary:
- "bg-[#2e7de9] text-white hover:bg-[#2e7de9]/90",
- success:
- "bg-[#33b579] text-white hover:bg-[#33b579]/90",
- },
- size: {
- default: "h-10 px-4 py-2",
- sm: "h-9 rounded-md px-3",
- lg: "h-11 rounded-md px-8",
- icon: "h-10 w-10",
- },
- },
- defaultVariants: {
- variant: "default",
- size: "default",
- },
- }
-)
-
-export interface ButtonProps
- extends React.ButtonHTMLAttributes<HTMLButtonElement>,
- VariantProps<typeof buttonVariants> {
- asChild?: boolean
-}
-
-const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
- ({ className, variant, size, asChild = false, ...props }, ref) => {
- const Comp = asChild ? Slot : "button"
- return (
- <Comp
- className={cn(buttonVariants({ variant, size, className }))}
- ref={ref}
- {...props}
- />
- )
- }
-)
-Button.displayName = "Button"
-
-export { Button, buttonVariants }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/card.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/card.tsx
deleted file mode 100755
index 20503440..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/card.tsx
+++ /dev/null
@@ -1,78 +0,0 @@
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-const Card = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn(
- "rounded-lg border bg-white shadow-sm",
- className
- )}
- {...props}
- />
-))
-Card.displayName = "Card"
-
-const CardHeader = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn("flex flex-col space-y-1.5 p-6", className)}
- {...props}
- />
-))
-CardHeader.displayName = "CardHeader"
-
-const CardTitle = React.forwardRef<
- HTMLHeadingElement,
- React.HTMLAttributes<HTMLHeadingElement>
->(({ className, ...props }, ref) => (
- <h3
- ref={ref}
- className={cn(
- "text-2xl font-semibold leading-none tracking-tight",
- className
- )}
- {...props}
- />
-))
-CardTitle.displayName = "CardTitle"
-
-const CardDescription = React.forwardRef<
- HTMLParagraphElement,
- React.HTMLAttributes<HTMLParagraphElement>
->(({ className, ...props }, ref) => (
- <p
- ref={ref}
- className={cn("text-sm text-gray-600", className)}
- {...props}
- />
-))
-CardDescription.displayName = "CardDescription"
-
-const CardContent = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div ref={ref} className={cn("p-6 pt-0", className)} {...props} />
-))
-CardContent.displayName = "CardContent"
-
-const CardFooter = React.forwardRef<
- HTMLDivElement,
- React.HTMLAttributes<HTMLDivElement>
->(({ className, ...props }, ref) => (
- <div
- ref={ref}
- className={cn("flex items-center p-6 pt-0", className)}
- {...props}
- />
-))
-CardFooter.displayName = "CardFooter"
-
-export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/progress.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/progress.tsx
deleted file mode 100755
index 987405c6..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/progress.tsx
+++ /dev/null
@@ -1,34 +0,0 @@
-"use client"
-
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
- value?: number
- max?: number
-}
-
-const Progress = React.forwardRef<HTMLDivElement, ProgressProps>(
- ({ className, value = 0, max = 100, ...props }, ref) => {
- const percentage = Math.min(Math.max((value / max) * 100, 0), 100)
-
- return (
- <div
- ref={ref}
- className={cn(
- "relative h-4 w-full overflow-hidden rounded-full bg-gray-200",
- className
- )}
- {...props}
- >
- <div
- className="h-full bg-[#2e7de9] transition-all duration-300 ease-in-out"
- style={{ width: `${percentage}%` }}
- />
- </div>
- )
- }
-)
-Progress.displayName = "Progress"
-
-export { Progress }
diff --git a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/table.tsx b/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/table.tsx
deleted file mode 100755
index 91d10868..00000000
--- a/LifeOS/install/skills/Telos/DashboardTemplate/components/Ui/table.tsx
+++ /dev/null
@@ -1,116 +0,0 @@
-import * as React from "react"
-import { cn } from "@/lib/utils"
-
-const Table = React.forwardRef<
- HTMLTableElement,
- React.HTMLAttributes<HTMLTableElement>
->(({ className, ...props }, ref) => (
- <div className="relative w-full overflow-auto">
- <table
- ref={ref}
- className={cn("w-full caption-bottom text-sm", className)}
- {...props}
- />
- </div>
-))
-Table.displayName = "Table"
-
-const TableHeader = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
-))
-TableHeader.displayName = "TableHeader"
-
-const TableBody = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <tbody
- ref={ref}
- className={cn("[&_tr:last-child]:border-0", className)}
- {...props}
- />
-))
-TableBody.displayName = "TableBody"
-
-const TableFooter = React.forwardRef<
- HTMLTableSectionElement,
- React.HTMLAttributes<HTMLTableSectionElement>
->(({ className, ...props }, ref) => (
- <tfoot
- ref={ref}
- className={cn(
- "border-t bg-gray-100/50 font-medium [&>tr]:last:border-b-0",
- className
- )}
- {...props}
- />
-))
-TableFooter.displayName = "TableFooter"
-
-const TableRow = React.forwardRef<
- HTMLTableRowElement,
- React.HTMLAttributes<HTMLTableRowElement>
->(({ className, ...props }, ref) => (
- <tr
- ref={ref}
- className={cn(
- "border-b transition-colors hover:bg-gray-100/50 data-[state=selected]:bg-gray-100",
- className
- )}
- {...props}
- />
-))
-TableRow.displayName = "TableRow"
-
-const TableHead = React.forwardRef<
- HTMLTableCellElement,
- React.ThHTMLAttributes<HTMLTableCellElement>
->(({ className, ...props }, ref) => (
- <th
- ref={ref}
- className={cn(
- "h-12 px-4 text-left align-middle font-medium text-gray-600 [&:has([role=checkbox])]:pr-0",
- className
- )}
- {...props}
- />
-))
-TableHead.displayName = "TableHead"
-
-const TableCell = React.forwardRef<
- HTMLTableCellElement,
- React.TdHTMLAttributes<HTMLTableCellElement>
->(({ className, ...props }, ref) => (
- <td
- ref={ref}
- className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
- {...props}
- />
-))
-TableCell.displayName = "TableCell"
-
-const TableCaption = React.forwardRef<
- HTMLTableCaptionElement,
- React.HTMLAttributes<HTMLTableCaptionElement>
->(({ className, ...props }, ref) => (
- <caption
- ref={ref}
- className={cn("mt-4 text-sm text-gray-600", className)}
- {...props}
- />
-))
-TableCaption.displayName = "TableCaption"
-
-export {
- Table,
- TableHeader,
- TableBody,
- TableFooter,
- TableHead,
- TableRow,
- TableCell,
- TableCaption,
-}
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/App/globals.css b/LifeOS/install/skills/Telos/ReportTemplate/app/globals.css
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/App/globals.css
rename to LifeOS/install/skills/Telos/ReportTemplate/app/globals.css
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/App/layout.tsx b/LifeOS/install/skills/Telos/ReportTemplate/app/layout.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/App/layout.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/app/layout.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/App/page.tsx b/LifeOS/install/skills/Telos/ReportTemplate/app/page.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/App/page.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/app/page.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/callout.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/callout.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/callout.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/callout.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/cover-page.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/cover-page.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/cover-page.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/cover-page.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/exhibit.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/exhibit.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/exhibit.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/exhibit.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/finding-card.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/finding-card.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/finding-card.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/finding-card.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/quote-block.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/quote-block.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/quote-block.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/quote-block.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/recommendation-card.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/recommendation-card.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/recommendation-card.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/recommendation-card.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/section.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/section.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/section.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/section.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/severity-badge.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/severity-badge.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/severity-badge.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/severity-badge.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Components/timeline.tsx b/LifeOS/install/skills/Telos/ReportTemplate/components/timeline.tsx
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Components/timeline.tsx
rename to LifeOS/install/skills/Telos/ReportTemplate/components/timeline.tsx
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Lib/report-data.ts b/LifeOS/install/skills/Telos/ReportTemplate/lib/report-data.ts
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Lib/report-data.ts
rename to LifeOS/install/skills/Telos/ReportTemplate/lib/report-data.ts
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Lib/utils.ts b/LifeOS/install/skills/Telos/ReportTemplate/lib/utils.ts
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Lib/utils.ts
rename to LifeOS/install/skills/Telos/ReportTemplate/lib/utils.ts
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/advocate_34_narr_reg.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/advocate_34_narr_reg.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/advocate_34_narr_reg.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/advocate_34_narr_reg.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/advocate_54_wide_reg.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/advocate_54_wide_reg.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/advocate_54_wide_reg.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/advocate_54_wide_reg.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_3_bold.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_3_bold.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_3_bold.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_3_bold.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_3_regular.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_3_regular.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_3_regular.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_3_regular.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_4_bold.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_4_bold.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_4_bold.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_4_bold.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_4_regular.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_4_regular.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/concourse_4_regular.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/concourse_4_regular.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/heliotrope_3_caps_regular.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/heliotrope_3_caps_regular.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/heliotrope_3_caps_regular.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/heliotrope_3_caps_regular.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/heliotrope_3_regular.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/heliotrope_3_regular.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/heliotrope_3_regular.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/heliotrope_3_regular.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_bold.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_bold.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_bold.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_bold.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_italic.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_italic.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_italic.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_italic.woff2
diff --git a/LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_regular.woff2 b/LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_regular.woff2
similarity index 100%
rename from LifeOS/install/skills/Telos/ReportTemplate/Public/Fonts/valkyrie_a_regular.woff2
rename to LifeOS/install/skills/Telos/ReportTemplate/public/Fonts/valkyrie_a_regular.woff2
diff --git a/README.md b/README.md
index 85b866f1..a4aaa5cc 100644
--- a/README.md
+++ b/README.md
@@ -221,10 +221,10 @@ LifeOS is built in the open, and the community's pull requests, forensic bug rep
**Matt Espinoza** — Extensive testing, ideas, and feedback, plus roadmap contributions.
**Code contributions (merged or ported PRs):**
-adamlevoy · anikinsasha · asdf8675309 · atabisz · chrisglick · christauff · erf1nd0r · HotSauceHacker · imrathion · jbmml · jnpkr · justinkatz94-glitch · ksylvan · m4nt0de4 · MarvinDontPanic · maxolasersquad · Mutdogus · neilinger · neilsoult · pybe · qozle · rpriven · salmanmkc · sauldataman · Seadubb · Spirotot · StarksLabs · thatsjet
+adamlevoy · anikinsasha · asdf8675309 · atabisz · chrisglick · christauff · erf1nd0r · HotSauceHacker · imrathion · jbmml · jnpkr · justinkatz94-glitch · ksylvan · m4nt0de4 · m8ryx · MarvinDontPanic · maxolasersquad · Mutdogus · neilinger · neilsoult · pybe · qozle · rathko · rpriven · runnerr0 · salmanmkc · sauldataman · Seadubb · Spirotot · StarksLabs · thatsjet · tzioup
**Bug reports, fresh-install forensics, and design feedback:**
-badosanjos · bnkath2o · brycemagera · catchingknives · DAESA24 · deleyva · DennisTraub · docxology · DolphusCY · donovan-sec · DonovanJonesUK · eccentricnode · fjp-veo · harryf · hjbrandt · HyggeHacker · ichoosetoaccept · infinitelyloopy-bt · JElliottMiller · jdrolls · jlacour-git · jmmarkiewicz · karlwaldman · klausagnoletti · lexilexikon · lgangitano · luccomo · MatiasBarboza · MHoroszowski · michaelaye · mygirleatsmayo · nbost130 · NodarDavituri · NorthwoodsSentinel · packetsherpa · ricklesgibson · rikitikitavi2012-debug · Riskjuggler · simeonzickert · Steffen025 · stratofax · tzioup · vanvonlj · vichong · virtualian · vpzed · waveman2020-sudo · wojteksbt · xmasyx
+badosanjos · benoitdepaire · bnkath2o · brycemagera · catchingknives · DAESA24 · deleyva · DennisTraub · docxology · DolphusCY · donovan-sec · DonovanJonesUK · eccentricnode · fjp-veo · harryf · hjbrandt · HyggeHacker · ichoosetoaccept · infinitelyloopy-bt · jacobo-ortiz · JElliottMiller · jdrolls · jlacour-git · jmmarkiewicz · karlwaldman · klausagnoletti · lexilexikon · lgangitano · loudoguno · luccomo · MatiasBarboza · MHoroszowski · michaelaye · mygirleatsmayo · nbost130 · NodarDavituri · NorthwoodsSentinel · packetsherpa · ricklesgibson · rikitikitavi2012-debug · Riskjuggler · sbusc · simeonzickert · Steffen025 · stratofax · tzioup · vanvonlj · vichong · virtualian · vpzed · waveman2020-sudo · wojteksbt · xmasyx
<sup>Refreshed with each release. If your contribution is missing, open an issue — that's a bug too.</sup>