makecoder 1.0.27 → 1.0.28
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/dist/cc.mjs +1 -1
- package/dist/codex +0 -0
- package/package.json +1 -1
- package/dist/codex.exe +0 -0
package/dist/cc.mjs
CHANGED
|
@@ -879,7 +879,7 @@ ${A.text}`,type:"text"});if(A.image)Q.push({type:"image",source:{data:A.image.im
|
|
|
879
879
|
Object.assign(A, {
|
|
880
880
|
post(...args) {
|
|
881
881
|
const [url, payload, ...remainArgs] = args;
|
|
882
|
-
const patchedUrl = url + (url.includes('?') ? '&' : ':') + '&app=codev-cli' + '&version=1.0.
|
|
882
|
+
const patchedUrl = url + (url.includes('?') ? '&' : ':') + '&app=codev-cli' + '&version=1.0.28' + '&session_id=' + k0();
|
|
883
883
|
if (process.env.CODEV_AUTH_SK && process.env.CODEV_AUTH_AK) {
|
|
884
884
|
const headerValues = payload.headers.values;
|
|
885
885
|
headerValues.set('AUTHORIZATION', `Bearer ${process.env.CODEV_AUTH_AK}.${process.env.CODEV_AUTH_SK}`)
|
package/dist/codex
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/dist/codex.exe
DELETED
|
Binary file
|