@timurproko/a1 0.2.6-dev.734 → 0.2.6

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.
Files changed (45) hide show
  1. package/dist/app/session-shell/index.d.ts +2 -2
  2. package/dist/app/session-shell/index.js +1 -1
  3. package/dist/app/session-shell/session-shell-root.d.ts +9 -1
  4. package/dist/app/session-shell/session-shell-root.js +56 -47
  5. package/dist/app/session-shell/session-shell.d.ts +37 -9
  6. package/dist/app/session-shell/session-shell.js +266 -446
  7. package/dist/app/session-shell/shell-host.d.ts +105 -0
  8. package/dist/app/session-shell/shell-host.js +523 -0
  9. package/dist/cli/session-context.js +6 -3
  10. package/dist/composition/owned-ui.js +45 -25
  11. package/dist/contracts/owned-ui/index.d.ts +1 -1
  12. package/dist/contracts/owned-ui/session-presenters.d.ts +35 -8
  13. package/dist/features/launch/index.d.ts +1 -1
  14. package/dist/features/launch/index.js +1 -1
  15. package/dist/features/launch/session-context.d.ts +1 -0
  16. package/dist/features/launch/session-context.js +1 -0
  17. package/dist/features/owned-ui/resources/release-notes.json +4 -0
  18. package/dist/features/owned-ui/settings-app.js +3 -3
  19. package/dist/foundation/lifecycle/index.d.ts +1 -1
  20. package/dist/foundation/lifecycle/index.js +1 -1
  21. package/dist/foundation/lifecycle/session-repository-context.d.ts +8 -2
  22. package/dist/foundation/lifecycle/session-repository-context.js +200 -65
  23. package/dist/foundation/release/cohort-state.js +5 -2
  24. package/dist/integrations/pi/tui-runtime/damage-aware-terminal.d.ts +11 -0
  25. package/dist/integrations/pi/tui-runtime/damage-aware-terminal.js +18 -2
  26. package/dist/native/darwin-arm64/manifest.json +1 -1
  27. package/dist/native/linux-x64/manifest.json +1 -1
  28. package/dist/native/win32-x64/manifest.json +2 -2
  29. package/dist/native/win32-x64/process-guardian.exe +0 -0
  30. package/dist/ui/components/value-menu.d.ts +6 -3
  31. package/dist/ui/components/value-menu.js +6 -5
  32. package/docs/architecture/boundaries.md +1 -1
  33. package/docs/architecture/evidence/terminal-host-spike/manual-one-pane-terminal-host.md +70 -0
  34. package/docs/architecture/evidence/terminal-host-spike/manual-two-by-two-basic-terminal-host.md +32 -0
  35. package/docs/architecture/evidence/terminal-host-spike/milestone-baseline.json +115 -0
  36. package/docs/architecture/evidence/terminal-host-spike/owned-ui-foundation-prerequisite.json +48 -0
  37. package/docs/architecture/evidence/terminal-host-spike/terminal-host-provenance.json +125 -0
  38. package/docs/architecture/evidence/terminal-host-spike/terminal-host-task-5-1.json +56 -0
  39. package/docs/architecture/evidence/terminal-host-spike/terminal-host-task-5-3.json +174 -0
  40. package/docs/architecture/evidence/terminal-host-spike/terminal-spike-acceptance-record.json +18 -0
  41. package/docs/architecture/terminal-host-proof-gate.md +1 -1
  42. package/docs/architecture/terminal-host-spike-evidence.md +1 -1
  43. package/docs/architecture/ui-reference-provenance.md +1 -1
  44. package/docs/releases/0.2.6.md +44 -0
  45. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ {
2
+ "schema": "a1-terminal-spike-acceptance-record-v1",
3
+ "recordedAt": "2026-08-14T07:12:07.445Z",
4
+ "change": "evolve-bare-a1-into-multi-agent-workspace",
5
+ "hostMode": "console-inside-existing-terminal",
6
+ "artifact": null,
7
+ "technicalVerdict": "pending",
8
+ "physicalVerdict": "pending",
9
+ "physicalMethod": "not-run",
10
+ "decision": "pending",
11
+ "integrationAllowed": false,
12
+ "milestoneMergeAllowedForComposedTerminal": false,
13
+ "waivers": [],
14
+ "waiverPolicy": "no-waivers-after-evidence",
15
+ "structuredWorkIndependent": true,
16
+ "transparentModesIndependent": true,
17
+ "notes": "Acceptance is pending the isolated in-terminal 2x2 spike artifact and a manual or isolated-worker physical verdict."
18
+ }
@@ -29,4 +29,4 @@ Any failed, missing, incomplete, contradictory, physically unverified, or thresh
29
29
  - stops composed-terminal work instead of starting a custom rendering/input remediation loop;
30
30
  - prevents investment in a postponed desktop-native application shell.
31
31
 
