instar 1.3.1583 → 1.3.1584

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.
@@ -998,6 +998,19 @@ button.run-mark:focus-visible { outline: 2px solid var(--accent); outline-offset
998
998
  .sess-actions a.btn-quiet { display: inline-flex; align-items: center; text-decoration: none; }
999
999
  .sess-default-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: baseline; margin-top: var(--s-3); }
1000
1000
  .sess-default-row .card-note { margin: 0; }
1001
+ /* Desktop: an open session fills the window beside the list, so the composer is
1002
+ always on screen (no page scroll to reach it) and the terminal takes the rest. */
1003
+ @media (min-width: 900px) {
1004
+ .main:has(> .sessions-page.has-open) { max-width: 1680px; padding-top: var(--s-6); padding-bottom: var(--s-6); }
1005
+ .sessions-page.has-open { grid-template-columns: minmax(280px, 340px) 1fr; }
1006
+ .sessions-page.has-open .sess-list .page-title { font-size: 28px; }
1007
+ .sessions-page.has-open .sess-view { top: calc(56px + var(--s-4)); height: calc(100dvh - 56px - var(--preview-h, 0px) - var(--s-6) - var(--s-4)); }
1008
+ .app:has(> .preview-banner) { --preview-h: 37px; }
1009
+ .sessions-page.has-open .sess-open { height: 100%; min-height: 0; }
1010
+ .sessions-page.has-open .sess-term-wrap { min-height: 0; }
1011
+ .sessions-page.has-open .sess-term { height: auto; min-height: 0; }
1012
+ .sessions-page.has-open .sess-composer { position: static; padding-bottom: 0; }
1013
+ }
1001
1014
  .sess-default-box:empty { display: none; }
1002
1015
  .sess-default-box { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: var(--s-3); margin: var(--s-2) 0; }
1003
1016
  .skeleton-row { pointer-events: none; }
