mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
Updates the `zenai` dependency to support safety finish reasons. Tracks when a model refuses a request due to safety, prints a specific warning message, and avoids re-prompting.
48 lines
2.2 KiB
Zig
48 lines
2.2 KiB
Zig
.{
|
|
.name = .browser,
|
|
.version = "1.0.0-dev",
|
|
.fingerprint = 0xda130f3af836cea0, // Changing this has security and trust implications.
|
|
.minimum_zig_version = "0.15.2",
|
|
.dependencies = .{
|
|
.v8 = .{
|
|
.url = "https://github.com/lightpanda-io/zig-v8-fork/archive/refs/tags/v0.4.6.tar.gz",
|
|
.hash = "v8-0.0.0-xddH67-YBABDa7EPYFKQsWLdpK8xJvVVmDsKIaGPGID7",
|
|
},
|
|
// .v8 = .{ .path = "../zig-v8-fork" },
|
|
.brotli = .{
|
|
// v1.2.0
|
|
.url = "https://github.com/google/brotli/archive/028fb5a23661f123017c060daa546b55cf4bde29.tar.gz",
|
|
.hash = "N-V-__8AAJudKgCQCuIiH6MJjAiIJHfg_tT_Ew-0vZwVkCo_",
|
|
},
|
|
.zlib = .{
|
|
.url = "https://github.com/madler/zlib/releases/download/v1.3.2/zlib-1.3.2.tar.gz",
|
|
.hash = "N-V-__8AAJ2cNgAgfBtAw33Bxfu1IWISDeKKSr3DAqoAysIJ",
|
|
},
|
|
.nghttp2 = .{
|
|
.url = "https://github.com/nghttp2/nghttp2/releases/download/v1.68.0/nghttp2-1.68.0.tar.gz",
|
|
.hash = "N-V-__8AAL15vQCI63ZL6Zaz5hJg6JTEgYXGbLnMFSnf7FT3",
|
|
},
|
|
.@"boringssl-zig" = .{
|
|
.url = "git+https://github.com/Syndica/boringssl-zig.git#c53df00d06b02b755ad88bbf4d1202ed9687b096",
|
|
.hash = "boringssl-0.1.0-VtJeWehMAAA4RNnwRnzEvKcS9rjsR1QVRw1uJrwXxmVK",
|
|
},
|
|
.curl = .{
|
|
.url = "https://github.com/curl/curl/releases/download/curl-8_18_0/curl-8.18.0.tar.gz",
|
|
.hash = "N-V-__8AALp9QAGn6CCHZ6fK_FfMyGtG824LSHYHHasM3w-y",
|
|
},
|
|
.sqlite3 = .{
|
|
.url = "https://github.com/allyourcodebase/sqlite3/archive/8f840560eae88ab66668c6827c64ffbd0d74ef37.tar.gz",
|
|
.hash = "sqlite3-3.51.0-DMxLWssOAABZ8cAvU_LfBIbp0kZjm824PU8sSLXpEDdr",
|
|
},
|
|
.zenai = .{
|
|
.url = "git+https://github.com/lightpanda-io/zenai.git#246ef9a5652936eefbeca77dd2ea2d5341577542",
|
|
.hash = "zenai-0.0.0-iOY_VB3OAwAQcfi4LDtd-gO9TB_Utf3oTAekMqvKXfC8",
|
|
},
|
|
.isocline = .{
|
|
.url = "git+https://github.com/arrufat/isocline#32cedce0f1385f3964b7535fac13a5c30a758c74",
|
|
.hash = "N-V-__8AAAlGEwAxx-g1VHXQEiWKTiikaUYFQdNjqfWTxW90",
|
|
},
|
|
},
|
|
.paths = .{""},
|
|
}
|