Skip to content

Commit e66675e

Browse files
docs: update config-options and README for visibility field
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
1 parent ae80637 commit e66675e

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ CREATE TABLE configs (
123123
dotfiles_repo TEXT,
124124
snapshot TEXT,
125125
alias TEXT UNIQUE,
126-
is_public INTEGER DEFAULT 1,
126+
visibility TEXT DEFAULT 'unlisted',
127127
created_at TEXT,
128128
updated_at TEXT
129129
);

src/docs/config-options.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Every OpenBoot config — whether created from a preset, a snapshot, or the dash
2424
"dotfiles_repo": "https://github.com/yourorg/team-dotfiles.git",
2525
"snapshot": null,
2626
"alias": "fe",
27-
"is_public": true
27+
"visibility": "unlisted"
2828
}
2929
```
3030

@@ -105,14 +105,16 @@ Short URL alias for easy sharing. If set, the config is accessible at `openboot.
105105
- **Required:** no
106106
- **Must be:** unique across all configs
107107

108-
### `is_public`
108+
### `visibility`
109109

110-
Whether the config page is publicly visible.
110+
Controls who can see and install this config.
111111

112-
- **Type:** boolean
113-
- **Default:** `true`
114-
- **`true`** — anyone can view and install
115-
- **`false`** — hidden from profile, but install URL still works if shared
112+
- **Type:** string
113+
- **Default:** `"unlisted"`
114+
- **Options:**
115+
- `"public"` — listed on your profile, install URL works for everyone
116+
- `"unlisted"` — not listed on your profile, but install URL still works if shared
117+
- `"private"` — only you can see it, install URL returns 403 for others
116118

117119
## macOS Preferences Whitelist
118120

0 commit comments

Comments
 (0)