@grepr/cli 1.14.13-7f3738f → 1.15.0-48d68ee

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 (85) hide show
  1. package/build/dist/commands/job-draft-command.d.ts.map +1 -1
  2. package/build/dist/commands/job-draft-command.js +6 -71
  3. package/build/dist/commands/job-draft-command.js.map +1 -1
  4. package/build/dist/docs-index/index.json +1 -1
  5. package/build/dist/grepr.d.ts.map +1 -1
  6. package/build/dist/grepr.js +0 -2
  7. package/build/dist/grepr.js.map +1 -1
  8. package/build/dist/lib/backfill.js +4 -8
  9. package/build/dist/lib/backfill.js.map +1 -1
  10. package/build/dist/lib/job-patch.d.ts +15 -31
  11. package/build/dist/lib/job-patch.d.ts.map +1 -1
  12. package/build/dist/lib/job-patch.js +39 -709
  13. package/build/dist/lib/job-patch.js.map +1 -1
  14. package/build/dist/lib/job-plan.d.ts +3 -6
  15. package/build/dist/lib/job-plan.d.ts.map +1 -1
  16. package/build/dist/lib/job-plan.js +5 -55
  17. package/build/dist/lib/job-plan.js.map +1 -1
  18. package/build/dist/lib/option-parsers.d.ts +0 -5
  19. package/build/dist/lib/option-parsers.d.ts.map +1 -1
  20. package/build/dist/lib/option-parsers.js +0 -7
  21. package/build/dist/lib/option-parsers.js.map +1 -1
  22. package/build/dist/lib/signal-source.d.ts +1 -1
  23. package/build/dist/lib/signal-source.d.ts.map +1 -1
  24. package/build/dist/lib/signal-source.js +10 -69
  25. package/build/dist/lib/signal-source.js.map +1 -1
  26. package/build/dist/openapi/openApiTypes.d.ts +238 -16
  27. package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
  28. package/build/dist/openapi/openApiTypes.js +26 -0
  29. package/build/dist/openapi/openApiTypes.js.map +1 -1
  30. package/build/dist/openapi-docs/api/Agents/create_2.md +1 -1
  31. package/build/dist/openapi-docs/api/Agents/investigations.md +1 -1
  32. package/build/dist/openapi-docs/api/Agents/update.md +1 -1
  33. package/build/dist/openapi-docs/api/Datasets/getDatasetDataTypes.md +25 -0
  34. package/build/dist/openapi-docs/schemas/AgentConfigCreate.md +6 -0
  35. package/build/dist/openapi-docs/schemas/AgentConfigPayload.md +6 -0
  36. package/build/dist/openapi-docs/schemas/AgentConfigUpdate.md +6 -0
  37. package/build/dist/openapi-docs/schemas/AgentDecisionConfiguration.md +19 -0
  38. package/build/dist/openapi-docs/schemas/AgentSchedule.md +16 -0
  39. package/build/dist/openapi-docs/schemas/AnalyticsDiagnostic.md +4 -1
  40. package/build/dist/openapi-docs/schemas/AnalyticsDiagnosticRange.md +19 -0
  41. package/build/dist/openapi-docs/schemas/AnalyticsDraftRequest.md +2 -2
  42. package/build/dist/openapi-docs/schemas/AnalyticsField.md +6 -0
  43. package/build/dist/openapi-docs/schemas/AnalyticsQuery.md +3 -0
  44. package/build/dist/openapi-docs/schemas/AnalyticsResultGrouping.md +23 -0
  45. package/build/dist/openapi-docs/schemas/AnalyticsResultShape.md +22 -0
  46. package/build/dist/openapi-docs/schemas/AnalyticsTableBinding.md +1 -1
  47. package/build/dist/openapi-docs/schemas/AnalyticsVocabularyResponse.md +4 -0
  48. package/build/dist/openapi-docs/schemas/AthenaAgentSessionsSource.md +1 -1
  49. package/build/dist/openapi-docs/schemas/AthenaAnalyticsSource.md +3 -3
  50. package/build/dist/openapi-docs/schemas/ChangeFinding.md +1 -1
  51. package/build/dist/openapi-docs/schemas/DatasetDataTypes.md +9 -0
  52. package/build/dist/openapi-docs/schemas/DecisionOutcome.md +11 -0
  53. package/build/dist/openapi-docs/schemas/EventRecord.md +11 -0
  54. package/build/dist/openapi-docs/schemas/InvestigationSummary.md +1 -1
  55. package/build/dist/openapi-docs/schemas/InvestigationTranscript.md +4 -1
  56. package/build/dist/openapi-docs/schemas/IssueRun.md +1 -1
  57. package/build/dist/openapi-docs/schemas/PipelineChangeRequest.md +4 -0
  58. package/build/dist/openapi-docs/schemas/SignalDecision.md +14 -0
  59. package/build/dist/openapi-docs/schemas/SqlAnalyticsQuery.md +29 -0
  60. package/build/dist/openapi-docs/schemas/SqlAnalyticsTable.md +16 -0
  61. package/build/dist/openapi-docs/schemas/TrinoAnalyticsSource.md +3 -3
  62. package/build/dist/openapi-docs/schemas/TrinoRawLogsSource.md +1 -1
  63. package/build/dist/openapi-docs/schemas/TrinoRawSpanSource.md +1 -1
  64. package/build/dist/openapi-docs/schemas/TrinoReducerLogSource.md +1 -1
  65. package/build/dist/types.d.ts +8 -37
  66. package/build/dist/types.d.ts.map +1 -1
  67. package/build/dist/types.js +0 -69
  68. package/build/dist/types.js.map +1 -1
  69. package/package.json +1 -1
  70. package/build/dist/commands/job-to-test-command.d.ts +0 -74
  71. package/build/dist/commands/job-to-test-command.d.ts.map +0 -1
  72. package/build/dist/commands/job-to-test-command.js +0 -161
  73. package/build/dist/commands/job-to-test-command.js.map +0 -1
  74. package/build/dist/lib/job-graph-log-pipeline-constants.d.ts +0 -12
  75. package/build/dist/lib/job-graph-log-pipeline-constants.d.ts.map +0 -1
  76. package/build/dist/lib/job-graph-log-pipeline-constants.js +0 -16
  77. package/build/dist/lib/job-graph-log-pipeline-constants.js.map +0 -1
  78. package/build/dist/lib/job-graph-transformer.d.ts +0 -119
  79. package/build/dist/lib/job-graph-transformer.d.ts.map +0 -1
  80. package/build/dist/lib/job-graph-transformer.js +0 -767
  81. package/build/dist/lib/job-graph-transformer.js.map +0 -1
  82. package/build/dist/lib/job-graph-utils.d.ts +0 -50
  83. package/build/dist/lib/job-graph-utils.d.ts.map +0 -1
  84. package/build/dist/lib/job-graph-utils.js +0 -90
  85. package/build/dist/lib/job-graph-utils.js.map +0 -1
