@aiaiai-pt/martha-cli 0.61.1 → 0.62.0
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/CHANGELOG.md +28 -0
- package/dist/index.js +765 -717
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@aiaiai-pt/martha-cli`. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). This project adheres to semver — `0.x` releases may include breaking changes between minor versions.
|
|
4
4
|
|
|
5
|
+
## [0.62.0] — 2026-10-08
|
|
6
|
+
|
|
7
|
+
### Added — `--org` picks the organization for multi-organization tokens (#1611)
|
|
8
|
+
|
|
9
|
+
A token that authorizes several Keycloak Organizations (an operator on uio
|
|
10
|
+
staging: 14) must name one in the `X-Martha-Tenant` header, or the API refuses
|
|
11
|
+
every call with "name one in the X-Martha-Tenant header". The CLI never sent
|
|
12
|
+
it. Now it does, chosen in this order:
|
|
13
|
+
|
|
14
|
+
- the global `--org <tenant>` flag, or `MARTHA_ORG`;
|
|
15
|
+
- a command's own `--tenant` (`budget`, `spend`, `authz`), when your token is
|
|
16
|
+
a member of that organization;
|
|
17
|
+
- the profile's `org:` key in `~/.martha/config.yaml`.
|
|
18
|
+
|
|
19
|
+
A `--tenant` your token is not a member of (a super-admin naming another
|
|
20
|
+
tenant) still sends no header, as before. `martha doctor` sends it too.
|
|
21
|
+
|
|
22
|
+
## [0.61.2] — 2026-10-07
|
|
23
|
+
|
|
24
|
+
### Fixed — `martha chat` no longer prints `{"v": 1}` before every answer (#1601)
|
|
25
|
+
|
|
26
|
+
Since 2026-08-06 every chat stream opens with a named `stream_start` frame
|
|
27
|
+
(`event: stream_start` / `data: {"v": 1}`). The chat parser read only `data:`
|
|
28
|
+
lines, so the frame was printed as answer text. It now parses SSE events
|
|
29
|
+
properly and skips named events. The same fall-through printed structured
|
|
30
|
+
frames as raw JSON: `agent_progress` frames are now ignored, and a
|
|
31
|
+
`handover_placeholder` (a human took over) shows its message.
|
|
32
|
+
|
|
5
33
|
## [0.61.1] — 2026-09-25
|
|
6
34
|
|
|
7
35
|
### Fixed — carries 0.60.2's redirect fix onto the 0.61 line
|