@awebai/oats 0.35.2 → 0.35.4
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/docs/desktop.md +17 -0
- package/docs/release-notes/v0.35.3.md +16 -0
- package/docs/release-notes/v0.35.4.md +31 -0
- package/package.json +1 -1
package/docs/desktop.md
CHANGED
|
@@ -70,6 +70,23 @@ what is required, **Choose oats…** (pick the binary yourself — the choice
|
|
|
70
70
|
persists), **Retry**, a docs link, and the copyable install command. The
|
|
71
71
|
app never installs the CLI itself.
|
|
72
72
|
|
|
73
|
+
### Launched from Finder: the login shell's PATH
|
|
74
|
+
|
|
75
|
+
Opened from Finder or the Dock, an app inherits launchd's PATH
|
|
76
|
+
(`/usr/bin:/bin:/usr/sbin:/sbin`), which has no Homebrew or nvm `node` for
|
|
77
|
+
the CLI's `#!/usr/bin/env node`. At startup the Desktop therefore runs your
|
|
78
|
+
login shell once (`$SHELL -ilc`, 3 s timeout) and puts its PATH in front of
|
|
79
|
+
the inherited one, so the CLI probe, every `oats` call, a CLI picked with
|
|
80
|
+
**Choose oats…**, and the tmux server and terminals the Desktop starts all run
|
|
81
|
+
with your shell's PATH. Only PATH is taken from the shell, never the rest of
|
|
82
|
+
its environment. If the shell fails, times out or prints no PATH, the
|
|
83
|
+
inherited PATH stays: the backend's `/api/cli` reports `pathSource`
|
|
84
|
+
(`login-shell` or `inherited`), `pathError` (why, or `null`) and
|
|
85
|
+
`probePath` (the PATH the probe used), and the reason is logged at startup.
|
|
86
|
+
A tmux server that was already running keeps its own environment; restart it
|
|
87
|
+
(`tmux kill-server`, which ends its sessions) if its sessions should get the
|
|
88
|
+
new PATH.
|
|
89
|
+
|
|
73
90
|
## Opening a workspace
|
|
74
91
|
|
|
75
92
|
The app starts on the directory it was launched with (its own folder by
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# OATS 0.35.3
|
|
2
|
+
|
|
3
|
+
## Fixed
|
|
4
|
+
|
|
5
|
+
- **A Desktop opened from Finder or the Dock finds the CLI's node**
|
|
6
|
+
(awebai/oats#468). Such a launch inherits launchd's PATH
|
|
7
|
+
(`/usr/bin:/bin:/usr/sbin:/sbin`). Discovery found the CLI through the
|
|
8
|
+
login shell, but the probe and every later call ran it with that PATH, so
|
|
9
|
+
its `#!/usr/bin/env node` failed on a Homebrew or nvm host, and every
|
|
10
|
+
workspace showed `E_CLI_UNAVAILABLE`. At startup the Desktop now runs the
|
|
11
|
+
login shell once (3 s timeout) and puts its PATH in front of the
|
|
12
|
+
inherited one, for the backend, every `oats` call, the probe, a CLI picked
|
|
13
|
+
with **Choose oats…**, and the tmux server it starts. Only PATH is taken,
|
|
14
|
+
never the rest of the shell's environment. If the shell fails, the
|
|
15
|
+
inherited PATH stays, and `/api/cli` says so (`pathSource`, `pathError`,
|
|
16
|
+
`probePath`). An already-running tmux server is left as it is.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# OATS 0.35.4
|
|
2
|
+
|
|
3
|
+
## Fixed
|
|
4
|
+
|
|
5
|
+
- **A Desktop workspace never waits silently on "Reading the deployment…",
|
|
6
|
+
and a folder that is not a deployment never drops the open ones**
|
|
7
|
+
(awebai/oats#461). With three or more deployments open, the third and later
|
|
8
|
+
ones were never read: the server started every deployment's reads at once
|
|
9
|
+
past the observer's two-read bound, and kept the refused ones on their
|
|
10
|
+
first "pending" forever. That is also why an empty deployment (no souls,
|
|
11
|
+
no instances) listed third never loaded; an empty answer is an
|
|
12
|
+
observation, shown as no instances. Deployments are now read two at a
|
|
13
|
+
time, each one every cycle. A launch from a folder that is not a
|
|
14
|
+
deployment (a parent such as `~/Agents` as the cwd or `--dir`), at a
|
|
15
|
+
moment when no saved deployment could be opened, saved that folder as the
|
|
16
|
+
whole open set; only deployments are saved now, and the saved set is
|
|
17
|
+
never replaced with nothing. Add workspace → Browse… on a folder without
|
|
18
|
+
`oats-local.yaml` is refused with an explanation and lists the
|
|
19
|
+
deployments in it (or the one it is inside) as one-click adds; setting up
|
|
20
|
+
a new deployment there is a secondary action. A workspace the Desktop's
|
|
21
|
+
server does not serve, or does not answer for within 45 s, shows an
|
|
22
|
+
error naming it, with Retry and Re-add workspace. Behaviour change in
|
|
23
|
+
the Desktop's own server: an explicit `?ws=` it does not serve (any id)
|
|
24
|
+
on `/api/panel` and `/api/agents` is now 404 `E_WORKSPACE_NOT_SERVED`
|
|
25
|
+
instead of the first workspace's answer.
|
|
26
|
+
|
|
27
|
+
- **After upgrading from a version before 0.35.3, restart once a tmux
|
|
28
|
+
server that a Finder-launched Desktop started earlier** (awebai/oats#468).
|
|
29
|
+
Such a server keeps launchd's PATH for the sessions it starts. Restart it once to pick up the
|
|
30
|
+
new PATH. Restarting it ends the sessions in it, so do it when no instance
|
|
31
|
+
is running.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awebai/oats",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.4",
|
|
4
4
|
"description": "OATS (Open Agent Team Specification) — durable souls, disposable instances, targetable capability packages, and the runtime-neutral oats CLI/kernel.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|