@basou/core 0.41.0 → 0.42.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.
- package/dist/index.d.ts +203 -19
- package/dist/index.js +496 -337
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/event.schema.json +18 -7
- package/schemas/retired/0.1.0/event.schema.json +1477 -0
- package/schemas/session-import.schema.json +20 -7
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"schema_version": {
|
|
9
|
-
"type": "string"
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "0.1.0",
|
|
11
|
+
"description": "Import envelope version. Must be exactly 0.1.0; any other value is rejected by the importer. This is the envelope's own version, not the version of the events it carries."
|
|
10
12
|
},
|
|
11
13
|
"session": {
|
|
12
14
|
"type": "object",
|
|
@@ -692,7 +694,8 @@
|
|
|
692
694
|
{
|
|
693
695
|
"type": "null"
|
|
694
696
|
}
|
|
695
|
-
]
|
|
697
|
+
],
|
|
698
|
+
"description": "Spawned executable name. null means basou did not observe the executor - not a default, and not a benign value."
|
|
696
699
|
},
|
|
697
700
|
"args": {
|
|
698
701
|
"type": "array",
|
|
@@ -708,7 +711,8 @@
|
|
|
708
711
|
{
|
|
709
712
|
"type": "null"
|
|
710
713
|
}
|
|
711
|
-
]
|
|
714
|
+
],
|
|
715
|
+
"description": "Working directory the command ran in. null means the directory could not be resolved; it is never the session's directory as a fallback."
|
|
712
716
|
},
|
|
713
717
|
"exit_code": {
|
|
714
718
|
"anyOf": [
|
|
@@ -720,7 +724,8 @@
|
|
|
720
724
|
{
|
|
721
725
|
"type": "null"
|
|
722
726
|
}
|
|
723
|
-
]
|
|
727
|
+
],
|
|
728
|
+
"description": "Child exit code. null means the outcome is unknown (signal-terminated, or never recorded by the source). null is not success."
|
|
724
729
|
},
|
|
725
730
|
"signal": {
|
|
726
731
|
"anyOf": [
|
|
@@ -743,9 +748,17 @@
|
|
|
743
748
|
]
|
|
744
749
|
},
|
|
745
750
|
"duration_ms": {
|
|
746
|
-
"
|
|
747
|
-
|
|
748
|
-
|
|
751
|
+
"anyOf": [
|
|
752
|
+
{
|
|
753
|
+
"type": "integer",
|
|
754
|
+
"minimum": 0,
|
|
755
|
+
"maximum": 9007199254740991
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"type": "null"
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"description": "Observed duration in milliseconds, or null when no duration was observed. Read 0 as unobserved too, on any version: a spawned process cannot run in under half a millisecond, and under schema_version 0.1.0 a writer with nothing to report stored 0 as the floor. Writers at 0.2.0 and above record null instead and never write 0."
|
|
749
762
|
}
|
|
750
763
|
},
|
|
751
764
|
"required": [
|