@@ -13,6 +13,9 @@
13
13
  - name: createdAt (optional)
14
14
  type: string
15
15
 
16
+ - name: decision (optional)
17
+ type: `DecisionOutcome`
18
+
16
19
  - name: endedAt (optional)
17
20
  type: string
18
21
 
@@ -23,7 +26,7 @@
23
26
  type: string
24
27
 
25
28
  - name: status (optional)
26
- type: enum: `QUEUED`, `RUNNING`, `STOPPING`, `CANCELLING`, `STOPPED`, `COMPLETED`, `FAILED`, `CANCELLED`, `DISCARDED`
29
+ type: enum: `QUEUED`, `RUNNING`, `STOPPING`, `CANCELLING`, `STOPPED`, `COMPLETED`, `FAILED`, `CANCELLED`, `DISCARDED`, `SKIPPED`
27
30
 
28
31
  - name: summary (optional)
29
32
  type: string
@@ -15,5 +15,5 @@ A run started on the issue that hasn't ended: handed to its agent by a person, o
15
15
  description: The run's investigation id.
16
16
 
17
17
  - name: status (optional)
18
- type: enum: `QUEUED`, `RUNNING`, `STOPPING`, `CANCELLING`, `STOPPED`, `COMPLETED`, `FAILED`, `CANCELLED`, `DISCARDED`
18
+ type: enum: `QUEUED`, `RUNNING`, `STOPPING`, `CANCELLING`, `STOPPED`, `COMPLETED`, `FAILED`, `CANCELLED`, `DISCARDED`, `SKIPPED`
19
19
  description: Where the run is: QUEUED, RUNNING, STOPPING, CANCELLING, or STOPPED and resumable.
@@ -8,6 +8,10 @@
8
8
  type: boolean
9
9
  description: Whether to apply the change directly (true) or record it as a suggestion for a human to review (false). This expresses intent only: the server enforces the proposing agent's approval mode, so a suggest-only agent's change is always recorded as a suggestion no matter what is passed here.
10
10
 
11
+ - name: baseVersion (optional)
12
+ type: integer
13
+ description: The pipeline version the change was computed from, as get_pipeline returned it. A change that replaces a signal mask or drop rule another investigation's fix changed in a later version is refused. Without it, fixes applied since the proposing investigation started count as later.
14
+
11
15
  - name: changeDescription (optional)
12
16
  type: string
13
17
  description: One or two sentences a human reviewer reads first: what the change does and why. Required when the change is recorded as a suggestion.
