@digipair/skill-logger 0.32.7 → 0.33.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/package.json +1 -1
  2. package/schema.en.json +0 -145
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-logger",
3
- "version": "0.32.7",
3
+ "version": "0.33.1",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.en.json DELETED
@@ -1,145 +0,0 @@
1
- {
2
- "openapi": "3.0.0",
3
- "info": {
4
- "title": "@digipair/skill-logger",
5
- "summary": "Log and LLM consumption management",
6
- "description": "Log and LLM consumption management",
7
- "version": "0.1.0",
8
- "x-icon": "🔢"
9
- },
10
- "paths": {
11
- "/read": {
12
- "post": {
13
- "tags": ["service"],
14
- "summary": "Logs",
15
- "description": "Read logs for a given day",
16
- "parameters": [
17
- {
18
- "name": "date",
19
- "summary": "Date",
20
- "required": true,
21
- "description": "Date of the logs",
22
- "schema": {
23
- "type": "string"
24
- }
25
- },
26
- {
27
- "name": "type",
28
- "summary": "Log Type",
29
- "required": false,
30
- "description": "Type of logs to read (factory, consumption-daily, consumption-monthly)",
31
- "schema": {
32
- "type": "string"
33
- }
34
- },
35
- {
36
- "name": "path",
37
- "summary": "Access Path",
38
- "required": false,
39
- "description": "Access paths of the Digipair directory",
40
- "schema": {
41
- "type": "string"
42
- }
43
- }
44
- ],
45
- "x-events": []
46
- }
47
- },
48
- "/list": {
49
- "post": {
50
- "tags": ["service"],
51
- "summary": "List of log days",
52
- "description": "List the log days",
53
- "parameters": [
54
- {
55
- "name": "type",
56
- "summary": "Log Type",
57
- "required": false,
58
- "description": "Type of logs to list (factory, consumption-daily, consumption-monthly)",
59
- "schema": {
60
- "type": "string"
61
- }
62
- },
63
- {
64
- "name": "path",
65
- "summary": "Access Path",
66
- "required": false,
67
- "description": "Access paths of the Digipair directory",
68
- "schema": {
69
- "type": "string"
70
- }
71
- }
72
- ],
73
- "x-events": []
74
- }
75
- },
76
- "/computeDailyConsumption": {
77
- "post": {
78
- "tags": ["service"],
79
- "summary": "Calculate and save daily consumption",
80
- "description": "Calculate and save daily consumption in the monthly LLM consumption file",
81
- "parameters": [
82
- {
83
- "name": "date",
84
- "summary": "Date",
85
- "required": true,
86
- "description": "Date of the LLM consumption day to be added to the monthly consumption file",
87
- "schema": {
88
- "type": "string"
89
- }
90
- },
91
- {
92
- "name": "path",
93
- "summary": "Access Path",
94
- "required": false,
95
- "description": "Access paths of the Digipair directory",
96
- "schema": {
97
- "type": "string"
98
- }
99
- }
100
- ],
101
- "x-events": []
102
- }
103
- },
104
- "/cleaning": {
105
- "post": {
106
- "tags": ["service"],
107
- "summary": "Delete old logs",
108
- "description": "Delete old log files",
109
- "parameters": [
110
- {
111
- "name": "to",
112
- "summary": "Up To",
113
- "required": true,
114
- "description": "Date up to which the logs should be kept",
115
- "schema": {
116
- "type": "number"
117
- }
118
- },
119
- {
120
- "name": "type",
121
- "summary": "Log Type",
122
- "required": false,
123
- "description": "Type of logs to delete (factory, consumption-daily, consumption-monthly)",
124
- "schema": {
125
- "type": "string"
126
- }
127
- },
128
- {
129
- "name": "path",
130
- "summary": "Access Path",
131
- "required": false,
132
- "description": "Access paths of the Digipair directory",
133
- "schema": {
134
- "type": "string"
135
- }
136
- }
137
- ],
138
- "x-events": []
139
- }
140
- }
141
- },
142
- "components": {
143
- "schemas": {}
144
- }
145
- }