@smithers-orchestrator/observability 0.20.4 → 0.21.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithers-orchestrator/observability",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "Concrete Smithers metrics, logging, tracing, and observability integrations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@effect/platform": "^0.96.0",
|
|
30
30
|
"@effect/platform-bun": "^0.89.0",
|
|
31
31
|
"effect": "^3.21.1",
|
|
32
|
-
"@smithers-orchestrator/agents": "0.
|
|
32
|
+
"@smithers-orchestrator/agents": "0.21.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/bun": "latest",
|
|
@@ -363,7 +363,7 @@ export function normalizeStructuredEventForFamily(agentFamily, parsed, rawType)
|
|
|
363
363
|
const normalized = normalizeClaudeStructuredEvent(parsed, rawType);
|
|
364
364
|
if (normalized) return normalized;
|
|
365
365
|
}
|
|
366
|
-
if (agentFamily === "gemini") {
|
|
366
|
+
if (agentFamily === "gemini" || agentFamily === "antigravity") {
|
|
367
367
|
const normalized = normalizeGeminiStructuredEvent(parsed, rawType);
|
|
368
368
|
if (normalized) return normalized;
|
|
369
369
|
}
|
package/src/agentTrace.ts
CHANGED
|
@@ -44,6 +44,19 @@ export const agentTraceCapabilities = {
|
|
|
44
44
|
rawStderrDiagnostics: true,
|
|
45
45
|
persistedSessionArtifact: false,
|
|
46
46
|
},
|
|
47
|
+
antigravity: {
|
|
48
|
+
sessionMetadata: false,
|
|
49
|
+
assistantTextDeltas: false,
|
|
50
|
+
visibleThinkingDeltas: false,
|
|
51
|
+
finalAssistantMessage: true,
|
|
52
|
+
toolExecutionStart: false,
|
|
53
|
+
toolExecutionUpdate: false,
|
|
54
|
+
toolExecutionEnd: false,
|
|
55
|
+
retryEvents: false,
|
|
56
|
+
compactionEvents: false,
|
|
57
|
+
rawStderrDiagnostics: true,
|
|
58
|
+
persistedSessionArtifact: false,
|
|
59
|
+
},
|
|
47
60
|
gemini: {
|
|
48
61
|
sessionMetadata: false,
|
|
49
62
|
assistantTextDeltas: false,
|
package/src/detectAgentFamily.js
CHANGED
|
@@ -12,6 +12,7 @@ export function detectAgentFamily(agent) {
|
|
|
12
12
|
const name = constructorName && constructorName !== "object"
|
|
13
13
|
? `${constructorName} ${idName}`
|
|
14
14
|
: idName;
|
|
15
|
+
if (name.includes("antigravity") || name.includes("agy")) return "antigravity";
|
|
15
16
|
if (name.includes("codex")) return "codex";
|
|
16
17
|
if (name.includes("claude")) return "claude-code";
|
|
17
18
|
if (name.includes("gemini")) return "gemini";
|
|
@@ -37,7 +37,7 @@ export function resolveAgentTraceCapabilities(agentFamily, captureMode) {
|
|
|
37
37
|
toolExecutionEnd: captureMode === "cli-json-stream",
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
if (agentFamily === "gemini") {
|
|
40
|
+
if (agentFamily === "gemini" || agentFamily === "antigravity") {
|
|
41
41
|
return {
|
|
42
42
|
...base,
|
|
43
43
|
assistantTextDeltas: captureMode === "cli-json-stream",
|