@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codex-native/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Native NAPI-based Codex SDK - complete standalone implementation.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -44,18 +44,18 @@
|
|
|
44
44
|
"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('✓ Build verification passed')\"",
|
|
45
45
|
"create-npm-dirs": "napi create-npm-dirs",
|
|
46
46
|
"artifacts": "napi artifacts",
|
|
47
|
-
"prepublishOnly": "napi prepublish -t npm",
|
|
47
|
+
"prepublishOnly": "napi prepublish -t npm --skip-optional-publish && node scripts/ensure-trailing-newline.mjs package.json",
|
|
48
48
|
"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('✓ native binary present; skipping rebuild');}\"",
|
|
49
49
|
"test": "node ./scripts/run-jest.mjs --runInBand",
|
|
50
50
|
"test:watch": "node ./scripts/run-jest.mjs --watch",
|
|
51
51
|
"coverage": "node ./scripts/run-jest.mjs --coverage",
|
|
52
52
|
"typecheck": "tsc --noEmit",
|
|
53
53
|
"lint": "cargo fmt --check && cargo clippy --release --features napi-bindings -- -D warnings && npm run typecheck",
|
|
54
|
-
"version": "napi version",
|
|
54
|
+
"version": "napi version && node scripts/sync-optional-deps.mjs",
|
|
55
55
|
"release:patch": "npm version patch && npm run release",
|
|
56
56
|
"release:minor": "npm version minor && npm run release",
|
|
57
57
|
"release:major": "npm version major && npm run release",
|
|
58
|
-
"publish:platforms": "npm run create-npm-dirs && node scripts/publish-platform-packages.mjs",
|
|
58
|
+
"publish:platforms": "npm run create-npm-dirs && napi artifacts --output-dir . --npm-dir npm && node scripts/publish-platform-packages.mjs",
|
|
59
59
|
"release": "npm run build && npm run test && npm run publish:platforms && node scripts/publish-sdk.mjs",
|
|
60
60
|
"release:dry": "npm run build && npm run test && npm publish --dry-run"
|
|
61
61
|
},
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
]
|
|
74
74
|
},
|
|
75
75
|
"optionalDependencies": {
|
|
76
|
-
"@codex-native/sdk-darwin-arm64": "0.0.
|
|
77
|
-
"@codex-native/sdk-darwin-x64": "0.0.
|
|
78
|
-
"@codex-native/sdk-linux-arm64-gnu": "0.0.
|
|
79
|
-
"@codex-native/sdk-linux-x64-gnu": "0.0.
|
|
80
|
-
"@codex-native/sdk-linux-arm64-musl": "0.0.
|
|
81
|
-
"@codex-native/sdk-linux-x64-musl": "0.0.
|
|
82
|
-
"@codex-native/sdk-win32-arm64-msvc": "0.0.
|
|
83
|
-
"@codex-native/sdk-win32-x64-msvc": "0.0.
|
|
76
|
+
"@codex-native/sdk-darwin-arm64": "0.0.6",
|
|
77
|
+
"@codex-native/sdk-darwin-x64": "0.0.6",
|
|
78
|
+
"@codex-native/sdk-linux-arm64-gnu": "0.0.6",
|
|
79
|
+
"@codex-native/sdk-linux-x64-gnu": "0.0.6",
|
|
80
|
+
"@codex-native/sdk-linux-arm64-musl": "0.0.6",
|
|
81
|
+
"@codex-native/sdk-linux-x64-musl": "0.0.6",
|
|
82
|
+
"@codex-native/sdk-win32-arm64-msvc": "0.0.6",
|
|
83
|
+
"@codex-native/sdk-win32-x64-msvc": "0.0.6"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=18"
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@jest/globals": "^29.7.0",
|
|
96
96
|
"@napi-rs/cli": "^3.4.1",
|
|
97
97
|
"@openai/agents": "^0.3.0",
|
|
98
|
-
"@types/jest": "29.5.
|
|
98
|
+
"@types/jest": "29.5.14",
|
|
99
99
|
"@types/node": "^22.0.0",
|
|
100
100
|
"babel-jest": "29.7.0",
|
|
101
101
|
"jest": "^29.7.0",
|
|
@@ -105,4 +105,4 @@
|
|
|
105
105
|
"typescript": "^5.7.2",
|
|
106
106
|
"zod": "^3.25.76"
|
|
107
107
|
}
|
|
108
|
-
}
|
|
108
|
+
}
|