From 4b4d7b89b99f5393899fbcd154f69bc8a9df51e2 Mon Sep 17 00:00:00 2001 From: Calvin Remsburg Date: Sat, 14 Mar 2026 05:58:39 -0500 Subject: [PATCH] =?UTF-8?q?feat!:=20rename=20source=20+=20tests=20?= =?UTF-8?q?=E2=80=94=20daystrom=20=E2=86=92=20prisma-airs-cli=20/=20airs?= =?UTF-8?q?=20(#182)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BREAKING CHANGE: CLI binary renamed from `daystrom` to `airs`. Package renamed from `@cdot65/daystrom` to `@cdot65/prisma-airs-cli`. Data directory changed from `~/.daystrom/` to `~/.prisma-airs/`. - package.json: name, bin, version 2.0.0, docker scripts, repo URL - src/cli/index.ts: .name('airs'), deprecation messages - src/config/: data dir + config paths → ~/.prisma-airs/ - src/core/loop.ts: session prefix prisma-airs-cli-*, prompt set prefix - src/report/html.ts, src/audit/report.ts: "Prisma AIRS CLI" titles - src/cli/commands/redteam.ts: help text uses `airs` command - all 7 test files updated to match new names/paths - 537 tests pass Co-Authored-By: Claude Opus 4.6 --- package.json | 16 ++++++++-------- src/audit/report.ts | 4 ++-- src/cli/commands/redteam.ts | 4 ++-- src/cli/commands/runtime.ts | 2 +- src/cli/index.ts | 4 ++-- src/config/loader.ts | 2 +- src/config/schema.ts | 4 ++-- src/core/loop.ts | 8 ++++---- src/core/types.ts | 2 +- src/index.ts | 2 +- src/report/html.ts | 4 ++-- tests/integration/loop.integration.spec.ts | 2 +- tests/unit/airs/promptsets.spec.ts | 8 ++++---- tests/unit/airs/redteam.spec.ts | 4 ++-- tests/unit/airs/scanner.spec.ts | 4 ++-- tests/unit/config/loader.spec.ts | 6 +++--- tests/unit/config/schema.spec.ts | 4 ++-- tests/unit/core/loop.spec.ts | 2 +- 18 files changed, 41 insertions(+), 41 deletions(-) diff --git a/package.json b/package.json index 5bb5513..e410b9e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "@cdot65/daystrom", + "name": "@cdot65/prisma-airs-cli", "packageManager": "pnpm@10.6.5", - "version": "1.15.0", + "version": "2.0.0", "description": "CLI and library for Palo Alto Prisma AIRS — guardrail refinement, AI red teaming, model security scanning, profile audits", "type": "module", "main": "dist/index.js", @@ -10,7 +10,7 @@ "dist" ], "bin": { - "daystrom": "dist/cli/index.js" + "airs": "dist/cli/index.js" }, "scripts": { "build": "tsc", @@ -25,10 +25,10 @@ "lint:fix": "biome check --write .", "format": "biome format --write .", "format:check": "biome format .", - "docker:build": "docker build -t daystrom:local .", - "docker:build:amd64": "docker buildx build --platform linux/amd64 --load -t daystrom:local-amd64 .", - "docker:build:arm64": "docker buildx build --platform linux/arm64 --load -t daystrom:local-arm64 .", - "docker:run": "docker run --rm -v ~/.daystrom:/root/.daystrom daystrom:local", + "docker:build": "docker build -t prisma-airs-cli:local .", + "docker:build:amd64": "docker buildx build --platform linux/amd64 --load -t prisma-airs-cli:local-amd64 .", + "docker:build:arm64": "docker buildx build --platform linux/arm64 --load -t prisma-airs-cli:local-arm64 .", + "docker:run": "docker run --rm -v ~/.prisma-airs:/root/.prisma-airs prisma-airs-cli:local", "docker:push:arm64": "./scripts/docker-push-arm64.sh" }, "engines": { @@ -36,7 +36,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/cdot65/daystrom.git" + "url": "https://github.com/cdot65/prisma-airs-cli.git" }, "license": "MIT", "dependencies": { diff --git a/src/audit/report.ts b/src/audit/report.ts index 7e2eaa1..b6b1e99 100644 --- a/src/audit/report.ts +++ b/src/audit/report.ts @@ -122,7 +122,7 @@ export function buildAuditReportHtml(result: AuditResult): string { - Daystrom Audit — ${esc(result.profileName)} + Prisma AIRS CLI Audit — ${esc(result.profileName)}