agent-sin 0.1.9 → 0.1.11
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/CHANGELOG.md +16 -0
- package/dist/cli/index.js +2 -1
- package/dist/core/update-notifier.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,22 @@ See the [compatibility policy](https://agent.shingoirie.com/versioning) for deta
|
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
+
## [0.1.11] — 2026-05-14
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- The interactive startup banner now uses a plain `AGENT-SIN` wordmark on Windows. The previous half-block terminal logo could render slightly misaligned in Windows Terminal depending on font and line-height settings.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## [0.1.10] — 2026-05-14
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- Update notifications now compare full semver versions correctly. Previously `0.1.6` and `0.1.9` were treated as equal because only the major segment was compared, so `agent-sin start` could miss an available update even when `update-check.json` already had the newer version.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
18
34
|
## [0.1.9] — 2026-05-14
|
|
19
35
|
|
|
20
36
|
### Fixed
|
package/dist/cli/index.js
CHANGED
|
@@ -1347,9 +1347,10 @@ function renderStartupBanner(state) {
|
|
|
1347
1347
|
const accent = (text) => paintCode(BRAND_GREEN_ANSI, text, ctx);
|
|
1348
1348
|
const dot = dim(glyph("dot", ctx));
|
|
1349
1349
|
const modelDisplay = resolveDisplayModel(state);
|
|
1350
|
-
if (ctx.ascii) {
|
|
1350
|
+
if (ctx.ascii || process.platform === "win32") {
|
|
1351
1351
|
return [
|
|
1352
1352
|
"",
|
|
1353
|
+
` ${accent("AGENT-SIN")}`,
|
|
1353
1354
|
` ${bold("agent-sin")} ${dim("v" + AGENT_SIN_VERSION)} ${dot} ${dim("model:")} ${modelDisplay}`,
|
|
1354
1355
|
` ${dim("/help · /reset · /exit")}`,
|
|
1355
1356
|
"",
|
|
@@ -82,8 +82,8 @@ function fetchLatestVersion() {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
function compareSemver(a, b) {
|
|
85
|
-
const pa = a.split(/[
|
|
86
|
-
const pb = b.split(/[
|
|
85
|
+
const pa = a.split(/[+-]/)[0].split(".").map((s) => parseInt(s, 10) || 0);
|
|
86
|
+
const pb = b.split(/[+-]/)[0].split(".").map((s) => parseInt(s, 10) || 0);
|
|
87
87
|
const len = Math.max(pa.length, pb.length);
|
|
88
88
|
for (let i = 0; i < len; i += 1) {
|
|
89
89
|
const av = pa[i] ?? 0;
|