@@ -0,0 +1,14 @@
1
+ # SignalDecision
2
+
3
+ **Type**: `object`
4
+
5
+ ## Properties
6
+
7
+ - name: cleared (optional)
8
+ type: boolean
9
+
10
+ - name: comparedMemoryIds (optional)
11
+ type: array of string
12
+
13
+ - name: memoryMatchProbability (optional)
14
+ type: number
@@ -0,0 +1,29 @@
1
+ # SqlAnalyticsQuery
2
+
3
+ **Type**: `object`
4
+
5
+ ## Properties
6
+
7
+ - name: datasetId (required)
8
+ type: string
9
+ description: ID of the dataset whose tables the query reads.
10
+
11
+ - name: end (required)
12
+ type: string
13
+ description: End of the time interval every table covers.
14
+
15
+ - name: limit (optional)
16
+ type: integer
17
+ description: The most rows returned. A LIMIT in the query can only lower it.
18
+
19
+ - name: sql (required)
20
+ type: string
21
+ description: One read-only Grepr SQL query. It reads only the tables' aliases, each bounded by the time range and its filter everywhere the query names it.
22
+
23
+ - name: start (required)
24
+ type: string
25
+ description: Start of the time interval every table covers.
26
+
27
+ - name: tables (required)
28
+ type: array of `SqlAnalyticsTable`
29
+ description: The tables the query reads, each under its own alias.
@@ -0,0 +1,16 @@
1
+ # SqlAnalyticsTable
2
+
3
+ **Type**: `object`
4
+
5
+ ## Properties
6
+
7
+ - name: alias (required)
8
+ type: string
9
+ description: The name the SQL reads the table by. Unique within the query, ignoring case.
10
+
11
+ - name: filter (required)
12
+ type: `EventPredicate`
13
+
14
+ - name: table (required)
15
+ type: enum: `logs_raw`, `logs_dedup`, `logs_pattern_lookup`, `metrics_raw`, `metricdata_raw`, `spans_raw`, `spans_dedup`
16
+ description: The dataset's table the alias reads: `logs_raw` for logs, `spans_raw` for traces.
@@ -14,10 +14,10 @@
14
14
  type: integer
15
15
  description: Maximum number of bytes this query may process.
16
16
 
17
- - name: tables (required)
17
+ - name: tables (optional)
18
18
  type: array of `AnalyticsTableBinding`
19
- description: Dataset tables available to the query under logical aliases.
19
+ description: Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none.
20
20
 
21
21
  - name: type (required)
22
22
  type: enum: `trino-analytics-source`
23
- description: Executes an analytical query using a Trino query engine.
23
+ description: Executes an analytical query against dataset tables. The server runs it on the organization's engine; the type name doesn't choose Trino.
@@ -36,7 +36,7 @@
36
36
 
37
37
  - name: type (required)
38
38
  type: enum: `trino-raw-log-source`
39
- description: Reads raw log events out of an Iceberg Table without pattern enrichment, executed against a Trino query engine.
39
+ description: Reads raw log events out of an Iceberg Table without pattern enrichment. The server runs it on the organization's engine; the type name doesn't choose Trino.
40
40
 
41
41
  - name: variables (optional)
42
42
  type: object
@@ -36,7 +36,7 @@
36
36
 
37
37
  - name: type (required)
38
38
  type: enum: `trino-raw-span-source`
39
- description: Reads spans using Grepr's internal query system out of an Iceberg Table for processing, executed against a Trino query engine.
39
+ description: Reads spans using Grepr's internal query system out of an Iceberg Table for processing. The server runs it on the organization's engine; the type name doesn't choose Trino.
40
40
 
41
41
  - name: variables (optional)
42
42
  type: object
@@ -44,7 +44,7 @@
44
44
 
45
45
  - name: type (required)
46
46
  type: enum: `trino-reducer-log-source`
47
- description: Reads events using Grepr's internal query system out of an Iceberg Table for processing, executed against a Trino query engine.
47
+ description: Reads events using Grepr's internal query system out of an Iceberg Table for processing. The server runs it on the organization's engine; the type name doesn't choose Trino.
48
48
 
49
49
  - name: variables (optional)
50
50
  type: object
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Type definitions for the Grepr CLI tool
3
3
  */
