unbrowse 9.3.6 → 9.3.7
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/package.json +1 -1
- package/runtime/cli.js +25 -1
- package/runtime/mcp.js +1 -1
- package/vendor/kuri/darwin-arm64/libkuri_ffi.dylib +0 -0
- package/vendor/kuri/darwin-x64/libkuri_ffi.dylib +0 -0
- package/vendor/kuri/linux-arm64/libkuri_ffi.so +0 -0
- package/vendor/kuri/linux-x64/kuri +0 -0
- package/vendor/kuri/linux-x64/libkuri_ffi.so +0 -0
- package/vendor/kuri/manifest.json +7 -7
- package/vendor/kuri/win-x64/kuri.exe +0 -0
package/package.json
CHANGED
package/runtime/cli.js
CHANGED
|
@@ -5020,7 +5020,7 @@ var init_cached_resolution = __esm(() => {
|
|
|
5020
5020
|
});
|
|
5021
5021
|
|
|
5022
5022
|
// .tmp-runtime-src/build-info.generated.ts
|
|
5023
|
-
var BUILD_RELEASE_VERSION = "9.3.
|
|
5023
|
+
var BUILD_RELEASE_VERSION = "9.3.7", BUILD_GIT_SHA = "47b0fe9e117a", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjciLCJnaXRfc2hhIjoiNDdiMGZlOWUxMTdhIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUA0N2IwZmU5ZTExN2EiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE1VDA3OjI4OjQ3LjEwNloifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "MUndpRmLz2Zj74Zil7niMwoNPEyE5Uu4CgPB-U8iWx8", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
|
|
5024
5024
|
|
|
5025
5025
|
// .tmp-runtime-src/version.ts
|
|
5026
5026
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -201916,6 +201916,19 @@ function inferWriteMethod(explicit, intent, hasBody) {
|
|
|
201916
201916
|
return "POST";
|
|
201917
201917
|
return;
|
|
201918
201918
|
}
|
|
201919
|
+
function extractEmbeddedJsonBody(intent) {
|
|
201920
|
+
if (!intent)
|
|
201921
|
+
return;
|
|
201922
|
+
const m = intent.match(/[{[][\s\S]*[}\]]/);
|
|
201923
|
+
if (!m)
|
|
201924
|
+
return;
|
|
201925
|
+
try {
|
|
201926
|
+
const parsed = JSON.parse(m[0]);
|
|
201927
|
+
if (parsed && typeof parsed === "object")
|
|
201928
|
+
return m[0];
|
|
201929
|
+
} catch {}
|
|
201930
|
+
return;
|
|
201931
|
+
}
|
|
201919
201932
|
|
|
201920
201933
|
// .tmp-runtime-src/env/kuri-proxy-bridge.ts
|
|
201921
201934
|
init_proxy_fetch();
|
|
@@ -206966,6 +206979,17 @@ async function cmdRun(args, flags, verb = "run") {
|
|
|
206966
206979
|
if ("error" in parsed)
|
|
206967
206980
|
die(parsed.error);
|
|
206968
206981
|
const { url, intent } = parsed;
|
|
206982
|
+
const oneHoleWriteBody = typeof flags.body === "string" ? flags.body : extractEmbeddedJsonBody(intent);
|
|
206983
|
+
const oneHoleWriteVerb = inferWriteMethod(typeof flags.method === "string" ? flags.method : undefined, intent, !!oneHoleWriteBody);
|
|
206984
|
+
if (oneHoleWriteVerb && url && (!!oneHoleWriteBody || typeof flags.method === "string")) {
|
|
206985
|
+
return cmdExecute({
|
|
206986
|
+
...flags,
|
|
206987
|
+
url,
|
|
206988
|
+
intent,
|
|
206989
|
+
method: oneHoleWriteVerb,
|
|
206990
|
+
...oneHoleWriteBody ? { body: oneHoleWriteBody } : {}
|
|
206991
|
+
});
|
|
206992
|
+
}
|
|
206969
206993
|
const draftOnlyIntent = isDraftOnlyMutationIntent(intent);
|
|
206970
206994
|
const resolveIntent = draftOnlyIntent ? draftOnlyReadIntent(intent) : intent;
|
|
206971
206995
|
maybeShowContributionNotice();
|
package/runtime/mcp.js
CHANGED
|
@@ -36178,7 +36178,7 @@ var init_cached_resolution = __esm(() => {
|
|
|
36178
36178
|
});
|
|
36179
36179
|
|
|
36180
36180
|
// .tmp-runtime-src/build-info.generated.ts
|
|
36181
|
-
var BUILD_RELEASE_VERSION = "9.3.
|
|
36181
|
+
var BUILD_RELEASE_VERSION = "9.3.7", BUILD_GIT_SHA = "47b0fe9e117a", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjciLCJnaXRfc2hhIjoiNDdiMGZlOWUxMTdhIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUA0N2IwZmU5ZTExN2EiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE1VDA3OjI4OjQ3LjEwNloifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "MUndpRmLz2Zj74Zil7niMwoNPEyE5Uu4CgPB-U8iWx8", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
|
|
36182
36182
|
|
|
36183
36183
|
// .tmp-runtime-src/version.ts
|
|
36184
36184
|
import { createHash as createHash3 } from "crypto";
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"repo_url": "https://github.com/justrach/kuri.git",
|
|
3
3
|
"branch": "adding-extensions",
|
|
4
4
|
"source_sha": "149881254046a20778f642b69f20f0c6468f6fb4",
|
|
5
|
-
"built_at": "2026-06-
|
|
5
|
+
"built_at": "2026-06-15T07:11:02.302Z",
|
|
6
6
|
"binaries": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"zig_target": "aarch64-macos",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"zig_target": "x86_64-linux",
|
|
24
|
-
"sha256": "
|
|
24
|
+
"sha256": "12d0fe904ebb2ba3ee7b373843e6265247a24ab4d25c1874f28ef1ff9db13bb1"
|
|
25
25
|
},
|
|
26
26
|
"win-x64": {
|
|
27
27
|
"zig_target": "x86_64-windows-gnu",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "cef06cdc61b13fc79f12b21e7075e5de6cc6b0536fe5885e8166fcbeceaf5022",
|
|
29
29
|
"source": "pre-staged"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
@@ -33,22 +33,22 @@
|
|
|
33
33
|
"darwin-arm64": {
|
|
34
34
|
"zig_target": "aarch64-macos",
|
|
35
35
|
"lib": "libkuri_ffi.dylib",
|
|
36
|
-
"sha256": "
|
|
36
|
+
"sha256": "5b98514679b7308fdc94409ee531389237908847e3521508ebce07e3a5c98a76"
|
|
37
37
|
},
|
|
38
38
|
"darwin-x64": {
|
|
39
39
|
"zig_target": "x86_64-macos",
|
|
40
40
|
"lib": "libkuri_ffi.dylib",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "e0427e2b5612cdcdf77956bd5d9f08ce323d875a48b781e1e471939206bbcd65"
|
|
42
42
|
},
|
|
43
43
|
"linux-arm64": {
|
|
44
44
|
"zig_target": "aarch64-linux",
|
|
45
45
|
"lib": "libkuri_ffi.so",
|
|
46
|
-
"sha256": "
|
|
46
|
+
"sha256": "fa04be637cf0366d90e71d248f733c99f1d5c32eebe798ede63e29a5d0fbf2f9"
|
|
47
47
|
},
|
|
48
48
|
"linux-x64": {
|
|
49
49
|
"zig_target": "x86_64-linux",
|
|
50
50
|
"lib": "libkuri_ffi.so",
|
|
51
|
-
"sha256": "
|
|
51
|
+
"sha256": "0042cad13aceb7da492edc61f4d28862dd1928b131197c176a0e957f1c0f21db"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
Binary file
|