From e9693a1d6a935b2b85aca547b1f982446472bef8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 19 Nov 2026 21:05:34 +0000 Subject: [PATCH] Delete t3code (ct) after migration to ProxmoxVE --- ct/t3code.sh | 74 --------------------------------------- install/t3code-install.sh | 65 ---------------------------------- json/t3code.json | 54 ---------------------------- 3 files changed, 193 deletions(-) delete mode 100644 ct/t3code.sh delete mode 100644 install/t3code-install.sh delete mode 100644 json/t3code.json diff --git a/ct/t3code.sh b/ct/t3code.sh deleted file mode 100644 index f65020e66a..0000000000 --- a/ct/t3code.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -# Engine comes from community-scripts/core; this repo only ships the scripts. -# A local core checkout wins (COMMUNITY_SCRIPTS_CORE_DIR, else a sibling ../core), -# so a fork or branch of core can be tested without editing this file. -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: lukdz -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/pingdotgg/t3code - -APP="T3Code" -var_tags="${var_tags:-ai;dev-tools}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" -var_disk="${var_disk:-10}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" -var_testurl="${var_testurl:-https://github.com/community-scripts/DevScripts/issues/2294}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if ! command -v t3 >/dev/null 2>&1; then - msg_error "No ${APP} Installation Found!" - exit - fi - - msg_info "Stopping Service" - systemctl stop t3code - msg_ok "Stopped Service" - - msg_info "Updating T3 Code" - $STD npm install -g t3@latest - msg_ok "Updated T3 Code" - - msg_info "Configuring T3 Code Service" - mkdir -p /etc/systemd/system/t3code.service.d - cat </etc/systemd/system/t3code.service.d/claude.conf -[Service] -# Allow Claude Full access mode as root inside the LXC. -Environment=IS_SANDBOX=1 -EOF - systemctl daemon-reload - msg_ok "Configured T3 Code Service" - - msg_info "Starting Service" - systemctl start t3code - msg_ok "Started Service" - msg_ok "Updated successfully!" - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Pair a device using the QR code or URL below:${CL}" -pct exec "$CTID" -- env NODE_NO_WARNINGS=1 t3 pair --base-dir /opt/t3code --ttl 1h | grep -v "127.0.0.1" -echo -e "" -echo -e "${INFO}${YW}The pairing URL above expires after 1 hour. Generate a fresh one from the Proxmox host:${CL}" -echo -e "${TAB}${BGN}pct exec ${CTID} -- t3 pair --base-dir /opt/t3code${CL}" diff --git a/install/t3code-install.sh b/install/t3code-install.sh deleted file mode 100644 index b37afc415a..0000000000 --- a/install/t3code-install.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: lukdz -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/pingdotgg/t3code - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y \ - git \ - build-essential \ - bubblewrap -msg_ok "Installed Dependencies" - -NODE_VERSION="24" setup_nodejs - -msg_info "Installing T3 Code and Provider CLIs" -$STD npm install -g \ - t3 \ - @openai/codex \ - @anthropic-ai/claude-code \ - @xai-official/grok \ - opencode-ai -msg_ok "Installed T3 Code and Provider CLIs" - -fetch_and_deploy_gh_release "gh" "cli/cli" "binary" - -msg_info "Creating Service" -mkdir -p /opt/t3code -cat </etc/systemd/system/t3code.service -[Unit] -Description=T3 Code Server -Wants=network-online.target -After=network-online.target - -[Service] -Type=simple -User=root -Environment=PATH=/usr/local/bin:/usr/bin:/bin -Environment=T3CODE_TELEMETRY_ENABLED=false -# Allow Claude Full access mode as root inside the LXC. -Environment=IS_SANDBOX=1 -WorkingDirectory=/opt/t3code -ExecStart=/usr/bin/t3 serve --host 0.0.0.0 --base-dir /opt/t3code -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now t3code -sleep 5 -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/t3code.json b/json/t3code.json deleted file mode 100644 index 57c3fd4831..0000000000 --- a/json/t3code.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "T3 Code", - "slug": "t3code", - "categories": [ - 20 - ], - "date_created": "2026-08-23", - "type": "ct", - "platforms": ["pve"], - "updateable": true, - "privileged": false, - "interface_port": 3773, - "documentation": "https://github.com/pingdotgg/t3code/tree/main/docs", - "website": "https://t3.codes", - "repository": "https://github.com/pingdotgg/t3code", - "architectures": [ - "amd64", - "arm64" - ], - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/t3code.webp", - "description": "T3 Code is a web and desktop control surface for running coding agents on your machine.", - "install_methods": [ - { - "type": "default", - "script": "ct/t3code.sh", - "config_path": "/opt/t3code/userdata/settings.json", - "resources": { - "cpu": 2, - "ram": 4096, - "hdd": 10, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "Log in to the provider CLIs (Codex, Claude, Grok, OpenCode, GitHub) inside the container before using them in T3 Code.", - "type": "info" - }, - { - "text": "Agents run as root with Claude's Full access mode allowed, so they can change anything in the container and in writable bind mounts. Keep the container unprivileged and do not mount sensitive host paths.", - "type": "warning" - }, - { - "text": "The pairing URL shown after the install expires after an hour. Get a new one with pct exec -- t3 pair --base-dir /opt/t3code.", - "type": "info" - } - ] -}