4
- import { type AgentSessionEventsIcebergTableSourceSortOrder, PathsV1JobsGetParametersQueryExecution, PathsV1JobsGetParametersQueryProcessing, PathsV1JobsGetParametersQueryState, type SchemaReadDatadog, type SchemaReadDataWarehouse, type SchemaReadS3DataWarehouse, type SchemaReadNewRelic, type SchemaReadOtlp, type SchemaReadSplunk, type SchemaReadSumo, type SchemaOperation } from './openapi/openApiTypes.js';
4
+ import { type AgentSessionEventsIcebergTableSourceSortOrder, PathsV1JobsGetParametersQueryExecution, PathsV1JobsGetParametersQueryProcessing, PathsV1JobsGetParametersQueryState, type SchemaReadDatadog, type SchemaReadDataWarehouse, type SchemaReadS3DataWarehouse, type SchemaReadNewRelic, type SchemaReadOtlp, type SchemaReadSplunk, type SchemaReadSumo } from './openapi/openApiTypes.js';
5
5
  import type { SourcePredicateOptions } from './lib/query-predicate.js';
6
6
  import type { SignalSourceInputs } from './lib/signal-source.js';
7
7
  export type AuthMethod = 'oauth' | 'client-credentials' | 'none';
@@ -80,27 +80,16 @@ export interface JobDraftCommandOptions extends CliOptions {
80
80
  * exclusive with the positional plan-file argument.
81
81
  */
82
82
  jobId?: string;
83
- /**
84
- * Job-graph backend only. `maxAllowedRate` (messages/sec) for the
85
- * logs-event-sampler inserted after each live source. Omitted by default so
86
- * the server's sampler default applies, mirroring the UI's template drafts.
87
- */
88
- sampleRate?: number;
89
- /**
90
- * Job-graph backend only. `maxBurstLimit` (messages) for the inserted
91
- * logs-event-sampler. Defaults to the UI draft value when omitted.
92
- */
93
- sampleBurst?: number;
94
83
  /** Wall-clock cap in seconds; the streaming sync job is aborted client-side after it. */
95
84
  maxDurationSeconds?: number;
96
85
  /**
97
- * Template backend only. Path to a JSON array (or NDJSON, one event per line)
98
- * of LogEvents to draft the proposed pipeline against instead of live traffic.
99
- * Injected as the template input's `draftSource` (a bounded logs-values-source)
100
- * and forces the draft to run as BATCH so the bounded source runs to completion
101
- * and streams its sink-source-tagged outputs back. This is the deterministic
102
- * equivalent of drafting against a signal's sample, avoiding the HEARTBEAT-only
103
- * result sparse live traffic produces.
86
+ * Path to a JSON array (or NDJSON, one event per line) of LogEvents to draft
87
+ * the proposed pipeline against instead of live traffic. Injected as the
88
+ * template input's `draftSource` (a bounded logs-values-source) and forces the
89
+ * draft to run as BATCH so the bounded source runs to completion and streams
90
+ * its sink-source-tagged outputs back. This is the deterministic equivalent of
91
+ * drafting against a signal's sample, avoiding the HEARTBEAT-only result sparse
92
+ * live traffic produces.
104
93
  */
105
94
  sampleLogs?: string;
106
95
  }
@@ -171,22 +160,4 @@ export interface IntegrationTypeAndList<T extends IntegrationReadType> {
171
160
  type: T['type'];
172
161
  items: T[];
173
162
  }
174
- export declare const DEFAULT_INPUT = "input";
175
- export declare const DEFAULT_OUTPUT = "output";
176
- export declare const DEFAULT_LIMIT = 100;
177
- export interface IO {
178
- name: string;
179
- vertex: Vertex;
180
- }
181
- export declare class Vertex {
182
- name: string;
183
- operation: SchemaOperation;
184
- prev: Map<string, IO[]>;
185
- next: Map<string, IO[]>;
186
- constructor(operation: SchemaOperation);
187
- addPrev(inputPort: string, prev: IO, addToPrev?: boolean): void;
188
- addNext(outputPort: string, next: IO, addToNext?: boolean): void;
189
- removePrev(inputPort: string, prev: IO, removeFromPrev?: boolean): void;
190
- removeNext(outputPort: string, next: IO, removeFromNext?: boolean): void;
191
- }
192
163
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/main/typescript/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EACL,KAAK,6CAA6C,EAClD,sCAAsC,EACtC,uCAAuC,EACvC,kCAAkC,EAKlC,KAAK,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,KAAK,yBAAyB,EACpF,KAAK,kBAAkB,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EACxF,KAAK,eAAe,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,oBAAoB,GAAG,MAAM,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAC3B;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,GAClB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtB,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,KAAK,CAAC,EAAE,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export const HEARTBEAT_EVENTS = {
23
23
  };
24
24
  // Re-export job enum values for convenience.
25
25
  export { PathsV1JobsGetParametersQueryExecution as JobExecution, PathsV1JobsGetParametersQueryProcessing as JobProcessing, PathsV1JobsGetParametersQueryState as JobState };