32
- The executable decision was `evaluateNativeSpikeGate` in `src/foundation/native-host-protocol/proof-gate.ts`, preserved on the `archive/multi-agent-workspace` branch while the multi-agent plan is on hold. The current acceptance record is `openspec/changes/evolve-bare-a1-into-multi-agent-workspace/evidence/terminal-spike-acceptance-record.json`; it remains pending until task 5.6 records a physical verdict for exact artifact bytes.
32
+ The executable decision was `evaluateNativeSpikeGate` in `src/foundation/native-host-protocol/proof-gate.ts`, preserved in `develop` history at commit `243eb7a7`. The acceptance record is `docs/architecture/evidence/terminal-host-spike/terminal-spike-acceptance-record.json`. It stays pending: the owning plan was retired on 2026-10-10 without a physical verdict, and `add-persistent-multi-agent-tabs` defines its own certification rather than reusing this gate.
@@ -34,6 +34,6 @@ Paint diagnostics require requested, presented, coalesced, and missed frame coun
34
34
  - `overall: accepted` requires technical acceptance and a physical verdict accepted through `manual` or `isolated-worker` evidence.
35
35
  - Active-workstation automation makes the evidence invalid.
36
36
  - Evidence must not contain terminal output, child input streams, rendered cells, cell grids, framebuffers, screen buffers, or raw terminal payloads.
37
- - The evidence validator was `assertNativeSpikeEvidence` in `src/foundation/native-host-protocol/evidence.ts`, preserved on the `archive/multi-agent-workspace` branch while the multi-agent plan is on hold.
37
+ - The evidence validator was `assertNativeSpikeEvidence` in `src/foundation/native-host-protocol/evidence.ts`, preserved in `develop` history at commit `243eb7a7`. The plan that owned this spike was retired on 2026-10-10.
38
38
 
39
39
  A failed or incomplete proof stops composed-terminal integration and must not be waived to merge.
@@ -42,7 +42,7 @@ its own `core` facade layer; A1 is a product, so the port adapts imports and kee
42
42
  | `pi-engine/session-integration.ts` and `pi-components/shell-footer-status.ts` — steering queue | pinned Pi interactive mode `onSubmit` and `updatePendingMessagesDisplay` | Steering/follow-up uses `prompt(..., { streamingBehavior })`, allowing Pi to emit the accepted user row, while remaining steering rows preserve Pi's opening spacer, dim `Steering:` labels, dequeue hint, and order before `Working`. |
43
43
  | `ui-components/list-view.ts`, `dialog-panel.ts`, `value-menu.ts`, and `features/owned-ui/settings-app.ts` — setting presentation | pinned Pi `SettingsSelectorComponent`, Pi TUI `SettingsList`, `SelectList`, and `Input` at `0.84.2` | Cursor and selected label accents, unselected muted values, the 30-column label cap, dialog styling, notices, and narrow-width geometry retain pinned semantics. Scalar-menu placement and input remain shared, while the muted, hover-brightened selected value, A1/Agent grouping, pointer steppers, explicit `/` search, ruled shared input, shortcut-derived status hints, suppressed selected descriptions, `scrollbarSpeed`-driven wheel movement, a list rail that follows `scrollbarAppearance` and `scrollbarStyle` with transcript-style hover and drag, `Ctrl+Home`/`Ctrl+End` boundary jumps, and the dark floating menu with lighter active row and effective-value check mark are declared product-owned differences. Independent row evidence: `test/features/owned-ui/pinned-settings-presentation-parity.test.ts`; owned interaction evidence: `test/features/owned-ui/settings-app.test.ts`, `test/ui/components/value-menu.test.ts`, and `test/composition/settings-route-host.test.ts`. |
44
44
  | `features/owned-ui/project-trust-prompt.ts` — pre-resource selector | pinned Pi `cli/startup-ui.ts`, `cli/project-trust.ts`, and `core/project-trust.ts` at commit `914cf1472e715297caa30db4b9535d534a9eb718` | Uses a fixed, dependency-bounded A1 startup selector rather than importing private CLI modules. It preserves selected-option accent, navigation/accept/reject/cancel semantics, fail-closed behavior, raw-mode restoration, clearing, cursor restoration, and parent-screen restoration before diagnostics. |
45
- | `session-shell/session-shell-root.ts` and `session-shell.ts` — fullscreen exit | pinned Pi `InteractiveMode.formatResumeCommand()` and shutdown output at commit `914cf1472e715297caa30db4b9535d534a9eb718` | Re-renders authoritative transcript components with semantic SGR intact, excludes inline-image control payloads and fullscreen-only chrome, restores the terminal first, then emits pinned dim `To resume this session:` wording with `a1`, compact session id, and conditional quoted `--session-dir`. |
45
+ | `session-shell/session-shell-root.ts`, `session-shell.ts`, and `shell-host.ts` — fullscreen exit | pinned Pi `InteractiveMode.formatResumeCommand()` and shutdown output at commit `914cf1472e715297caa30db4b9535d534a9eb718` | Re-renders authoritative transcript components with semantic SGR intact, excludes inline-image control payloads and fullscreen-only chrome, restores the terminal first, then emits pinned dim `To resume this session:` wording with `a1`, compact session id, and conditional quoted `--session-dir`. |
46
46
  | `pi-tui-runtime/input-presentation-coordinator.ts` and custom-viewport dock reuse | pinned Pi TUI `TuiBase` input dispatch and immediate-render pending guard at `0.84.2` | Preserves each original terminal delivery and invokes the existing Pi handlers exactly once in order. Bare A1 alone drains finite-grammar text/edit/navigation bursts in one immediate event-loop opportunity so Pi's existing pending guard paints the newest state once; effectful, unknown, protocol, paste, and extension-owned input remains an immediate barrier. Geometry-stable dock frames reuse A1's established transcript viewport, while uncertain geometry and replacement-surface damage still fail closed. Independent evidence is under `test/support/input-responsiveness/`. |
