@rsktash/beads-ui 0.1.3 → 0.1.4

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/dist/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Beads UI</title>
7
- <script type="module" crossorigin src="/assets/index-BSNzF5KT.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-CeliZ293.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-Ux6DCth7.css">
9
9
  </head>
10
10
  <body style="background: #FDFBF7; color: #1A1A1A;">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsktash/beads-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/rsktash/beads-ui.git"
@@ -19,6 +19,24 @@ export function printUsage(out_stream) {
19
19
  ' --open Open the browser after start/restart',
20
20
  ' --host <addr> Bind to a specific host (default: 127.0.0.1)',
21
21
  ' --port <num> Bind to a specific port (default: 3000)',
22
+ '',
23
+ 'Environment variables:',
24
+ ' PORT Server port (default: 3333)',
25
+ ' HOST Bind address (default: 127.0.0.1)',
26
+ ' BEADS_DOLT_PASSWORD Password for remote Dolt server',
27
+ ' VITE_FILE_ATTACHMENT_BASE_URL Base URL for attach:// URIs in markdown',
28
+ '',
29
+ 'Dolt modes:',
30
+ ' Embedded (default): spawns a local dolt sql-server from .beads/embeddeddolt/',
31
+ ' Remote server: set dolt_mode: "server" in .beads/metadata.json with',
32
+ ' dolt_server_host, dolt_server_port, dolt_server_user, dolt_database.',
33
+ ' Password is read from BEADS_DOLT_PASSWORD env var.',
34
+ '',
35
+ 'Attachments:',
36
+ ' Markdown content can use attach://<path> URIs for portable file references.',
37
+ ' Set VITE_FILE_ATTACHMENT_BASE_URL to resolve them at render time.',
38
+ ' Example: attach://bead-42/shot.png becomes',
39
+ ' ${VITE_FILE_ATTACHMENT_BASE_URL}/bead-42/shot.png',
22
40
  ''
23
41
  ];
24
42
  for (const line of lines) {