ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/thatdeveloperguy-website / tools/kits.ts

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/thatdeveloperguy-website / tools/kits.ts
DateNot specified in source
RepositoryJanady13/thatdeveloperguy-website
Revision2bea2ebdff0e34494bff597d4fa9c8422a0c3a94
Branchmain
Path or archive membertools/kits.ts
Original SHA-256f103eacacb434e186d15147033374a45b511bc98cf81e8bd8df67a7b93b57bb1
Git blob SHA4b22bc0cfb00009ca48ceed6e7f0d938900ae2fc
Reading-copy SHA-256f103eacacb434e186d15147033374a45b511bc98cf81e8bd8df67a7b93b57bb1

Original source ↗

Recovered source transcript

import { readFileSync } from 'node:fs'; import { resolve } from 'node:path'; import { fileURLToPath } from 'node:url'; export type RoomId = 'lobby' | 'it-services' | 'government' | 'cybersecurity'; export interface KitEntry { dir: string; svg: string; manifest: string; hotspots: string; pivots: string; preview: string } export interface KitsConfig { root: string; package: string; canvas: { width: number; height: number }; rooms: Record<RoomId, KitEntry> } export interface RoomKit { room: RoomId; dir: string; svg: string; manifest: string; hotspots: string; pivots: string; preview: string } export const repoRoot = fileURLToPath(new URL('..', import.meta.url)); export const ROOM_IDS: RoomId[] = ['lobby', 'it-services', 'government', 'cybersecurity']; export function loadKits(): KitsConfig { return JSON.parse(readFileSync(resolve(repoRoot, 'creative-source/kits.config.json'), 'utf8')) as KitsConfig; } /** Absolute paths for one room's files in the v3 vector package. The package directory is read-only input. */ export function resolveRoom(room: RoomId, kits: KitsConfig = loadKits()): RoomKit { const entry = kits.rooms[room]; if (!entry) throw new Error(`Unknown room ${room}`); const dir = resolve(kits.root, entry.dir); return { room, dir, svg: resolve(dir, entry.svg), manifest: resolve(dir, entry.manifest), hotspots: resolve(dir, entry.hotspots), pivots: resolve(dir, entry.pivots), preview: resolve(dir, entry.preview) }; }

Search equations, builds, manuscript text, and recovered sources.