Update the `@azure-tools/openai-typespec` package that supplies OpenAI TypeSpec definitions and views used by this repo. WHEN: "update OpenAI TypeSpec definitions", "bump openai-typespec", "refresh OpenAI TypeSpec models/views", "upgrade @azure-tools/openai-typespec". DO NOT USE FOR: general `.tsp` authoring, changing service APIs, or SDK generation. ALWAYS install with `npm i @azure-tools/openai-typespec --save-exact` (or `npm i @azure-tools/openai-typespec@<version> --save-exact`). WARN the user if the dependency version spec contains a caret (`^`).
Use this skill when the task is specifically about updating the
@azure-tools/openai-typespec dependency that provides imported OpenAI
models and views consumed from tspconfig.yaml files in this repo.
package.json.tspconfig.yaml files,
such as:
@azure-tools/openai-typespec/models/...@azure-tools/openai-typespec/views/client-emitters/...min-release-age=7 in
the global npm config at C:\nvm4w\nodejs\etc\npmrc. This blocks
same-day package versions unless the lock file already pins them.Always install the dependency with an exact version:
npm i @azure-tools/openai-typespec --save-exactIf the user asks for a specific version, pin that exact version:
npm i @azure-tools/openai-typespec@<version> --save-exactDo not use a caret range. Exact pins prevent accidental drift in the OpenAI definition package.
package.json.npm i @azure-tools/openai-typespec --save-exact (or append @<version> if
the user specified a version).
No matching version found for @azure-tools/openai-typespec@1.21.1 with a date before 2026-06-30, 10:37:15 a.m., check npm config get min-release-age
and the global npm config path with npm config get globalconfig.--min-release-age=0,
for example:
npm i @azure-tools/openai-typespec@<version> --save-exact --min-release-age=0package.json.
^), warn the user that
the package is not pinned exactly and should be changed to an exact
version.package.json and package-lock.json together.package-lock.json.tspconfig.yaml files when
the package update is meant to refresh models or views used by Azure
AI Foundry specs.@azure-tools/openai-typespec and make sure it is pinned
exactly."@azure-tools/openai-typespec dependency uses a
caret."^<version>, explicitly warn the user that
caret ranges are not allowed for this package update flow..tsp API shapes rather than update the
package dependency, use the azure-typespec-author skill instead.b0960d6
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.