@@ -1115,7 +1128,7 @@ button.run-mark:focus-visible { outline: 2px solid var(--accent); outline-offset
1115
1128
  .mb-pace { margin-top: 4px; }
1116
1129
 
1117
1130
  /* Preview address: say plainly that this is work in progress. */
1118
- .preview-banner { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; padding: 8px 16px; background: #3a2f0b; color: #f6d77a; font-size: 14px; line-height: 1.4; }
1131
+ .preview-banner { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; padding: 8px 16px; background: #3a2f0b; color: #f6d77a; font-size: 14px; line-height: 1.4; }
1119
1132
  .preview-banner a { color: inherit; text-decoration: underline; margin-left: auto; }
1120
1133
 
1121
1134
  /* Home headline as a link to the first thing that needs the operator. */
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
5
- "packageVersion": "1.3.1583",
5
+ "packageVersion": "1.3.1584",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "4a35297725665df14df0d0c51c2d1956bb31aeb08dc4bca978e79ca0b059518e",
2
+ "sha256": "1ae73f92f69364779f610789024ffeceb9f05d3cf9142ed02cf5030126db89d8",
3
3
  "registrySha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
4
- "packageVersion": "1.3.1583"
4
+ "packageVersion": "1.3.1584"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
3
3
  "articleCount": 93,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.1583"
5
+ "packageVersion": "1.3.1584"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instar",
3
- "version": "1.3.1583",
3
+ "version": "1.3.1584",
4
4
  "description": "Coherence infrastructure for self-evolving AI agents — on the Claude Code or Codex subscription you already have.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -129,7 +129,7 @@ try {
129
129
  if ($Phase -eq 'Stage') {
130
130
  if (Test-Path $nextExe) { Remove-Item -Force $nextExe }
131
131
  Add-Type -Path $code -ReferencedAssemblies @('System.Drawing', 'System.Windows.Forms', 'System.Web.Extensions') `
132
- -OutputAssembly $nextExe -OutputType ConsoleApplication -ErrorAction Stop
132
+ -OutputAssembly $nextExe -OutputType WindowsApplication -ErrorAction Stop
133
133
  if (-not (Test-Path $nextExe)) { throw 'Companion compiler produced no executable' }
134
134
  @{ staged = $true; taskRunning = ($null -ne $prior -and $prior.State -eq 4) } | ConvertTo-Json -Compress
135
135
  return
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "./builtin-manifest.schema.json",
3
3
  "schemaVersion": 1,
4
- "generatedAt": "2026-11-02T02:08:09.214Z",
5
- "instarVersion": "1.3.1583",
4
+ "generatedAt": "2026-11-02T02:43:40.225Z",
5
+ "instarVersion": "1.3.1584",
6
6
  "entryCount": 205,
7
7
  "entries": {
8
8
  "hook:session-start": {
@@ -2,7 +2,7 @@
2
2
  "schemaVersion": 1,
3
3
  "generatedFrom": "source-tree",
4
4
  "registrySha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
5
- "packageVersion": "1.3.1583",
5
+ "packageVersion": "1.3.1584",
6
6
  "guards": [
7
7
  {
8
8
  "ref": "docs/audits/phase-b/f10-triage.md",
@@ -1,5 +1,5 @@
1
1
  {
2
- "sha256": "4a35297725665df14df0d0c51c2d1956bb31aeb08dc4bca978e79ca0b059518e",
2
+ "sha256": "1ae73f92f69364779f610789024ffeceb9f05d3cf9142ed02cf5030126db89d8",
3
3
  "registrySha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
4
- "packageVersion": "1.3.1583"
4
+ "packageVersion": "1.3.1584"
5
5
  }
@@ -2,5 +2,5 @@
2
2
  "sha256": "db01d9f92c6aa26ca903702896b41be53722982ed07d27633237bb254c214290",
3
3
  "articleCount": 93,
4
4
  "generatedFrom": "docs/STANDARDS-REGISTRY.md",
5
- "packageVersion": "1.3.1583"
5
+ "packageVersion": "1.3.1584"
6
6
  }
@@ -0,0 +1,28 @@
1
+ # Upgrade Guide — vNEXT
2
+
3
+ <!-- assembled-by: assemble-next-md -->
4
+ <!-- bump: patch -->
5
+
6
+ ## What Changed
7
+
8
+ On desktop, an open session in the console fills the window: the terminal takes the free space and the message box is always on screen, with no scrolling. The preview banner is one line instead of wrapping in the menu column.
9
+
10
+ The Windows desktop companion is compiled as a windowless application instead of a console application, so starting it in the signed-in session no longer opens a terminal window on the user's screen.
11
+
12
+ ## What to Tell Your User
13
+
14
+ On a computer, the session page now uses the whole window and the message box is always visible.
15
+
16
+ The black terminal window that appeared on your Windows machine after enabling remote desktop no longer shows up. Remote desktop works the same.
17
+
18
+ ## Summary of New Capabilities
19
+
20
+ No new capability; a layout fix for the desktop session view.
21
+
22
+ No visible helper window on Windows.
23
+
24
+ ## Evidence
25
+
26
+ Operator screenshot 2026-11-01 (composer below the fold at 1280x694). After the change, headless Chromium at 1280x694 and 1920x1080 shows the composer inside the viewport.
27
+
28
+ Installed on Mama PC through the normal installer with this change: the running companion has no main window (MainWindowHandle 0), no window titled with its install path exists, and diagnostics report ready. Unit test tests/unit/windows-companion-no-console.test.ts.
@@ -0,0 +1,9 @@
1
+ # Plain overview: session page on a computer screen
2
+
3
+ On a computer, opening a session in the dashboard left a lot of empty space at the sides,
4
+ and the box where you type a message sat below the bottom of the window, so you had to
5
+ scroll to reach it. Now an open session fills the window: the list of sessions sits in a
6
+ narrower column on the left, the session's live output takes the rest of the space, and
7
+ the message box is always visible at the bottom. On a phone nothing changes. The yellow
8
+ "preview" strip at the top of preview pages also shrinks from several lines to one, since
9
+ it was squeezed into the narrow menu column before.
@@ -0,0 +1,16 @@
1
+ # Side effects: desktop session view fills the window
2
+
3
+ CSS only (dashboard/console/console.css). At 900 px and wider, with a session open, the
4
+ page widens to 1680 px, the list column narrows to 280-340 px, and the session view is
5
+ exactly the window height below the top bar, so the terminal takes the free space and the
6
+ composer is always on screen. The preview banner now spans the full grid width instead of
7
+ wrapping inside the 248 px nav column (it was ~125 px tall, now ~37 px).
8
+
9
+ 1. Over-block: none (no logic).
10
+ 2. Under-block: very short windows (< ~450 px) still squeeze the terminal; acceptable.
11
+ 3. Level fit: layout belongs in the stylesheet.
12
+ 4. Signal vs authority: not a decision point.
13
+ 5. Interactions: xterm refits through the existing ResizeObserver. Phone layout untouched (media query).
14
+ 6. External surfaces: dashboard appearance only.
15
+ 7. Multi-machine: machine-local static asset; identical on every machine.
16
+ 8. Rollback: revert the commit.
@@ -0,0 +1,45 @@
1
+ # Windows companion: windowless build
2
+
3
+ ## Summary
4
+
5
+ Tier 1: one word in scripts/install-windows-desktop-companion.ps1 (`-OutputType ConsoleApplication` to `WindowsApplication`).
6
+
7
+ ## Over-block
8
+
9
+ None.
10
+
11
+ ## Under-block
12
+
13
+ The `--self-test` mode still writes to the console; as a windowless app its text is not shown when run by hand, but its exit code is unchanged. Nothing in the installer or tests runs it.
14
+
15
+ ## Level of abstraction
16
+
17
+ Build flag only.
18
+
19
+ ## Signal versus authority
20
+
21
+ No decision point changes.
22
+
23
+ ## Interactions
24
+
25
+ The red "remote control active" banner is a WinForms window and is unaffected. The scheduled task launch is unchanged.
26
+
27
+ ## 6b. Operator-surface quality
28
+
29
+ Removes a stray terminal window from the user's Windows desktop.
30
+
31
+ ## External surfaces
32
+
33
+ None.
34
+
35
+ ## Multi-machine posture
36
+
37
+ Windows-only, machine-local.
38
+
39
+ ## Rollback cost
40
+
41
+ Revert the line; the next update rebuilds the console version.
42
+
43
+ ## Class-Closure Declaration
44
+
45
+ `defectClass: environment-assumption`, `closure: fix`, `guardEvidence: { enforcementType: unit-test, citation: tests/unit/windows-companion-no-console.test.ts, howCaught: a terminal window titled with the companion path was visible in the live Mama PC screen }`.