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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unbrowse",
3
- "version": "9.3.6",
3
+ "version": "9.3.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/unbrowse-ai/unbrowse.git"
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.6", BUILD_GIT_SHA = "cda0319ecbae", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjYiLCJnaXRfc2hhIjoiY2RhMDMxOWVjYmFlIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUBjZGEwMzE5ZWNiYWUiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE1VDA2OjI4OjA4LjAwN1oifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "7i1jjWajzOwxL3KzVQjQWXZdtZaPXBlj_MiF1hw9MPc", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
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.6", BUILD_GIT_SHA = "cda0319ecbae", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjYiLCJnaXRfc2hhIjoiY2RhMDMxOWVjYmFlIiwiY29kZV9oYXNoIjoiNWQ5ZWJmNjE5YzYxIiwidHJhY2VfdmVyc2lvbiI6IjVkOWViZjYxOWM2MUBjZGEwMzE5ZWNiYWUiLCJpc3N1ZWRfYXQiOiIyMDI2LTA2LTE1VDA2OjI4OjA4LjAwN1oifQ", BUILD_RELEASE_MANIFEST_SIGNATURE = "7i1jjWajzOwxL3KzVQjQWXZdtZaPXBlj_MiF1hw9MPc", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
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
@@ -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-15T06:10:25.429Z",
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": "5cebf85e7901cd86252219a1599e8b63f53dc7e14674d4361162684076fdf135"
24
+ "sha256": "12d0fe904ebb2ba3ee7b373843e6265247a24ab4d25c1874f28ef1ff9db13bb1"
25
25
  },
26
26
  "win-x64": {
27
27
  "zig_target": "x86_64-windows-gnu",
28
- "sha256": "2cbfc1317a6503169afb3d4487fda8ae7d10d7520960be682c90079aec049c2f",
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": "a8eb0fb5ddf1275e16dd85ff183d179606586b57af6444dacc140b4e8f829023"
36
+ "sha256": "5b98514679b7308fdc94409ee531389237908847e3521508ebce07e3a5c98a76"
37
37
  },
38
38
  "darwin-x64": {
39
39
  "zig_target": "x86_64-macos",
40
40
  "lib": "libkuri_ffi.dylib",
41
- "sha256": "b43e9af87008ad904611dd7f038113450a243eff70e6065848f12c5dc75b93c4"
41
+ "sha256": "e0427e2b5612cdcdf77956bd5d9f08ce323d875a48b781e1e471939206bbcd65"
42
42
  },
43
43
  "linux-arm64": {
44
44
  "zig_target": "aarch64-linux",
45
45
  "lib": "libkuri_ffi.so",
46
- "sha256": "fa676b2054172e1f7056106024f904677a7bfdb76d71cc852dbc38b83809ca3c"
46
+ "sha256": "fa04be637cf0366d90e71d248f733c99f1d5c32eebe798ede63e29a5d0fbf2f9"
47
47
  },
48
48
  "linux-x64": {
49
49
  "zig_target": "x86_64-linux",
50
50
  "lib": "libkuri_ffi.so",
51
- "sha256": "d95ff3dbcfb4d0e1a9bba3e0906dadedfee3de227b0c2a858786b903a750f675"
51
+ "sha256": "0042cad13aceb7da492edc61f4d28862dd1928b131197c176a0e957f1c0f21db"
52
52
  }
53
53
  }
54
54
  }
Binary file