Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions nemoclaw-blueprint/policies/presets/brew.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0

preset:
name: brew
description: "Homebrew (Linuxbrew) package manager access"

network_policies:
brew:
name: brew
endpoints:
- host: formulae.brew.sh
port: 443
access: full
- host: github.com
port: 443
access: full
- host: ghcr.io
port: 443
access: full
- host: pkg-containers.githubusercontent.com
port: 443
access: full
- host: objects.githubusercontent.com
port: 443
access: full
- host: raw.githubusercontent.com
port: 443
access: full
binaries:
- { path: /home/linuxbrew/.linuxbrew/bin/brew }
- { path: /home/linuxbrew/.linuxbrew/bin/* }
- { path: /home/linuxbrew/.linuxbrew/Homebrew/bin/* }
5 changes: 3 additions & 2 deletions test/policies.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ selectFromList(items, options)

describe("policies", () => {
describe("listPresets", () => {
it("returns all 10 presets", () => {
it("returns all 11 presets", () => {
const presets = policies.listPresets();
expect(presets.length).toBe(10);
expect(presets.length).toBe(11);
});

it("each preset has name and description", () => {
Expand All @@ -112,6 +112,7 @@ describe("policies", () => {
.sort();
const expected = [
"brave",
"brew",
Comment thread
laitingsheng marked this conversation as resolved.
"discord",
"docker",
"huggingface",
Expand Down
Loading