@app-vitals/agent-lib 1.106.2 → 1.107.1

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/admin-types.ts +0 -185
  2. package/package.json +1 -1
package/admin-types.ts CHANGED
@@ -2117,134 +2117,6 @@ export interface paths {
2117
2117
  patch?: never;
2118
2118
  trace?: never;
2119
2119
  };
2120
- "/agents/{id}/crons/{cronId}/runs/{runId}/transcript": {
2121
- parameters: {
2122
- query?: never;
2123
- header?: never;
2124
- path?: never;
2125
- cookie?: never;
2126
- };
2127
- /**
2128
- * Get a cron run transcript
2129
- * @description Returns the stored redacted transcript. `*`, `platform.read` and `platform.ops` callers only: an agent key is 403 even for its own runs. Every read writes an AgentTranscriptRead audit row before the response. 404 when SHIPWRIGHT_TRANSCRIPT_API_ENABLED is not `enabled` or no transcript exists.
2130
- */
2131
- get: {
2132
- parameters: {
2133
- query?: never;
2134
- header?: never;
2135
- path: {
2136
- id: string;
2137
- cronId: string;
2138
- runId: string;
2139
- };
2140
- cookie?: never;
2141
- };
2142
- requestBody?: never;
2143
- responses: {
2144
- /** @description The transcript */
2145
- 200: {
2146
- headers: {
2147
- [name: string]: unknown;
2148
- };
2149
- content: {
2150
- "application/json": components["schemas"]["CronRunTranscript"];
2151
- };
2152
- };
2153
- /** @description Forbidden */
2154
- 403: {
2155
- headers: {
2156
- [name: string]: unknown;
2157
- };
2158
- content: {
2159
- "application/json": components["schemas"]["Error"];
2160
- };
2161
- };
2162
- /** @description No transcript, or transcript API disabled */
2163
- 404: {
2164
- headers: {
2165
- [name: string]: unknown;
2166
- };
2167
- content: {
2168
- "application/json": components["schemas"]["Error"];
2169
- };
2170
- };
2171
- };
2172
- };
2173
- /**
2174
- * Upload a cron run transcript
2175
- * @description Stores (upserts) the runtime's already-redacted session transcript for a cron run, then keeps only the agent's newest 200 transcripts. Callers: the agent's own key, or `*`. `body` over 1 MiB (UTF-8 bytes) is a 413. 404 unless SHIPWRIGHT_TRANSCRIPT_API_ENABLED is `enabled`, or when the run is not owned by the cron/agent.
2176
- */
2177
- put: {
2178
- parameters: {
2179
- query?: never;
2180
- header?: never;
2181
- path: {
2182
- id: string;
2183
- cronId: string;
2184
- runId: string;
2185
- };
2186
- cookie?: never;
2187
- };
2188
- requestBody?: {
2189
- content: {
2190
- "application/json": components["schemas"]["UploadCronRunTranscriptBody"];
2191
- };
2192
- };
2193
- responses: {
2194
- /** @description Transcript stored */
2195
- 200: {
2196
- headers: {
2197
- [name: string]: unknown;
2198
- };
2199
- content: {
2200
- "application/json": components["schemas"]["CronRunTranscriptUploadResult"];
2201
- };
2202
- };
2203
- /** @description Bad request */
2204
- 400: {
2205
- headers: {
2206
- [name: string]: unknown;
2207
- };
2208
- content: {
2209
- "application/json": components["schemas"]["Error"];
2210
- };
2211
- };
2212
- /** @description Caller not allowed */
2213
- 403: {
2214
- headers: {
2215
- [name: string]: unknown;
2216
- };
2217
- content: {
2218
- "application/json": components["schemas"]["Error"];
2219
- };
2220
- };
2221
- /** @description Run not found, or transcript API disabled */
2222
- 404: {
2223
- headers: {
2224
- [name: string]: unknown;
2225
- };
2226
- content: {
2227
- "application/json": components["schemas"]["Error"];
2228
- };
2229
- };
2230
- /** @description Transcript body over 1 MiB */
2231
- 413: {
2232
- headers: {
2233
- [name: string]: unknown;
2234
- };
2235
- content: {
2236
- "application/json": components["schemas"]["Error"];
2237
- };
2238
- };
2239
- };
2240
- };
2241
- post?: never;
2242
- delete?: never;
2243
- options?: never;
2244
- head?: never;
2245
- patch?: never;
2246
- trace?: never;
2247
- };
2248
2120
  "/agents/{id}/plugins": {
2249
2121
  parameters: {
2250
2122
  query?: never;
@@ -5741,53 +5613,6 @@ export interface components {
5741
5613
  */
5742
5614
  requestedAt: string;
5743
5615
  };
5744
- CronRunTranscriptUploadResult: {
5745
- /** @example clx1111111111 */
5746
- runId: string;
5747
- /** @example 2048 */
5748
- bytes: number;
5749
- /** @example false */
5750
- truncated: boolean;
5751
- /** @example 0 */
5752
- redactions: number;
5753
- };
5754
- UploadCronRunTranscriptBody: {
5755
- /**
5756
- * @description Claude session id the transcript was read from.
5757
- * @example 7c1c8d1e-0000-4000-8000-000000000000
5758
- */
5759
- sessionId?: string;
5760
- /** @description The already-redacted transcript (JSONL text). Over 1 MiB (UTF-8 bytes) is a 413. Never logged. */
5761
- body: string;
5762
- /**
5763
- * @description True when the runtime dropped earlier lines to fit.
5764
- * @example false
5765
- */
5766
- truncated: boolean;
5767
- /**
5768
- * @description How many secrets the runtime redacted.
5769
- * @example 0
5770
- */
5771
- redactions: number;
5772
- };
5773
- CronRunTranscript: {
5774
- /** @example clx1111111111 */
5775
- runId: string;
5776
- /** @example clx0987654321 */
5777
- cronId: string;
5778
- /** @example null */
5779
- sessionId: string | null;
5780
- /** @example 2048 */
5781
- bytes: number;
5782
- /** @example false */
5783
- truncated: boolean;
5784
- /** @example 0 */
5785
- redactions: number;
5786
- /** @example 2026-10-26T12:00:00.000Z */
5787
- createdAt: string;
5788
- /** @description Redacted JSONL transcript. */
5789
- body: string;
5790
- };
5791
5616
  PluginWrapper: {
5792
5617
  plugin: components["schemas"]["AgentPlugin"];
5793
5618
  };
@@ -6419,21 +6244,11 @@ export interface components {
6419
6244
  ref: string | null;
6420
6245
  };
6421
6246
  AgentConfigFeatures: {
6422
- /**
6423
- * @description True when SHIPWRIGHT_TRANSCRIPT_API_ENABLED is on: the runtime uploads a redacted transcript after each cron run.
6424
- * @example false
6425
- */
6426
- transcriptUpload: boolean;
6427
6247
  /**
6428
6248
  * @description Reserved for the repo-access check (COS-44.1).
6429
6249
  * @example false
6430
6250
  */
6431
6251
  repoAccessCheck: boolean;
6432
- /**
6433
- * @description True when SHIPWRIGHT_TRANSCRIPT_API_ENABLED is on and this agent is listed in SHIPWRIGHT_LOOP_TRANSCRIPT_AGENT_IDS: coding-loop runs may upload a redacted transcript through the extension capability.
6434
- * @example false
6435
- */
6436
- loopTranscriptUpload?: boolean;
6437
6252
  };
6438
6253
  RuntimeError: {
6439
6254
  /** @example Not found */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@app-vitals/agent-lib",
3
- "version": "1.106.2",
3
+ "version": "1.107.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/app-vitals/agent.git",