@kosuke-ai/kosuke 1.0.148 → 1.0.150

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 (29) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/generated/commands/index.js +318 -276
  3. package/dist/generated/commands/integrations/connections-delete.js +4 -0
  4. package/dist/generated/commands/integrations/connections-get.js +31 -0
  5. package/dist/generated/commands/integrations/connections-list.js +31 -0
  6. package/dist/generated/commands/mac/calendar-calendars-list.js +29 -0
  7. package/dist/generated/commands/mac/calendar-events-create.js +75 -0
  8. package/dist/generated/commands/mac/calendar-events-list.js +71 -0
  9. package/dist/generated/commands/mac/calendar-events-update.js +92 -0
  10. package/dist/generated/commands/mac/contacts-get.js +35 -0
  11. package/dist/generated/commands/mac/contacts-search.js +49 -0
  12. package/dist/generated/commands/mac/location-get.js +28 -0
  13. package/dist/generated/commands/mac/messages-conversations-list.js +43 -0
  14. package/dist/generated/commands/mac/messages-list.js +49 -0
  15. package/dist/generated/commands/mac/messages-send.js +53 -0
  16. package/dist/generated/commands/mac/notes-create.js +48 -0
  17. package/dist/generated/commands/mac/notes-folders-list.js +29 -0
  18. package/dist/generated/commands/mac/notes-get.js +35 -0
  19. package/dist/generated/commands/mac/notes-search.js +56 -0
  20. package/dist/generated/commands/mac/notes-update.js +42 -0
  21. package/dist/generated/commands/mac/reminders-complete.js +42 -0
  22. package/dist/generated/commands/mac/reminders-create.js +61 -0
  23. package/dist/generated/commands/mac/reminders-list.js +56 -0
  24. package/dist/generated/commands/mac/reminders-lists-list.js +29 -0
  25. package/dist/generated/commands/mac/reminders-search.js +63 -0
  26. package/dist/generated/commands/mac/reminders-update.js +75 -0
  27. package/dist/runtime/list-defaults.js +8 -0
  28. package/openapi.json +1858 -117
  29. package/package.json +4 -4
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/folders",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "folders",
8
+ "list"
9
+ ],
10
+ "summary": "List the member's Notes folders on their Mac. Answers folders: id, name, account and count. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ }
22
+ ],
23
+ "required": true
24
+ },
25
+ "multipart": null,
26
+ "attachments": false,
27
+ "anonymous": false,
28
+ "agents": "all"
29
+ };
@@ -0,0 +1,35 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/read",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "get"
8
+ ],
9
+ "summary": "Read one note on the member's Mac, by its id. Answers note: id, title, folder, created, modified, and body as plain text, cut at 4000 characters with truncated true. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The note, by the id a search or create answered."
27
+ }
28
+ ],
29
+ "required": true
30
+ },
31
+ "multipart": null,
32
+ "attachments": false,
33
+ "anonymous": false,
34
+ "agents": "all"
35
+ };
@@ -0,0 +1,56 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/search",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "search"
8
+ ],
9
+ "summary": "Search notes on the member's Mac whose title or body contains --query, in one folder (by id or exact name) or in all. Answers notes (id, title, folder, modified, snippet) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "query",
23
+ "flag": "query",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "Matches the title or body."
27
+ },
28
+ {
29
+ "name": "folder",
30
+ "flag": "folder",
31
+ "kind": "string",
32
+ "required": false,
33
+ "description": "The folder, by id or exact name, from `kosuke mac notes folders list`."
34
+ },
35
+ {
36
+ "name": "limit",
37
+ "flag": "limit",
38
+ "kind": "integer",
39
+ "required": false,
40
+ "description": "Most items in one page: 25 by default, at most 100."
41
+ },
42
+ {
43
+ "name": "cursor",
44
+ "flag": "cursor",
45
+ "kind": "string",
46
+ "required": false,
47
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
48
+ }
49
+ ],
50
+ "required": true
51
+ },
52
+ "multipart": null,
53
+ "attachments": false,
54
+ "anonymous": false,
55
+ "agents": "all"
56
+ };
@@ -0,0 +1,42 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/notes/append",
4
+ "command": [
5
+ "mac",
6
+ "notes",
7
+ "update"
8
+ ],
9
+ "summary": "Add plain text at the end of a note on the member's Mac, by its id: it never replaces what the note holds. Answers note: id, title and folder. Without Apple Notes turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The note, by the id a search or create answered."
27
+ },
28
+ {
29
+ "name": "text",
30
+ "flag": "text",
31
+ "kind": "string",
32
+ "required": true,
33
+ "description": "Plain text added at the end of the note."
34
+ }
35
+ ],
36
+ "required": true
37
+ },
38
+ "multipart": null,
39
+ "attachments": false,
40
+ "anonymous": false,
41
+ "agents": "all"
42
+ };
@@ -0,0 +1,42 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/complete",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "complete"
8
+ ],
9
+ "summary": "Mark a reminder on the member's Mac done, by its id; --no-completed opens it again. Answers reminder. Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The reminder, by the id a list, search or create answered."
27
+ },
28
+ {
29
+ "name": "completed",
30
+ "flag": "completed",
31
+ "kind": "boolean",
32
+ "required": false,
33
+ "description": "Send false (--no-completed) to open a completed reminder again. True by default."
34
+ }
35
+ ],
36
+ "required": true
37
+ },
38
+ "multipart": null,
39
+ "attachments": false,
40
+ "anonymous": false,
41
+ "agents": "all"
42
+ };
@@ -0,0 +1,61 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/create",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "create"
8
+ ],
9
+ "summary": "Create a reminder on the member's Mac with a title, in --list (by id or exact title) or the default list, with optional notes, due (a date such as 2026-11-20, or a date and time with an offset) and priority (0 none, 1 highest to 9 lowest). Answers reminder. Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "title",
23
+ "flag": "title",
24
+ "kind": "string",
25
+ "required": true
26
+ },
27
+ {
28
+ "name": "list",
29
+ "flag": "list",
30
+ "kind": "string",
31
+ "required": false,
32
+ "description": "The list, by id or exact title. The default list by default."
33
+ },
34
+ {
35
+ "name": "notes",
36
+ "flag": "notes",
37
+ "kind": "string",
38
+ "required": false
39
+ },
40
+ {
41
+ "name": "due",
42
+ "flag": "due",
43
+ "kind": "string",
44
+ "required": false,
45
+ "description": "When it is due: a date (2026-11-20) or a date and time with an offset."
46
+ },
47
+ {
48
+ "name": "priority",
49
+ "flag": "priority",
50
+ "kind": "integer",
51
+ "required": false,
52
+ "description": "0 for none, 1 highest to 9 lowest, as Reminders reads it."
53
+ }
54
+ ],
55
+ "required": true
56
+ },
57
+ "multipart": null,
58
+ "attachments": false,
59
+ "anonymous": false,
60
+ "agents": "all"
61
+ };
@@ -0,0 +1,56 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/list",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "list"
8
+ ],
9
+ "summary": "List reminders on the member's Mac, open ones unless --completed, in one list (by id or exact title) or in all. Answers reminders (id, title, notes, list, due, completed, completedAt, priority) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "list",
23
+ "flag": "list",
24
+ "kind": "string",
25
+ "required": false,
26
+ "description": "The list, by id or exact title, from `kosuke mac reminders lists list`."
27
+ },
28
+ {
29
+ "name": "completed",
30
+ "flag": "completed",
31
+ "kind": "boolean",
32
+ "required": false,
33
+ "description": "List completed reminders instead of open ones. Open ones by default."
34
+ },
35
+ {
36
+ "name": "limit",
37
+ "flag": "limit",
38
+ "kind": "integer",
39
+ "required": false,
40
+ "description": "Most items in one page: 25 by default, at most 100."
41
+ },
42
+ {
43
+ "name": "cursor",
44
+ "flag": "cursor",
45
+ "kind": "string",
46
+ "required": false,
47
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
48
+ }
49
+ ],
50
+ "required": true
51
+ },
52
+ "multipart": null,
53
+ "attachments": false,
54
+ "anonymous": false,
55
+ "agents": "all"
56
+ };
@@ -0,0 +1,29 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/lists",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "lists",
8
+ "list"
9
+ ],
10
+ "summary": "List the member's Reminders lists on their Mac. Answers lists: id, title and color. Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
11
+ "pathParams": [],
12
+ "query": [],
13
+ "body": {
14
+ "fields": [
15
+ {
16
+ "name": "deviceId",
17
+ "flag": "device-id",
18
+ "kind": "string",
19
+ "required": false,
20
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
21
+ }
22
+ ],
23
+ "required": true
24
+ },
25
+ "multipart": null,
26
+ "attachments": false,
27
+ "anonymous": false,
28
+ "agents": "all"
29
+ };
@@ -0,0 +1,63 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/search",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "search"
8
+ ],
9
+ "summary": "Search reminders on the member's Mac whose title or notes contain --query, ignoring case, in one list or in all: open and completed ones, unless --completed or --no-completed says which. Answers reminders and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "query",
23
+ "flag": "query",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "Matches the title and notes, ignoring case."
27
+ },
28
+ {
29
+ "name": "list",
30
+ "flag": "list",
31
+ "kind": "string",
32
+ "required": false,
33
+ "description": "The list, by id or exact title, from `kosuke mac reminders lists list`."
34
+ },
35
+ {
36
+ "name": "completed",
37
+ "flag": "completed",
38
+ "kind": "boolean",
39
+ "required": false,
40
+ "description": "Only completed (true) or only open (false) reminders. Both by default."
41
+ },
42
+ {
43
+ "name": "limit",
44
+ "flag": "limit",
45
+ "kind": "integer",
46
+ "required": false,
47
+ "description": "Most items in one page: 25 by default, at most 100."
48
+ },
49
+ {
50
+ "name": "cursor",
51
+ "flag": "cursor",
52
+ "kind": "string",
53
+ "required": false,
54
+ "description": "The nextCursor of the previous page. Leave it out for the first page."
55
+ }
56
+ ],
57
+ "required": true
58
+ },
59
+ "multipart": null,
60
+ "attachments": false,
61
+ "anonymous": false,
62
+ "agents": "all"
63
+ };
@@ -0,0 +1,75 @@
1
+ export const operation = {
2
+ "method": "post",
3
+ "path": "/api/devices/mac/reminders/update",
4
+ "command": [
5
+ "mac",
6
+ "reminders",
7
+ "update"
8
+ ],
9
+ "summary": "Change a reminder on the member's Mac, by its id: its title, notes, due (--clear-due removes it), priority, or the list it is in. Fields left out stay as they are. Answers reminder. Without Apple Reminders turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Only Sensei calls it; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
10
+ "pathParams": [],
11
+ "query": [],
12
+ "body": {
13
+ "fields": [
14
+ {
15
+ "name": "deviceId",
16
+ "flag": "device-id",
17
+ "kind": "string",
18
+ "required": false,
19
+ "description": "The member’s Mac, by the device ID `kosuke mac status get` prints. Leave it out for the member’s Mac that is online."
20
+ },
21
+ {
22
+ "name": "id",
23
+ "flag": "id",
24
+ "kind": "string",
25
+ "required": true,
26
+ "description": "The reminder, by the id a list, search or create answered."
27
+ },
28
+ {
29
+ "name": "title",
30
+ "flag": "title",
31
+ "kind": "string",
32
+ "required": false
33
+ },
34
+ {
35
+ "name": "notes",
36
+ "flag": "notes",
37
+ "kind": "string",
38
+ "required": false
39
+ },
40
+ {
41
+ "name": "due",
42
+ "flag": "due",
43
+ "kind": "string",
44
+ "required": false,
45
+ "description": "When it is due: a date (2026-11-20) or a date and time with an offset."
46
+ },
47
+ {
48
+ "name": "clearDue",
49
+ "flag": "clear-due",
50
+ "kind": "boolean",
51
+ "required": false,
52
+ "description": "Remove its due date."
53
+ },
54
+ {
55
+ "name": "priority",
56
+ "flag": "priority",
57
+ "kind": "integer",
58
+ "required": false,
59
+ "description": "0 for none, 1 highest to 9 lowest, as Reminders reads it."
60
+ },
61
+ {
62
+ "name": "list",
63
+ "flag": "list",
64
+ "kind": "string",
65
+ "required": false,
66
+ "description": "Move it to this list, by id or exact title."
67
+ }
68
+ ],
69
+ "required": true
70
+ },
71
+ "multipart": null,
72
+ "attachments": false,
73
+ "anonymous": false,
74
+ "agents": "all"
75
+ };
@@ -127,7 +127,15 @@ const LISTS_WITHOUT_DEFAULT = new Set([
127
127
  'mac apps list',
128
128
  'mac browser connections list',
129
129
  'mac browser profiles list',
130
+ // The Apple apps' lists page on the Mac itself, 25 rows by default, with their own nextCursor.
131
+ 'mac calendar calendars list',
132
+ 'mac calendar events list',
130
133
  'mac files list',
134
+ 'mac messages conversations list',
135
+ 'mac messages list',
136
+ 'mac notes folders list',
137
+ 'mac reminders list',
138
+ 'mac reminders lists list',
131
139
  'mac windows list',
132
140
  'models list',
133
141
  'plugins list',