26
- export const DEFAULT_INPUT = "input";
27
- export const DEFAULT_OUTPUT = "output";
28
- export const DEFAULT_LIMIT = 100;
29
- export class Vertex {
30
- name;
31
- operation;
32
- // Map from input name to connected prev vertices
33
- prev;
34
- // Map from output name to connected next vertices
35
- next;
36
- constructor(operation) {
37
- this.operation = operation;
38
- this.name = operation.name || '';
39
- this.prev = new Map();
40
- this.next = new Map();
41
- }
42
- addPrev(inputPort, prev, addToPrev = true) {
43
- if (!this.prev.has(inputPort)) {
44
- this.prev.set(inputPort, []);
45
- }
46
- this.prev.get(inputPort)?.push(prev);
47
- // Add this vertex as next of the previous IO's vertex
48
- if (addToPrev) {
49
- prev.vertex.addNext(prev.name, { name: inputPort, vertex: this }, false);
50
- }
51
- }
52
- addNext(outputPort, next, addToNext = true) {
53
- if (!this.next.has(outputPort)) {
54
- this.next.set(outputPort, []);
55
- }
56
- this.next.get(outputPort)?.push(next);
57
- // Add this vertex as prev of the next IO's vertex
58
- if (addToNext) {
59
- next.vertex.addPrev(next.name, { name: outputPort, vertex: this }, false);
60
- }
61
- }
62
- removePrev(inputPort, prev, removeFromPrev = true) {
63
- if (!this.prev.has(inputPort)) {
64
- return;
65
- }
66
- if (!prev) {
67
- return;
68
- }
69
- const existingIoList = this.prev.get(inputPort) || [];
70
- // Filter out the IO matching the prevName and prevOutput
71
- const updatedList = existingIoList.filter((existingIo) => existingIo.vertex.name !== prev.vertex.name || existingIo.name !== prev.name) || [];
72
- this.prev.set(inputPort, updatedList);
73
- // Remove this vertex as next of the previous IO's vertex
74
- if (removeFromPrev) {
75
- prev.vertex.removeNext(prev.name, { name: inputPort, vertex: this }, false);
76
- }
77
- }
78
- removeNext(outputPort, next, removeFromNext = true) {
79
- if (!this.next.has(outputPort)) {
80
- return;
81
- }
82
- if (!next) {
83
- return;
84
- }
85
- const existingIoList = this.next.get(outputPort) || [];
86
- // Filter out the IO matching the nextName and nextInput
87
- const updatedList = existingIoList.filter((existingIo) => existingIo.vertex.name !== next.vertex.name || existingIo.name !== next.name) || [];
88
- this.next.set(outputPort, updatedList);
89
- // Remove this vertex as prev of the next IO's vertex
90
- if (removeFromNext) {
91
- next.vertex.removePrev(next.name, { name: outputPort, vertex: this }, false);
92
- }
93
- }
94
- }
95
26
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/main/typescript/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,iCAAiC;AACjC,OAAO,EAEL,sCAAsC,EACtC,uCAAuC,EACvC,kCAAkC,GAQnC,MAAM,2BAA2B,CAAC;AAuJnC,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,iBAAiB,EAAE,mBAAmB;IACtC,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,WAAW,EAAE,aAAa;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACf,CAAC;AASF,6CAA6C;AAC7C,OAAO,EACL,sCAAsC,IAAI,YAAY,EACtD,uCAAuC,IAAI,aAAa,EACxD,kCAAkC,IAAI,QAAQ,EAC/C,CAAA;AAUD,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC;AACrC,MAAM,CAAC,MAAM,cAAc,GAAG,QAAQ,CAAC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG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Z,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;CACf,CAAC;AASF,6CAA6C;AAC7C,OAAO,EACL,sCAAsC,IAAI,YAAY,EACtD,uCAAuC,IAAI,aAAa,EACxD,kCAAkC,IAAI,QAAQ,EAC/C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grepr/cli",
3
- "version": "1.14.13-7f3738f",
3
+ "version": "1.15.0-48d68ee",
4
4
  "description": "Official Grepr CLI tool for submitting synchronous batch jobs with OAuth authentication",
5
5
  "main": "build/dist/grepr.js",
6
6
  "type": "module",
