diff --git a/bin/ipal-kit.mjs b/bin/ipal-kit.mjs index ab481b4..0613987 100755 --- a/bin/ipal-kit.mjs +++ b/bin/ipal-kit.mjs @@ -3,7 +3,7 @@ // pnpm dlx @intecion/ipal-kit@ create intecion.com → a new client site (docs/project-starter.md) // pnpm exec ipal-kit create intecion.com --dir ../intecioncom-web --answers answers.json // `pnpm dlx ` runs the bin named after the package, so every subcommand lives here. -// The other tools keep their own bins: ipal-skills, ipal-blocks, ipal-tokens. +// The other tools keep their own bins: ipal-skills, ipal-blocks, ipal-tokens, ipal-doctor. import { dirname, join } from 'node:path' import { fileURLToPath, pathToFileURL } from 'node:url' @@ -11,7 +11,7 @@ import { fileURLToPath, pathToFileURL } from 'node:url' const USAGE = `Usage: ipal-kit [options] create a new client site from the reference site (ipal-kit create --help) -Other tools: ipal-skills, ipal-blocks, ipal-tokens` +Other tools: ipal-skills, ipal-blocks, ipal-tokens, ipal-doctor` const [command, ...args] = process.argv.slice(2) if (command !== 'create') { diff --git a/bin/ipal-skills.mjs b/bin/ipal-skills.mjs index 8815b6a..b4b89da 100755 --- a/bin/ipal-skills.mjs +++ b/bin/ipal-skills.mjs @@ -1,11 +1,11 @@ #!/usr/bin/env node // ipal-skills — copies the ipal-kit agent skills into the project. -// pnpm ipal-skills → ./.agents/skills/ipal-* -// pnpm ipal-skills --dry-run → show what would change -// pnpm ipal-skills --dest .claude/skills -// pnpm ipal-skills --no-pointer → skills only, leave AGENTS.md / CLAUDE.md alone -// pnpm ipal-skills --external → also the vendored third-party skills (ext-*, pinned, text only) -// pnpm ipal-skills --external ext-accessibility,ext-payload → only those +// pnpm exec ipal-skills → ./.agents/skills/ipal-* +// pnpm exec ipal-skills --dry-run → show what would change +// pnpm exec ipal-skills --dest .claude/skills +// pnpm exec ipal-skills --no-pointer → skills only, leave AGENTS.md / CLAUDE.md alone +// pnpm exec ipal-skills --external → also the vendored third-party skills (ext-*, pinned, text only) +// pnpm exec ipal-skills --external ext-accessibility,ext-payload → only those // Only folders named ipal-* are touched; the project's own skills stay as they are. // ipal-* folders that no longer exist in the package are removed (renamed/retired skills). // ext-* folders are touched only with --external, and only those carrying ipal-kit's SOURCE.md. diff --git a/src/globals/Notifications/fields.ts b/src/globals/Notifications/fields.ts index 7993526..03d25ae 100644 --- a/src/globals/Notifications/fields.ts +++ b/src/globals/Notifications/fields.ts @@ -120,7 +120,7 @@ const lightboxText = ( }) /** - * The "Lightbox" group — labels of the image viewer (). + * The "Image viewer" group (`lightbox`) — labels of the image viewer (). * Added by ipalKit `lightbox: true`; exported so a project can place it in its * own global instead. */ diff --git a/src/index.ts b/src/index.ts index cb1cc29..c423fe1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -371,7 +371,7 @@ export { buildLlmsTxt } from './modules/seo/index.js' // Site Settings → Title separator: stored name → character; SQL for the 1.14.x → GraphQL-safe values migration. export { TITLE_SEPARATORS, titleSeparatorChar, titleSeparatorSql } from './modules/seo/index.js' export type { TitleSeparatorName } from './modules/seo/index.js' -// Site Settings → Search & AI: verification codes and AI crawler rules, for custom metadata/robots routes. +// Site Settings → Search engines: verification codes and AI crawler rules, for custom metadata/robots routes. export { robotsOptionsFrom, verificationFrom } from './modules/seo/index.js' export type { AiBotRule, AiBotsPolicy, VerificationMetadata } from './modules/seo/index.js' export { buildSitemapCss, buildSitemapIndexXml, buildSitemapXml, DEFAULT_SITEMAP_CREDIT, SITEMAP_STYLE_PARAM } from './modules/seo/index.js' diff --git a/src/modules/frontend/createContentHelpers.ts b/src/modules/frontend/createContentHelpers.ts index 804662b..4a4e8f8 100644 --- a/src/modules/frontend/createContentHelpers.ts +++ b/src/modules/frontend/createContentHelpers.ts @@ -504,7 +504,7 @@ export function createContentHelpers({ const robots = (): RobotsRules => buildRobots({ ...robotsOptions, baseUrl: origin }) /** - * `robots` plus what editors set in Site Settings → Search & AI (AI bot policy + * `robots` plus what editors set in Site Settings → Search engines (AI bot policy * and per-bot exceptions), read per request. Use it instead of `robots` to * let the panel manage AI crawlers: * @@ -546,8 +546,8 @@ export function createContentHelpers({ * the strongest fix for the metadata-in-head problem (stronger than ISR alone). * * Handles automatically: - * - pages collection + content collections (with their archive prefix) - * - excludes the homepage (maps to { slug: [] } — the root) + * - the pages collection only (content-collection entries render on first request) + * - the homepage as the root ({ slug: [] }) * - excludes drafts and 404/500/system slugs * - KEEPS noindex pages (they must still render — noindex controls indexing, * not existence; skipping them would force dynamic rendering) diff --git a/src/modules/seo/buildLlmsTxt.ts b/src/modules/seo/buildLlmsTxt.ts index 3f9050b..95ccd2f 100644 --- a/src/modules/seo/buildLlmsTxt.ts +++ b/src/modules/seo/buildLlmsTxt.ts @@ -62,7 +62,7 @@ const day = (iso?: string) => (iso ? iso.slice(0, 10) : undefined) * and pages, so it can generate this automatically. * * Structure (llmstxt.org): H1 site name, a blockquote summary, the editor's - * note from Site Settings → Search & AI (when set), then — per + * note from Site Settings → Search engines (when set), then — per * language when the site has several — one list per collection (pages first, * then archive collections such as a blog) of Markdown links with descriptions. * Section names are the project's own locale and collection labels; the plugin @@ -115,7 +115,7 @@ export async function buildLlmsTxt({ const lines: string[] = [`# ${name}`, ''] if (description) {lines.push(`> ${description}`, '')} - // Site Settings → Search & AI: facts the editor wants assistants to know and quote. + // Site Settings → Search engines: facts the editor wants assistants to know and quote. const intro = llmsIntroFrom(settings) if (intro) {lines.push(intro, '')} diff --git a/src/modules/seo/buildMetadata.ts b/src/modules/seo/buildMetadata.ts index 876a68e..c976c0e 100644 --- a/src/modules/seo/buildMetadata.ts +++ b/src/modules/seo/buildMetadata.ts @@ -125,7 +125,7 @@ type BuildMetadataArgs = { siteName?: null | string /** slug per locale for this document — drives canonical + hreflang. */ slugs: LocalizedSlugs - /** Site Settings → Search & AI verification codes; rendered as tags by Next. */ + /** Site Settings → Search engines verification codes; rendered as tags by Next. */ verification?: VerificationMetadata } diff --git a/src/modules/seo/buildRobots.ts b/src/modules/seo/buildRobots.ts index 2a84f8c..c447a70 100644 --- a/src/modules/seo/buildRobots.ts +++ b/src/modules/seo/buildRobots.ts @@ -50,7 +50,7 @@ export type RobotsOptions = { /** * Per-bot exceptions that win over `aiBots` — a listed bot leaves its policy * group and gets its own allow or block. Unknown bots can be added this way. - * Site Settings → Search & AI fills it when you use `getRobots`. + * Site Settings → Search engines fills it when you use `getRobots`. */ aiBotRules?: readonly AiBotRule[] /** diff --git a/src/modules/seo/readSiteMetaConfig.ts b/src/modules/seo/readSiteMetaConfig.ts index 82e7ad6..f1fc765 100644 --- a/src/modules/seo/readSiteMetaConfig.ts +++ b/src/modules/seo/readSiteMetaConfig.ts @@ -29,7 +29,7 @@ export type SiteMetaConfig = { /** Global fallback meta description. */ siteDescription?: null | string siteName: null | string - /** Site Settings → Search & AI → verification codes (Search Console, Bing, Yandex). */ + /** Site Settings → Search engines → verification codes (Search Console, Bing, Yandex). */ verification?: VerificationMetadata } diff --git a/src/modules/seo/types.ts b/src/modules/seo/types.ts index e7abb05..189aace 100644 --- a/src/modules/seo/types.ts +++ b/src/modules/seo/types.ts @@ -37,7 +37,7 @@ export type SeoOption = { /** Optional: customize how meta titles are generated in the admin preview. */ generateTitle?: (args: { doc: Record }) => string /** - * Site Settings → "Search & AI" tab: Search Console / Bing / Yandex + * Site Settings → "Search engines" tab: Search Console / Bing / Yandex * verification, AI crawler policy for robots.txt (getRobots), llms.txt note. * On by default (empty fields change nothing); false removes the tab; a * function gets the plugin's fields and returns the tab's fields (add, drop, diff --git a/src/plugin.ts b/src/plugin.ts index b0e45ab..894c4da 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -273,7 +273,7 @@ export const ipalKit = (options: IpalOptions): Plugin => { const logoProps = { ...serverProps, ...(wl.logoField ? { imageField: wl.logoField } : {}) } const iconProps = { ...serverProps, ...(wl.iconField ? { imageField: wl.iconField } : {}) } - // Vendor credit ("Technology by Intecion.com") under the nav — on by + // Vendor credit ("Technology support: Intecion.com") under the nav — on by // default, hidden with credit:false, text/url overridable. const creditOn = wl.credit !== false && agency !== false const creditProps = { diff --git a/src/types.ts b/src/types.ts index 9f169f4..2e92eef 100644 --- a/src/types.ts +++ b/src/types.ts @@ -172,7 +172,7 @@ export type IpalOptions = { revalidatePath?: RevalidatePathFn /** - * Site Settings → "Search & AI" tab (verification codes, AI crawler policy, + * Site Settings → "Search engines" tab (verification codes, AI crawler policy, * llms.txt intro). On by default; `false` removes it; a function gets the * plugin's fields and returns the tab's fields. Works without `seo`; wins * over `seo.searchSettings`. @@ -278,7 +278,7 @@ export type IpalOptions = { whiteLabel?: | { /** - * Vendor credit ("Technology by Intecion.com") at the bottom of the + * Vendor credit ("Technology support: Intecion.com") at the bottom of the * admin nav. Default on; `false` hides it, or override text/url. */ credit?: