@timurproko/a1 0.1.8-dev.512 → 0.1.8-dev.521
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/README.md +64 -20
- package/dist/app/session-shell/index.d.ts +1 -1
- package/dist/app/session-shell/prompt-suggestion-controller.d.ts +2 -0
- package/dist/app/session-shell/prompt-suggestion-controller.js +12 -0
- package/dist/app/session-shell/session-shell-root.d.ts +10 -0
- package/dist/app/session-shell/session-shell-root.js +12 -2
- package/dist/app/session-shell/session-shell.d.ts +8 -1
- package/dist/app/session-shell/session-shell.js +217 -18
- package/dist/composition/index.d.ts +1 -1
- package/dist/composition/owned-ui.js +21 -3
- package/dist/composition/settings-route-host.d.ts +17 -4
- package/dist/composition/settings-route-host.js +47 -16
- package/dist/contracts/owned-ui/index.d.ts +1 -1
- package/dist/contracts/owned-ui/model.d.ts +1 -5
- package/dist/features/owned-ui/index.d.ts +3 -0
- package/dist/features/owned-ui/index.js +2 -0
- package/dist/features/owned-ui/reference-routes.d.ts +6 -0
- package/dist/features/owned-ui/reference-routes.js +6 -0
- package/dist/features/owned-ui/reference-screen-app.d.ts +37 -0
- package/dist/features/owned-ui/reference-screen-app.js +232 -0
- package/dist/features/owned-ui/settings-app.js +2 -7
- package/dist/integrations/pi/components/index.d.ts +4 -2
- package/dist/integrations/pi/components/index.js +2 -1
- package/dist/integrations/pi/components/models-dialog.d.ts +55 -0
- package/dist/integrations/pi/components/models-dialog.js +310 -0
- package/dist/integrations/pi/components/shell-editor-autocomplete.d.ts +10 -0
- package/dist/integrations/pi/components/shell-editor-autocomplete.js +29 -5
- package/dist/integrations/pi/components/shell-footer-status.js +2 -1
- package/dist/integrations/pi/components/shell-presenters-info.d.ts +10 -0
- package/dist/integrations/pi/components/shell-presenters-info.js +31 -11
- package/dist/integrations/pi/components/shell-selectors-dialogs.d.ts +11 -1
- package/dist/integrations/pi/components/shell-selectors-dialogs.js +13 -0
- package/dist/integrations/pi/components/shell-shared-facade.d.ts +8 -0
- package/dist/integrations/pi/components/skills-command.d.ts +47 -0
- package/dist/integrations/pi/components/skills-command.js +118 -0
- package/dist/integrations/pi/components/skills-dialog.d.ts +9 -0
- package/dist/integrations/pi/components/skills-dialog.js +123 -0
- package/dist/integrations/pi/components/upstream/components/owned-editor.d.ts +8 -2
- package/dist/integrations/pi/components/upstream/components/owned-editor.js +42 -7
- package/dist/integrations/pi/engine/adapter.d.ts +5 -1
- package/dist/integrations/pi/engine/adapter.js +13 -1
- package/dist/integrations/pi/engine/index.d.ts +2 -2
- package/dist/integrations/pi/engine/index.js +1 -1
- package/dist/integrations/pi/engine/resource-catalog.d.ts +2 -1
- package/dist/integrations/pi/engine/resource-catalog.js +19 -9
- package/dist/integrations/pi/engine/workflow-contexts.d.ts +8 -1
- package/dist/integrations/pi/engine/workflow-contexts.js +52 -8
- package/dist/integrations/pi/engine/workflow-runner.js +98 -74
- package/dist/integrations/pi/engine/workflows.d.ts +26 -2
- package/dist/integrations/pi/engine/workflows.js +8 -0
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/linux-x64/manifest.json +1 -1
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/native/win32-x64/process-guardian.exe +0 -0
- package/dist/ui/apps/contracts.d.ts +9 -1
- package/dist/ui/apps/index.d.ts +1 -1
- package/dist/ui/settings/declarations.d.ts +15 -29
- package/dist/ui/settings/declarations.js +14 -25
- package/dist/ui/settings/index.d.ts +1 -1
- package/dist/ui/settings/index.js +1 -1
- package/dist/ui/settings/migrations.js +18 -0
- package/docs/architecture/prompt-suggestions.md +1 -1
- package/docs/architecture/ui-reference-provenance.md +1 -0
- package/docs/ci-release-runbook.md +31 -23
- package/docs/features/modal-content-interaction.md +3 -2
- package/package.json +1 -1
|
@@ -49,7 +49,7 @@ effect of stable publication, not a trigger.
|
|
|
49
49
|
| Pull request into `develop` | Bounded PR-cadence validation; changed/new source documentation is checked once, rendering runs as `none`, `smoke`, or `full`, and exhaustive owners are reported as deferred |
|
|
50
50
|
| `npm run develop` | Preview package gates on Windows, Linux, and macOS; an existing numbered preview is an early successful no-op |
|
|
51
51
|
| Nightly at `03:17 UTC` | One full documentation review plus the complete non-physical suite on Windows, Linux, and macOS, every night |
|
|
52
|
-
| `npm run release -- ...` |
|
|
52
|
+
| `npm run release -- ...` | Stamps the requested stable version on the open `develop` source, runs the complete exact-byte stable gates, then npm `latest`, tag, GitHub Release, and `master`; one reopening PR follows |
|
|
53
53
|
| `.github/workflows/full-regression.yml` | Additional on-demand complete regression without publication authority |
|
|
54
54
|
| `.github/workflows/pi-upstream-sync.yml` | Nightly at `03:23 UTC`: when npm publishes a newer Pi than the pin that no closed proposal skipped, proposes the upgrade as a draft pull request with the vendored copies that follow upstream merged, the kept copies reported with their upstream delta, the ledger, headers, inventories, public API and feature baselines, startup graph, and parity evidence regenerated, and every gate verdict (passed, failed, or blocked by conflict markers) and review item in the body; never merges and never replaces a proposal a human has continued |
|
|
55
55
|
| `.github/workflows/nightly-regression-triage.yml` | After every completed `Full regression` run on `develop` or scheduled `Release` validation: judges the startup budget across the three most recent runs and, after a failure or a persistent overrun, opens `fix/nightly-regression-<date>` as a draft pull request carrying the failed commands per lane, their tests, a bounded log excerpt, the `develop` commits since the last green run, and an OpenSpec fix scaffold, or refreshes the open candidate with the same failed scope set; re-runs nothing, never writes `develop`, never merges |
|
|
@@ -195,43 +195,50 @@ work.
|
|
|
195
195
|
From the repository root on clean `develop` matching `origin/develop`:
|
|
196
196
|
|
|
197
197
|
```sh
|
|
198
|
-
npm run release -- patch # 0.1.8-dev -> 0.1.8
|
|
198
|
+
npm run release -- patch # 0.1.8-dev -> 0.1.8
|
|
199
199
|
npm run release -- minor # 0.1.8-dev -> 0.2.0
|
|
200
200
|
npm run release -- major # 0.1.8-dev -> 1.0.0
|
|
201
201
|
npm run release -- 0.4.0 # exact stable target
|
|
202
202
|
```
|
|
203
203
|
|
|
204
204
|
A target is required: `npm run release` alone is a mutation-free usage error.
|
|
205
|
-
`patch`
|
|
205
|
+
`patch` promotes the open prerelease, `0.1.8-dev -> 0.1.8`. `develop` must declare
|
|
206
|
+
exactly one open `x.y.z-dev` version; a stable or numbered version there is refused.
|
|
206
207
|
The command reports its source, stable target, and prospective reopening before
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
1. The
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
208
|
+
touching anything, and the stable version is never committed to `develop`.
|
|
209
|
+
|
|
210
|
+
1. The helper checks that the registry and `v<version>` tag do not already hold the
|
|
211
|
+
target, re-reads authoritative `develop`, and explicitly dispatches stable
|
|
212
|
+
publication for that exact source with the stable version in the request. A changed source is
|
|
213
|
+
an error, not permission to substitute a newer commit.
|
|
214
|
+
2. The workflow stamps the requested version on the checked-out source
|
|
215
|
+
(`npm version <x.y.z> --no-git-tag-version`) before packing, so the tarball
|
|
216
|
+
declares `0.1.8` while the tagged commit still declares `0.1.8-dev`. Everything
|
|
217
|
+
else about the package is byte-identical to that commit's tree; `git checkout
|
|
218
|
+
v0.1.8 && npm version 0.1.8 --no-git-tag-version && npm pack` reproduces it.
|
|
219
|
+
3. Only after verified publication of `0.1.8` does the helper commit `0.1.9-dev`
|
|
220
|
+
in an owned detached worktree beneath `.worktrees/` (only this package's manifest
|
|
221
|
+
and root lockfile version change), open the one version PR, and wait for you to
|
|
222
|
+
**merge it manually** with a bounded 30-minute poll. The helper never merges
|
|
223
|
+
PRs or enables auto-merge. Until that merge the helper reports development
|
|
224
|
+
reopening as incomplete, and previews cannot be published from a `develop`
|
|
225
|
+
whose `-dev` version sorts below the stable release.
|
|
220
226
|
|
|
221
227
|
Closed PRs, timeout, cancellation, and query failures retain identifiable phase
|
|
222
228
|
work for inspection. Conflicting existing branches/PRs are not overwritten;
|
|
223
|
-
matching pending
|
|
229
|
+
a matching pending reopening PR is observed rather than replaced. Worktrees
|
|
224
230
|
retained by an earlier attempt are not removed by a later invocation. Cleanup
|
|
225
231
|
only removes clean, owned, confirmed-merged phase worktrees and unchanged remote
|
|
226
232
|
phase branches. The caller is never hard-reset: a final fast-forward is attempted
|
|
227
233
|
only when its branch, original HEAD, and cleanliness remain unchanged. Otherwise
|
|
228
234
|
preserve local work and synchronize manually with the reported remote state.
|
|
229
235
|
|
|
230
|
-
Stable publication builds the process guardian on all supported platforms,
|
|
231
|
-
once, runs the complete suite against those exact bytes on
|
|
232
|
-
macOS, publishes to npm `latest` with provenance from the
|
|
233
|
-
environment, and then writes `vx.y.z
|
|
234
|
-
`master`. A push of the stable version does
|
|
236
|
+
Stable publication builds the process guardian on all supported platforms, stamps
|
|
237
|
+
the version, packs once, runs the complete suite against those exact bytes on
|
|
238
|
+
Windows, Linux, and macOS, publishes to npm `latest` with provenance from the
|
|
239
|
+
`npm-publish` environment, and then writes `vx.y.z` on the source commit, records
|
|
240
|
+
the GitHub Release, and fast-forwards `master`. A push of the stable version does
|
|
241
|
+
not publish it, and no automation ever pushes one.
|
|
235
242
|
|
|
236
243
|
Rules that do not bend:
|
|
237
244
|
|
|
@@ -257,7 +264,8 @@ Rules that do not bend:
|
|
|
257
264
|
- **Nightly documentation review fails:** inspect the reported paths and rules, identify the introducing merge from the nightly interval, and repair the invariant before unrelated work proceeds.
|
|
258
265
|
- **Development publication fails:** fix the cause and rerun `npm run develop`; an npm version that already exists is never overwritten.
|
|
259
266
|
- **Registry verification times out:** a `has not propagated` failure after a successful `npm publish` means npm is still ingesting the upload; it warns that a provenance-signed package "may take a few minutes" and the publisher polls for ten minutes. Confirm the version and its shasum on `https://registry.npmjs.org/<name>/<version>`, then rerun the failed jobs: the final registry check finds the exact bytes, skips `npm publish`, and verification passes. A digest or tag mismatch is not a timeout and is never repaired by rerunning.
|
|
260
|
-
- **Stable
|
|
267
|
+
- **Stable publication fails or is uncertain:** no reopening PR was prepared and `develop` still declares the open `-dev` version. Inspect the workflow run, npm, and the `v<version>` tag. When nothing was published, fix the cause and rerun the same target; the registry and tag guards refuse a version that already exists.
|
|
268
|
+
- **Stable is published but reopening stopped:** the helper reports the reopening PR or retained worktree. Merge the pending `chore/release-<x.y.z>-dev` PR by hand once its CI passes, or repair the branch and open the PR yourself; never rerun the release for the published version.
|
|
261
269
|
- **Stable publication fails or is uncertain:** inspect the workflow, registry version/digest, tag, and release before choosing recovery. No reopening PR is prepared. Never republish immutable bytes or move a release tag.
|
|
262
270
|
- **Stable publication succeeded but reopening stops:** the stable version is already published. Inspect and finish the reported next-development PR manually; do not repeat stable publication. If no reopening PR was created, prepare the next-development version through a separately validated manual PR after inspecting remote state.
|
|
263
271
|
|
|
@@ -14,6 +14,7 @@ The existing [modal transition inventory](../../config/baselines/modal-surface-i
|
|
|
14
14
|
| --- | --- | --- |
|
|
15
15
|
| `editor.root` | Ordinary editor and viewport | Existing viewport/controller and shell regression cases |
|
|
16
16
|
| `settings.*`, `models.*`, `trust.project` | Shell replacement input, including nested component states | Real settings/thinking, Model Configuration and model selection; generic replacement geometry and gesture tests |
|
|
17
|
+
| A1-owned Skills dialog (`/skills`, not a pinned node) | Shell replacement input, presented like `models.select` | `test/app/session-shell/session-shell-skills.test.ts` apply/cancel/resize cases; shared replacement tests |
|
|
17
18
|
| `session.*`, `tree.*` | Shell replacement input and nested replacement/confirmation controllers | Real fork plus existing resume/tree/missing-directory lifecycle cases; shared replacement tests |
|
|
18
19
|
| `auth.*` | Shell replacement input, including provider and nested prompts | Real login/logout plus existing OAuth/API-key/nested restoration cases; shared replacement tests |
|
|
19
20
|
| `command.import-confirm`, `operation.*` | Shell replacement confirmation/loader | Existing confirmation/loader lifecycle cases; shared replacement tests |
|
|
@@ -30,8 +31,8 @@ Focused files:
|
|
|
30
31
|
|
|
31
32
|
## Manual review
|
|
32
33
|
|
|
33
|
-
Build the exact candidate, then launch it through `./scripts/dev` from its worktree in Windows Terminal/Git Bash.
|
|
34
|
+
Build the exact candidate, then launch it through `./scripts/dev` from its worktree in Windows Terminal/Git Bash. Populate a long transcript (for example with a few prompts, or `/hotkeys` under `a1 pi`; in bare A1 `/hotkeys` opens a full-screen reference screen and appends nothing), then open `/scoped-models`. Compare scrolling and drag/word/line selection with the dialog closed and open. Try the rail, copy, and jump-to-bottom; the model dialog must not navigate or close as a side effect of transcript gestures. Copy must not show Pi's `Copied` notification.
|
|
34
35
|
|
|
35
|
-
Repeat with `/
|
|
36
|
+
Repeat with `/models`, settings and a nested settings dialog, and extension-provided docked and floating surfaces. Check that typing, modal buttons and wheel handling, save, and cancel still work. Resize during a drag, close/reopen the modal, and repeat while output streams. A full-cover screen must not allow click-through into hidden transcript cells. `auto` scrollbar visibility remains activity-dependent; `hidden` remains hidden.
|
|
36
37
|
|
|
37
38
|
User confirmation of the exact built candidate is still required before merging the code PR. The baseline's pre-existing selection boundaries and speed are intentionally preserved, as clarified by the user; this change does not attempt to reconcile older specification wording by changing those behaviors.
|
package/package.json
CHANGED