neatlogs-cli 0.2.0-team-test.2 → 0.2.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/CHANGELOG.md CHANGED
@@ -4,6 +4,16 @@ All notable changes to `neatlogs-cli` are documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.2.0
8
+
9
+ - Include project archive/restore, soft deletion, existing-member access and
10
+ reviewer-aware evaluation activation commands from the production Public API.
11
+ - Add classifier label, dataset, training, publication and bounded historical-job
12
+ contracts. Paid jobs remain subject to deployment admission and explicit budgets.
13
+ - Map validated classifier input and resource-state errors to actionable exit
14
+ codes, retaining strict response validation and credential redaction.
15
+ - Align the embedded OpenAPI contract with the deployed production source.
16
+
7
17
  ## 0.2.0-team-test.2
8
18
 
9
19
  - Return input and resource-state exit codes for validated classifier errors,
@@ -14,12 +24,8 @@ All notable changes to `neatlogs-cli` are documented in this file.
14
24
 
15
25
  ## 0.2.0-team-test.1
16
26
 
17
- - Add project archive, restore, soft deletion, and existing-member access commands.
18
- - Add evaluation draft discard and reviewer-aware activation commands.
19
- - Add classifier dataset, training, publication, and bounded job management commands.
20
- - Add bounded historical detection job commands and refresh the Public API contract.
21
- - Publish this candidate to the `team-test` channel for Dev acceptance; provider
22
- admission and historical backfill still require their environment prerequisites.
27
+ - Add project lifecycle, existing-member access, reviewer-aware evaluation activation,
28
+ classifier workflows, and bounded historical job commands for Dev acceptance.
23
29
 
24
30
  ## 0.1.0 (release candidate)
25
31
 
@@ -30,7 +36,7 @@ All notable changes to `neatlogs-cli` are documented in this file.
30
36
  contracts and safe request-ID diagnostics from the retest repairs.
31
37
  - Publication and deployed end-to-end acceptance remain release requirements.
32
38
 
33
- ## 0.1.0-team-test.7 (unpublished; superseded by 0.1.0)
39
+ ## 0.1.0-team-test.7
34
40
 
35
41
  - Include the merged fresh-start fixes: read-only default OAuth scopes and
36
42
  field-specific guidance for required analytics dates and other arguments.
@@ -87,3 +93,7 @@ All notable changes to `neatlogs-cli` are documented in this file.
87
93
  ## 0.1.0-team-test.1
88
94
 
89
95
  - Team-testing prerelease of the NeatLogs public API CLI.
96
+
97
+ ## 0.1.0
98
+
99
+ - Initial public release of the NeatLogs public API CLI.
package/README.md CHANGED
@@ -147,10 +147,6 @@ The consent page lists only the permissions requested by this login command.
147
147
  `offline_access` allows refresh tokens; it is not an API permission shown by
148
148
  `whoami`.
149
149
 
150
- Existing OAuth credentials retain their issued scopes after a CLI upgrade.
151
- Log out of the selected profile and sign in again to apply the stable release's
152
- read-oriented defaults; request write scopes explicitly when needed.
153
-
154
150
  ## Agent and CI automation
155
151
 
156
152
  In **Settings → Service Accounts**, create a dedicated account, bind only the
package/dist/bin.js CHANGED
@@ -148,7 +148,7 @@ var public_openapi_default = {
148
148
  description: "Local dev"
149
149
  },
150
150
  {
151
- url: "https://neatlogs-dev-cloud.neatlogs.com",
151
+ url: "https://cloud.neatlogs.com",
152
152
  description: "dev.neatlogs.com backend"
153
153
  },
154
154
  {
@@ -480,189 +480,6 @@ var public_openapi_default = {
480
480
  ],
481
481
  additionalProperties: false
482
482
  },
