@agentmark-ai/api-types 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/dist/types.d.ts +13 -0
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -341,6 +341,19 @@ export interface TraceSummary {
341
341
  environment?: string;
342
342
  /** Env version at ingest (feature 054). `0` marks legacy/no-pin rows. */
343
343
  environmentVersion?: number;
344
+ /**
345
+ * Truncated preview of the trace's input — the root span's input, falling
346
+ * back to the first GENERATION span (canonical `deriveTraceIO` semantics).
347
+ * Absent/`null` when the trace has no input. This is a trace-level value:
348
+ * one logical input per trace, NOT a per-span field.
349
+ */
350
+ inputPreview?: string | null;
351
+ /**
352
+ * Truncated preview of the trace's output — the root span's output, falling
353
+ * back to the last GENERATION span. Absent/`null` when the trace has no
354
+ * output.
355
+ */
356
+ outputPreview?: string | null;
344
357
  }
345
358
  /**
346
359
  * Paginated response for trace listing.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentmark-ai/api-types",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Shared API contract types (analytics service, traces, scores) used by the AgentMark CLI dev server and platform. For the public wire schemas use @agentmark-ai/api-schemas.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -15,7 +15,7 @@
15
15
  "clean": "rm -rf dist"
16
16
  },
17
17
  "dependencies": {
18
- "@agentmark-ai/api-schemas": "0.6.0"
18
+ "@agentmark-ai/api-schemas": "0.7.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "typescript": "^5.5.3"