@@ -1,74 +0,0 @@
1
- /**
2
- * CLI command for transforming production jobs into test configurations.
3
- *
4
- * The job:to-test command takes a production job definition and transforms it
5
- * for testing purposes. This is a pure transformation - no API calls are made.
6
- *
7
- * Key features:
8
- * - Replace sources with dataset queries or add record limits
9
- * - Replace sinks with synchronous test sinks or test dataset sinks
10
- * - Add test tagging to track test data
11
- * - Show diff of transformations
12
- * - Output to file or stdout
13
- *
14
- * Example usage:
15
- * grepr job:to-test prod.json --execution SYNCHRONOUS --output test.json
16
- * grepr job:to-test prod.json --dataset-id my_dataset --start 2025-01-01T00:00:00Z \
17
- * --end 2025-01-01T01:00:00Z --show-diff
18
- */
19
- import { Command } from 'commander';
20
- import { ICommand } from '../lib/command-registry.js';
21
- import { MergeConfiguration } from '../types.js';
22
- /**
23
- * Command implementation for job:to-test.
24
- *
25
- * This command registers itself with the CLI and handles:
26
- * - Option parsing and validation
27
- * - Job file loading
28
- * - Transformation execution
29
- * - Output formatting and writing
30
- */
31
- export declare class JobToTestCommand implements ICommand {
32
- /**
33
- * Registers the job:to-test command with the CLI program.
34
- *
35
- * @param program - The commander program to add the command to
36
- * @param _mergeConfiguration - Configuration merger (unused by this command)
37
- */
38
- addToProgram(program: Command, _mergeConfiguration: MergeConfiguration): void;
39
- /**
40
- * Validates command options for consistency and completeness.
41
- *
42
- * Validation rules:
43
- * - Cannot use both --sample-data-file and --dataset-id (mutually exclusive)
44
- * - --dataset-id requires --start and --end
45
- * - --execution must be SYNCHRONOUS or ASYNCHRONOUS
46
- * - --processing must be BATCH or STREAMING
47
- *
48
- * @param options - The command options to validate
49
- * @throws Error if validation fails
50
- */
51
- private validateOptions;
52
- /**
53
- * Loads and validates a job definition from a JSON file.
54
- *
55
- * The file must exist and contain valid JSON with required fields:
56
- * - name: Job name
57
- * - execution: Execution type
58
- * - processing: Processing type
59
- *
60
- * @param jobFile - Path to the job definition file
61
- * @returns The loaded job definition
62
- * @throws Error if file not found, invalid JSON, or missing required fields
63
- */
64
- private loadJobFromFile;
65
- /**
66
- * Formats the transformed job as JSON string.
67
- *
68
- * @param transformedJob - The job to format
69
- * @param pretty - Whether to pretty-print (2-space indentation) or compact
70
- * @returns JSON string representation of the job
71
- */
72
- private formatOutput;
73
- }
74
- //# sourceMappingURL=job-to-test-command.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-to-test-command.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/commands/job-to-test-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,EAA+B,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI1E;;;;;;;;GAQG;AACH,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C;;;;;OAKG;IACH,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,GAAG,IAAI;IAoE7E;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,eAAe;IAkBvB;;;;;;;;;;;OAWG;YACW,eAAe;IAmB7B;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;CAMrB"}
@@ -1,161 +0,0 @@
1
- /**
2
- * CLI command for transforming production jobs into test configurations.
3
- *
4
- * The job:to-test command takes a production job definition and transforms it
5
- * for testing purposes. This is a pure transformation - no API calls are made.
6
- *
7
- * Key features:
8
- * - Replace sources with dataset queries or add record limits
9
- * - Replace sinks with synchronous test sinks or test dataset sinks
10
- * - Add test tagging to track test data
11
- * - Show diff of transformations
12
- * - Output to file or stdout
13
- *
14
- * Example usage:
15
- * grepr job:to-test prod.json --execution SYNCHRONOUS --output test.json
16
- * grepr job:to-test prod.json --dataset-id my_dataset --start 2025-01-01T00:00:00Z \
17
- * --end 2025-01-01T01:00:00Z --show-diff
18
- */
19
- import fs from 'fs-extra';
20
- import { parseIntArg } from '../lib/option-parsers.js';
21
- import { JobExecution, JobProcessing } from '../types.js';
22
- import { transformJobToTest, showDiff } from '../lib/job-graph-transformer.js';
23
- /**
24
- * Command implementation for job:to-test.
25
- *
26
- * This command registers itself with the CLI and handles:
27
- * - Option parsing and validation
28
- * - Job file loading
29
- * - Transformation execution
30
- * - Output formatting and writing
31
- */
32
- export class JobToTestCommand {
33
- /**
34
- * Registers the job:to-test command with the CLI program.
35
- *
36
- * @param program - The commander program to add the command to
37
- * @param _mergeConfiguration - Configuration merger (unused by this command)
38
- */
39
- addToProgram(program, _mergeConfiguration) {
40
- program
41
- .command('job:to-test <input-file>')
42
- .description('Transform a job configuration for testing')
43
- // Output options (note: -o, --output is registered as a global flag on the program)
44
- .option('--no-pretty', 'Disable pretty printing')
45
- .option('--show-diff', 'Show transformation diff')
46
- // Execution and processing type overrides
47
- .option('--execution <type>', 'Execution type (SYNCHRONOUS|ASYNCHRONOUS)')
48
- .option('--processing <type>', 'Processing type (BATCH|STREAMING)')
49
- // Source options (mutually exclusive: sample data OR dataset)
50
- .option('--sample-data-file <file>', 'Sample logs file')
51
- .option('--dataset-id <id>', 'Dataset ID for source (requires --start and --end)')
52
- .option('--query <query>', 'Datadog syntax query for dataset source (optional, requires --dataset-id)')
53
- .option('--start <time>', 'Start time (ISO 8601)')
54
- .option('--end <time>', 'End time (ISO 8601)')
55
- .option('--limit-records <n>', 'Limit for batch sources', parseIntArg, 1000)
56
- // Sink options
57
- .option('--test-dataset <id>', 'Test dataset ID for async sinks (enables tagging)')
58
- // Test metadata
59
- .option('--test-tag <tag>', 'Custom test tag (default: auto-generated)')
60
- .option('--test-name <name>', 'Custom test job name (default: {original}_test)')
61
- .action(async (inputFile, options, command) => {
62
- try {
63
- // Merge global options (-o, --output, --quiet, etc.) with sub-command options.
64
- // Same pattern used by ListCommand/CrudCommand for consistent flag handling.
65
- const merged = { ...command.parent?.opts(), ...options };
66
- // Step 1: Validate that options are valid and compatible
67
- this.validateOptions(merged);
68
- // Step 2: Load the original job definition from file
69
- const originalJob = await this.loadJobFromFile(inputFile);
70
- // Step 3: Transform the job to test configuration
71
- const transformedJob = transformJobToTest(originalJob, merged);
72
- // Step 4: Show diff if requested (before outputting JSON)
73
- if (merged.showDiff) {
74
- showDiff(originalJob, transformedJob);
75
- }
76
- // Step 5: Format the output (pretty or compact JSON)
77
- const output = this.formatOutput(transformedJob, merged.pretty !== false);
78
- // Step 6: Write to file or stdout
79
- if (merged.output) {
80
- await fs.writeFile(merged.output, output);
81
- console.log(`✓ Test job written to ${merged.output}`);
82
- }
83
- else {
84
- console.log(output);
85
- }
86
- }
87
- catch (error) {
88
- console.error('Error transforming job:', error.message);
89
- process.exit(1);
90
- }
91
- });
92
- }
93
- /**
94
- * Validates command options for consistency and completeness.
95
- *
96
- * Validation rules:
97
- * - Cannot use both --sample-data-file and --dataset-id (mutually exclusive)
98
- * - --dataset-id requires --start and --end
99
- * - --execution must be SYNCHRONOUS or ASYNCHRONOUS
100
- * - --processing must be BATCH or STREAMING
101
- *
102
- * @param options - The command options to validate
103
- * @throws Error if validation fails
104
- */
105
- validateOptions(options) {
106
- if (options.sampleDataFile && options.datasetId) {
107
- throw new Error('Cannot use both --sample-data-file and --dataset-id');
108
- }
109
- if (options.datasetId && (!options.start || !options.end)) {
110
- throw new Error('--dataset-id requires --start and --end');
111
- }
112
- if (options.execution && ![JobExecution.ASYNCHRONOUS, JobExecution.SYNCHRONOUS].includes(options.execution)) {
113
- throw new Error('--execution must be SYNCHRONOUS or ASYNCHRONOUS');
114
- }
115
- if (options.processing && ![JobProcessing.BATCH, JobProcessing.STREAMING].includes(options.processing)) {
116
- throw new Error('--processing must be BATCH or STREAMING');
117
- }
118
- }
119
- /**
120
- * Loads and validates a job definition from a JSON file.
121
- *
122
- * The file must exist and contain valid JSON with required fields:
123
- * - name: Job name
124
- * - execution: Execution type
125
- * - processing: Processing type
126
- *
127
- * @param jobFile - Path to the job definition file
128
- * @returns The loaded job definition
129
- * @throws Error if file not found, invalid JSON, or missing required fields
130
- */
131
- async loadJobFromFile(jobFile) {
132
- if (!await fs.pathExists(jobFile)) {
133
- throw new Error(`Job definition file not found: ${jobFile}`);
134
- }
135
- let jobDefinition;
136
- try {
137
- jobDefinition = await fs.readJson(jobFile);
138
- }
139
- catch (error) {
140
- throw new Error(`Failed to load job definition: ${error.message}`);
141
- }
142
- if (!jobDefinition.name || !jobDefinition.execution || !jobDefinition.processing) {
143
- throw new Error('Invalid job definition: missing required fields (name, execution, processing)');
144
- }
145
- return jobDefinition;
146
- }
147
- /**
148
- * Formats the transformed job as JSON string.
149
- *
150
- * @param transformedJob - The job to format
151
- * @param pretty - Whether to pretty-print (2-space indentation) or compact
152
- * @returns JSON string representation of the job
153
- */
154
- formatOutput(transformedJob, pretty) {
155
- if (pretty) {
156
- return JSON.stringify(transformedJob, null, 2);
157
- }
158
- return JSON.stringify(transformedJob);
159
- }
160
- }
161
- //# sourceMappingURL=job-to-test-command.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-to-test-command.js","sourceRoot":"","sources":["../../../src/main/typescript/commands/job-to-test-command.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAsB,MAAM,SAAS,CAAC;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AE,CAAC;YACX,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QACjD,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;CACF"}
@@ -1,12 +0,0 @@
1
- import { GrokParserType, JsonLogProcessorType, LogAttributesRemapperType } from '../openapi/openApiTypes.js';
2
- export declare const RAW_PRE_PARSER_FILTER = "pre_parser_filter";
3
- export declare const RAW_PRE_WAREHOUSE_FILTER = "pre_data_warehouse_filter";
4
- export declare const RAW_PRE_EXCEPTIONS_FILTER = "pre_exceptions_filter";
5
- export declare const RAW_JSON_PROCESSOR = "json_log_processor";
6
- export declare const RAW_ATTRIBUTES_REMAPPER = "log_attributes_remapper";
7
- export declare const RAW_LOG_REDUCER = "log_reducer";
8
- export declare const RAW_JSON_PROCESSOR_TYPE = JsonLogProcessorType.json_log_processor;
9
- export declare const RAW_ATTRIBUTES_REMAPPER_TYPE = LogAttributesRemapperType.log_attributes_remapper;
10
- export declare const RAW_GROK_PARSER_TYPE = GrokParserType.grok_parser;
11
- export declare const RAW_PARSER_TYPES: ReadonlySet<string>;
12
- //# sourceMappingURL=job-graph-log-pipeline-constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-graph-log-pipeline-constants.d.ts","sourceRoot":"","sources":["../../../src/main/typescript/lib/job-graph-log-pipeline-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,qBAAqB,sBAAsB,CAAC;AACzD,eAAO,MAAM,wBAAwB,8BAA8B,CAAC;AACpE,eAAO,MAAM,yBAAyB,0BAA0B,CAAC;AACjE,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AACvD,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AACjE,eAAO,MAAM,eAAe,gBAAgB,CAAC;AAC7C,eAAO,MAAM,uBAAuB,0CAA0C,CAAC;AAC/E,eAAO,MAAM,4BAA4B,oDAAoD,CAAC;AAC9F,eAAO,MAAM,oBAAoB,6BAA6B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,MAAM,CAI/C,CAAC"}
@@ -1,16 +0,0 @@
1
- import { GrokParserType, JsonLogProcessorType, LogAttributesRemapperType, } from '../openapi/openApiTypes.js';
2
- export const RAW_PRE_PARSER_FILTER = 'pre_parser_filter';
3
- export const RAW_PRE_WAREHOUSE_FILTER = 'pre_data_warehouse_filter';
4
- export const RAW_PRE_EXCEPTIONS_FILTER = 'pre_exceptions_filter';
5
- export const RAW_JSON_PROCESSOR = 'json_log_processor';
6
- export const RAW_ATTRIBUTES_REMAPPER = 'log_attributes_remapper';
7
- export const RAW_LOG_REDUCER = 'log_reducer';
8
- export const RAW_JSON_PROCESSOR_TYPE = JsonLogProcessorType.json_log_processor;
9
- export const RAW_ATTRIBUTES_REMAPPER_TYPE = LogAttributesRemapperType.log_attributes_remapper;
10
- export const RAW_GROK_PARSER_TYPE = GrokParserType.grok_parser;
11
- export const RAW_PARSER_TYPES = new Set([
12
- RAW_JSON_PROCESSOR_TYPE,
13
- RAW_ATTRIBUTES_REMAPPER_TYPE,
14
- RAW_GROK_PARSER_TYPE,
15
- ]);
16
- //# sourceMappingURL=job-graph-log-pipeline-constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-graph-log-pipeline-constants.js","sourceRoot":"","sources":["../../../src/main/typescript/lib/job-graph-log-pipeline-constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AACzD,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AACpE,MAAM,CAAC,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;AACjE,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAC;AACvD,MAAM,CAAC,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AACjE,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAC;AAC7C,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,kBAAkB,CAAC;AAC/E,MAAM,CAAC,MAAM,4BAA4B,GAAG,yBAAyB,CAAC,uBAAuB,CAAC;AAC9F,MAAM,CAAC,MAAM,oBAAoB,GAAG,cAAc,CAAC,WAAW,CAAC;AAE/D,MAAM,CAAC,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC;IAC3D,uBAAuB;IACvB,4BAA4B;IAC5B,oBAAoB;CACrB,CAAC,CAAC"}