heyquilt 0.3.145 → 0.3.146
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/RELEASES.md +4 -0
- package/package.json +1 -1
- package/src/ui/app.css +1 -0
- package/src/ui/releases.js +5 -2
package/RELEASES.md
CHANGED
|
@@ -11,6 +11,10 @@ Format: `## <version> — <YYYY-MM-DD>`, an optional one-line summary, then bull
|
|
|
11
11
|
Lead each bullet with a short bold phrase. Inline `code` and **bold** are rendered;
|
|
12
12
|
nothing else is.
|
|
13
13
|
|
|
14
|
+
## 0.3.146 — 2026-11-03
|
|
15
|
+
|
|
16
|
+
- **No update bar when you run Quilt from source.** Its "Update Quilt" button could never install there, so the bar stayed however often you restarted. Your folder gets each release with main by itself; What's new says so instead.
|
|
17
|
+
|
|
14
18
|
## 0.3.145 — 2026-11-03
|
|
15
19
|
|
|
16
20
|
- **Each agent keeps one voice.** An agent is given a voice when it registers (one of four American voices, two men and two women) and speaks in it every time, whatever it is named.
|
package/package.json
CHANGED
package/src/ui/app.css
CHANGED
|
@@ -1742,6 +1742,7 @@ body.has-update #app { padding-top: var(--update-bar); } /* padding, not margin:
|
|
|
1742
1742
|
.update-ctl { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
|
|
1743
1743
|
.update-ctl .btn { white-space: nowrap; }
|
|
1744
1744
|
.update-ctl .btn:disabled { opacity: 1; cursor: progress; }
|
|
1745
|
+
.update-src { color: var(--muted); font-size: 12px; }
|
|
1745
1746
|
.update-ctl .qm-inline { width: 14px; height: 14px; margin: 0; flex: none; }
|
|
1746
1747
|
.update-err { font-size: 12.5px; color: var(--bad); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1747
1748
|
#update-bar .update-err { color: var(--bg); opacity: .9; }
|
package/src/ui/releases.js
CHANGED
|
@@ -14,7 +14,7 @@ export async function checkRelease () {
|
|
|
14
14
|
const r = state.release
|
|
15
15
|
// Each newer release is announced once per computer: when it is cut while the app is open, or at the next launch.
|
|
16
16
|
// Not one you said not to show again.
|
|
17
|
-
if (r.outOfDate && !r.barHidden && recall('announced-release') !== r.latest.version) {
|
|
17
|
+
if (r.outOfDate && !r.barHidden && !fromSource() && recall('announced-release') !== r.latest.version) {
|
|
18
18
|
remember('announced-release', r.latest.version)
|
|
19
19
|
hiddenBar = false
|
|
20
20
|
openReleaseNotes()
|
|
@@ -32,6 +32,8 @@ export async function checkRelease () {
|
|
|
32
32
|
|
|
33
33
|
// ------------------------------------------------------------- update --
|
|
34
34
|
const desktop = () => window.quiltDesktop?.installUpdate ? window.quiltDesktop : null
|
|
35
|
+
// Quilt run from source can't install a build: its folder gets each release with main, by itself.
|
|
36
|
+
const fromSource = () => window.quiltDesktop?.dev === true
|
|
35
37
|
let update = null // { phase: 'downloading' | 'installing' | 'restarting' | 'failed', received, total, error }
|
|
36
38
|
|
|
37
39
|
/** Downloads and installs the newest Quilt from inside the desktop app. */
|
|
@@ -54,6 +56,7 @@ async function startUpdate () {
|
|
|
54
56
|
export function updateControl () {
|
|
55
57
|
const r = state.release
|
|
56
58
|
const download = `<a class="btn sm primary" href="${esc(r.downloadUrl)}" target="_blank" rel="noopener">${I.down}<span>Download</span></a>`
|
|
59
|
+
if (fromSource()) return '<span class="update-ctl update-src">Running from source: it comes into this folder with main.</span>'
|
|
57
60
|
if (!desktop()) return `<span class="update-ctl">${download}</span>`
|
|
58
61
|
const phase = update?.phase
|
|
59
62
|
if (!phase) return `<span class="update-ctl"><button class="btn sm primary" type="button" data-update>${I.down}<span>Update Quilt</span></button></span>`
|
|
@@ -75,7 +78,7 @@ function refreshUpdateControls () {
|
|
|
75
78
|
export function renderUpdateBar () {
|
|
76
79
|
const r = state.release
|
|
77
80
|
let bar = $('#update-bar')
|
|
78
|
-
const show = !!r?.outOfDate && !hiddenBar && !r.barHidden
|
|
81
|
+
const show = !!r?.outOfDate && !hiddenBar && !r.barHidden && !fromSource()
|
|
79
82
|
document.body.classList.toggle('has-update', show)
|
|
80
83
|
if (!show) { bar?.remove(); return }
|
|
81
84
|
if (!bar) {
|