47
47
  | `test/features/owned-ui/pi-raw-terminal-parity.ts` — parity normalization | pinned Pi public components/runtime at `0.84.2` | Only synchronized-output envelopes, absolute hyperlink targets, declared product/path substitutions, and nondeterministic timing may normalize. SGR roles/reset boundaries, rows, cursor operations, clearing, restoration, and write order remain authoritative; A1-generated JSON captures are diagnostics and cannot serve as pinned evidence. |
48
48
 
@@ -0,0 +1,44 @@
1
+ ## [0.2.6] - 2026-10-10
2
+
3
+ ### New Features
4
+
5
+ - customize the UI accent ([#718](https://github.com/timurproko/a1/pull/718))
6
+ - allow concurrent worktree cleanup ([#725](https://github.com/timurproko/a1/pull/725))
7
+ - add background appearance options ([#738](https://github.com/timurproko/a1/pull/738))
8
+
9
+ ### Changed
10
+
11
+ - optimize Windows release validation ([#705](https://github.com/timurproko/a1/pull/705))
12
+ - allow human auto-merge ([#711](https://github.com/timurproko/a1/pull/711))
13
+ - remove disposable root links ([#713](https://github.com/timurproko/a1/pull/713))
14
+ - upgrade pinned Pi to 1.1.0 ([#715](https://github.com/timurproko/a1/pull/715))
15
+ - align menu and input counters ([#726](https://github.com/timurproko/a1/pull/726))
16
+ - narrow the session backend port ([#730](https://github.com/timurproko/a1/pull/730))
17
+ - extract session presenters owner ([#731](https://github.com/timurproko/a1/pull/731))
18
+ - share helper pools and keybindings per process ([#733](https://github.com/timurproko/a1/pull/733))
19
+ - introduce a process-level engine host ([#734](https://github.com/timurproko/a1/pull/734))
20
+ - split the terminal host from the session presenter ([#735](https://github.com/timurproko/a1/pull/735))
21
+ - key worktree claims by agent ([#736](https://github.com/timurproko/a1/pull/736))
22
+ - follow the menu opening on the value in effect ([#752](https://github.com/timurproko/a1/pull/752))
23
+
24
+ ### Fixed
25
+
26
+ - distinguish changelog titles ([#707](https://github.com/timurproko/a1/pull/707))
27
+ - route release reopening validation ([#708](https://github.com/timurproko/a1/pull/708))
28
+ - preserve resume row colors ([#709](https://github.com/timurproko/a1/pull/709))
29
+ - prevent selector opening flash ([#710](https://github.com/timurproko/a1/pull/710))
30
+ - recover missing generation ([#712](https://github.com/timurproko/a1/pull/712))
31
+ - support standalone documentation ([#716](https://github.com/timurproko/a1/pull/716))
32
+ - prevent prompt selection flash ([#719](https://github.com/timurproko/a1/pull/719))
33
+ - simplify value feedback ([#720](https://github.com/timurproko/a1/pull/720))
34
+ - keep final validation on PR ([#721](https://github.com/timurproko/a1/pull/721))
35
+ - make tree selection full width ([#722](https://github.com/timurproko/a1/pull/722))
36
+ - allow selection across progress spinner ([#727](https://github.com/timurproko/a1/pull/727))
37
+ - order session shell construction and teardown ([#732](https://github.com/timurproko/a1/pull/732))
38
+ - disambiguate same-name path chips ([#737](https://github.com/timurproko/a1/pull/737))
39
+ - distinguish brand blue accent ([#739](https://github.com/timurproko/a1/pull/739))
40
+ - open value menus with Enter ([#740](https://github.com/timurproko/a1/pull/740))
41
+ - hide refreshed model status ([#741](https://github.com/timurproko/a1/pull/741))
42
+ - open value menus over their anchor ([#742](https://github.com/timurproko/a1/pull/742))
43
+ - recognize method-specific auto-merge enables ([#743](https://github.com/timurproko/a1/pull/743))
44
+ - retry Windows lock release contention ([#753](https://github.com/timurproko/a1/pull/753))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timurproko/a1",
3
- "version": "0.2.6-dev.734",
3
+ "version": "0.2.6",
4
4
  "description": "Standalone terminal workspace for supervised native and managed agents",
5
5
  "type": "module",
6
6
  "privateLaunchContract": "neutral-launch-v1",