unbrowse 9.3.13 → 9.3.14
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 +54 -1
- package/runtime/mcp.js +107 -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
|
@@ -5053,7 +5053,7 @@ var init_cached_resolution = __esm(() => {
|
|
|
5053
5053
|
});
|
|
5054
5054
|
|
|
5055
5055
|
// .tmp-runtime-src/build-info.generated.ts
|
|
5056
|
-
var BUILD_RELEASE_VERSION = "9.3.
|
|
5056
|
+
var BUILD_RELEASE_VERSION = "9.3.14", BUILD_GIT_SHA = "406aa716a445", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjE0IiwiZ2l0X3NoYSI6IjQwNmFhNzE2YTQ0NSIsImNvZGVfaGFzaCI6IjVkOWViZjYxOWM2MSIsInRyYWNlX3ZlcnNpb24iOiI1ZDllYmY2MTljNjFANDA2YWE3MTZhNDQ1IiwiaXNzdWVkX2F0IjoiMjAyNi0wNi0xNVQxNDoxMToyOS44OTNaIn0", BUILD_RELEASE_MANIFEST_SIGNATURE = "MIbb2r1oD2komjukDFJfoS5sIXmvt3DoPJjuWIzy5Z8", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
|
|
5057
5057
|
|
|
5058
5058
|
// .tmp-runtime-src/version.ts
|
|
5059
5059
|
import { createHash as createHash5 } from "crypto";
|
|
@@ -182029,6 +182029,59 @@ async function resolveAndExecute(intent, params = {}, context, projection, optio
|
|
|
182029
182029
|
}
|
|
182030
182030
|
} catch {}
|
|
182031
182031
|
}
|
|
182032
|
+
if (context?.url) {
|
|
182033
|
+
try {
|
|
182034
|
+
const rpcUrl = new URL(context.url);
|
|
182035
|
+
const isRpcPath = /\/[A-Za-z_][\w.]*\.[A-Za-z_]\w*\/[A-Za-z_]\w*\/?$/.test(rpcUrl.pathname);
|
|
182036
|
+
if (isRpcPath) {
|
|
182037
|
+
const rpcProbe = await fetch(context.url, {
|
|
182038
|
+
method: "POST",
|
|
182039
|
+
headers: {
|
|
182040
|
+
"content-type": "application/json",
|
|
182041
|
+
"connect-protocol-version": "1",
|
|
182042
|
+
Accept: "application/json"
|
|
182043
|
+
},
|
|
182044
|
+
body: "{}",
|
|
182045
|
+
signal: AbortSignal.timeout(12000),
|
|
182046
|
+
redirect: "follow"
|
|
182047
|
+
});
|
|
182048
|
+
const rpcCt = rpcProbe.headers.get("content-type") ?? "";
|
|
182049
|
+
if (rpcCt.includes("json")) {
|
|
182050
|
+
const rpcJson = await rpcProbe.json().catch(() => null);
|
|
182051
|
+
const looksConnect = rpcJson != null && (rpcProbe.ok || typeof rpcJson.code === "string" && ("message" in rpcJson));
|
|
182052
|
+
if (looksConnect) {
|
|
182053
|
+
const trace2 = {
|
|
182054
|
+
trace_id: nanoid(),
|
|
182055
|
+
skill_id: "grpc-endpoint",
|
|
182056
|
+
endpoint_id: "grpc-unary",
|
|
182057
|
+
started_at: new Date().toISOString(),
|
|
182058
|
+
completed_at: new Date().toISOString(),
|
|
182059
|
+
success: true,
|
|
182060
|
+
status_code: rpcProbe.status
|
|
182061
|
+
};
|
|
182062
|
+
const grpcResult = {
|
|
182063
|
+
status: "grpc_endpoint",
|
|
182064
|
+
grpc_endpoint: context.url,
|
|
182065
|
+
method: "POST",
|
|
182066
|
+
protocol: "connect/grpc-web (JSON over POST)",
|
|
182067
|
+
message: "This is a Connect/gRPC unary endpoint. POST a JSON body with the request message fields (Connect protocol over application/json; send header connect-protocol-version: 1).",
|
|
182068
|
+
probe_response: rpcJson,
|
|
182069
|
+
next_step: "POST a JSON request message to grpc_endpoint with content-type application/json and connect-protocol-version: 1."
|
|
182070
|
+
};
|
|
182071
|
+
const t = finalize("direct-fetch", grpcResult, "grpc-endpoint", undefined, trace2);
|
|
182072
|
+
console.log(`[grpc] ${context.url} confirmed Connect/gRPC unary endpoint`);
|
|
182073
|
+
return {
|
|
182074
|
+
result: grpcResult,
|
|
182075
|
+
trace: trace2,
|
|
182076
|
+
source: "direct-fetch",
|
|
182077
|
+
skill: undefined,
|
|
182078
|
+
timing: t
|
|
182079
|
+
};
|
|
182080
|
+
}
|
|
182081
|
+
}
|
|
182082
|
+
}
|
|
182083
|
+
} catch {}
|
|
182084
|
+
}
|
|
182032
182085
|
if (viable.length === 0 && exaResults?.length) {
|
|
182033
182086
|
const richHit = exaResults.find((r) => (r.highlights ?? []).join(" ").length >= 150);
|
|
182034
182087
|
if (richHit) {
|
package/runtime/mcp.js
CHANGED
|
@@ -36211,7 +36211,7 @@ var init_cached_resolution = __esm(() => {
|
|
|
36211
36211
|
});
|
|
36212
36212
|
|
|
36213
36213
|
// .tmp-runtime-src/build-info.generated.ts
|
|
36214
|
-
var BUILD_RELEASE_VERSION = "9.3.
|
|
36214
|
+
var BUILD_RELEASE_VERSION = "9.3.14", BUILD_GIT_SHA = "406aa716a445", BUILD_CODE_HASH = "5d9ebf619c61", BUILD_RELEASE_MANIFEST_BASE64 = "eyJzY2hlbWFfdmVyc2lvbiI6MSwicmVsZWFzZV92ZXJzaW9uIjoiOS4zLjE0IiwiZ2l0X3NoYSI6IjQwNmFhNzE2YTQ0NSIsImNvZGVfaGFzaCI6IjVkOWViZjYxOWM2MSIsInRyYWNlX3ZlcnNpb24iOiI1ZDllYmY2MTljNjFANDA2YWE3MTZhNDQ1IiwiaXNzdWVkX2F0IjoiMjAyNi0wNi0xNVQxNDoxMToyOS44OTNaIn0", BUILD_RELEASE_MANIFEST_SIGNATURE = "MIbb2r1oD2komjukDFJfoS5sIXmvt3DoPJjuWIzy5Z8", BUILD_DEFAULT_BACKEND_URL = "https://beta-api.unbrowse.ai", BUILD_DEFAULT_PROFILE = "";
|
|
36215
36215
|
|
|
36216
36216
|
// .tmp-runtime-src/version.ts
|
|
36217
36217
|
import { createHash as createHash4 } from "crypto";
|
|
@@ -132538,6 +132538,59 @@ async function resolveAndExecute(intent, params = {}, context, projection, optio
|
|
|
132538
132538
|
}
|
|
132539
132539
|
} catch {}
|
|
132540
132540
|
}
|
|
132541
|
+
if (context?.url) {
|
|
132542
|
+
try {
|
|
132543
|
+
const rpcUrl = new URL(context.url);
|
|
132544
|
+
const isRpcPath = /\/[A-Za-z_][\w.]*\.[A-Za-z_]\w*\/[A-Za-z_]\w*\/?$/.test(rpcUrl.pathname);
|
|
132545
|
+
if (isRpcPath) {
|
|
132546
|
+
const rpcProbe = await fetch(context.url, {
|
|
132547
|
+
method: "POST",
|
|
132548
|
+
headers: {
|
|
132549
|
+
"content-type": "application/json",
|
|
132550
|
+
"connect-protocol-version": "1",
|
|
132551
|
+
Accept: "application/json"
|
|
132552
|
+
},
|
|
132553
|
+
body: "{}",
|
|
132554
|
+
signal: AbortSignal.timeout(12000),
|
|
132555
|
+
redirect: "follow"
|
|
132556
|
+
});
|
|
132557
|
+
const rpcCt = rpcProbe.headers.get("content-type") ?? "";
|
|
132558
|
+
if (rpcCt.includes("json")) {
|
|
132559
|
+
const rpcJson = await rpcProbe.json().catch(() => null);
|
|
132560
|
+
const looksConnect = rpcJson != null && (rpcProbe.ok || typeof rpcJson.code === "string" && ("message" in rpcJson));
|
|
132561
|
+
if (looksConnect) {
|
|
132562
|
+
const trace2 = {
|
|
132563
|
+
trace_id: nanoid(),
|
|
132564
|
+
skill_id: "grpc-endpoint",
|
|
132565
|
+
endpoint_id: "grpc-unary",
|
|
132566
|
+
started_at: new Date().toISOString(),
|
|
132567
|
+
completed_at: new Date().toISOString(),
|
|
132568
|
+
success: true,
|
|
132569
|
+
status_code: rpcProbe.status
|
|
132570
|
+
};
|
|
132571
|
+
const grpcResult = {
|
|
132572
|
+
status: "grpc_endpoint",
|
|
132573
|
+
grpc_endpoint: context.url,
|
|
132574
|
+
method: "POST",
|
|
132575
|
+
protocol: "connect/grpc-web (JSON over POST)",
|
|
132576
|
+
message: "This is a Connect/gRPC unary endpoint. POST a JSON body with the request message fields (Connect protocol over application/json; send header connect-protocol-version: 1).",
|
|
132577
|
+
probe_response: rpcJson,
|
|
132578
|
+
next_step: "POST a JSON request message to grpc_endpoint with content-type application/json and connect-protocol-version: 1."
|
|
132579
|
+
};
|
|
132580
|
+
const t = finalize("direct-fetch", grpcResult, "grpc-endpoint", undefined, trace2);
|
|
132581
|
+
console.log(`[grpc] ${context.url} confirmed Connect/gRPC unary endpoint`);
|
|
132582
|
+
return {
|
|
132583
|
+
result: grpcResult,
|
|
132584
|
+
trace: trace2,
|
|
132585
|
+
source: "direct-fetch",
|
|
132586
|
+
skill: undefined,
|
|
132587
|
+
timing: t
|
|
132588
|
+
};
|
|
132589
|
+
}
|
|
132590
|
+
}
|
|
132591
|
+
}
|
|
132592
|
+
} catch {}
|
|
132593
|
+
}
|
|
132541
132594
|
if (viable.length === 0 && exaResults?.length) {
|
|
132542
132595
|
const richHit = exaResults.find((r) => (r.highlights ?? []).join(" ").length >= 150);
|
|
132543
132596
|
if (richHit) {
|
|
@@ -196754,6 +196807,59 @@ async function resolveAndExecute2(intent, params = {}, context, projection, opti
|
|
|
196754
196807
|
}
|
|
196755
196808
|
} catch {}
|
|
196756
196809
|
}
|
|
196810
|
+
if (context?.url) {
|
|
196811
|
+
try {
|
|
196812
|
+
const rpcUrl = new URL(context.url);
|
|
196813
|
+
const isRpcPath = /\/[A-Za-z_][\w.]*\.[A-Za-z_]\w*\/[A-Za-z_]\w*\/?$/.test(rpcUrl.pathname);
|
|
196814
|
+
if (isRpcPath) {
|
|
196815
|
+
const rpcProbe = await fetch(context.url, {
|
|
196816
|
+
method: "POST",
|
|
196817
|
+
headers: {
|
|
196818
|
+
"content-type": "application/json",
|
|
196819
|
+
"connect-protocol-version": "1",
|
|
196820
|
+
Accept: "application/json"
|
|
196821
|
+
},
|
|
196822
|
+
body: "{}",
|
|
196823
|
+
signal: AbortSignal.timeout(12000),
|
|
196824
|
+
redirect: "follow"
|
|
196825
|
+
});
|
|
196826
|
+
const rpcCt = rpcProbe.headers.get("content-type") ?? "";
|
|
196827
|
+
if (rpcCt.includes("json")) {
|
|
196828
|
+
const rpcJson = await rpcProbe.json().catch(() => null);
|
|
196829
|
+
const looksConnect = rpcJson != null && (rpcProbe.ok || typeof rpcJson.code === "string" && ("message" in rpcJson));
|
|
196830
|
+
if (looksConnect) {
|
|
196831
|
+
const trace2 = {
|
|
196832
|
+
trace_id: nanoid(),
|
|
196833
|
+
skill_id: "grpc-endpoint",
|
|
196834
|
+
endpoint_id: "grpc-unary",
|
|
196835
|
+
started_at: new Date().toISOString(),
|
|
196836
|
+
completed_at: new Date().toISOString(),
|
|
196837
|
+
success: true,
|
|
196838
|
+
status_code: rpcProbe.status
|
|
196839
|
+
};
|
|
196840
|
+
const grpcResult = {
|
|
196841
|
+
status: "grpc_endpoint",
|
|
196842
|
+
grpc_endpoint: context.url,
|
|
196843
|
+
method: "POST",
|
|
196844
|
+
protocol: "connect/grpc-web (JSON over POST)",
|
|
196845
|
+
message: "This is a Connect/gRPC unary endpoint. POST a JSON body with the request message fields (Connect protocol over application/json; send header connect-protocol-version: 1).",
|
|
196846
|
+
probe_response: rpcJson,
|
|
196847
|
+
next_step: "POST a JSON request message to grpc_endpoint with content-type application/json and connect-protocol-version: 1."
|
|
196848
|
+
};
|
|
196849
|
+
const t = finalize("direct-fetch", grpcResult, "grpc-endpoint", undefined, trace2);
|
|
196850
|
+
console.log(`[grpc] ${context.url} confirmed Connect/gRPC unary endpoint`);
|
|
196851
|
+
return {
|
|
196852
|
+
result: grpcResult,
|
|
196853
|
+
trace: trace2,
|
|
196854
|
+
source: "direct-fetch",
|
|
196855
|
+
skill: undefined,
|
|
196856
|
+
timing: t
|
|
196857
|
+
};
|
|
196858
|
+
}
|
|
196859
|
+
}
|
|
196860
|
+
}
|
|
196861
|
+
} catch {}
|
|
196862
|
+
}
|
|
196757
196863
|
if (viable.length === 0 && exaResults?.length) {
|
|
196758
196864
|
const richHit = exaResults.find((r) => (r.highlights ?? []).join(" ").length >= 150);
|
|
196759
196865
|
if (richHit) {
|
|
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-15T13:51:42.659Z",
|
|
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": "80b18499a3db5c10a424d8220b2a8665c026a70acab1a5c80207c8cff219be62"
|
|
25
25
|
},
|
|
26
26
|
"win-x64": {
|
|
27
27
|
"zig_target": "x86_64-windows-gnu",
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "6aa517677e6ceb824ff2810ba42b5a6113db207aa96d203014fd31eb498c8f0e",
|
|
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": "a3c2ae32769aa2297752d015c1709eaa4b73a3f47f01881e493692fed341583a"
|
|
37
37
|
},
|
|
38
38
|
"darwin-x64": {
|
|
39
39
|
"zig_target": "x86_64-macos",
|
|
40
40
|
"lib": "libkuri_ffi.dylib",
|
|
41
|
-
"sha256": "
|
|
41
|
+
"sha256": "7dab697679fbc879fc928160cb7bf6b21ecb950c311bae7033580a04adc82244"
|
|
42
42
|
},
|
|
43
43
|
"linux-arm64": {
|
|
44
44
|
"zig_target": "aarch64-linux",
|
|
45
45
|
"lib": "libkuri_ffi.so",
|
|
46
|
-
"sha256": "
|
|
46
|
+
"sha256": "2792b98468f6104e5626bfe7e022e60492b1bc4e33a88368cd01ddb6c5d4a96d"
|
|
47
47
|
},
|
|
48
48
|
"linux-x64": {
|
|
49
49
|
"zig_target": "x86_64-linux",
|
|
50
50
|
"lib": "libkuri_ffi.so",
|
|
51
|
-
"sha256": "
|
|
51
|
+
"sha256": "58da41ba7f23b1518589248a27577a60bfd525e9bf61d0b5d8b06c71afeccc0c"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
Binary file
|