fix: add missing package.json subpath exports and oauth stubs (#1014)

Add 7 missing subpath exports to @gsd/native (diff, gsd-parser,
highlight, json-parse, stream-process, truncate, ttsr) and create
root-level oauth.js/oauth.d.ts stub files for @gsd/pi-ai to match
the bedrock-provider pattern.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-17 18:01:56 -06:00 committed by GitHub
parent e8de7dfa30
commit f8b16beddb
3 changed files with 30 additions and 0 deletions

View file

@ -55,6 +55,34 @@
"./xxhash": {
"types": "./dist/xxhash/index.d.ts",
"import": "./dist/xxhash/index.js"
},
"./diff": {
"types": "./dist/diff/index.d.ts",
"import": "./dist/diff/index.js"
},
"./gsd-parser": {
"types": "./dist/gsd-parser/index.d.ts",
"import": "./dist/gsd-parser/index.js"
},
"./highlight": {
"types": "./dist/highlight/index.d.ts",
"import": "./dist/highlight/index.js"
},
"./json-parse": {
"types": "./dist/json-parse/index.d.ts",
"import": "./dist/json-parse/index.js"
},
"./stream-process": {
"types": "./dist/stream-process/index.d.ts",
"import": "./dist/stream-process/index.js"
},
"./truncate": {
"types": "./dist/truncate/index.d.ts",
"import": "./dist/truncate/index.js"
},
"./ttsr": {
"types": "./dist/ttsr/index.d.ts",
"import": "./dist/ttsr/index.js"
}
},
"files": [

1
packages/pi-ai/oauth.d.ts vendored Normal file
View file

@ -0,0 +1 @@
export * from "./dist/oauth.js";

1
packages/pi-ai/oauth.js Normal file
View file

@ -0,0 +1 @@
export * from "./dist/oauth.js";