ainecto 0.14.0-next.1 → 0.14.0-next.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/README.md CHANGED
@@ -197,7 +197,8 @@ The server tools behind them (`list_notifications`, `list_agent_todos`, `update_
197
197
  `ainecto term` keeps terminal sessions running after you close the terminal window — no tmux or cmux
198
198
  needed. A background process, started on demand, owns each session and keeps its screen, so agents and
199
199
  scripts can type into a session and read its screen, and you can attach from any terminal app. It runs on
200
- this machine only; it does not use your AiNecto sign-in.
200
+ this machine only; it does not use your AiNecto sign-in. To use these sessions from AiNecto on the web, see
201
+ the last point below.
201
202
 
202
203
  ```bash
203
204
  ainecto term new api --cwd ~/code/api -- claude # start a session (without a command: your login shell)
@@ -218,11 +219,17 @@ ainecto term restore # after a reboot: start again
218
219
  - `send --paste` sends the text as a bracketed paste when the app asked for one. To send text that starts
219
220
  with `-`, put it after `--`.
220
221
  - In `attach`, press `Ctrl-\` twice to send one `Ctrl-\` to the app.
221
- - Inside a session, `AINECTO_TERM_SESSION` holds its name. A name does not change; to rename, kill the
222
- session and start it again.
222
+ - Inside a session, `AINECTO_TERM_SESSION` holds its name. A name does not change; renaming on the web
223
+ changes only the name you see (`term ls` shows it as the label).
223
224
  - `restore` starts again each session that was running (name, folder, command) with the environment of the
224
225
  shell you run it from. It does not bring back what the programs had in memory, and nothing restarts on its
225
226
  own after a reboot. A session that exits by itself is forgotten; `kill` and `kill-server` forget theirs.
227
+ - From AiNecto on the web: `ainecto` (the PC connection) lists every term session of this PC in Terminal
228
+ on the web — see a session as plain text (no colors yet), type into it, and start, rename or end
229
+ sessions there. Allow it once with `ainecto remote on` (`ainecto remote off` blocks it). «Disconnect»
230
+ on the web turns it off until you run `ainecto` again. If AiNecto restarts, it reconnects on its own.
231
+ Without Claude Code or Codex on this PC, `ainecto` still connects the terminals (when allowed); your PC
232
+ agent starts once you install one and run `ainecto` again. Its log is `~/.ainecto/term/remote.log`.
226
233
  - Files are in `~/.ainecto/term/` (folder only you can read): the control socket, `sessions.json` (what
227
234
  `restore` starts) and `daemon.log` (one line per request and one per answer; kept to 10 MB plus one older
228
235
  file, `daemon.log.1`). Typed text, screens and environment values are not logged.
@@ -273,7 +280,7 @@ the npm package `@ainecto/mcp` (the bridge `setup --local` and `init --mcp --loc
273
280
  publication requires the npm version it references to carry that `mcpName`, so publish npm first.
274
281
  Registration is done by a person:
275
282
 
276
- 1. `npm run release -- --otp=<code>` (below) so that `@ainecto/mcp@<version>` is on npm.
283
+ 1. Publish npm with the GitHub Actions workflow (below, «Releasing») so that `@ainecto/mcp@<version>` is on npm.
277
284
  2. Domain login for `ainecto.com` (HTTP: `https://ainecto.com/.well-known/mcp-registry-auth` must
278
285
  serve the public key; the private key is in the macOS keychain):
279
286
  `mcp-publisher login http --domain ainecto.com --private-key "$(security find-generic-password -s codelive-mcp-registry -a ainecto.com -w)"`.
@@ -341,11 +348,18 @@ temp file, and stored upload file unless `--keep` is supplied.
341
348
 
342
349
  ### Releasing
343
350
 
344
- `npm run release -- --otp=<code>` runs typecheck, test and build once, then publishes that build under
345
- three names: `@ainecto/mcp` (primary), `ainecto`, and `@ainecto/cli` (only the `ainecto` command).
346
- `--dry-run` shows what would go out. An already-published name is skipped, so a retry after an expired
347
- code is safe. The npm account needs write access to the `@ainecto` org (the script checks). Do not
348
- unpublish any name.
351
+ Releases go out through GitHub Actions (`.github/workflows/publish.yml`): Actions → **publish** → Run
352
+ workflow → pick the branch (the commit to publish) and the npm tag (`next` for versions with a `-`,
353
+ `latest` otherwise), then an approver of the `npm-publish` environment approves the run. It uses npm
354
+ trusted publishing (OIDC — no npm token is stored) and attaches provenance. From a terminal:
355
+ `gh workflow run publish.yml --repo codelives/ainecto --ref <branch> -f tag=next`.
356
+
357
+ The workflow runs `scripts/publish.mjs`: typecheck, test and build once, then that build under three
358
+ names — `@ainecto/mcp` (primary), `ainecto`, and `@ainecto/cli` (only the `ainecto` command). An
359
+ already-published name is skipped, so a re-run is safe. Do not unpublish any name.
360
+
361
+ Fallback only (when Actions cannot run): `npm run release -- --otp=<code>` publishes the same way from
362
+ your machine (`--dry-run` shows what would go out; the npm account needs write access to `@ainecto`).
349
363
 
350
364
  ## Known Limitations
351
365