@kosuke-ai/kosuke 1.0.165 → 1.0.166
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 +4 -0
- package/dist/generated/commands/mac/apps-list.js +1 -1
- package/dist/generated/commands/mac/ax-tree-get.js +1 -1
- package/dist/generated/commands/mac/browser-profiles-list.js +1 -1
- package/dist/generated/commands/mac/browser-run.js +1 -1
- package/dist/generated/commands/mac/calendar-calendars-list.js +1 -1
- package/dist/generated/commands/mac/calendar-events-create.js +1 -1
- package/dist/generated/commands/mac/calendar-events-list.js +1 -1
- package/dist/generated/commands/mac/calendar-events-update.js +1 -1
- package/dist/generated/commands/mac/click.js +1 -1
- package/dist/generated/commands/mac/contacts-get.js +1 -1
- package/dist/generated/commands/mac/contacts-search.js +1 -1
- package/dist/generated/commands/mac/files-delete.js +1 -1
- package/dist/generated/commands/mac/files-get.js +1 -1
- package/dist/generated/commands/mac/files-list.js +1 -1
- package/dist/generated/commands/mac/files-move.js +1 -1
- package/dist/generated/commands/mac/files-set.js +1 -1
- package/dist/generated/commands/mac/key.js +1 -1
- package/dist/generated/commands/mac/messages-conversations-list.js +1 -1
- package/dist/generated/commands/mac/messages-list.js +1 -1
- package/dist/generated/commands/mac/notes-create.js +1 -1
- package/dist/generated/commands/mac/notes-folders-list.js +1 -1
- package/dist/generated/commands/mac/notes-get.js +1 -1
- package/dist/generated/commands/mac/notes-search.js +1 -1
- package/dist/generated/commands/mac/notes-update.js +1 -1
- package/dist/generated/commands/mac/open.js +1 -1
- package/dist/generated/commands/mac/reminders-complete.js +1 -1
- package/dist/generated/commands/mac/reminders-create.js +1 -1
- package/dist/generated/commands/mac/reminders-list.js +1 -1
- package/dist/generated/commands/mac/reminders-lists-list.js +1 -1
- package/dist/generated/commands/mac/reminders-search.js +1 -1
- package/dist/generated/commands/mac/reminders-update.js +1 -1
- package/dist/generated/commands/mac/screenshots-create.js +1 -1
- package/dist/generated/commands/mac/scroll.js +1 -1
- package/dist/generated/commands/mac/shell.js +1 -1
- package/dist/generated/commands/mac/type.js +1 -1
- package/dist/generated/commands/mac/windows-list.js +1 -1
- package/openapi.json +36 -36
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.166
|
|
4
|
+
|
|
5
|
+
- CLI: your own API key drives your Mac and its signed-in Chrome with `kosuke mac …`, on each Mac whose new CLI switch is on in Settings, Devices; a key needs Full access or the new Mac and browser scope. iPhone: API keys can be made with the Mac and browser scope.
|
|
6
|
+
|
|
3
7
|
## 1.0.165
|
|
4
8
|
|
|
5
9
|
- `kosuke sensei widgets get` now counts and lists only the Sensei Cards waiting on you, leaving out cards in Later, the same count as the app icon badge.
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"apps",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the apps running on the member's Mac, with each one's name, bundle id, pid and whether it is active. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "List the apps running on the member's Mac, with each one's name, bundle id, pid and whether it is active. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"ax-tree",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read one window of the member's Mac as its accessibility tree, one line per element with a ref such as e12 for click, type and scroll. Prefer it to a screenshot. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "Read one window of the member's Mac as its accessibility tree, one line per element with a ref such as e12 for click, type and scroll. Prefer it to a screenshot. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"profiles",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether the platform watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown.
|
|
10
|
+
"summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether the platform watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"browser",
|
|
7
7
|
"run"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Run agent-browser commands in order, in one headless Google Chrome session on the member's Mac signed in with their cookies, for sites that need their sign-in. On updated desktops each Sensei Thread has its own browser, so threads browse at once, and it closes when the Turn ends, so page state does not carry over to the next Turn; past the Mac's cap on open browsers, with none idle, a call answers BROWSER_LIMIT. Select a Chrome profile by directory ID or exact unambiguous name, and pin its Mac with deviceId. Updated desktops return profile ID/name; the platform returns device ID/name. Unknown or removed profiles fail without fallback, and a profile the member turned off in Settings → Devices fails with PROFILE_DISCONNECTED. Older desktops require an update for explicit selection, and share one browser per profile under the Mac lock. Answers each command's output, the recording's lasting link as recording.url (the recording is posted in the chat too), and the paths of files it downloaded to ~/Downloads.
|
|
9
|
+
"summary": "Run agent-browser commands in order, in one headless Google Chrome session on the member's Mac signed in with their cookies, for sites that need their sign-in. On updated desktops each Sensei Thread has its own browser, so threads browse at once, and it closes when the Turn ends, so page state does not carry over to the next Turn; past the Mac's cap on open browsers, with none idle, a call answers BROWSER_LIMIT. Select a Chrome profile by directory ID or exact unambiguous name, and pin its Mac with deviceId. Updated desktops return profile ID/name; the platform returns device ID/name. Unknown or removed profiles fail without fallback, and a profile the member turned off in Settings → Devices fails with PROFILE_DISCONNECTED. Older desktops require an update for explicit selection, and share one browser per profile under the Mac lock. Answers each command's output, the recording's lasting link as recording.url (the recording is posted in the chat too), and the paths of files it downloaded to ~/Downloads. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"calendars",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List the member's calendars on their Mac. Answers calendars: id, title, writable and source. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
10
|
+
"summary": "List the member's calendars on their Mac. Answers calendars: id, title, writable and source. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"events",
|
|
8
8
|
"create"
|
|
9
9
|
],
|
|
10
|
-
"summary": "Create an event on the member's Mac: a title, start and end (ISO 8601 with an offset, or dates with --all-day), and optional calendar (by id or exact title; the default calendar otherwise), location and notes. It invites nobody. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
10
|
+
"summary": "Create an event on the member's Mac: a title, start and end (ISO 8601 with an offset, or dates with --all-day), and optional calendar (by id or exact title; the default calendar otherwise), location and notes. It invites nobody. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"events",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List events on the member's Mac from --from to --to (ISO 8601, at most 366 days apart), in one calendar (by id or exact title) or in all; --query keeps those whose title, location or notes contain it. Answers events (id, title, start, end, allDay, calendar, location, notes cut at 4000 characters, url, attendees as a count, recurring) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
10
|
+
"summary": "List events on the member's Mac from --from to --to (ISO 8601, at most 366 days apart), in one calendar (by id or exact title) or in all; --query keeps those whose title, location or notes contain it. Answers events (id, title, start, end, allDay, calendar, location, notes cut at 4000 characters, url, attendees as a count, recurring) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"events",
|
|
8
8
|
"update"
|
|
9
9
|
],
|
|
10
|
-
"summary": "Change an event on the member's Mac, by its id: its title, start, end, allDay, location, notes or calendar. Fields left out stay as they are. On a repeating event --span future changes this one and the ones after it; this, the default, changes only this one. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
10
|
+
"summary": "Change an event on the member's Mac, by its id: its title, start, end, allDay, location, notes or calendar. Fields left out stay as they are. On a repeating event --span future changes this one and the ones after it; this, the default, changes only this one. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"click"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Click in a window of the member's Mac, on an element ref from ax-tree or at x and y in window coordinates, without bringing the window forward. Answers the method used. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
8
|
+
"summary": "Click in a window of the member's Mac, on an element ref from ax-tree or at x and y in window coordinates, without bringing the window forward. Answers the method used. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"contacts",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read one contact on the member's Mac, by its id. Answers contact: id, name, givenName, familyName, organization, jobTitle, birthday, and emails, phones, addresses and urls, each with label and value. Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
9
|
+
"summary": "Read one contact on the member's Mac, by its id. Answers contact: id, name, givenName, familyName, organization, jobTitle, birthday, and emails, phones, addresses and urls, each with label and value. Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"contacts",
|
|
7
7
|
"search"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Search the member's contacts on their Mac by name, or by email or phone number when --query looks like one. Answers contacts (id, name, organization, emails, phones) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
9
|
+
"summary": "Search the member's contacts on their Mac by name, or by email or phone number when --query looks like one. Answers contacts (id, name, organization, emails, phones) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"files",
|
|
7
7
|
"delete"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Move a file on the member's Mac to the Trash. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
9
|
+
"summary": "Move a file on the member's Mac to the Trash. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"files",
|
|
7
7
|
"get"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read a file on the member's Mac: its text up to 256 KiB, or file.url for a larger or binary file. ~ is the member's home. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "Read a file on the member's Mac: its text up to 256 KiB, or file.url for a larger or binary file. ~ is the member's home. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"files",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List a folder on the member's Mac, with each entry's name, kind, size and modification time. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "List a folder on the member's Mac, with each entry's name, kind, size and modification time. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"files",
|
|
7
7
|
"move"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Move or rename a file on the member's Mac. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call moves a file only when both paths are under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
9
|
+
"summary": "Move or rename a file on the member's Mac. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call moves a file only when both paths are under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"files",
|
|
7
7
|
"set"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Write a file on the member's Mac, from text or from a URL the Mac downloads. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call writes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
9
|
+
"summary": "Write a file on the member's Mac, from text or from a URL the Mac downloads. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call writes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"key"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Press a key chord, such as cmd+shift+s, in a window of the member's Mac, without bringing the window forward. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
8
|
+
"summary": "Press a key chord, such as cmd+shift+s, in a window of the member's Mac, without bringing the window forward. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"conversations",
|
|
8
8
|
"list"
|
|
9
9
|
],
|
|
10
|
-
"summary": "List the member's Messages conversations on their Mac, newest first. Answers conversations (id, name, participants, service, lastAt, lastText, lastFromMe) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing.
|
|
10
|
+
"summary": "List the member's Messages conversations on their Mac, newest first. Answers conversations (id, name, participants, service, lastAt, lastText, lastFromMe) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"messages",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Read the messages of one conversation on the member's Mac, newest first: --chat is an id conversations list answered, or a phone number or email. Answers messages (id, at, fromMe, sender, text cut at 4000 characters with truncated true, attachments as a count) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing.
|
|
9
|
+
"summary": "Read the messages of one conversation on the member's Mac, newest first: --chat is an id conversations list answered, or a phone number or email. Answers messages (id, at, fromMe, sender, text cut at 4000 characters with truncated true, attachments as a count) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"notes",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Create a note on the member's Mac with a title and an optional plain-text body, in --folder (by id or exact name) or the default account's default folder. 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.
|
|
9
|
+
"summary": "Create a note on the member's Mac with a title and an optional plain-text body, in --folder (by id or exact name) or the default account's default folder. 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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"folders",
|
|
8
8
|
"list"
|
|
9
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"notes",
|
|
7
7
|
"get"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"notes",
|
|
7
7
|
"search"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"notes",
|
|
7
7
|
"update"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"open"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Open an app or a URL on the member's Mac. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
8
|
+
"summary": "Open an app or a URL on the member's Mac. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"reminders",
|
|
7
7
|
"complete"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"reminders",
|
|
7
7
|
"create"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"reminders",
|
|
7
7
|
"list"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -7,7 +7,7 @@ export const operation = {
|
|
|
7
7
|
"lists",
|
|
8
8
|
"list"
|
|
9
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
11
11
|
"pathParams": [],
|
|
12
12
|
"query": [],
|
|
13
13
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"reminders",
|
|
7
7
|
"search"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"reminders",
|
|
7
7
|
"update"
|
|
8
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.
|
|
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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"screenshots",
|
|
7
7
|
"create"
|
|
8
8
|
],
|
|
9
|
-
"summary": "Take a screenshot of the member's Mac: the main display, or one window named by app, pid or window title. Answers a PNG as file.url, with width and height. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "Take a screenshot of the member's Mac: the main display, or one window named by app, pid or window title. Answers a PNG as file.url, with width and height. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"scroll"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Scroll a window of the member's Mac by dx and dy, inside an element ref when given. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
8
|
+
"summary": "Scroll a window of the member's Mac by dx and dy, inside an element ref when given. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"shell"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Run a shell command on the member's Mac with /bin/zsh -lc, in cwd when given, for up to timeoutMs (60000 by default, at most 600000). Answers exitCode, stdout and stderr; output over 256 KiB comes as file.url. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's command writes and deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a write elsewhere fails with \"Operation not permitted\", and a device whose app cannot keep it answers FENCE_UNSUPPORTED. macOS refuses Apple Events from inside the fence, so `osascript` to another app fails there: drive apps with the click, type, key and ax_tree tools.",
|
|
8
|
+
"summary": "Run a shell command on the member's Mac with /bin/zsh -lc, in cwd when given, for up to timeoutMs (60000 by default, at most 600000). Answers exitCode, stdout and stderr; output over 256 KiB comes as file.url. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's command writes and deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a write elsewhere fails with \"Operation not permitted\", and a device whose app cannot keep it answers FENCE_UNSUPPORTED. macOS refuses Apple Events from inside the fence, so `osascript` to another app fails there: drive apps with the click, type, key and ax_tree tools.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -5,7 +5,7 @@ export const operation = {
|
|
|
5
5
|
"mac",
|
|
6
6
|
"type"
|
|
7
7
|
],
|
|
8
|
-
"summary": "Type text into a window of the member's Mac, into an element ref when given, without bringing the window forward. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
8
|
+
"summary": "Type text into a window of the member's Mac, into an element ref when given, without bringing the window forward. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
9
|
"pathParams": [],
|
|
10
10
|
"query": [],
|
|
11
11
|
"body": {
|
|
@@ -6,7 +6,7 @@ export const operation = {
|
|
|
6
6
|
"windows",
|
|
7
7
|
"list"
|
|
8
8
|
],
|
|
9
|
-
"summary": "List the windows open on the member's Mac, with each one's app, pid, title, frame and whether it is minimized. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
9
|
+
"summary": "List the windows open on the member's Mac, with each one's app, pid, title, frame and whether it is minimized. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
10
10
|
"pathParams": [],
|
|
11
11
|
"query": [],
|
|
12
12
|
"body": {
|
package/openapi.json
CHANGED
|
@@ -1402,7 +1402,7 @@
|
|
|
1402
1402
|
"/api/devices/mac/apps": {
|
|
1403
1403
|
"post": {
|
|
1404
1404
|
"operationId": "macAppsList",
|
|
1405
|
-
"summary": "List the apps running on the member's Mac, with each one's name, bundle id, pid and whether it is active. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
1405
|
+
"summary": "List the apps running on the member's Mac, with each one's name, bundle id, pid and whether it is active. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
1406
1406
|
"tags": ["mac"],
|
|
1407
1407
|
"x-kosuke-command": ["mac", "apps", "list"],
|
|
1408
1408
|
"x-kosuke-sandbox-token": true,
|
|
@@ -1463,7 +1463,7 @@
|
|
|
1463
1463
|
"/api/devices/mac/ax-tree": {
|
|
1464
1464
|
"post": {
|
|
1465
1465
|
"operationId": "macAxTreeGet",
|
|
1466
|
-
"summary": "Read one window of the member's Mac as its accessibility tree, one line per element with a ref such as e12 for click, type and scroll. Prefer it to a screenshot. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
1466
|
+
"summary": "Read one window of the member's Mac as its accessibility tree, one line per element with a ref such as e12 for click, type and scroll. Prefer it to a screenshot. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
1467
1467
|
"tags": ["mac"],
|
|
1468
1468
|
"x-kosuke-command": ["mac", "ax-tree", "get"],
|
|
1469
1469
|
"x-kosuke-sandbox-token": true,
|
|
@@ -1554,7 +1554,7 @@
|
|
|
1554
1554
|
"/api/devices/mac/browser": {
|
|
1555
1555
|
"post": {
|
|
1556
1556
|
"operationId": "macBrowserRun",
|
|
1557
|
-
"summary": "Run agent-browser commands in order, in one headless Google Chrome session on the member's Mac signed in with their cookies, for sites that need their sign-in. On updated desktops each Sensei Thread has its own browser, so threads browse at once, and it closes when the Turn ends, so page state does not carry over to the next Turn; past the Mac's cap on open browsers, with none idle, a call answers BROWSER_LIMIT. Select a Chrome profile by directory ID or exact unambiguous name, and pin its Mac with deviceId. Updated desktops return profile ID/name; the platform returns device ID/name. Unknown or removed profiles fail without fallback, and a profile the member turned off in Settings → Devices fails with PROFILE_DISCONNECTED. Older desktops require an update for explicit selection, and share one browser per profile under the Mac lock. Answers each command's output, the recording's lasting link as recording.url (the recording is posted in the chat too), and the paths of files it downloaded to ~/Downloads.
|
|
1557
|
+
"summary": "Run agent-browser commands in order, in one headless Google Chrome session on the member's Mac signed in with their cookies, for sites that need their sign-in. On updated desktops each Sensei Thread has its own browser, so threads browse at once, and it closes when the Turn ends, so page state does not carry over to the next Turn; past the Mac's cap on open browsers, with none idle, a call answers BROWSER_LIMIT. Select a Chrome profile by directory ID or exact unambiguous name, and pin its Mac with deviceId. Updated desktops return profile ID/name; the platform returns device ID/name. Unknown or removed profiles fail without fallback, and a profile the member turned off in Settings → Devices fails with PROFILE_DISCONNECTED. Older desktops require an update for explicit selection, and share one browser per profile under the Mac lock. Answers each command's output, the recording's lasting link as recording.url (the recording is posted in the chat too), and the paths of files it downloaded to ~/Downloads. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on.",
|
|
1558
1558
|
"tags": ["mac"],
|
|
1559
1559
|
"x-kosuke-command": ["mac", "browser", "run"],
|
|
1560
1560
|
"x-kosuke-sandbox-token": true,
|
|
@@ -1780,7 +1780,7 @@
|
|
|
1780
1780
|
"/api/devices/mac/browser-profiles": {
|
|
1781
1781
|
"post": {
|
|
1782
1782
|
"operationId": "macBrowserProfilesList",
|
|
1783
|
-
"summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether the platform watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown.
|
|
1783
|
+
"summary": "List Chrome profile IDs and display names on the member's Mac, including the default choice and device ID/name, with access allowed or off on every profile (off: turned off in Settings → Devices, never to be used). With --site, a bare host (Google's sites answer BAD_ARGS), it names the site and whether the platform watches it, and every allowed profile carries chromeSignIn: candidate when that profile in their Chrome holds a live cookie for the site (the sign-in cookie for LinkedIn and X), none when it holds none, unknown when it could not be read. An off profile carries none. A candidate is not a sign-in: check the account by browsing. Discovery reads cookie presence only, never a value, never the Keychain, and no history, and opens no browser. An older desktop app answers without access and chromeSignIn: read that as unknown. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on.",
|
|
1784
1784
|
"tags": ["mac"],
|
|
1785
1785
|
"x-kosuke-command": ["mac", "browser", "profiles", "list"],
|
|
1786
1786
|
"x-kosuke-sandbox-token": true,
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
"/api/devices/mac/calendar/calendars": {
|
|
1949
1949
|
"post": {
|
|
1950
1950
|
"operationId": "macCalendarCalendarsList",
|
|
1951
|
-
"summary": "List the member's calendars on their Mac. Answers calendars: id, title, writable and source. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
1951
|
+
"summary": "List the member's calendars on their Mac. Answers calendars: id, title, writable and source. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
1952
1952
|
"tags": ["mac"],
|
|
1953
1953
|
"x-kosuke-command": ["mac", "calendar", "calendars", "list"],
|
|
1954
1954
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2010,7 +2010,7 @@
|
|
|
2010
2010
|
"/api/devices/mac/calendar/create": {
|
|
2011
2011
|
"post": {
|
|
2012
2012
|
"operationId": "macCalendarEventsCreate",
|
|
2013
|
-
"summary": "Create an event on the member's Mac: a title, start and end (ISO 8601 with an offset, or dates with --all-day), and optional calendar (by id or exact title; the default calendar otherwise), location and notes. It invites nobody. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
2013
|
+
"summary": "Create an event on the member's Mac: a title, start and end (ISO 8601 with an offset, or dates with --all-day), and optional calendar (by id or exact title; the default calendar otherwise), location and notes. It invites nobody. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2014
2014
|
"tags": ["mac"],
|
|
2015
2015
|
"x-kosuke-command": ["mac", "calendar", "events", "create"],
|
|
2016
2016
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2106,7 +2106,7 @@
|
|
|
2106
2106
|
"/api/devices/mac/calendar/list": {
|
|
2107
2107
|
"post": {
|
|
2108
2108
|
"operationId": "macCalendarEventsList",
|
|
2109
|
-
"summary": "List events on the member's Mac from --from to --to (ISO 8601, at most 366 days apart), in one calendar (by id or exact title) or in all; --query keeps those whose title, location or notes contain it. Answers events (id, title, start, end, allDay, calendar, location, notes cut at 4000 characters, url, attendees as a count, recurring) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
2109
|
+
"summary": "List events on the member's Mac from --from to --to (ISO 8601, at most 366 days apart), in one calendar (by id or exact title) or in all; --query keeps those whose title, location or notes contain it. Answers events (id, title, start, end, allDay, calendar, location, notes cut at 4000 characters, url, attendees as a count, recurring) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2110
2110
|
"tags": ["mac"],
|
|
2111
2111
|
"x-kosuke-command": ["mac", "calendar", "events", "list"],
|
|
2112
2112
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2203,7 +2203,7 @@
|
|
|
2203
2203
|
"/api/devices/mac/calendar/update": {
|
|
2204
2204
|
"post": {
|
|
2205
2205
|
"operationId": "macCalendarEventsUpdate",
|
|
2206
|
-
"summary": "Change an event on the member's Mac, by its id: its title, start, end, allDay, location, notes or calendar. Fields left out stay as they are. On a repeating event --span future changes this one and the ones after it; this, the default, changes only this one. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
2206
|
+
"summary": "Change an event on the member's Mac, by its id: its title, start, end, allDay, location, notes or calendar. Fields left out stay as they are. On a repeating event --span future changes this one and the ones after it; this, the default, changes only this one. Answers event. Without Apple Calendar turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2207
2207
|
"tags": ["mac"],
|
|
2208
2208
|
"x-kosuke-command": ["mac", "calendar", "events", "update"],
|
|
2209
2209
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2309,7 +2309,7 @@
|
|
|
2309
2309
|
"/api/devices/mac/click": {
|
|
2310
2310
|
"post": {
|
|
2311
2311
|
"operationId": "macClick",
|
|
2312
|
-
"summary": "Click in a window of the member's Mac, on an element ref from ax-tree or at x and y in window coordinates, without bringing the window forward. Answers the method used. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
2312
|
+
"summary": "Click in a window of the member's Mac, on an element ref from ax-tree or at x and y in window coordinates, without bringing the window forward. Answers the method used. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
2313
2313
|
"tags": ["mac"],
|
|
2314
2314
|
"x-kosuke-command": ["mac", "click"],
|
|
2315
2315
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2401,7 +2401,7 @@
|
|
|
2401
2401
|
"/api/devices/mac/contacts/read": {
|
|
2402
2402
|
"post": {
|
|
2403
2403
|
"operationId": "macContactsGet",
|
|
2404
|
-
"summary": "Read one contact on the member's Mac, by its id. Answers contact: id, name, givenName, familyName, organization, jobTitle, birthday, and emails, phones, addresses and urls, each with label and value. Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
2404
|
+
"summary": "Read one contact on the member's Mac, by its id. Answers contact: id, name, givenName, familyName, organization, jobTitle, birthday, and emails, phones, addresses and urls, each with label and value. Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2405
2405
|
"tags": ["mac"],
|
|
2406
2406
|
"x-kosuke-command": ["mac", "contacts", "get"],
|
|
2407
2407
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2470,7 +2470,7 @@
|
|
|
2470
2470
|
"/api/devices/mac/contacts/search": {
|
|
2471
2471
|
"post": {
|
|
2472
2472
|
"operationId": "macContactsSearch",
|
|
2473
|
-
"summary": "Search the member's contacts on their Mac by name, or by email or phone number when --query looks like one. Answers contacts (id, name, organization, emails, phones) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so.
|
|
2473
|
+
"summary": "Search the member's contacts on their Mac by name, or by email or phone number when --query looks like one. Answers contacts (id, name, organization, emails, phones) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Without Apple Contacts turned on in the Sensei app on that Mac (Settings, You, Integrations) it fails with PERMISSION_MISSING, which says so. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2474
2474
|
"tags": ["mac"],
|
|
2475
2475
|
"x-kosuke-command": ["mac", "contacts", "search"],
|
|
2476
2476
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2551,7 +2551,7 @@
|
|
|
2551
2551
|
"/api/devices/mac/file-delete": {
|
|
2552
2552
|
"post": {
|
|
2553
2553
|
"operationId": "macFilesDelete",
|
|
2554
|
-
"summary": "Move a file on the member's Mac to the Trash. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2554
|
+
"summary": "Move a file on the member's Mac to the Trash. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2555
2555
|
"tags": ["mac"],
|
|
2556
2556
|
"x-kosuke-command": ["mac", "files", "delete"],
|
|
2557
2557
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2619,7 +2619,7 @@
|
|
|
2619
2619
|
"/api/devices/mac/file-list": {
|
|
2620
2620
|
"post": {
|
|
2621
2621
|
"operationId": "macFilesList",
|
|
2622
|
-
"summary": "List a folder on the member's Mac, with each entry's name, kind, size and modification time. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
2622
|
+
"summary": "List a folder on the member's Mac, with each entry's name, kind, size and modification time. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
2623
2623
|
"tags": ["mac"],
|
|
2624
2624
|
"x-kosuke-command": ["mac", "files", "list"],
|
|
2625
2625
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2687,7 +2687,7 @@
|
|
|
2687
2687
|
"/api/devices/mac/file-move": {
|
|
2688
2688
|
"post": {
|
|
2689
2689
|
"operationId": "macFilesMove",
|
|
2690
|
-
"summary": "Move or rename a file on the member's Mac. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call moves a file only when both paths are under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2690
|
+
"summary": "Move or rename a file on the member's Mac. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call moves a file only when both paths are under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2691
2691
|
"tags": ["mac"],
|
|
2692
2692
|
"x-kosuke-command": ["mac", "files", "move"],
|
|
2693
2693
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2761,7 +2761,7 @@
|
|
|
2761
2761
|
"/api/devices/mac/file-read": {
|
|
2762
2762
|
"post": {
|
|
2763
2763
|
"operationId": "macFilesGet",
|
|
2764
|
-
"summary": "Read a file on the member's Mac: its text up to 256 KiB, or file.url for a larger or binary file. ~ is the member's home. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
2764
|
+
"summary": "Read a file on the member's Mac: its text up to 256 KiB, or file.url for a larger or binary file. ~ is the member's home. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
2765
2765
|
"tags": ["mac"],
|
|
2766
2766
|
"x-kosuke-command": ["mac", "files", "get"],
|
|
2767
2767
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2829,7 +2829,7 @@
|
|
|
2829
2829
|
"/api/devices/mac/file-write": {
|
|
2830
2830
|
"post": {
|
|
2831
2831
|
"operationId": "macFilesSet",
|
|
2832
|
-
"summary": "Write a file on the member's Mac, from text or from a URL the Mac downloads. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call writes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2832
|
+
"summary": "Write a file on the member's Mac, from text or from a URL the Mac downloads. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's call writes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a path elsewhere answers OUTSIDE_FENCE, and a device whose app cannot keep it answers FENCE_UNSUPPORTED.",
|
|
2833
2833
|
"tags": ["mac"],
|
|
2834
2834
|
"x-kosuke-command": ["mac", "files", "set"],
|
|
2835
2835
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2906,7 +2906,7 @@
|
|
|
2906
2906
|
"/api/devices/mac/key": {
|
|
2907
2907
|
"post": {
|
|
2908
2908
|
"operationId": "macKey",
|
|
2909
|
-
"summary": "Press a key chord, such as cmd+shift+s, in a window of the member's Mac, without bringing the window forward. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
2909
|
+
"summary": "Press a key chord, such as cmd+shift+s, in a window of the member's Mac, without bringing the window forward. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
2910
2910
|
"tags": ["mac"],
|
|
2911
2911
|
"x-kosuke-command": ["mac", "key"],
|
|
2912
2912
|
"x-kosuke-sandbox-token": true,
|
|
@@ -2992,7 +2992,7 @@
|
|
|
2992
2992
|
"/api/devices/mac/messages/conversations": {
|
|
2993
2993
|
"post": {
|
|
2994
2994
|
"operationId": "macMessagesConversationsList",
|
|
2995
|
-
"summary": "List the member's Messages conversations on their Mac, newest first. Answers conversations (id, name, participants, service, lastAt, lastText, lastFromMe) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing.
|
|
2995
|
+
"summary": "List the member's Messages conversations on their Mac, newest first. Answers conversations (id, name, participants, service, lastAt, lastText, lastFromMe) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
2996
2996
|
"tags": ["mac"],
|
|
2997
2997
|
"x-kosuke-command": ["mac", "messages", "conversations", "list"],
|
|
2998
2998
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3066,7 +3066,7 @@
|
|
|
3066
3066
|
"/api/devices/mac/messages/read": {
|
|
3067
3067
|
"post": {
|
|
3068
3068
|
"operationId": "macMessagesList",
|
|
3069
|
-
"summary": "Read the messages of one conversation on the member's Mac, newest first: --chat is an id conversations list answered, or a phone number or email. Answers messages (id, at, fromMe, sender, text cut at 4000 characters with truncated true, attachments as a count) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing.
|
|
3069
|
+
"summary": "Read the messages of one conversation on the member's Mac, newest first: --chat is an id conversations list answered, or a phone number or email. Answers messages (id, at, fromMe, sender, text cut at 4000 characters with truncated true, attachments as a count) and nextCursor, null on the last page: pass it as --cursor for the next (--limit 25 by default, at most 100). Needs Apple Messages turned on in the Sensei app on that Mac (Settings, You, Integrations) and Full Disk Access (Settings, This Mac, Permissions): PERMISSION_MISSING names the one missing. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3070
3070
|
"tags": ["mac"],
|
|
3071
3071
|
"x-kosuke-command": ["mac", "messages", "list"],
|
|
3072
3072
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3227,7 +3227,7 @@
|
|
|
3227
3227
|
"/api/devices/mac/notes/append": {
|
|
3228
3228
|
"post": {
|
|
3229
3229
|
"operationId": "macNotesUpdate",
|
|
3230
|
-
"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.
|
|
3230
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3231
3231
|
"tags": ["mac"],
|
|
3232
3232
|
"x-kosuke-command": ["mac", "notes", "update"],
|
|
3233
3233
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3302,7 +3302,7 @@
|
|
|
3302
3302
|
"/api/devices/mac/notes/create": {
|
|
3303
3303
|
"post": {
|
|
3304
3304
|
"operationId": "macNotesCreate",
|
|
3305
|
-
"summary": "Create a note on the member's Mac with a title and an optional plain-text body, in --folder (by id or exact name) or the default account's default folder. 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.
|
|
3305
|
+
"summary": "Create a note on the member's Mac with a title and an optional plain-text body, in --folder (by id or exact name) or the default account's default folder. 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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3306
3306
|
"tags": ["mac"],
|
|
3307
3307
|
"x-kosuke-command": ["mac", "notes", "create"],
|
|
3308
3308
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3381,7 +3381,7 @@
|
|
|
3381
3381
|
"/api/devices/mac/notes/folders": {
|
|
3382
3382
|
"post": {
|
|
3383
3383
|
"operationId": "macNotesFoldersList",
|
|
3384
|
-
"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.
|
|
3384
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3385
3385
|
"tags": ["mac"],
|
|
3386
3386
|
"x-kosuke-command": ["mac", "notes", "folders", "list"],
|
|
3387
3387
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3443,7 +3443,7 @@
|
|
|
3443
3443
|
"/api/devices/mac/notes/read": {
|
|
3444
3444
|
"post": {
|
|
3445
3445
|
"operationId": "macNotesGet",
|
|
3446
|
-
"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.
|
|
3446
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3447
3447
|
"tags": ["mac"],
|
|
3448
3448
|
"x-kosuke-command": ["mac", "notes", "get"],
|
|
3449
3449
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3512,7 +3512,7 @@
|
|
|
3512
3512
|
"/api/devices/mac/notes/search": {
|
|
3513
3513
|
"post": {
|
|
3514
3514
|
"operationId": "macNotesSearch",
|
|
3515
|
-
"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.
|
|
3515
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3516
3516
|
"tags": ["mac"],
|
|
3517
3517
|
"x-kosuke-command": ["mac", "notes", "search"],
|
|
3518
3518
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3599,7 +3599,7 @@
|
|
|
3599
3599
|
"/api/devices/mac/open": {
|
|
3600
3600
|
"post": {
|
|
3601
3601
|
"operationId": "macOpen",
|
|
3602
|
-
"summary": "Open an app or a URL on the member's Mac. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
3602
|
+
"summary": "Open an app or a URL on the member's Mac. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
3603
3603
|
"tags": ["mac"],
|
|
3604
3604
|
"x-kosuke-command": ["mac", "open"],
|
|
3605
3605
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3670,7 +3670,7 @@
|
|
|
3670
3670
|
"/api/devices/mac/reminders/complete": {
|
|
3671
3671
|
"post": {
|
|
3672
3672
|
"operationId": "macRemindersComplete",
|
|
3673
|
-
"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.
|
|
3673
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3674
3674
|
"tags": ["mac"],
|
|
3675
3675
|
"x-kosuke-command": ["mac", "reminders", "complete"],
|
|
3676
3676
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3743,7 +3743,7 @@
|
|
|
3743
3743
|
"/api/devices/mac/reminders/create": {
|
|
3744
3744
|
"post": {
|
|
3745
3745
|
"operationId": "macRemindersCreate",
|
|
3746
|
-
"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.
|
|
3746
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3747
3747
|
"tags": ["mac"],
|
|
3748
3748
|
"x-kosuke-command": ["mac", "reminders", "create"],
|
|
3749
3749
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3832,7 +3832,7 @@
|
|
|
3832
3832
|
"/api/devices/mac/reminders/list": {
|
|
3833
3833
|
"post": {
|
|
3834
3834
|
"operationId": "macRemindersList",
|
|
3835
|
-
"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.
|
|
3835
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3836
3836
|
"tags": ["mac"],
|
|
3837
3837
|
"x-kosuke-command": ["mac", "reminders", "list"],
|
|
3838
3838
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3916,7 +3916,7 @@
|
|
|
3916
3916
|
"/api/devices/mac/reminders/lists": {
|
|
3917
3917
|
"post": {
|
|
3918
3918
|
"operationId": "macRemindersListsList",
|
|
3919
|
-
"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.
|
|
3919
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3920
3920
|
"tags": ["mac"],
|
|
3921
3921
|
"x-kosuke-command": ["mac", "reminders", "lists", "list"],
|
|
3922
3922
|
"x-kosuke-sandbox-token": true,
|
|
@@ -3978,7 +3978,7 @@
|
|
|
3978
3978
|
"/api/devices/mac/reminders/search": {
|
|
3979
3979
|
"post": {
|
|
3980
3980
|
"operationId": "macRemindersSearch",
|
|
3981
|
-
"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.
|
|
3981
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
3982
3982
|
"tags": ["mac"],
|
|
3983
3983
|
"x-kosuke-command": ["mac", "reminders", "search"],
|
|
3984
3984
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4069,7 +4069,7 @@
|
|
|
4069
4069
|
"/api/devices/mac/reminders/update": {
|
|
4070
4070
|
"post": {
|
|
4071
4071
|
"operationId": "macRemindersUpdate",
|
|
4072
|
-
"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.
|
|
4072
|
+
"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. Sensei calls it, and your own API key does from the kosuke CLI on a Mac whose CLI switch is on; a Chat Session gets 403 SENSEI_ONLY_TOOL.",
|
|
4073
4073
|
"tags": ["mac"],
|
|
4074
4074
|
"x-kosuke-command": ["mac", "reminders", "update"],
|
|
4075
4075
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4168,7 +4168,7 @@
|
|
|
4168
4168
|
"/api/devices/mac/screenshot": {
|
|
4169
4169
|
"post": {
|
|
4170
4170
|
"operationId": "macScreenshotsCreate",
|
|
4171
|
-
"summary": "Take a screenshot of the member's Mac: the main display, or one window named by app, pid or window title. Answers a PNG as file.url, with width and height. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
4171
|
+
"summary": "Take a screenshot of the member's Mac: the main display, or one window named by app, pid or window title. Answers a PNG as file.url, with width and height. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
4172
4172
|
"tags": ["mac"],
|
|
4173
4173
|
"x-kosuke-command": ["mac", "screenshots", "create"],
|
|
4174
4174
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4247,7 +4247,7 @@
|
|
|
4247
4247
|
"/api/devices/mac/scroll": {
|
|
4248
4248
|
"post": {
|
|
4249
4249
|
"operationId": "macScroll",
|
|
4250
|
-
"summary": "Scroll a window of the member's Mac by dx and dy, inside an element ref when given. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
4250
|
+
"summary": "Scroll a window of the member's Mac by dx and dy, inside an element ref when given. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
4251
4251
|
"tags": ["mac"],
|
|
4252
4252
|
"x-kosuke-command": ["mac", "scroll"],
|
|
4253
4253
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4338,7 +4338,7 @@
|
|
|
4338
4338
|
"/api/devices/mac/shell": {
|
|
4339
4339
|
"post": {
|
|
4340
4340
|
"operationId": "macShell",
|
|
4341
|
-
"summary": "Run a shell command on the member's Mac with /bin/zsh -lc, in cwd when given, for up to timeoutMs (60000 by default, at most 600000). Answers exitCode, stdout and stderr; output over 256 KiB comes as file.url. Sensei calls it, and a Chat Session does with --device-id for a device approved for it. A Chat Session's command writes and deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a write elsewhere fails with \"Operation not permitted\", and a device whose app cannot keep it answers FENCE_UNSUPPORTED. macOS refuses Apple Events from inside the fence, so `osascript` to another app fails there: drive apps with the click, type, key and ax_tree tools.",
|
|
4341
|
+
"summary": "Run a shell command on the member's Mac with /bin/zsh -lc, in cwd when given, for up to timeoutMs (60000 by default, at most 600000). Answers exitCode, stdout and stderr; output over 256 KiB comes as file.url. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it. A Chat Session's command writes and deletes only under its scratch folder ~/KosukeQA/<session8>/ (the session id's first 8 characters), Xcode DerivedData, CoreSimulator, the temporary folders and the project's deviceWritePaths: a write elsewhere fails with \"Operation not permitted\", and a device whose app cannot keep it answers FENCE_UNSUPPORTED. macOS refuses Apple Events from inside the fence, so `osascript` to another app fails there: drive apps with the click, type, key and ax_tree tools.",
|
|
4342
4342
|
"tags": ["mac"],
|
|
4343
4343
|
"x-kosuke-command": ["mac", "shell"],
|
|
4344
4344
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4427,7 +4427,7 @@
|
|
|
4427
4427
|
"/api/devices/mac/type": {
|
|
4428
4428
|
"post": {
|
|
4429
4429
|
"operationId": "macType",
|
|
4430
|
-
"summary": "Type text into a window of the member's Mac, into an element ref when given, without bringing the window forward. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
4430
|
+
"summary": "Type text into a window of the member's Mac, into an element ref when given, without bringing the window forward. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
4431
4431
|
"tags": ["mac"],
|
|
4432
4432
|
"x-kosuke-command": ["mac", "type"],
|
|
4433
4433
|
"x-kosuke-sandbox-token": true,
|
|
@@ -4517,7 +4517,7 @@
|
|
|
4517
4517
|
"/api/devices/mac/windows": {
|
|
4518
4518
|
"post": {
|
|
4519
4519
|
"operationId": "macWindowsList",
|
|
4520
|
-
"summary": "List the windows open on the member's Mac, with each one's app, pid, title, frame and whether it is minimized. Sensei calls it, and a Chat Session does with --device-id for a device approved for it.",
|
|
4520
|
+
"summary": "List the windows open on the member's Mac, with each one's app, pid, title, frame and whether it is minimized. Sensei calls it, your own API key does from the kosuke CLI on a Mac whose CLI switch is on, and a Chat Session does with --device-id for a device approved for it.",
|
|
4521
4521
|
"tags": ["mac"],
|
|
4522
4522
|
"x-kosuke-command": ["mac", "windows", "list"],
|
|
4523
4523
|
"x-kosuke-sandbox-token": true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kosuke-ai/kosuke",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.166",
|
|
4
4
|
"description": "Sensei platform CLI. The client customers install to drive app.kosuke.ai from their own machine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"minimatch": "^11.0.1"
|
|
44
44
|
},
|
|
45
45
|
"kosukeRelease": {
|
|
46
|
-
"sourceCommit": "
|
|
47
|
-
"sourceIdentity": "
|
|
46
|
+
"sourceCommit": "d790445dea71119918394ef9eecc5b3078c6d0d3",
|
|
47
|
+
"sourceIdentity": "156af8d0edaef4e0d1bdc3a3d235fcb315d3bac44bf1134022835697911b991d",
|
|
48
48
|
"fragments": [
|
|
49
|
-
"
|
|
49
|
+
"cli-drives-mac-r4t8wz.json"
|
|
50
50
|
]
|
|
51
51
|
}
|
|
52
52
|
}
|