Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export async function runInit(
]);

logger.info(` ${format.dim("Files:")} .affitor/config.json · .env · AGENTS.md · .env.example`);
logger.info(` ${format.dim("Docs:")} https://docs.affitor.com/advertisers/tracking`);
logger.info(` ${format.dim("Docs:")} https://affitor.com/docs/brand/tracking/tracking-overview`);
logger.newline();
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export function writeSkillsFile(

> This file is auto-generated by \`npx affitor init\`.
> It is readable by Claude Code, Cursor, GitHub Copilot, Windsurf, Aider, and any AI coding tool that supports AGENTS.md.
> Docs: https://docs.affitor.com
> Docs: https://affitor.com/docs

## Project Context

Expand Down
6 changes: 3 additions & 3 deletions packages/cli/tests/api-client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ROTATION_WARNING = {
message: "This API key must be replaced by 2026-10-03.",
hint: "Create a new key in Affitor → Settings → API Key, then update AFFITOR_API_KEY on your server.",
rotate_by: "2026-10-03T00:00:00Z",
docs_url: "https://docs.affitor.com/api-reference/errors#api_key_rotation_required",
docs_url: "https://affitor.com/docs/api-reference/errors#api_key_rotation_required",
};

/** A fresh client, the way each command run builds exactly one. */
Expand All @@ -81,7 +81,7 @@ const ROTATION_ERROR = {
code: "api_key_rotation_required",
message: "This API key was retired on 2026-10-03.",
hint: "Create a new key in Affitor → Settings → API Key.",
docs_url: "https://docs.affitor.com/api-reference/errors#api_key_rotation_required",
docs_url: "https://affitor.com/docs/api-reference/errors#api_key_rotation_required",
},
};

Expand Down Expand Up @@ -234,7 +234,7 @@ describe("AffitorAPI key-rotation signal", () => {
// 401 after the deadline — where the body is a bare error envelope and `warnings[]`
// is gone. They are the only rotation signal left in that case (W37-1362).
const ROTATION_DOCS_URL =
"https://docs.affitor.com/api-reference/errors#api_key_rotation_required";
"https://affitor.com/docs/api-reference/errors#api_key_rotation_required";
const ROTATION_HEADERS = {
Deprecation: "@1790035200",
Sunset: "Sat, 03 Oct 2026 00:00:00 GMT",
Expand Down
Loading