@groundcover/api-client 0.75.0 → 0.77.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.
@@ -2251,7 +2251,8 @@ export type CreateDecisionRequest = {
2251
2251
  * CreateFindingRequest uses signal and queryLanguage to identify the MCP tool for retrieving evidence.
2252
2252
  *
2253
2253
  * Queryable signals require a query: metrics uses metricsql, all other queryable signals use gcql.
2254
- * Link and other findings require a URL and do not accept queries. A queryable finding may include a supplemental URL.
2254
+ * Code, link and other findings require a URL and do not accept queries; a code URL is a permalink pinned to a commit.
2255
+ * A queryable finding may include a supplemental URL.
2255
2256
  */
2256
2257
  export type CreateFindingRequest = {
2257
2258
  details: string;
@@ -2269,10 +2270,11 @@ export type CreateFindingRequest = {
2269
2270
  * profiling SignalProfiling
2270
2271
  * rum SignalRUM
2271
2272
  * db_measurements SignalDBMeasurements
2273
+ * code SignalCode
2272
2274
  * link SignalLink
2273
2275
  * other SignalOther
2274
2276
  */
2275
- signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'link' | 'other';
2277
+ signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'code' | 'link' | 'other';
2276
2278
  timeRange?: InvestigationTimeRange;
2277
2279
  url?: string;
2278
2280
  };
@@ -4162,6 +4164,10 @@ export type InvestigationAssessment = {
4162
4164
  * Starts at 1; every update adds one.
4163
4165
  */
4164
4166
  revision: number;
4167
+ /**
4168
+ * The assessment's heading; absent when it has none.
4169
+ */
4170
+ title?: string;
4165
4171
  updatedAt: string;
4166
4172
  /**
4167
4173
  * Set from the approved conclusion's verdict on this revision; an update resets it to open.
@@ -4284,10 +4290,11 @@ export type InvestigationFinding = {
4284
4290
  * profiling SignalProfiling
4285
4291
  * rum SignalRUM
4286
4292
  * db_measurements SignalDBMeasurements
4293
+ * code SignalCode
4287
4294
  * link SignalLink
4288
4295
  * other SignalOther
4289
4296
  */
4290
- signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'link' | 'other';
4297
+ signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'code' | 'link' | 'other';
4291
4298
  timeRange?: InvestigationTimeRange;
4292
4299
  url?: string;
4293
4300
  };
@@ -7838,6 +7845,10 @@ export type SetAssessmentRequest = {
7838
7845
  * The full set of citations, each finding at most once; [] means none.
7839
7846
  */
7840
7847
  evidence: Array<EvidenceRequest>;
7848
+ /**
7849
+ * Optional one-line plain-text heading for the assessment, at most 120 characters.
7850
+ */
7851
+ title?: string;
7841
7852
  };
7842
7853
  /**
7843
7854
  * SetMemberPinsOrderRequest is the body of PUT /api/views/member/pins/order.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.75.0",
3
+ "version": "0.77.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2397,7 +2397,8 @@ export type CreateDecisionRequest = {
2397
2397
  * CreateFindingRequest uses signal and queryLanguage to identify the MCP tool for retrieving evidence.
2398
2398
  *
2399
2399
  * Queryable signals require a query: metrics uses metricsql, all other queryable signals use gcql.
2400
- * Link and other findings require a URL and do not accept queries. A queryable finding may include a supplemental URL.
2400
+ * Code, link and other findings require a URL and do not accept queries; a code URL is a permalink pinned to a commit.
2401
+ * A queryable finding may include a supplemental URL.
2401
2402
  */
2402
2403
  export type CreateFindingRequest = {
2403
2404
  details: string;
@@ -2415,10 +2416,11 @@ export type CreateFindingRequest = {
2415
2416
  * profiling SignalProfiling
2416
2417
  * rum SignalRUM
2417
2418
  * db_measurements SignalDBMeasurements
2419
+ * code SignalCode
2418
2420
  * link SignalLink
2419
2421
  * other SignalOther
2420
2422
  */
2421
- signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'link' | 'other';
2423
+ signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'code' | 'link' | 'other';
2422
2424
  timeRange?: InvestigationTimeRange;
2423
2425
  url?: string;
2424
2426
  };
@@ -4461,6 +4463,10 @@ export type InvestigationAssessment = {
4461
4463
  * Starts at 1; every update adds one.
4462
4464
  */
4463
4465
  revision: number;
4466
+ /**
4467
+ * The assessment's heading; absent when it has none.
4468
+ */
4469
+ title?: string;
4464
4470
  updatedAt: string;
4465
4471
  /**
4466
4472
  * Set from the approved conclusion's verdict on this revision; an update resets it to open.
@@ -4592,10 +4598,11 @@ export type InvestigationFinding = {
4592
4598
  * profiling SignalProfiling
4593
4599
  * rum SignalRUM
4594
4600
  * db_measurements SignalDBMeasurements
4601
+ * code SignalCode
4595
4602
  * link SignalLink
4596
4603
  * other SignalOther
4597
4604
  */
4598
- signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'link' | 'other';
4605
+ signal: 'logs' | 'traces' | 'metrics' | 'events' | 'entities' | 'issues' | 'monitors' | 'k8s' | 'profiling' | 'rum' | 'db_measurements' | 'code' | 'link' | 'other';
4599
4606
  timeRange?: InvestigationTimeRange;
4600
4607
  url?: string;
4601
4608
  };
@@ -8427,6 +8434,10 @@ export type SetAssessmentRequest = {
8427
8434
  * The full set of citations, each finding at most once; [] means none.
8428
8435
  */
8429
8436
  evidence: Array<EvidenceRequest>;
8437
+ /**
8438
+ * Optional one-line plain-text heading for the assessment, at most 120 characters.
8439
+ */
8440
+ title?: string;
8430
8441
  };
8431
8442
 
8432
8443
  /**