CustomOS CustomOS3.1 OBSIDIAN
FIREWALL VERITY VPN OFF
साइन इनखाते
CustomOS Code · customos
एक्सप्लोरर
CUSTOMOS
iso
build-full-iso.sh
third-party.lock
scripts/security
customos-uki.sh
customos-verity-block.sh
customos-ai.sh
tests/security
test_ide.sh
docs
themes
733cmd_rollback() {
734    need_root rollback
735    out_dir="$CUSTOMOS_VB_DIR"
736    img=$(img_of "$out_dir"); hashdev=$(hash_of "$out_dir"); rhfile=$(rh_of "$out_dir")
737    [ -f "$img.prev" ] && [ -f "$hashdev.prev" ] && [ -f "$rhfile.prev" ] \
738        || die "no complete previous slot in $out_dir -- nothing to roll back to"
739    # Swap current <-> prev file by file (rename only). If the current slot is
740    # incomplete (an interrupted rebuild), prev simply becomes current.
741    for _f in "$img" "$hashdev" "$rhfile"; do
742        if [ -f "$_f" ]; then
743            mv -f "$_f" "$_f.swap.$$"       || die "could not stage $_f for the swap"
744            mv -f "$_f.prev" "$_f"          || die "could not promote $_f.prev"
745            mv -f "$_f.swap.$$" "$_f.prev"  || die "could not demote the old $_f"
746        else
747            mv -f "$_f.prev" "$_f"          || die "could not promote $_f.prev"
748        fi
749    done
TERMINALCLAUDE CODECOPILOT CLIOLLAMABASH
❯ claude ╭ Claude Code 2.1 · repo customos (master) ╮ > explain why rollback must restore the dpkg database too /var/lib/dpkg lives outside /usr, so a slot swap alone leaves dpkg listing packages whose files are gone — restore_dpkg_db() fixes that. (उदाहरण सत्र — Claude Code फक्त customos-ai install claude नंतरच इन्स्टॉल होतो)
masterLn 742, Col 9 · UTF-8 · LF · Shell ScriptObsidian · टेलिमेट्री बंद · अपडेट्स customos-update द्वारे
AI सहाय्यक
स्पष्ट ऑप्ट-इननंतरची उदाहरण स्थिती. नवीन इन्स्टॉलमध्ये असे काही नसते.
Claude Code
CLI 2.1.288 · कोड मशीनबाहेर जातो
Copilot CLI
इन्स्टॉल केलेले नाही · customos-ai install copilot
Ollama
127.0.0.1:11434 · स्थानिकच राहते
Continue
→ स्थानिक Ollama · Apache-2.0
Claude आणि Copilot कोड तृतीय-पक्ष सेवांकडे पाठवतात. फक्त Ollama याच मशीनवर राहते. Copilot फक्त CLI आहे: Open VSX वर Copilot चे एक्सटेंशन नाही.
एक्सटेंशन्स
Obsidian themeअंतर्भूत · themes/obsidian.css पासून तयार
ContinueOpen VSX · पिन केलेली आवृत्ती
ClineOpen VSX · पिन केलेली आवृत्ती
Claude Codeप्रोप्रायटरी · अटी आधी दाखवल्या जातात व स्वीकारल्या जातात
एक्सटेंशन्स सँडबॉक्सशिवाय तुमच्या अधिकारांसह चालतात. Open VSX ची छाननी Debian सारखी होत नाही (§2.20).
customos-ai install
$ customos-ai install all (first login, after your explicit [y/N]) [ OK ] codium 1.135.06055 — pinned in iso/third-party.lock, sha256 verified at build time; its apt repo removed (customos-update owns updates) [ OK ] Claude Code 2.1.288 (native binary, sha256 OK) · Anthropic terms shown and accepted [ OK ] ollama 0.35.1 (GitHub release, sha256 OK) · bound to 127.0.0.1 only · no model downloaded: run ollama pull qwen2.5-coder:7b [ OK ] Continue → http://127.0.0.1:11434 · telemetry off · theme Obsidian · font JetBrains Mono [ -- ] Copilot CLI skipped (needs a GitHub account; install later: customos-ai install copilot) (sample run)
डेमो मोड · कायमस्वरूपी साठवण नाही · फक्त-वाचनीय सँडबॉक्स · प्रत्यक्ष कृती नाहीत · © Copyright Ferran Suils