@astrofoundry/pi-astro 0.20.0 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/agents/backup.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: backup
3
- description: Operates the homelab backup layers through the backup tool: vzdump guest archives, the shared Restic repository (host config and Arcane app backups), the GCS offsite copy, and restore tests. Use for backup status, missed runs, snapshot lookups, restore checks, and manual backup runs.
3
+ description: Operates the homelab backup layers through the backup tool, covering vzdump guest archives, the shared Restic repository (host config and Arcane app backups), the GCS offsite copy, and restore tests. Use for backup status, missed runs, snapshot lookups, restore checks, and manual backup runs.
4
4
  tools: read, backup, subagent
5
5
  skills: backup
6
6
  systemPromptMode: replace
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: inference
3
- description: Operates the AI serving hosts through the inference tool: llama.cpp embeddings and reranking on Nexus, the Hermes agent gateways on LXC 101 including upstream-release review and upgrades, and the Europa health check. Use for inference health, restarts, logs, and Hermes upgrades.
3
+ description: Operates the AI serving hosts through the inference tool, covering llama.cpp embeddings and reranking on Nexus, the Hermes agent gateways on LXC 101 including upstream-release review and upgrades, and the Europa health check. Use for inference health, restarts, logs, and Hermes upgrades.
4
4
  tools: read, inference, subagent
5
5
  skills: inference
6
6
  systemPromptMode: replace
package/agents/proxmox.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: proxmox
3
- description: Operates Proxmox VE on Pulsar through the proxmox tool: guest inventory and status, start, shutdown, reboot, stop, snapshots, CPU, memory, and option changes, host status, tasks, and fixed reads inside guests. Use for VM and container questions and lifecycle operations.
3
+ description: Operates Proxmox VE on Pulsar through the proxmox tool, covering guest inventory and status, start, shutdown, reboot, stop, snapshots, CPU, memory, and option changes, host status, tasks, and fixed reads inside guests. Use for VM and container questions and lifecycle operations.
4
4
  tools: read, proxmox, subagent
5
5
  skills: proxmox
6
6
  systemPromptMode: replace
@@ -1,4 +1,4 @@
1
- import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
1
+ import { mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
2
2
  import { tmpdir } from "node:os";
3
3
  import { join } from "node:path";
4
4
  import { afterEach, beforeEach, describe, expect, it } from "vitest";
@@ -107,3 +107,16 @@ describe("discovery", () => {
107
107
  expect(missing).toEqual(["nope"]);
108
108
  });
109
109
  });
110
+
111
+ describe("bundled agent files", () => {
112
+ it("every agents/*.md parses and declares a specialist-safe front matter", () => {
113
+ const dir = join(import.meta.dirname, "..", "..", "agents");
114
+ const files = readdirSync(dir).filter((f) => f.endsWith(".md"));
115
+ expect(files.length).toBeGreaterThan(0);
116
+ for (const file of files) {
117
+ const agent = parseAgentFile(readFileSync(join(dir, file), "utf-8"), join(dir, file), "bundled");
118
+ expect(agent, file).not.toBeNull();
119
+ expect(agent?.name, file).toBe(`astro.${file.replace(/\.md$/, "")}`);
120
+ }
121
+ });
122
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrofoundry/pi-astro",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
4
4
  "description": "Personal pi customizations (extensions, subagents, skills, prompts, themes) for the pi coding agent.",
5
5
  "keywords": [
6
6
  "pi-package"