@codex-native/sdk 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codex_native.darwin-arm64.node +0 -0
- package/dist/cli.cjs +13 -13
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +13 -13
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/npm/darwin-arm64/codex_native.darwin-arm64.node +0 -0
- package/npm/darwin-arm64/package.json +1 -1
- package/npm/darwin-x64/package.json +1 -1
- package/npm/linux-arm64-gnu/package.json +1 -1
- package/npm/linux-arm64-musl/package.json +1 -1
- package/npm/linux-x64-gnu/package.json +1 -1
- package/npm/linux-x64-musl/package.json +1 -1
- package/npm/win32-arm64-msvc/package.json +1 -1
- package/npm/win32-x64-msvc/package.json +1 -1
- package/package.json +14 -14
|
Binary file
|
package/dist/cli.cjs
CHANGED
|
@@ -35,7 +35,7 @@ var import_node_url4 = require("url");
|
|
|
35
35
|
// package.json
|
|
36
36
|
var package_default = {
|
|
37
37
|
name: "@codex-native/sdk",
|
|
38
|
-
version: "0.0.
|
|
38
|
+
version: "0.0.6",
|
|
39
39
|
description: "Native NAPI-based Codex SDK - complete standalone implementation.",
|
|
40
40
|
main: "dist/index.cjs",
|
|
41
41
|
module: "dist/index.mjs",
|
|
@@ -79,18 +79,18 @@ var package_default = {
|
|
|
79
79
|
"verify:build": `node -e "const fs=require('fs');const hasNode=fs.readdirSync('.').some(f=>f.endsWith('.node'));const hasDist=fs.existsSync('dist/index.mjs')&&fs.existsSync('dist/index.d.ts');if(!hasNode||!hasDist){console.error('Build incomplete: missing .node or dist files');process.exit(1)}console.log('\u2713 Build verification passed')"`,
|
|
80
80
|
"create-npm-dirs": "napi create-npm-dirs",
|
|
81
81
|
artifacts: "napi artifacts",
|
|
82
|
-
prepublishOnly: "napi prepublish -t npm",
|
|
82
|
+
prepublishOnly: "napi prepublish -t npm --skip-optional-publish",
|
|
83
83
|
pretest: `node -e "const fs=require('fs');const hasNode=fs.readdirSync('.').some(f=>f.endsWith('.node'));if(!hasNode){process.exitCode=1;console.error('missing .node binary; run npm run build:ci');} else {console.log('\u2713 native binary present; skipping rebuild');}"`,
|
|
84
84
|
test: "node ./scripts/run-jest.mjs --runInBand",
|
|
85
85
|
"test:watch": "node ./scripts/run-jest.mjs --watch",
|
|
86
86
|
coverage: "node ./scripts/run-jest.mjs --coverage",
|
|
87
87
|
typecheck: "tsc --noEmit",
|
|
88
88
|
lint: "cargo fmt --check && cargo clippy --release --features napi-bindings -- -D warnings && npm run typecheck",
|
|
89
|
-
version: "napi version",
|
|
89
|
+
version: "napi version && node scripts/sync-optional-deps.mjs",
|
|
90
90
|
"release:patch": "npm version patch && npm run release",
|
|
91
91
|
"release:minor": "npm version minor && npm run release",
|
|
92
92
|
"release:major": "npm version major && npm run release",
|
|
93
|
-
"publish:platforms": "npm run create-npm-dirs && node scripts/publish-platform-packages.mjs",
|
|
93
|
+
"publish:platforms": "npm run create-npm-dirs && napi artifacts --output-dir . --npm-dir npm && node scripts/publish-platform-packages.mjs",
|
|
94
94
|
release: "npm run build && npm run test && npm run publish:platforms && node scripts/publish-sdk.mjs",
|
|
95
95
|
"release:dry": "npm run build && npm run test && npm publish --dry-run"
|
|
96
96
|
},
|
|
@@ -108,14 +108,14 @@ var package_default = {
|
|
|
108
108
|
]
|
|
109
109
|
},
|
|
110
110
|
optionalDependencies: {
|
|
111
|
-
"@codex-native/sdk-darwin-arm64": "0.0.
|
|
112
|
-
"@codex-native/sdk-darwin-x64": "0.0.
|
|
113
|
-
"@codex-native/sdk-linux-arm64-gnu": "0.0.
|
|
114
|
-
"@codex-native/sdk-linux-x64-gnu": "0.0.
|
|
115
|
-
"@codex-native/sdk-linux-arm64-musl": "0.0.
|
|
116
|
-
"@codex-native/sdk-linux-x64-musl": "0.0.
|
|
117
|
-
"@codex-native/sdk-win32-arm64-msvc": "0.0.
|
|
118
|
-
"@codex-native/sdk-win32-x64-msvc": "0.0.
|
|
111
|
+
"@codex-native/sdk-darwin-arm64": "0.0.6",
|
|
112
|
+
"@codex-native/sdk-darwin-x64": "0.0.6",
|
|
113
|
+
"@codex-native/sdk-linux-arm64-gnu": "0.0.6",
|
|
114
|
+
"@codex-native/sdk-linux-x64-gnu": "0.0.6",
|
|
115
|
+
"@codex-native/sdk-linux-arm64-musl": "0.0.6",
|
|
116
|
+
"@codex-native/sdk-linux-x64-musl": "0.0.6",
|
|
117
|
+
"@codex-native/sdk-win32-arm64-msvc": "0.0.6",
|
|
118
|
+
"@codex-native/sdk-win32-x64-msvc": "0.0.6"
|
|
119
119
|
},
|
|
120
120
|
engines: {
|
|
121
121
|
node: ">=18"
|
|
@@ -130,7 +130,7 @@ var package_default = {
|
|
|
130
130
|
"@jest/globals": "^29.7.0",
|
|
131
131
|
"@napi-rs/cli": "^3.4.1",
|
|
132
132
|
"@openai/agents": "^0.3.0",
|
|
133
|
-
"@types/jest": "29.5.
|
|
133
|
+
"@types/jest": "29.5.14",
|
|
134
134
|
"@types/node": "^22.0.0",
|
|
135
135
|
"babel-jest": "29.7.0",
|
|
136
136
|
jest: "^29.7.0",
|