[codex] Fix AI adapter publish metadata#448
Conversation
Greptile SummaryThis PR uniformly applies
Confidence Score: 5/5Safe to merge — all 60 adapter manifests receive the same mechanical, non-breaking addition with no logic changes. Every file receives an identical 15-line addition: a root No files require special attention; all 60 package manifests follow the identical pattern. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["Consumer installs package"] --> B{Where?}
B -->|"Within pnpm workspace"| C["Reads root package.json"]
B -->|"From npm registry"| D["pnpm publish merges publishConfig"]
C --> E["main: ./src/index.ts\ntypes: ./src/index.ts"]
E --> F["TypeScript resolves source directly\n(tsx / ts-node / tsc)"]
D --> G["Published package.json\nmain: ./dist/index.js\ntypes: ./dist/index.d.ts\nexports: { '.': { types, import, default } }"]
G --> H["Compiled dist/ files\n(JS + .d.ts)"]
Reviews (3): Last reviewed commit: "Add AI adapter default export fallbacks" | Re-trigger Greptile |
Summary
distfilestypes: ./src/index.tsto match the monorepo manifest pattern and address review feedbackValidation
corepack pnpm install --frozen-lockfilecorepack pnpm --filter ./packages/ai/** typecheckcorepack pnpm --filter @profullstack/sh1pt-ai-openai buildcorepack pnpm --filter @profullstack/sh1pt-ai-ai21 buildpnpm packchecks for openai and ai21 showed published manifests rewrite main/types/exports to distpackages/ai/*/package.jsonhas roottypes: ./src/index.tsgit diff --check -- packages/ai