reverseport 1.9.0 → 1.10.0
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.
|
@@ -40,8 +40,12 @@ const withOmittableDefaults = (schema) => {
|
|
|
40
40
|
return schema;
|
|
41
41
|
return schema.safeExtend(Object.fromEntries(omittable.map(([key, field]) => [key, optionalWithMetadata(field)])));
|
|
42
42
|
};
|
|
43
|
-
/**
|
|
44
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Zod accepts an omitted value (`optin`) but always produces one (`optout`).
|
|
45
|
+
* Zod 4.6 reports defaulted fields as `optin: "defaulted"`; older releases
|
|
46
|
+
* reported `"optional"`, so any omittable input counts.
|
|
47
|
+
*/
|
|
48
|
+
const fillsOmission = (field) => field._zod.optin !== undefined && field._zod.optout === undefined;
|
|
45
49
|
const optionalWithMetadata = (field) => {
|
|
46
50
|
const metadata = field.meta();
|
|
47
51
|
return metadata === undefined
|
package/dist/cli-runtime/cli.js
CHANGED
|
@@ -28539,7 +28539,7 @@ function init_omittableDefaults() {
|
|
|
28539
28539
|
if (omittable.length === 0) return schema;
|
|
28540
28540
|
return schema.safeExtend(Object.fromEntries(omittable.map(([key, field]) => [key, optionalWithMetadata(field)])));
|
|
28541
28541
|
};
|
|
28542
|
-
fillsOmission = (field) => field._zod.optin
|
|
28542
|
+
fillsOmission = (field) => field._zod.optin !== undefined && field._zod.optout === undefined;
|
|
28543
28543
|
optionalWithMetadata = (field) => {
|
|
28544
28544
|
const metadata = field.meta();
|
|
28545
28545
|
return metadata === undefined ? field.optional() : field.optional().meta(metadata);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Generated from package.json and package-lock.json; do not edit. */
|
|
2
2
|
export const PACKAGE_METADATA = {
|
|
3
3
|
name: "reverseport",
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.10.0", // x-release-please-version
|
|
5
5
|
serverSdkVersion: "2.3.1",
|
|
6
6
|
clientSdkVersion: "2.3.1",
|
|
7
7
|
coreSdkVersion: "2.3.1",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reverseport",
|
|
3
3
|
"mcpName": "io.github.laaielichter/reverseport",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.0",
|
|
5
5
|
"description": "Reverse engineer anything. Port it anywhere. One CLI and MCP server that lets coding agents take apart apps, games, binaries and websites — decompile, trace, compare builds, recon without files — and rebuild or port them to Godot, Unity, Unreal, three.js or any language.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
package/port/src/formats.mjs
CHANGED
|
@@ -32,6 +32,7 @@ export const FORMATS = [
|
|
|
32
32
|
{ id: 'unreal-asset', name: 'Unreal package (.uasset/.umap)', category: 'engine', test: (b, o) => u32le(b, o) === 0x9e2a83c1 },
|
|
33
33
|
{ id: 'gamemaker-data', name: 'GameMaker data (FORM/GEN8)', category: 'engine', test: (b, o) => str(b, o, 'FORM') && str(b, o + 8, 'GEN8') },
|
|
34
34
|
{ id: 'swf', name: 'Flash SWF', category: 'engine', offsetZeroOnly: true, test: (b, o) => o === 0 && ['FWS', 'CWS', 'ZWS'].includes(b.toString('latin1', o, o + 3)) && b[o + 3] >= 1 && b[o + 3] <= 60 },
|
|
35
|
+
{ id: 'pak', name: 'Quake PAK archive', category: 'archive', test: (b, o) => str(b, o, 'PACK') },
|
|
35
36
|
{ id: 'renpy-rpa', name: "Ren'Py archive (RPA)", category: 'archive', test: (b, o) => str(b, o, 'RPA-3.0 ') || str(b, o, 'RPA-2.0 ') },
|
|
36
37
|
{ id: 'asar', name: 'Electron archive (asar)', category: 'archive', offsetZeroOnly: true, test: (b, o) => o === 0 && u32le(b, 0) === 4 && str(b, 16, '{"files"') },
|
|
37
38
|
{ id: 'zip', name: 'ZIP archive (also apk/jar/ipa/docx/nupkg)', category: 'archive', test: (b, o) => at(b, o, [0x50, 0x4b, 3, 4]) || at(b, o, [0x50, 0x4b, 5, 6]) },
|
|
@@ -34,7 +34,7 @@ original task after repair. Client approval, shell PATH, registration and engine
|
|
|
34
34
|
availability have different remedies; avoid repeating setup for all of them.
|
|
35
35
|
|
|
36
36
|
Prefer an existing `reverseport` CLI. When none is installed and ReversePort package acquisition
|
|
37
|
-
is within the authorized scope, use `npx -y reverseport@1.
|
|
37
|
+
is within the authorized scope, use `npx -y reverseport@1.10.0` in its place.
|
|
38
38
|
Configuration repair starts with a read-only setup plan; show paths, backups and
|
|
39
39
|
skill replacement before applying authorized changes. Preserve existing approval
|
|
40
40
|
and target-execution boundaries. ReversePort setup never installs or upgrades unrelated
|