@robota-sdk/agent-cli 3.0.0-beta.93 → 3.0.0-beta.94
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 +37 -0
- package/README.md +1 -1
- package/dist/node/bin.js +4 -4
- package/dist/node/{cli-core-DutvpRdJ.js → cli-core-Davokkgi.js} +319 -319
- package/dist/node/desktop-host.js +1 -1
- package/dist/node/headless.js +1 -1
- package/dist/node/host.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/{node-CVEUtnXS.js → node-BX6uQ1k-.js} +2 -2
- package/dist/node/{node-CVEUtnXS.js.map → node-BX6uQ1k-.js.map} +1 -1
- package/dist/node/{node-DXIaHonc.js → node-BgVHmmdi.js} +1 -1
- package/dist/node/{node-BrAmtuTw.js → node-CtG-zp83.js} +4 -4
- package/dist/node/{node-BrAmtuTw.js.map → node-CtG-zp83.js.map} +1 -1
- package/dist/node/{node-1Kk9kvit.js → node-IYfzRFGU.js} +3 -3
- package/dist/node/{product-host-zZ2TTtQk.js → product-host-CBylXlR9.js} +349 -349
- package/dist/node/{product-host-zZ2TTtQk.js.map → product-host-CBylXlR9.js.map} +1 -1
- package/package.json +37 -36
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# @robota-sdk/agent-cli
|
|
2
2
|
|
|
3
|
+
## 3.0.0-beta.94
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
- e706b43: Live telemetry can name its spans with the OpenTelemetry GenAI semantic conventions. Set
|
|
7
|
+
`PRODUCT_TELEMETRY_SEMCONV` to `gen_ai` to export `invoke_agent`, `chat {model}` (client) and
|
|
8
|
+
`execute_tool {tool}` spans with `gen_ai.*` attributes, keeping Robota-only facts as `agent.*`; or to
|
|
9
|
+
`gen_ai/dup` to emit both attribute sets while dashboards move. The default, `agent`, exports exactly
|
|
10
|
+
the spans it did before. An unknown value, or the setting while neither traces nor metrics are exported,
|
|
11
|
+
refuses startup. Console traces under a GenAI mode print the same projected spans.
|
|
12
|
+
|
|
13
|
+
The live prompt trace now carries each tool body's name (the session's tool-body observation includes it
|
|
14
|
+
and the framework's live projection passes a label-safe name through); it reaches spans only under a
|
|
15
|
+
GenAI mode and is never written to session history.
|
|
16
|
+
- ccff111: Live telemetry can name its metrics with the OpenTelemetry GenAI semantic conventions. With
|
|
17
|
+
`PRODUCT_TELEMETRY_SEMCONV` set to `gen_ai`, the metrics export the `gen_ai.client.inference.*`
|
|
18
|
+
duration, token-usage and per-call token histograms, `gen_ai.execute_tool.duration` and
|
|
19
|
+
`gen_ai.invoke_agent.*` duration and call counts, and drop only `agent.provider.input_tokens` and
|
|
20
|
+
`agent.provider.output_tokens`, which the GenAI usage counters replace exactly. `gen_ai/dup` exports
|
|
21
|
+
every `agent.*` metric and the GenAI ones. The default, `agent`, exports exactly the metrics it did
|
|
22
|
+
before. Provider- and tool-derived GenAI metrics are exported only when no such child was omitted, and
|
|
23
|
+
usage that was not received is recorded as 0 under the `unknown` modality, as the conventions specify.
|
|
24
|
+
The GenAI metrics carry the requested model as those conventions require, and their inference points
|
|
25
|
+
also take the `agent.provider.id` and `agent.model.id` labels under the same
|
|
26
|
+
`PRODUCT_TELEMETRY_METRIC_ATTRIBUTES` opt-ins as the `agent.*` metrics (the model only in `gen_ai/dup`),
|
|
27
|
+
so a provider split of token totals survives the dropped counters. `PRODUCT_TELEMETRY_SEMCONV` now applies to
|
|
28
|
+
traces and metrics, and is refused only when neither is exported over otlp or console. Console metrics
|
|
29
|
+
print the same projection.
|
|
30
|
+
|
|
31
|
+
`@robota-sdk/agent-telemetry-otel` adds `projectLivePromptMetricSamples`, which maps a live prompt trace
|
|
32
|
+
batch onto those GenAI metrics as plain, SDK-free samples with the recommended bucket boundaries, so
|
|
33
|
+
every host names and measures the same facts the same way. Its inference samples keep the label-safe
|
|
34
|
+
`agent.provider.id`, and `agent.model.id` in `gen_ai/dup`, as the provider span does.
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- The E2B hosted executor passes `--` before the mode when it sets private permissions on restored conversation files and their directory, so the commands also run on BSD/macOS `chmod`.
|
|
39
|
+
|
|
3
40
|
## 3.0.0-beta.93
|
|
4
41
|
### Minor Changes
|
|
5
42
|
|
package/README.md
CHANGED