483
- PublicDetectionIssueSemanticsInput: {
484
- type: "object",
485
- properties: {
486
- schema_version: {
487
- type: "string",
488
- const: "detector-issue-semantics-v1"
489
- },
490
- polarity: {
491
- type: "string",
492
- enum: [
493
- "problem",
494
- "healthy",
495
- "informational",
496
- "unknown"
497
- ]
498
- },
499
- authority: {
500
- default: "none",
501
- type: "string",
502
- enum: [
503
- "none",
504
- "project_authoritative"
505
- ]
506
- },
507
- truth_role: {
508
- type: "string",
509
- minLength: 1,
510
- maxLength: 100
511
- },
512
- contract_id: {
513
- type: "string",
514
- minLength: 1,
515
- maxLength: 256
516
- },
517
- contract_version: {
518
- type: "string",
519
- minLength: 1,
520
- maxLength: 100
521
- }
522
- },
523
- required: [
524
- "schema_version",
525
- "polarity"
526
- ],
527
- additionalProperties: false
528
- },
529
- PublicDetectionIssueSemanticsOutput: {
530
- type: "object",
531
- properties: {
532
- schema_version: {
533
- type: "string",
534
- const: "detector-issue-semantics-v1"
535
- },
536
- polarity: {
537
- type: "string",
538
- enum: [
539
- "problem",
540
- "healthy",
541
- "informational",
542
- "unknown"
543
- ]
544
- },
545
- authority: {
546
- default: "none",
547
- type: "string",
548
- enum: [
549
- "none",
550
- "project_authoritative"
551
- ]
552
- },
553
- truth_role: {
554
- type: "string",
555
- minLength: 1,
556
- maxLength: 100
557
- },
558
- contract_id: {
559
- type: "string",
560
- minLength: 1,
561
- maxLength: 256
562
- },
563
- contract_version: {
564
- type: "string",
565
- minLength: 1,
566
- maxLength: 100
567
- }
568
- },
569
- required: [
570
- "schema_version",
571
- "polarity",
572
- "authority"
573
- ],
574
- additionalProperties: false
575
- },
576
- PublicDetectionSummary: {
577
- type: "object",
578
- properties: {
579
- createdAt: {
580
- type: "string",
581
- format: "date-time",
582
- pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
583
- },
584
- displayName: {
585
- type: "string",
586
- minLength: 1,
587
- maxLength: 255
588
- },
589
- groupId: {
590
- type: "string",
591
- format: "uuid",
592
- pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
593
- },
594
- groupName: {
595
- anyOf: [
596
- {
597
- type: "string",
598
- maxLength: 255
599
- },
600
- {
601
- type: "null"
602
- }
603
- ]
604
- },
605
- id: {
606
- type: "string",
607
- format: "uuid",
608
- pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
609
- },
610
- isActive: {
611
- type: "boolean"
612
- },
613
- issueSemantics: {
614
- anyOf: [
615
- {
616
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
617
- },
618
- {
619
- type: "null"
620
- }
621
- ]
622
- },
623
- slug: {
624
- type: "string",
625
- minLength: 1,
626
- maxLength: 100
627
- },
628
- threshold: {
629
- type: "number",
630
- minimum: 0,
631
- maximum: 1
632
- },
633
- type: {
634
- type: "string",
635
- enum: [
636
- "classifier",
637
- "regex",
638
- "conditional",
639
- "pii",
640
- "custom_trained",
641
- "code",
642
- "trace_rules",
643
- "decision"
644
- ]
645
- },
646
- updatedAt: {
647
- type: "string",
648
- format: "date-time",
649
- pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
650
- }
651
- },
652
- required: [
653
- "createdAt",
654
- "displayName",
655
- "groupId",
656
- "groupName",
657
- "id",
658
- "isActive",
659
- "slug",
660
- "threshold",
661
- "type",
662
- "updatedAt"
663
- ],
664
- additionalProperties: false
665
- },
666
483
  PublicSavedFilter: {
667
484
  additionalProperties: false,
668
485
  properties: {
@@ -39647,16 +39464,6 @@ var public_openapi_default = {
39647
39464
  default: true,
39648
39465
  type: "boolean"
39649
39466
  },
39650
- issueSemantics: {
39651
- anyOf: [
39652
- {
39653
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
39654
- },
39655
- {
39656
- type: "null"
39657
- }
39658
- ]
39659
- },
39660
39467
  runOn: {
39661
39468
  default: {
39662
39469
  frequency: "trace"
@@ -39794,16 +39601,6 @@ var public_openapi_default = {
39794
39601
  default: true,
39795
39602
  type: "boolean"
39796
39603
  },
39797
- issueSemantics: {
39798
- anyOf: [
39799
- {
39800
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
39801
- },
39802
- {
39803
- type: "null"
39804
- }
39805
- ]
39806
- },
39807
39604
  runOn: {
39808
39605
  default: {
39809
39606
  frequency: "trace"
@@ -39969,16 +39766,6 @@ var public_openapi_default = {
39969
39766
  default: true,
39970
39767
  type: "boolean"
39971
39768
  },
39972
- issueSemantics: {
39973
- anyOf: [
39974
- {
39975
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
39976
- },
39977
- {
39978
- type: "null"
39979
- }
39980
- ]
39981
- },
39982
39769
  runOn: {
39983
39770
  default: {
39984
39771
  frequency: "trace"
@@ -40818,16 +40605,6 @@ var public_openapi_default = {
40818
40605
  default: true,
40819
40606
  type: "boolean"
40820
40607
  },
40821
- issueSemantics: {
40822
- anyOf: [
40823
- {
40824
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
40825
- },
40826
- {
40827
- type: "null"
40828
- }
40829
- ]
40830
- },
40831
40608
  runOn: {
40832
40609
  default: {
40833
40610
  frequency: "trace"
@@ -41522,16 +41299,6 @@ var public_openapi_default = {
41522
41299
  default: true,
41523
41300
  type: "boolean"
41524
41301
  },
41525
- issueSemantics: {
41526
- anyOf: [
41527
- {
41528
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
41529
- },
41530
- {
41531
- type: "null"
41532
- }
41533
- ]
41534
- },
41535
41302
  runOn: {
41536
41303
  default: {
41537
41304
  frequency: "trace"
@@ -41669,16 +41436,6 @@ var public_openapi_default = {
41669
41436
  default: true,
41670
41437
  type: "boolean"
41671
41438
  },
41672
- issueSemantics: {
41673
- anyOf: [
41674
- {
41675
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
41676
- },
41677
- {
41678
- type: "null"
41679
- }
41680
- ]
41681
- },
41682
41439
  runOn: {
41683
41440
  default: {
41684
41441
  frequency: "trace"
@@ -41844,16 +41601,6 @@ var public_openapi_default = {
41844
41601
  default: true,
41845
41602
  type: "boolean"
41846
41603
  },
41847
- issueSemantics: {
41848
- anyOf: [
41849
- {
41850
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
41851
- },
41852
- {
41853
- type: "null"
41854
- }
41855
- ]
41856
- },
41857
41604
  runOn: {
41858
41605
  default: {
41859
41606
  frequency: "trace"
@@ -42693,16 +42440,6 @@ var public_openapi_default = {
42693
42440
  default: true,
42694
42441
  type: "boolean"
42695
42442
  },
42696
- issueSemantics: {
42697
- anyOf: [
42698
- {
42699
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
42700
- },
42701
- {
42702
- type: "null"
42703
- }
42704
- ]
42705
- },
42706
42443
  runOn: {
42707
42444
  default: {
42708
42445
  frequency: "trace"
@@ -43410,16 +43147,6 @@ var public_openapi_default = {
43410
43147
  default: true,
43411
43148
  type: "boolean"
43412
43149
  },
43413
- issueSemantics: {
43414
- anyOf: [
43415
- {
43416
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
43417
- },
43418
- {
43419
- type: "null"
43420
- }
43421
- ]
43422
- },
43423
43150
  runOn: {
43424
43151
  default: {
43425
43152
  frequency: "trace"
@@ -43557,16 +43284,6 @@ var public_openapi_default = {
43557
43284
  default: true,
43558
43285
  type: "boolean"
43559
43286
  },
43560
- issueSemantics: {
43561
- anyOf: [
43562
- {
43563
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
43564
- },
43565
- {
43566
- type: "null"
43567
- }
43568
- ]
43569
- },
43570
43287
  runOn: {
43571
43288
  default: {
43572
43289
  frequency: "trace"
@@ -43732,16 +43449,6 @@ var public_openapi_default = {
43732
43449
  default: true,
43733
43450
  type: "boolean"
43734
43451
  },
43735
- issueSemantics: {
43736
- anyOf: [
43737
- {
43738
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
43739
- },
43740
- {
43741
- type: "null"
43742
- }
43743
- ]
43744
- },
43745
43452
  runOn: {
43746
43453
  default: {
43747
43454
  frequency: "trace"
@@ -44581,16 +44288,6 @@ var public_openapi_default = {
44581
44288
  default: true,
44582
44289
  type: "boolean"
44583
44290
  },
44584
- issueSemantics: {
44585
- anyOf: [
44586
- {
44587
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
44588
- },
44589
- {
44590
- type: "null"
44591
- }
44592
- ]
44593
- },
44594
44291
  runOn: {
44595
44292
  default: {
44596
44293
  frequency: "trace"
@@ -45237,7 +44934,84 @@ var public_openapi_default = {
45237
44934
  detections: {
45238
44935
  type: "array",
45239
44936
  items: {
45240
- $ref: "#/components/schemas/PublicDetectionSummary"
44937
+ type: "object",
44938
+ properties: {
44939
+ createdAt: {
44940
+ type: "string",
44941
+ format: "date-time",
44942
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
44943
+ },
44944
+ displayName: {
44945
+ type: "string",
44946
+ minLength: 1,
44947
+ maxLength: 255
44948
+ },
44949
+ groupId: {
44950
+ type: "string",
44951
+ format: "uuid",
44952
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
44953
+ },
44954
+ groupName: {
44955
+ anyOf: [
44956
+ {
44957
+ type: "string",
44958
+ maxLength: 255
44959
+ },
44960
+ {
44961
+ type: "null"
44962
+ }
44963
+ ]
44964
+ },
44965
+ id: {
44966
+ type: "string",
44967
+ format: "uuid",
44968
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
44969
+ },
44970
+ isActive: {
44971
+ type: "boolean"
44972
+ },
44973
+ slug: {
44974
+ type: "string",
44975
+ minLength: 1,
44976
+ maxLength: 100
44977
+ },
44978
+ threshold: {
44979
+ type: "number",
44980
+ minimum: 0,
44981
+ maximum: 1
44982
+ },
44983
+ type: {
44984
+ type: "string",
44985
+ enum: [
44986
+ "classifier",
44987
+ "regex",
44988
+ "conditional",
44989
+ "pii",
44990
+ "custom_trained",
44991
+ "code",
44992
+ "trace_rules",
44993
+ "decision"
44994
+ ]
44995
+ },
44996
+ updatedAt: {
44997
+ type: "string",
44998
+ format: "date-time",
44999
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
45000
+ }
45001
+ },
45002
+ required: [
45003
+ "createdAt",
45004
+ "displayName",
45005
+ "groupId",
45006
+ "groupName",
45007
+ "id",
45008
+ "isActive",
45009
+ "slug",
45010
+ "threshold",
45011
+ "type",
45012
+ "updatedAt"
45013
+ ],
45014
+ additionalProperties: false
45241
45015
  }
45242
45016
  },
45243
45017
  page: {
@@ -45788,7 +45562,84 @@ var public_openapi_default = {
45788
45562
  type: "object",
45789
45563
  properties: {
45790
45564
  data: {
45791
- $ref: "#/components/schemas/PublicDetectionSummary"
45565
+ type: "object",
45566
+ properties: {
45567
+ createdAt: {
45568
+ type: "string",
45569
+ format: "date-time",
45570
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
45571
+ },
45572
+ displayName: {
45573
+ type: "string",
45574
+ minLength: 1,
45575
+ maxLength: 255
45576
+ },
45577
+ groupId: {
45578
+ type: "string",
45579
+ format: "uuid",
45580
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
45581
+ },
45582
+ groupName: {
45583
+ anyOf: [
45584
+ {
45585
+ type: "string",
45586
+ maxLength: 255
45587
+ },
45588
+ {
45589
+ type: "null"
45590
+ }
45591
+ ]
45592
+ },
45593
+ id: {
45594
+ type: "string",
45595
+ format: "uuid",
45596
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
45597
+ },
45598
+ isActive: {
45599
+ type: "boolean"
45600
+ },
45601
+ slug: {
45602
+ type: "string",
45603
+ minLength: 1,
45604
+ maxLength: 100
45605
+ },
45606
+ threshold: {
45607
+ type: "number",
45608
+ minimum: 0,
45609
+ maximum: 1
45610
+ },
45611
+ type: {
45612
+ type: "string",
45613
+ enum: [
45614
+ "classifier",
45615
+ "regex",
45616
+ "conditional",
45617
+ "pii",
45618
+ "custom_trained",
45619
+ "code",
45620
+ "trace_rules",
45621
+ "decision"
45622
+ ]
45623
+ },
45624
+ updatedAt: {
45625
+ type: "string",
45626
+ format: "date-time",
45627
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
45628
+ }
45629
+ },
45630
+ required: [
45631
+ "createdAt",
45632
+ "displayName",
45633
+ "groupId",
45634
+ "groupName",
45635
+ "id",
45636
+ "isActive",
45637
+ "slug",
45638
+ "threshold",
45639
+ "type",
45640
+ "updatedAt"
45641
+ ],
45642
+ additionalProperties: false
45792
45643
  },
45793
45644
  requestId: {
45794
45645
  type: "string",
@@ -46231,16 +46082,6 @@ var public_openapi_default = {
46231
46082
  default: true,
46232
46083
  type: "boolean"
46233
46084
  },
46234
- issueSemantics: {
46235
- anyOf: [
46236
- {
46237
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsInput"
46238
- },
46239
- {
46240
- type: "null"
46241
- }
46242
- ]
46243
- },
46244
46085
  runOn: {
46245
46086
  default: {
46246
46087
  frequency: "trace"
@@ -46372,16 +46213,6 @@ var public_openapi_default = {
46372
46213
  default: true,
46373
46214
  type: "boolean"
46374
46215
  },
46375
- issueSemantics: {
46376
- anyOf: [
46377
- {
46378
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsInput"
46379
- },
46380
- {
46381
- type: "null"
46382
- }
46383
- ]
46384
- },
46385
46216
  runOn: {
46386
46217
  default: {
46387
46218
  frequency: "trace"
@@ -46537,16 +46368,6 @@ var public_openapi_default = {
46537
46368
  default: true,
46538
46369
  type: "boolean"
46539
46370
  },
46540
- issueSemantics: {
46541
- anyOf: [
46542
- {
46543
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsInput"
46544
- },
46545
- {
46546
- type: "null"
46547
- }
46548
- ]
46549
- },
46550
46371
  runOn: {
46551
46372
  default: {
46552
46373
  frequency: "trace"
@@ -47380,16 +47201,6 @@ var public_openapi_default = {
47380
47201
  default: true,
47381
47202
  type: "boolean"
47382
47203
  },
47383
- issueSemantics: {
47384
- anyOf: [
47385
- {
47386
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsInput"
47387
- },
47388
- {
47389
- type: "null"
47390
- }
47391
- ]
47392
- },
47393
47204
  runOn: {
47394
47205
  default: {
47395
47206
  frequency: "trace"
@@ -48132,16 +47943,6 @@ var public_openapi_default = {
48132
47943
  isActive: {
48133
47944
  type: "boolean"
48134
47945
  },
48135
- issueSemantics: {
48136
- anyOf: [
48137
- {
48138
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
48139
- },
48140
- {
48141
- type: "null"
48142
- }
48143
- ]
48144
- },
48145
47946
  slug: {
48146
47947
  type: "string",
48147
47948
  minLength: 1,
@@ -48208,7 +48009,6 @@ var public_openapi_default = {
48208
48009
  type: "string",
48209
48010
  enum: [
48210
48011
  "trace",
48211
- "session",
48212
48012
  "span_type",
48213
48013
  "span_name"
48214
48014
  ]
@@ -48327,16 +48127,6 @@ var public_openapi_default = {
48327
48127
  isActive: {
48328
48128
  type: "boolean"
48329
48129
  },
48330
- issueSemantics: {
48331
- anyOf: [
48332
- {
48333
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
48334
- },
48335
- {
48336
- type: "null"
48337
- }
48338
- ]
48339
- },
48340
48130
  slug: {
48341
48131
  type: "string",
48342
48132
  minLength: 1,
@@ -48403,7 +48193,6 @@ var public_openapi_default = {
48403
48193
  type: "string",
48404
48194
  enum: [
48405
48195
  "trace",
48406
- "session",
48407
48196
  "span_type",
48408
48197
  "span_name"
48409
48198
  ]
@@ -48551,16 +48340,6 @@ var public_openapi_default = {
48551
48340
  isActive: {
48552
48341
  type: "boolean"
48553
48342
  },
48554
- issueSemantics: {
48555
- anyOf: [
48556
- {
48557
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
48558
- },
48559
- {
48560
- type: "null"
48561
- }
48562
- ]
48563
- },
48564
48343
  slug: {
48565
48344
  type: "string",
48566
48345
  minLength: 1,
@@ -48627,7 +48406,6 @@ var public_openapi_default = {
48627
48406
  type: "string",
48628
48407
  enum: [
48629
48408
  "trace",
48630
- "session",
48631
48409
  "span_type",
48632
48410
  "span_name"
48633
48411
  ]
@@ -49453,16 +49231,6 @@ var public_openapi_default = {
49453
49231
  isActive: {
49454
49232
  type: "boolean"
49455
49233
  },
49456
- issueSemantics: {
49457
- anyOf: [
49458
- {
49459
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
49460
- },
49461
- {
49462
- type: "null"
49463
- }
49464
- ]
49465
- },
49466
49234
  slug: {
49467
49235
  type: "string",
49468
49236
  minLength: 1,
@@ -49529,7 +49297,6 @@ var public_openapi_default = {
49529
49297
  type: "string",
49530
49298
  enum: [
49531
49299
  "trace",
49532
- "session",
49533
49300
  "span_type",
49534
49301
  "span_name"
49535
49302
  ]
@@ -49654,16 +49421,6 @@ var public_openapi_default = {
49654
49421
  isActive: {
49655
49422
  type: "boolean"
49656
49423
  },
49657
- issueSemantics: {
49658
- anyOf: [
49659
- {
49660
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
49661
- },
49662
- {
49663
- type: "null"
49664
- }
49665
- ]
49666
- },
49667
49424
  slug: {
49668
49425
  type: "string",
49669
49426
  minLength: 1,
@@ -49730,7 +49487,6 @@ var public_openapi_default = {
49730
49487
  type: "string",
49731
49488
  enum: [
49732
49489
  "trace",
49733
- "session",
49734
49490
  "span_type",
49735
49491
  "span_name"
49736
49492
  ]
@@ -49886,16 +49642,6 @@ var public_openapi_default = {
49886
49642
  isActive: {
49887
49643
  type: "boolean"
49888
49644
  },
49889
- issueSemantics: {
49890
- anyOf: [
49891
- {
49892
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
49893
- },
49894
- {
49895
- type: "null"
49896
- }
49897
- ]
49898
- },
49899
49645
  slug: {
49900
49646
  type: "string",
49901
49647
  minLength: 1,
@@ -49962,7 +49708,6 @@ var public_openapi_default = {
49962
49708
  type: "string",
49963
49709
  enum: [
49964
49710
  "trace",
49965
- "session",
49966
49711
  "span_type",
49967
49712
  "span_name"
49968
49713
  ]
@@ -50036,8 +49781,7 @@ var public_openapi_default = {
50036
49781
  type: "string",
50037
49782
  enum: [
50038
49783
  "span",
50039
- "trace",
50040
- "session"
49784
+ "trace"
50041
49785
  ]
50042
49786
  }
50043
49787
  },
@@ -50110,16 +49854,6 @@ var public_openapi_default = {
50110
49854
  isActive: {
50111
49855
  type: "boolean"
50112
49856
  },
50113
- issueSemantics: {
50114
- anyOf: [
50115
- {
50116
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
50117
- },
50118
- {
50119
- type: "null"
50120
- }
50121
- ]
50122
- },
50123
49857
  slug: {
50124
49858
  type: "string",
50125
49859
  minLength: 1,
@@ -50186,7 +49920,6 @@ var public_openapi_default = {
50186
49920
  type: "string",
50187
49921
  enum: [
50188
49922
  "trace",
50189
- "session",
50190
49923
  "span_type",
50191
49924
  "span_name"
50192
49925
  ]
@@ -51229,7 +50962,84 @@ var public_openapi_default = {
51229
50962
  type: "object",
51230
50963
  properties: {
51231
50964
  data: {
51232
- $ref: "#/components/schemas/PublicDetectionSummary"
50965
+ type: "object",
50966
+ properties: {
50967
+ createdAt: {
50968
+ type: "string",
50969
+ format: "date-time",
50970
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
50971
+ },
50972
+ displayName: {
50973
+ type: "string",
50974
+ minLength: 1,
50975
+ maxLength: 255
50976
+ },
50977
+ groupId: {
50978
+ type: "string",
50979
+ format: "uuid",
50980
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
50981
+ },
50982
+ groupName: {
50983
+ anyOf: [
50984
+ {
50985
+ type: "string",
50986
+ maxLength: 255
50987
+ },
50988
+ {
50989
+ type: "null"
50990
+ }
50991
+ ]
50992
+ },
50993
+ id: {
50994
+ type: "string",
50995
+ format: "uuid",
50996
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
50997
+ },
50998
+ isActive: {
50999
+ type: "boolean"
51000
+ },
51001
+ slug: {
51002
+ type: "string",
51003
+ minLength: 1,
51004
+ maxLength: 100
51005
+ },
51006
+ threshold: {
51007
+ type: "number",
51008
+ minimum: 0,
51009
+ maximum: 1
51010
+ },
51011
+ type: {
51012
+ type: "string",
51013
+ enum: [
51014
+ "classifier",
51015
+ "regex",
51016
+ "conditional",
51017
+ "pii",
51018
+ "custom_trained",
51019
+ "code",
51020
+ "trace_rules",
51021
+ "decision"
51022
+ ]
51023
+ },
51024
+ updatedAt: {
51025
+ type: "string",
51026
+ format: "date-time",
51027
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
51028
+ }
51029
+ },
51030
+ required: [
51031
+ "createdAt",
51032
+ "displayName",
51033
+ "groupId",
51034
+ "groupName",
51035
+ "id",
51036
+ "isActive",
51037
+ "slug",
51038
+ "threshold",
51039
+ "type",
51040
+ "updatedAt"
51041
+ ],
51042
+ additionalProperties: false
51233
51043
  },
51234
51044
  requestId: {
51235
51045
  type: "string",
@@ -52514,16 +52324,6 @@ var public_openapi_default = {
52514
52324
  format: "uuid",
52515
52325
  pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
52516
52326
  },
52517
- issueSemantics: {
52518
- anyOf: [
52519
- {
52520
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsInput"
52521
- },
52522
- {
52523
- type: "null"
52524
- }
52525
- ]
52526
- },
52527
52327
  runOn: {
52528
52328
  type: "object",
52529
52329
  properties: {
@@ -55950,7 +55750,84 @@ var public_openapi_default = {
55950
55750
  type: "object",
55951
55751
  properties: {
55952
55752
  data: {
55953
- $ref: "#/components/schemas/PublicDetectionSummary"
55753
+ type: "object",
55754
+ properties: {
55755
+ createdAt: {
55756
+ type: "string",
55757
+ format: "date-time",
55758
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
55759
+ },
55760
+ displayName: {
55761
+ type: "string",
55762
+ minLength: 1,
55763
+ maxLength: 255
55764
+ },
55765
+ groupId: {
55766
+ type: "string",
55767
+ format: "uuid",
55768
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
55769
+ },
55770
+ groupName: {
55771
+ anyOf: [
55772
+ {
55773
+ type: "string",
55774
+ maxLength: 255
55775
+ },
55776
+ {
55777
+ type: "null"
55778
+ }
55779
+ ]
55780
+ },
55781
+ id: {
55782
+ type: "string",
55783
+ format: "uuid",
55784
+ pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
55785
+ },
55786
+ isActive: {
55787
+ type: "boolean"
55788
+ },
55789
+ slug: {
55790
+ type: "string",
55791
+ minLength: 1,
55792
+ maxLength: 100
55793
+ },
55794
+ threshold: {
55795
+ type: "number",
55796
+ minimum: 0,
55797
+ maximum: 1
55798
+ },
55799
+ type: {
55800
+ type: "string",
55801
+ enum: [
55802
+ "classifier",
55803
+ "regex",
55804
+ "conditional",
55805
+ "pii",
55806
+ "custom_trained",
55807
+ "code",
55808
+ "trace_rules",
55809
+ "decision"
55810
+ ]
55811
+ },
55812
+ updatedAt: {
55813
+ type: "string",
55814
+ format: "date-time",
55815
+ pattern: "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
55816
+ }
55817
+ },
55818
+ required: [
55819
+ "createdAt",
55820
+ "displayName",
55821
+ "groupId",
55822
+ "groupName",
55823
+ "id",
55824
+ "isActive",
55825
+ "slug",
55826
+ "threshold",
55827
+ "type",
55828
+ "updatedAt"
55829
+ ],
55830
+ additionalProperties: false
55954
55831
  },
55955
55832
  requestId: {
55956
55833
  type: "string",
@@ -57062,16 +56939,6 @@ var public_openapi_default = {
57062
56939
  default: true,
57063
56940
  type: "boolean"
57064
56941
  },
57065
- issueSemantics: {
57066
- anyOf: [
57067
- {
57068
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
57069
- },
57070
- {
57071
- type: "null"
57072
- }
57073
- ]
57074
- },
57075
56942
  runOn: {
57076
56943
  default: {
57077
56944
  frequency: "trace"
@@ -57209,16 +57076,6 @@ var public_openapi_default = {
57209
57076
  default: true,
57210
57077
  type: "boolean"
57211
57078
  },
57212
- issueSemantics: {
57213
- anyOf: [
57214
- {
57215
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
57216
- },
57217
- {
57218
- type: "null"
57219
- }
57220
- ]
57221
- },
57222
57079
  runOn: {
57223
57080
  default: {
57224
57081
  frequency: "trace"
@@ -57384,16 +57241,6 @@ var public_openapi_default = {
57384
57241
  default: true,
57385
57242
  type: "boolean"
57386
57243
  },
57387
- issueSemantics: {
57388
- anyOf: [
57389
- {
57390
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
57391
- },
57392
- {
57393
- type: "null"
57394
- }
57395
- ]
57396
- },
57397
57244
  runOn: {
57398
57245
  default: {
57399
57246
  frequency: "trace"
@@ -58233,16 +58080,6 @@ var public_openapi_default = {
58233
58080
  default: true,
58234
58081
  type: "boolean"
58235
58082
  },
58236
- issueSemantics: {
58237
- anyOf: [
58238
- {
58239
- $ref: "#/components/schemas/PublicDetectionIssueSemanticsOutput"
58240
- },
58241
- {
58242
- type: "null"
58243
- }
58244
- ]
58245
- },
58246
58083
  runOn: {
58247
58084
  default: {
58248
58085
  frequency: "trace"
@@ -191894,7 +191731,7 @@ import { Command, CommanderError, Option } from "commander";
191894
191731
  // package.json
191895
191732
  var package_default = {
191896
191733
  name: "neatlogs-cli",
191897
- version: "0.2.0-team-test.2",
191734
+ version: "0.2.0",
191898
191735
  description: "Non-interactive CLI for the NeatLogs public API",
191899
191736
  homepage: "https://github.com/neatlogs/neatlogs-app#readme",
191900
191737
  license: "MIT",
@@ -192383,8 +192220,6 @@ function isJsonLineWithinByteBudget(value, maximumBytes) {
192383
192220
 
192384
192221
  // src/handler-builder.ts
192385
192222
  var PUBLIC_RESPONSE_COMPONENT_NAMES = [
192386
- "PublicDetectionIssueSemanticsOutput",
192387
- "PublicDetectionSummary",
192388
192223
  "PublicSavedFilter",
192389
192224
  "PublicSavedFilterEnvelope",
192390
192225
  "PublicSavedFilterGroup1",
@@ -201315,7 +201150,10 @@ var STATUS_ERRORS = {
201315
201150
  415: { code: "UNSUPPORTED_MEDIA_TYPE", exitCode: ExitCode.Usage },
201316
201151
  422: { code: "UNPROCESSABLE_ENTITY", exitCode: ExitCode.ServerOrContract },
201317
201152
  429: { code: "RATE_LIMITED", exitCode: ExitCode.RateLimitedOrUnavailable },
201318
- 503: { code: "SERVICE_UNAVAILABLE", exitCode: ExitCode.RateLimitedOrUnavailable }
201153
+ 503: {
201154
+ code: "SERVICE_UNAVAILABLE",
201155
+ exitCode: ExitCode.RateLimitedOrUnavailable
201156
+ }
201319
201157
  };
201320
201158
  var CLASSIFIER_422_EXITS = {
201321
201159
  PUBLIC_CLASSIFIER_BUDGET_TOO_SMALL: ExitCode.Usage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neatlogs-cli",
3
- "version": "0.2.0-team-test.2",
3
+ "version": "0.2.0",
4
4
  "description": "Non-interactive CLI for the NeatLogs public API",
5
5
  "homepage": "https://github.com/neatlogs/neatlogs-app#readme",
6
6
  "license": "MIT",