logwork-cli 1.3.0 → 1.3.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/LICENSE +18 -8
- package/README.md +4 -25
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2026
|
|
4
|
-
All rights reserved.
|
|
3
|
+
Copyright (c) 2026 malcohelper and contributors
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -171,27 +171,6 @@ The default tasks shared by all projects are:
|
|
|
171
171
|
| 183 | Testing Activities | create |
|
|
172
172
|
| 111 | Other Activities | other |
|
|
173
173
|
|
|
174
|
-
## API Notes
|
|
175
|
-
|
|
176
|
-
- Read bookings: `GET /member-logtime/timesheet`
|
|
177
|
-
- Read worklog tasks: `GET /logwork/tasks?project_id=<id>` and `GET /logwork/tasks/defaults?project_id=<id>`
|
|
178
|
-
- Write an entry: `POST /logwork/entries`
|
|
179
|
-
- Delete an entry: `DELETE /logwork/entries/:id`
|
|
180
|
-
- Resubmit a rejected entry: `PATCH /logwork/entries/:id/resubmit`
|
|
181
|
-
|
|
182
|
-
```json
|
|
183
|
-
{
|
|
184
|
-
"worklog_task_id": 71,
|
|
185
|
-
"type_of_work": "create",
|
|
186
|
-
"effort_hours": 2,
|
|
187
|
-
"logdate": "2026-06-01",
|
|
188
|
-
"project_id": 720,
|
|
189
|
-
"description": "Implement maintenance mode management and status UI (SCB-213)"
|
|
190
|
-
}
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
`project_id` is sent only when the worklog task is a shared default task.
|
|
194
|
-
|
|
195
174
|
## Set Up MCP
|
|
196
175
|
|
|
197
176
|
Run `logwork setup` and answer yes for each client. It finds the clients you have and adds or updates the `logwork` server in each:
|
|
@@ -253,11 +232,11 @@ Options:
|
|
|
253
232
|
|
|
254
233
|
The long forms `--task-name` and `--description` also work. Project and date are always preserved.
|
|
255
234
|
|
|
256
|
-
Resource Optimiser
|
|
235
|
+
Resource Optimiser only lets project managers edit an entry. So apply **replaces** the entry:
|
|
257
236
|
|
|
258
237
|
1. It re-reads the entry and stops if the entry changed after the preview.
|
|
259
|
-
2. It creates the corrected entry
|
|
260
|
-
3. It deletes the original
|
|
238
|
+
2. It creates the corrected entry.
|
|
239
|
+
3. It deletes the original.
|
|
261
240
|
4. It verifies the new entry.
|
|
262
241
|
|
|
263
242
|
If the create fails, the original is untouched. If the delete fails, the new entry is deleted again, so nothing changes.
|
|
@@ -366,4 +345,4 @@ Updating keeps OS credentials, project mappings, drafts and apply history. Recon
|
|
|
366
345
|
|
|
367
346
|
## License
|
|
368
347
|
|
|
369
|
-
|
|
348
|
+
[MIT](LICENSE) © 2026 malcohelper and contributors.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "logwork-cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Log work to Resource Optimiser and Jira from the terminal, an MCP server for AI IDEs, and a terminal UI.",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/malcohelper/logwork-cli#readme",
|
|
8
8
|
"bugs": {
|