v0.4.1 : Phase 1 complete (17/17) - dashboard TUI (#33), favoris/notes/tags (#39), profils d'environnement (#40), completions dynamiques + man pages (#41), packaging officiel + CI (#42), self-update Gitea, state v3, 212 tests
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
# Builds an am_<version>_amd64.deb from dist/am-linux-x86_64.
|
||||
# Usage: packaging/deb/make-deb.sh <version> [arch]
|
||||
set -e
|
||||
VERSION="$1"
|
||||
ARCH="${2:-amd64}"
|
||||
ROOT="$(mktemp -d)"
|
||||
PKG="am_${VERSION}_${ARCH}"
|
||||
|
||||
mkdir -p "$ROOT/$PKG/usr/bin" "$ROOT/$PKG/usr/share/doc/am" "$ROOT/$PKG/DEBIAN"
|
||||
cp dist/am-linux-x86_64 "$ROOT/$PKG/usr/bin/am"
|
||||
chmod 755 "$ROOT/$PKG/usr/bin/am"
|
||||
|
||||
cat > "$ROOT/$PKG/DEBIAN/control" <<EOF
|
||||
Package: am
|
||||
Version: $VERSION
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: $ARCH
|
||||
Maintainer: bruno <[email protected]>
|
||||
Description: Manage local AI coding agents
|
||||
List, install, start, stop and update local AI coding agents with
|
||||
automatic dependency handling and a YAML-driven catalog.
|
||||
EOF
|
||||
|
||||
cat > "$ROOT/$PKG/usr/share/doc/am/copyright" <<EOF
|
||||
Copyright (c) 2026 bruno
|
||||
License: MIT
|
||||
EOF
|
||||
|
||||
dpkg-deb --build --root-owner-group "$ROOT/$PKG" "dist/$PKG.deb"
|
||||
rm -rf "$ROOT"
|
||||
echo "built dist/$PKG.deb"
|
||||
@@ -0,0 +1,36 @@
|
||||
# Homebrew formula - pour un tap local, ou a soumettre a homebrew/core.
|
||||
# Rendu : scripts/render-manifests.ps1 (remplace {{VERSION}} et les sha256).
|
||||
class Am < Formula
|
||||
desc "Manage local AI coding agents: list, install, start, stop, update"
|
||||
homepage "https://git.dracodev.net/Projets/agent-manager"
|
||||
license "MIT"
|
||||
version "{{VERSION}}"
|
||||
|
||||
on_macos do
|
||||
if Hardware::CPU.arm?
|
||||
url "https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-macos-aarch64.tar.gz"
|
||||
sha256 "{{SHA256_MACOS_AARCH64}}"
|
||||
else
|
||||
url "https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-macos-x86_64.tar.gz"
|
||||
sha256 "{{SHA256_MACOS_X86_64}}"
|
||||
end
|
||||
end
|
||||
|
||||
on_linux do
|
||||
if Hardware::CPU.arm?
|
||||
url "https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-linux-aarch64.tar.gz"
|
||||
sha256 "{{SHA256_LINUX_AARCH64}}"
|
||||
else
|
||||
url "https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-linux-x86_64.tar.gz"
|
||||
sha256 "{{SHA256_LINUX_X86_64}}"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
bin.install "am"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"am", "version"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,26 @@
|
||||
# RPM spec - build avec: rpmbuild -bb packaging/rpm/am.spec
|
||||
# (rendu par scripts/render-manifests.ps1: %%{VERSION} -> version)
|
||||
Name: am
|
||||
Version: {{VERSION}}
|
||||
Release: 1%{?dist}
|
||||
Summary: Manage local AI coding agents
|
||||
License: MIT
|
||||
URL: https://git.dracodev.net/Projets/agent-manager
|
||||
Source0: am-linux-x86_64.tar.gz
|
||||
|
||||
%description
|
||||
am lists, installs, starts, stops and updates local AI coding agents
|
||||
(Claude Code, Codex, Aider, ...) with automatic dependency handling and a
|
||||
YAML-driven catalog.
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
tar -xzf %{SOURCE0}
|
||||
|
||||
%install
|
||||
install -Dm755 am %{buildroot}%{_bindir}/am
|
||||
|
||||
%files
|
||||
%{_bindir}/am
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": "{{VERSION}}",
|
||||
"description": "Manage local AI coding agents: list, install, start, stop, update - with automatic dependency handling and a YAML-driven catalog.",
|
||||
"homepage": "https://git.dracodev.net/Projets/agent-manager",
|
||||
"license": "MIT",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-windows-x86_64.zip",
|
||||
"hash": "{{SHA256_WINDOWS}}"
|
||||
}
|
||||
},
|
||||
"bin": "am.exe",
|
||||
"checkver": {
|
||||
"url": "https://git.dracodev.net/api/v1/repos/Projets/agent-manager/releases/latest",
|
||||
"regex": "tag_name\":\s*\"v([\d.]+)\""
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "https://git.dracodev.net/Projets/agent-manager/releases/download/v$version/am-windows-x86_64.zip"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
# Winget manifest (version 1.6) - submit to microsoft/winget-pkgs
|
||||
# Rendering: scripts/render-manifests.ps1
|
||||
PackageIdentifier: BrunoDracodev.AgentManager
|
||||
PackageVersion: {{VERSION}}
|
||||
MinimumOSVersion: 10.0.0.0
|
||||
InstallerType: zip
|
||||
Installers:
|
||||
- Architecture: x64
|
||||
InstallerUrl: https://git.dracodev.net/Projets/agent-manager/releases/download/v{{VERSION}}/am-windows-x86_64.zip
|
||||
InstallerSha256: {{SHA256_WINDOWS}}
|
||||
NestedInstallerType: portable
|
||||
NestedInstallerFiles:
|
||||
- RelativeFilePath: am.exe
|
||||
PortableCommandAlias: am
|
||||
ManifestType: installer
|
||||
ManifestVersion: 1.6.0
|
||||
@@ -0,0 +1,18 @@
|
||||
# Winget locale manifest - submit to microsoft/winget-pkgs
|
||||
PackageIdentifier: BrunoDracodev.AgentManager
|
||||
PackageVersion: {{VERSION}}
|
||||
PackageLocale: en-US
|
||||
Publisher: bruno (dracodev)
|
||||
PackageName: agent-manager (am)
|
||||
PackageUrl: https://git.dracodev.net/Projets/agent-manager
|
||||
License: MIT
|
||||
ShortDescription: Manage local AI coding agents - list, install, start, stop, update - with automatic dependency handling.
|
||||
Moniker: am
|
||||
Tags:
|
||||
- agent
|
||||
- claude
|
||||
- cli
|
||||
- coding
|
||||
- llm
|
||||
ManifestType: defaultLocale
|
||||
ManifestVersion: 1.6.0
|
||||
@@ -0,0 +1,6 @@
|
||||
# Winget version manifest - submit to microsoft/winget-pkgs
|
||||
PackageIdentifier: BrunoDracodev.AgentManager
|
||||
PackageVersion: {{VERSION}}
|
||||
DefaultLocale: en-US
|
||||
ManifestType: version
|
||||
ManifestVersion: 1.6.0
|
||||
Reference in New Issue
Block a user