14
debian/changelog
vendido
Archivo normal
14
debian/changelog
vendido
Archivo normal
@@ -0,0 +1,14 @@
|
||||
debai (1.0.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
* Features:
|
||||
- AI agent management with cagent integration
|
||||
- Model management with Docker Model Runner
|
||||
- Task automation and scheduling
|
||||
- GTK4/Adwaita graphical user interface
|
||||
- Command-line interface with rich output
|
||||
- ISO, QCOW2, and Docker Compose generation
|
||||
- System resource monitoring
|
||||
- Debian packaging support
|
||||
|
||||
-- Debai Team <debai@example.com> Sat, 18 Jan 2026 12:00:00 +0000
|
||||
1
debian/compat
vendido
Archivo normal
1
debian/compat
vendido
Archivo normal
@@ -0,0 +1 @@
|
||||
13
|
||||
55
debian/control
vendido
Archivo normal
55
debian/control
vendido
Archivo normal
@@ -0,0 +1,55 @@
|
||||
Source: debai
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Debai Team <debai@example.com>
|
||||
Build-Depends: debhelper-compat (= 13),
|
||||
dh-python,
|
||||
python3-all,
|
||||
python3-setuptools,
|
||||
python3-pip,
|
||||
python3-venv
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://github.com/debai/debai
|
||||
Vcs-Git: https://github.com/debai/debai.git
|
||||
Vcs-Browser: https://github.com/debai/debai
|
||||
Rules-Requires-Root: no
|
||||
|
||||
Package: debai
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends},
|
||||
${misc:Depends},
|
||||
python3 (>= 3.10),
|
||||
python3-click,
|
||||
python3-yaml,
|
||||
python3-jinja2,
|
||||
python3-pydantic,
|
||||
python3-aiohttp,
|
||||
python3-psutil,
|
||||
python3-gi,
|
||||
gir1.2-gtk-4.0,
|
||||
gir1.2-adw-1
|
||||
Recommends: docker.io,
|
||||
qemu-utils,
|
||||
genisoimage
|
||||
Suggests: qemu-system-x86
|
||||
Description: AI Agent Management System for GNU/Linux
|
||||
Debai is a comprehensive application for generating and managing AI agents
|
||||
that automate system tasks like package updates, application configuration,
|
||||
and resource management.
|
||||
.
|
||||
Features:
|
||||
- Local AI models via Docker Model Runner
|
||||
- Local agents via cagent
|
||||
- Interactive CLI and GTK GUI
|
||||
- ISO, QCOW2, and Docker Compose generation
|
||||
- Automated system management
|
||||
|
||||
Package: debai-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}
|
||||
Description: AI Agent Management System - documentation
|
||||
Debai is a comprehensive application for generating and managing AI agents
|
||||
that automate system tasks.
|
||||
.
|
||||
This package contains the documentation.
|
||||
29
debian/copyright
vendido
Archivo normal
29
debian/copyright
vendido
Archivo normal
@@ -0,0 +1,29 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: debai
|
||||
Upstream-Contact: Debai Team <debai@example.com>
|
||||
Source: https://github.com/debai/debai
|
||||
|
||||
Files: *
|
||||
Copyright: 2025-2026 Debai Team
|
||||
License: GPL-3+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2025-2026 Debai Team
|
||||
License: GPL-3+
|
||||
|
||||
License: GPL-3+
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
3
debian/debai.dirs
vendido
Archivo normal
3
debian/debai.dirs
vendido
Archivo normal
@@ -0,0 +1,3 @@
|
||||
etc/debai
|
||||
var/lib/debai
|
||||
var/log/debai
|
||||
1
debian/debai.manpages
vendido
Archivo normal
1
debian/debai.manpages
vendido
Archivo normal
@@ -0,0 +1 @@
|
||||
debian/tmp/man/debai.1 usr/share/man/man1/
|
||||
33
debian/debai.postinst
vendido
Archivo normal
33
debian/debai.postinst
vendido
Archivo normal
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# Create debai system user if not exists
|
||||
if ! getent passwd debai > /dev/null; then
|
||||
adduser --system --group --home /var/lib/debai \
|
||||
--no-create-home --disabled-password \
|
||||
--gecos "Debai AI Agent System" debai
|
||||
fi
|
||||
|
||||
# Add debai user to docker group
|
||||
if getent group docker > /dev/null; then
|
||||
usermod -aG docker debai || true
|
||||
fi
|
||||
|
||||
# Set permissions
|
||||
chown -R debai:debai /var/lib/debai
|
||||
chown -R debai:debai /var/log/debai
|
||||
chmod 750 /var/lib/debai
|
||||
chmod 750 /var/log/debai
|
||||
|
||||
# Initialize configuration if not exists
|
||||
if [ ! -f /etc/debai/config.yaml ]; then
|
||||
debai init --system 2>/dev/null || true
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
33
debian/debai.postrm
vendido
Archivo normal
33
debian/debai.postrm
vendido
Archivo normal
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
# Remove debai user
|
||||
if getent passwd debai > /dev/null; then
|
||||
deluser --quiet --system debai || true
|
||||
fi
|
||||
|
||||
# Remove debai group
|
||||
if getent group debai > /dev/null; then
|
||||
delgroup --quiet --system debai || true
|
||||
fi
|
||||
|
||||
# Remove data directories
|
||||
rm -rf /var/lib/debai
|
||||
rm -rf /var/log/debai
|
||||
rm -rf /etc/debai
|
||||
;;
|
||||
|
||||
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postrm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
40
debian/rules
vendido
Archivo ejecutable
40
debian/rules
vendido
Archivo ejecutable
@@ -0,0 +1,40 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export DH_VERBOSE = 1
|
||||
export PYBUILD_NAME = debai
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_auto_build:
|
||||
dh_auto_build
|
||||
# Build man pages
|
||||
mkdir -p debian/tmp/man
|
||||
help2man --no-info --name="AI Agent Management System" \
|
||||
--output=debian/tmp/man/debai.1 \
|
||||
./src/debai/cli/main.py || true
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
# Install systemd service
|
||||
install -D -m 644 data/systemd/debai.service \
|
||||
debian/debai/lib/systemd/system/debai.service
|
||||
# Install desktop file
|
||||
install -D -m 644 data/applications/debai.desktop \
|
||||
debian/debai/usr/share/applications/debai.desktop
|
||||
# Install icons
|
||||
install -D -m 644 data/icons/hicolor/scalable/apps/debai.svg \
|
||||
debian/debai/usr/share/icons/hicolor/scalable/apps/debai.svg
|
||||
# Install default configuration
|
||||
install -D -m 644 data/config/debai.yaml \
|
||||
debian/debai/etc/debai/config.yaml
|
||||
|
||||
override_dh_installman:
|
||||
dh_installman debian/tmp/man/*.1 || true
|
||||
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --name=debai
|
||||
|
||||
override_dh_auto_test:
|
||||
# Skip tests during package build
|
||||
true
|
||||
1
debian/source/format
vendido
Archivo normal
1
debian/source/format
vendido
Archivo normal
@@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
Referencia en una nueva incidencia
Block a user