@codex-native/sdk 0.0.3 → 0.0.5
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 +16 -17
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +16 -17
- package/dist/cli.mjs.map +1 -1
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- 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 +16 -17
- package/index.d.ts +0 -487
- package/index.js +0 -626
|
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.5",
|
|
39
39
|
description: "Native NAPI-based Codex SDK - complete standalone implementation.",
|
|
40
40
|
main: "dist/index.cjs",
|
|
41
41
|
module: "dist/index.mjs",
|
|
@@ -54,13 +54,13 @@ var package_default = {
|
|
|
54
54
|
"dist",
|
|
55
55
|
"README.md",
|
|
56
56
|
"npm",
|
|
57
|
-
"*.node"
|
|
58
|
-
"index.js",
|
|
59
|
-
"index.d.ts"
|
|
57
|
+
"*.node"
|
|
60
58
|
],
|
|
61
59
|
dependencies: {
|
|
62
60
|
"@modelcontextprotocol/sdk": "^1.22.0",
|
|
63
|
-
"@
|
|
61
|
+
"@openai/agents": "^0.3.3",
|
|
62
|
+
"@openai/agents-core": "^0.3.3",
|
|
63
|
+
"@opencode-ai/sdk": "^1.0.134",
|
|
64
64
|
"@toon-format/toon": "^1.0.0",
|
|
65
65
|
pyright: "^1.1.386",
|
|
66
66
|
"typescript-language-server": "^4.3.3",
|
|
@@ -76,8 +76,7 @@ var package_default = {
|
|
|
76
76
|
"build:napi": "napi build --platform --release --features napi-bindings",
|
|
77
77
|
"build:napi:debug": "napi build --platform --features napi-bindings",
|
|
78
78
|
"build:ts": "tsup",
|
|
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');
|
|
80
|
-
"verify:pack": "node ./scripts/verify-pack.mjs",
|
|
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')"`,
|
|
81
80
|
"create-npm-dirs": "napi create-npm-dirs",
|
|
82
81
|
artifacts: "napi artifacts",
|
|
83
82
|
prepublishOnly: "napi prepublish -t npm",
|
|
@@ -92,8 +91,8 @@ var package_default = {
|
|
|
92
91
|
"release:minor": "npm version minor && npm run release",
|
|
93
92
|
"release:major": "npm version major && npm run release",
|
|
94
93
|
"publish:platforms": "npm run create-npm-dirs && node scripts/publish-platform-packages.mjs",
|
|
95
|
-
release: "npm run build && npm run test && npm run
|
|
96
|
-
"release:dry": "npm run build && npm run test && npm
|
|
94
|
+
release: "npm run build && npm run test && npm run publish:platforms && node scripts/publish-sdk.mjs",
|
|
95
|
+
"release:dry": "npm run build && npm run test && npm publish --dry-run"
|
|
97
96
|
},
|
|
98
97
|
napi: {
|
|
99
98
|
binaryName: "codex_native",
|
|
@@ -109,14 +108,14 @@ var package_default = {
|
|
|
109
108
|
]
|
|
110
109
|
},
|
|
111
110
|
optionalDependencies: {
|
|
112
|
-
"@codex-native/sdk-darwin-arm64": "0.0.
|
|
113
|
-
"@codex-native/sdk-darwin-x64": "0.0.
|
|
114
|
-
"@codex-native/sdk-linux-arm64-gnu": "0.0.
|
|
115
|
-
"@codex-native/sdk-linux-x64-gnu": "0.0.
|
|
116
|
-
"@codex-native/sdk-linux-arm64-musl": "0.0.
|
|
117
|
-
"@codex-native/sdk-linux-x64-musl": "0.0.
|
|
118
|
-
"@codex-native/sdk-win32-arm64-msvc": "0.0.
|
|
119
|
-
"@codex-native/sdk-win32-x64-msvc": "0.0.
|
|
111
|
+
"@codex-native/sdk-darwin-arm64": "0.0.2",
|
|
112
|
+
"@codex-native/sdk-darwin-x64": "0.0.2",
|
|
113
|
+
"@codex-native/sdk-linux-arm64-gnu": "0.0.2",
|
|
114
|
+
"@codex-native/sdk-linux-x64-gnu": "0.0.2",
|
|
115
|
+
"@codex-native/sdk-linux-arm64-musl": "0.0.2",
|
|
116
|
+
"@codex-native/sdk-linux-x64-musl": "0.0.2",
|
|
117
|
+
"@codex-native/sdk-win32-arm64-msvc": "0.0.2",
|
|
118
|
+
"@codex-native/sdk-win32-x64-msvc": "0.0.2"
|
|
120
119
|
},
|
|
121
120
|
engines: {
|
|
122
121
|
node: ">=18"
|