refactor(#2464): rename hive-ag3nt crate to hive-agent, collapse lib into main
This commit is contained in:
parent
7b54e7aa50
commit
3f1643c594
57 changed files with 101 additions and 130 deletions
|
|
@ -19,16 +19,16 @@
|
|||
stdenv.mkDerivation {
|
||||
pname = "hyperhive-assets";
|
||||
version = "0.1.0";
|
||||
# Narrow `srcs` (branding/ + hive-ag3nt/prompts/) is what decouples
|
||||
# Narrow `srcs` (branding/ + hive-agent/prompts/) is what decouples
|
||||
# this derivation's input hash from the rest of the tree.
|
||||
srcs = [
|
||||
../../branding
|
||||
../../hive-ag3nt/prompts
|
||||
../../hive-agent/prompts
|
||||
];
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
cp -r ${../../branding} branding
|
||||
cp -r ${../../hive-ag3nt/prompts} prompts
|
||||
cp -r ${../../hive-agent/prompts} prompts
|
||||
chmod -R u+w branding prompts
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ let
|
|||
#
|
||||
# Tests are kept in the separate `checks.cargo-test` derivation
|
||||
# (carries the hyperhive-assets build input for the prompt-template
|
||||
# assertions in hive-ag3nt::prompt::tests). Keeping them out of this
|
||||
# assertions in hive-agent::prompt::tests). Keeping them out of this
|
||||
# derivation means a prompt edit doesn't bust the cargo cache.
|
||||
workspaceBuild = craneLib.buildPackage {
|
||||
src = cleanSrc;
|
||||
|
|
@ -160,7 +160,7 @@ in
|
|||
# `preBuildAgentTemplates` option on the hive-c0re module —
|
||||
# see nix/host-modules/hive-c0re.nix). Speeds up the first agent
|
||||
# spawn dramatically because the heavy lifting (nixpkgs +
|
||||
# claude-code + hive-ag3nt binary) is already in the store
|
||||
# claude-code + hive-agent binary) is already in the store
|
||||
# when the meta evaluator goes to build the container.
|
||||
#
|
||||
# nixosConfigurations are pinned to x86_64-linux (nixos-
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
# $out/share/icons/hicolor/<N>x<N>/apps/hyperhive.png (N = 16,32,48,64,128,256)
|
||||
# $out/share/pixmaps/hyperhive.png (48px fallback)
|
||||
# $out/share/applications/hive-c0re.desktop
|
||||
# $out/share/applications/hive-ag3nt.desktop
|
||||
# $out/share/applications/hive-agent.desktop
|
||||
stdenv.mkDerivation {
|
||||
pname = "hive-xdg-icons";
|
||||
version = "0.1.0";
|
||||
|
|
@ -62,11 +62,11 @@ stdenv.mkDerivation {
|
|||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
EOF
|
||||
cat > "$out/share/applications/hive-ag3nt.desktop" <<EOF
|
||||
cat > "$out/share/applications/hive-agent.desktop" <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=hyperhive agent
|
||||
GenericName=hive-ag3nt
|
||||
GenericName=hive-agent
|
||||
Comment=hyperhive per-agent harness (claude turn loop + MCP server)
|
||||
Exec=hive serve
|
||||
Icon=hyperhive
|
||||
|
|
|
|||
Loading…
Reference in a new issue