@agentsky/sky 3.37.0 → 3.39.0

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 (32) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +14 -0
  3. package/agent-plugins/.agents/plugins/marketplace.json +14 -2
  4. package/agent-plugins/.claude-plugin/marketplace.json +11 -4
  5. package/agent-plugins/.grok-plugin/marketplace.json +14 -4
  6. package/agent-plugins/.grok-plugin/plugin-index.json +13 -3
  7. package/agent-plugins/dsh/agentsky.patch.yml +11 -3
  8. package/agent-plugins/plugins/apps/.claude-plugin/plugin.json +8 -0
  9. package/agent-plugins/plugins/apps/.codex-plugin/plugin.json +23 -0
  10. package/agent-plugins/plugins/{browser → apps}/.mcp.json +2 -2
  11. package/agent-plugins/plugins/apps/skills/agentsky-apps/SKILL.md +24 -0
  12. package/agent-plugins/plugins/computer-use/.claude-plugin/plugin.json +8 -0
  13. package/agent-plugins/plugins/computer-use/.codex-plugin/plugin.json +23 -0
  14. package/agent-plugins/plugins/computer-use/.mcp.json +11 -0
  15. package/agent-plugins/plugins/{browser/skills/agentsky-browser → computer-use/skills/agentsky-computer-use}/SKILL.md +4 -3
  16. package/agent-plugins/plugins/crm/skills/agentsky-crm/SKILL.md +1 -0
  17. package/agent-plugins/plugins/meetings/.codex-plugin/plugin.json +1 -1
  18. package/agent-plugins/plugins/meetings/skills/agentsky-meetings/SKILL.md +2 -1
  19. package/agent-plugins/plugins/wechat/skills/agentsky-wechat/SKILL.md +1 -0
  20. package/dist/{chunk-GH5VMYMK.js → chunk-7A3BLBKU.js} +12 -5
  21. package/dist/{chunk-VI2JL2OC.js → chunk-SC5RAJVJ.js} +20321 -21805
  22. package/dist/index.js +3556 -1142
  23. package/dist/sse-GSK4TBYZ.js +38 -0
  24. package/dist/{trace-AI2MDTNU.js → trace-PB2LPQCZ.js} +2 -4
  25. package/dist/{trace-library-HT2OZ3PS.js → trace-library-EOEW45OX.js} +3 -5
  26. package/dist/worker-KD5TINHF.js +1150 -0
  27. package/package.json +5 -5
  28. package/agent-plugins/plugins/browser/.claude-plugin/plugin.json +0 -8
  29. package/agent-plugins/plugins/browser/.codex-plugin/plugin.json +0 -23
  30. package/dist/chunk-HKZ5CTZB.js +0 -8
  31. package/dist/src-NDBT3SB7.js +0 -346
  32. package/dist/worker-6Q4K4HZW.js +0 -190
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,14 @@
1
+ AgentSky CLI (@agentsky/sky)
2
+ Copyright 2026 SkillBoss AI
3
+
4
+ Licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ Names and marks
7
+
8
+ The Apache License grants no permission to use the trade names, trademarks,
9
+ service marks or product names of SkillBoss AI (section 6 of the License).
10
+ "AgentSky", "Tekton", "sky", the AgentSky and Tekton logos, the application
11
+ icons and the agentsky.dev and hitekton.ai names are reserved. A modified or
12
+ redistributed version must ship under its own name, icons, bundle identifier
13
+ and URL scheme, and may name AgentSky only to describe where the work came
14
+ from.
@@ -29,10 +29,22 @@
29
29
  "category": "Messages"
30
30
  },
31
31
  {
32
- "name": "browser",
32
+ "name": "computer-use",
33
33
  "source": {
34
34
  "source": "local",
35
- "path": "./plugins/browser"
35
+ "path": "./plugins/computer-use"
36
+ },
37
+ "policy": {
38
+ "installation": "AVAILABLE",
39
+ "authentication": "ON_INSTALL"
40
+ },
41
+ "category": "This Mac"
42
+ },
43
+ {
44
+ "name": "apps",
45
+ "source": {
46
+ "source": "local",
47
+ "path": "./plugins/apps"
36
48
  },
37
49
  "policy": {
38
50
  "installation": "AVAILABLE",
@@ -4,7 +4,7 @@
4
4
  "name": "AgentSky"
5
5
  },
6
6
  "metadata": {
7
- "description": "AgentSky Mac plugins for local agents: Meetings, WeChat, CRM and Computer use, served by your AgentSky Mac app."
7
+ "description": "AgentSky Mac plugins for local agents: Meetings, WeChat, CRM, Computer use and Mac apps, served by your AgentSky Mac app."
8
8
  },
9
9
  "plugins": [
10
10
  {
@@ -22,9 +22,16 @@
22
22
  "category": "Messages"
23
23
  },
24
24
  {
25
- "name": "browser",
26
- "source": "./plugins/browser",
27
- "description": "Let AI agents use the apps and browser on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
25
+ "name": "computer-use",
26
+ "source": "./plugins/computer-use",
27
+ "description": "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
28
+ "version": "1.0.0",
29
+ "category": "This Mac"
30
+ },
31
+ {
32
+ "name": "apps",
33
+ "source": "./plugins/apps",
34
+ "description": "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send.",
28
35
  "version": "1.0.0",
29
36
  "category": "This Mac"
30
37
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentsky",
3
- "description": "AgentSky Mac plugins for local agents: Meetings, WeChat, CRM and Computer use, served by your AgentSky Mac app.",
3
+ "description": "AgentSky Mac plugins for local agents: Meetings, WeChat, CRM, Computer use and Mac apps, served by your AgentSky Mac app.",
4
4
  "owner": {
5
5
  "name": "AgentSky"
6
6
  },
@@ -26,13 +26,23 @@
26
26
  }
27
27
  },
28
28
  {
29
- "name": "browser",
30
- "description": "Let AI agents use the apps and browser on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
29
+ "name": "computer-use",
30
+ "description": "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
31
31
  "version": "1.0.0",
32
32
  "category": "This Mac",
33
33
  "source": {
34
34
  "type": "local",
35
- "path": "./plugins/browser"
35
+ "path": "./plugins/computer-use"
36
+ }
37
+ },
38
+ {
39
+ "name": "apps",
40
+ "description": "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send.",
41
+ "version": "1.0.0",
42
+ "category": "This Mac",
43
+ "source": {
44
+ "type": "local",
45
+ "path": "./plugins/apps"
36
46
  }
37
47
  },
38
48
  {
@@ -24,12 +24,22 @@
24
24
  ]
25
25
  }
26
26
  },
27
- "browser": {
27
+ "computer-use": {
28
28
  "components": {
29
29
  "skills": [
30
30
  {
31
- "name": "agentsky-browser",
32
- "description": "Let AI agents use the apps and browser on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them."
31
+ "name": "agentsky-computer-use",
32
+ "description": "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them."
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ "apps": {
38
+ "components": {
39
+ "skills": [
40
+ {
41
+ "name": "agentsky-apps",
42
+ "description": "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send."
33
43
  }
34
44
  ]
35
45
  }
@@ -19,13 +19,21 @@
19
19
  command: sh
20
20
  args: ['-c', 'command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp wechat || exec npx -y @agentsky/sky mac plugin-mcp wechat']
21
21
  toolCallTimeoutMs: 600000
22
- - id: agentsky-browser
22
+ - id: agentsky-computer-use
23
23
  name: '@deepseek-ai/dsh-mcp-client'
24
24
  config:
25
- serverName: agentsky-browser
25
+ serverName: agentsky-computer-use
26
26
  transport: stdio
27
27
  command: sh
28
- args: ['-c', 'command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp browser || exec npx -y @agentsky/sky mac plugin-mcp browser']
28
+ args: ['-c', 'command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp computer-use || exec npx -y @agentsky/sky mac plugin-mcp computer-use']
29
+ toolCallTimeoutMs: 600000
30
+ - id: agentsky-apps
31
+ name: '@deepseek-ai/dsh-mcp-client'
32
+ config:
33
+ serverName: agentsky-apps
34
+ transport: stdio
35
+ command: sh
36
+ args: ['-c', 'command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp apps || exec npx -y @agentsky/sky mac plugin-mcp apps']
29
37
  toolCallTimeoutMs: 600000
30
38
  - id: agentsky-crm
31
39
  name: '@deepseek-ai/dsh-mcp-client'
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "apps",
3
+ "version": "1.0.0",
4
+ "description": "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send.",
5
+ "author": {
6
+ "name": "AgentSky"
7
+ }
8
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "apps",
3
+ "version": "1.0.0",
4
+ "description": "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send.",
5
+ "author": {
6
+ "name": "AgentSky"
7
+ },
8
+ "skills": "./skills/",
9
+ "mcpServers": "./.mcp.json",
10
+ "interface": {
11
+ "displayName": "Mac apps",
12
+ "shortDescription": "Mail, Calendar, Contacts, Notes and Reminders",
13
+ "longDescription": "Agents can list, search and read your inbox, calendar, contacts, notes and reminders on your Mac, save a draft email, and add a calendar event, a note or a reminder. Each app asks you once before its first read, unless your own agent uses your Mac defaults; every addition shows you its content first. Mail is never sent. Agents can also keep break reminders on this Mac, such as drinking water or resting your eyes. Block any app in Settings › This Mac.",
14
+ "developerName": "AgentSky",
15
+ "category": "This Mac",
16
+ "capabilities": [],
17
+ "defaultPrompt": [
18
+ "What's on my calendar this week?",
19
+ "Draft a reply in Mail to the last message from my landlord."
20
+ ],
21
+ "websiteURL": "https://agentsky.dev/plugins/apps"
22
+ }
23
+ }
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "mcpServers": {
3
- "agentsky-browser": {
3
+ "agentsky-apps": {
4
4
  "command": "sh",
5
5
  "args": [
6
6
  "-c",
7
- "command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp browser || exec npx -y @agentsky/sky mac plugin-mcp browser"
7
+ "command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp apps || exec npx -y @agentsky/sky mac plugin-mcp apps"
8
8
  ]
9
9
  }
10
10
  }
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: agentsky-apps
3
+ description: "Let your agents read and add to Mail, Calendar, Contacts, Notes and Reminders on your Mac. Mail is drafts only: agents never send."
4
+ ---
5
+
6
+ # Mac apps (AgentSky)
7
+
8
+ Agents can list, search and read your inbox, calendar, contacts, notes and reminders on your Mac, save a draft email, and add a calendar event, a note or a reminder. Each app asks you once before its first read, unless your own agent uses your Mac defaults; every addition shows you its content first. Mail is never sent. Agents can also keep break reminders on this Mac, such as drinking water or resting your eyes. Block any app in Settings › This Mac.
9
+
10
+ ## Use it
11
+
12
+ - List, search or read an app's items with `list_<app>`, `search_<app>` and `read_<app>` (mail, calendar, contacts, notes, reminders). Calendar lists and searches need an ISO `start` and `end`, at most 31 days apart.
13
+ - Add with `draft_mail`, `create_calendar_event`, `create_note` or `create_reminder`. The person sees the complete content and approves it on the Mac unless their own defaults allow it.
14
+ - Mail is drafts only: there is no way to send. Tell the person the draft is in Mail for them to send.
15
+ - An app the person blocked in Settings › This Mac answers with a refusal; say so and do not retry in a loop.
16
+
17
+ ## When a call fails
18
+
19
+ - "sky is not signed in": the person runs `sky auth login` once in a terminal.
20
+ - "The … relay did not get an answer from your Mac …" or "… timed out waiting for your Mac": the app on that Mac is closed, asleep or stuck; ask the person to open (or quit and reopen) it, then call again. Do not retry in a loop.
21
+ - "No Mac is online": AgentSky must be open on this Mac, signed in to the same account.
22
+ - "The Mac did not lend …: Authorize this reach …": the person allows local agents once in AgentSky › Settings › This Mac; say so and stop.
23
+ - "The Mac did not lend … (…)": AgentSky asked on the Mac and nobody approved yet; ask the person to answer there, then call again.
24
+ - "… plugin, which is off on this Mac": the person turns the plugin on in AgentSky › Plugins.
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "computer-use",
3
+ "version": "1.0.0",
4
+ "description": "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
5
+ "author": {
6
+ "name": "AgentSky"
7
+ }
8
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "computer-use",
3
+ "version": "1.0.0",
4
+ "description": "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them.",
5
+ "author": {
6
+ "name": "AgentSky"
7
+ },
8
+ "skills": "./skills/",
9
+ "mcpServers": "./.mcp.json",
10
+ "interface": {
11
+ "displayName": "Computer use",
12
+ "shortDescription": "Agents see and click on your Mac",
13
+ "longDescription": "Every new chat can use your Mac's apps when its task needs them, in AgentSky Mac and in the Claude Code and Codex chats it runs on your Mac. Agents read an app's window through macOS Accessibility and a screenshot, so they can read a page in Chrome or a thread in Slack, then click, type and scroll in the background without moving your pointer. Verified owner requests use your Mac defaults unless explicitly limited; a bar shows while an agent works, and Esc stops it.",
14
+ "developerName": "AgentSky",
15
+ "category": "This Mac",
16
+ "capabilities": [],
17
+ "defaultPrompt": [
18
+ "Open the Slack thread about the launch and summarize it.",
19
+ "Check my Chrome tab for the latest order status."
20
+ ],
21
+ "websiteURL": "https://agentsky.dev/plugins/computer-use"
22
+ }
23
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "mcpServers": {
3
+ "agentsky-computer-use": {
4
+ "command": "sh",
5
+ "args": [
6
+ "-c",
7
+ "command -v sky >/dev/null 2>&1 && exec sky mac plugin-mcp computer-use || exec npx -y @agentsky/sky mac plugin-mcp computer-use"
8
+ ]
9
+ }
10
+ }
11
+ }
@@ -1,11 +1,11 @@
1
1
  ---
2
- name: agentsky-browser
3
- description: "Let AI agents use the apps and browser on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them."
2
+ name: agentsky-computer-use
3
+ description: "Let AI agents use the apps on your Mac in the background, without taking your pointer. Uses your account’s Mac permissions; Esc stops them."
4
4
  ---
5
5
 
6
6
  # Computer use (AgentSky)
7
7
 
8
- Every new chat can use your Mac's apps and browser when its task needs them, in AgentSky Mac and in the Claude Code and Codex chats it runs on your Mac. Agents read an app's window through macOS Accessibility and a screenshot, so they can read a page in Chrome or a thread in Slack, then click, type and scroll in the background without moving your pointer. Verified owner requests use your Mac defaults unless explicitly limited; a bar shows while an agent works, and Esc stops it. Sites you sign in to in AgentSky's own browser windows are signed in for the workspace's cloud agents too.
8
+ Every new chat can use your Mac's apps when its task needs them, in AgentSky Mac and in the Claude Code and Codex chats it runs on your Mac. Agents read an app's window through macOS Accessibility and a screenshot, so they can read a page in Chrome or a thread in Slack, then click, type and scroll in the background without moving your pointer. Verified owner requests use your Mac defaults unless explicitly limited; a bar shows while an agent works, and Esc stops it.
9
9
 
10
10
  ## Use it
11
11
 
@@ -18,6 +18,7 @@ Every new chat can use your Mac's apps and browser when its task needs them, in
18
18
  ## When a call fails
19
19
 
20
20
  - "sky is not signed in": the person runs `sky auth login` once in a terminal.
21
+ - "The … relay did not get an answer from your Mac …" or "… timed out waiting for your Mac": the app on that Mac is closed, asleep or stuck; ask the person to open (or quit and reopen) it, then call again. Do not retry in a loop.
21
22
  - "No Mac is online": AgentSky must be open on this Mac, signed in to the same account.
22
23
  - "The Mac did not lend …: Authorize this reach …": the person allows local agents once in AgentSky › Settings › This Mac; say so and stop.
23
24
  - "The Mac did not lend … (…)": AgentSky asked on the Mac and nobody approved yet; ask the person to answer there, then call again.
@@ -15,6 +15,7 @@ Receives what Meetings and WeChat produce on your Mac and sends it to the CRM th
15
15
  ## When a call fails
16
16
 
17
17
  - "sky is not signed in": the person runs `sky auth login` once in a terminal.
18
+ - "The … relay did not get an answer from your Mac …" or "… timed out waiting for your Mac": the app on that Mac is closed, asleep or stuck; ask the person to open (or quit and reopen) it, then call again. Do not retry in a loop.
18
19
  - "No Mac is online": AgentSky must be open on this Mac, signed in to the same account.
19
20
  - "The Mac did not lend …: Authorize this reach …": the person allows local agents once in AgentSky › Settings › This Mac; say so and stop.
20
21
  - "The Mac did not lend … (…)": AgentSky asked on the Mac and nobody approved yet; ask the person to answer there, then call again.
@@ -10,7 +10,7 @@
10
10
  "interface": {
11
11
  "displayName": "Meetings",
12
12
  "shortDescription": "Notes for every call",
13
- "longDescription": "Meetings notices a call in WeChat, Tencent Meeting, Zoom, Lark, Feishu, Teams, Chrome or Safari, records both sides and transcribes it on your Mac. Each call becomes one note with a summary and action items, named from your Google or Outlook calendar and shared with your workspace as a document, where the workspace's other plugins can pick it up. For meetings you take elsewhere, a recorder can join Zoom, Meet and Teams as “AgentSky Notetaker”. In Zoom it also records the call window, what you share and what you do in it, kept closed at the end of the note. Each recording is deleted from your Mac once its call is transcribed, unless you keep recordings for 30 days; notes are kept. The menu bar shows ● Notes while a call is recorded.",
13
+ "longDescription": "Meetings notices a call in WeChat, Tencent Meeting, Zoom, Lark, Feishu, Teams, Chrome or Safari, records both sides and transcribes it on your Mac. Each call becomes one note with a summary and action items, named from your Google or Outlook calendar or your Mac's own Calendar (where a Lark calendar can be synced) and shared with your workspace as a document, where the workspace's other plugins can pick it up. For meetings you take elsewhere, a recorder can join Zoom, Meet and Teams as “AgentSky Notetaker”. In Zoom it also records the call window, what you share and what you do in it, kept closed at the end of the note; in Lark and Feishu it records the meeting window, not yet what you share. Each recording is deleted from your Mac once its call is transcribed, unless you keep recordings for 30 days; notes are kept. The menu bar shows ● Notes while a call is recorded.",
14
14
  "developerName": "AgentSky",
15
15
  "category": "Meetings & calls",
16
16
  "capabilities": [],
@@ -5,7 +5,7 @@ description: "AI meeting notes for every call you take on your Mac, from WeChat
5
5
 
6
6
  # Meetings (AgentSky)
7
7
 
8
- Meetings notices a call in WeChat, Tencent Meeting, Zoom, Lark, Feishu, Teams, Chrome or Safari, records both sides and transcribes it on your Mac. Each call becomes one note with a summary and action items, named from your Google or Outlook calendar and shared with your workspace as a document, where the workspace's other plugins can pick it up. For meetings you take elsewhere, a recorder can join Zoom, Meet and Teams as “AgentSky Notetaker”. In Zoom it also records the call window, what you share and what you do in it, kept closed at the end of the note. Each recording is deleted from your Mac once its call is transcribed, unless you keep recordings for 30 days; notes are kept. The menu bar shows ● Notes while a call is recorded.
8
+ Meetings notices a call in WeChat, Tencent Meeting, Zoom, Lark, Feishu, Teams, Chrome or Safari, records both sides and transcribes it on your Mac. Each call becomes one note with a summary and action items, named from your Google or Outlook calendar or your Mac's own Calendar (where a Lark calendar can be synced) and shared with your workspace as a document, where the workspace's other plugins can pick it up. For meetings you take elsewhere, a recorder can join Zoom, Meet and Teams as “AgentSky Notetaker”. In Zoom it also records the call window, what you share and what you do in it, kept closed at the end of the note; in Lark and Feishu it records the meeting window, not yet what you share. Each recording is deleted from your Mac once its call is transcribed, unless you keep recordings for 30 days; notes are kept. The menu bar shows ● Notes while a call is recorded.
9
9
 
10
10
  ## Use it
11
11
 
@@ -21,6 +21,7 @@ Meetings notices a call in WeChat, Tencent Meeting, Zoom, Lark, Feishu, Teams, C
21
21
  ## When a call fails
22
22
 
23
23
  - "sky is not signed in": the person runs `sky auth login` once in a terminal.
24
+ - "The … relay did not get an answer from your Mac …" or "… timed out waiting for your Mac": the app on that Mac is closed, asleep or stuck; ask the person to open (or quit and reopen) it, then call again. Do not retry in a loop.
24
25
  - "No Mac is online": AgentSky must be open on this Mac, signed in to the same account.
25
26
  - "The Mac did not lend …: Authorize this reach …": the person allows local agents once in AgentSky › Settings › This Mac; say so and stop.
26
27
  - "The Mac did not lend … (…)": AgentSky asked on the Mac and nobody approved yet; ask the person to answer there, then call again.
@@ -18,6 +18,7 @@ Reads WeChat on your Mac, so an agent can catch up on a chat, find what was agre
18
18
  ## When a call fails
19
19
 
20
20
  - "sky is not signed in": the person runs `sky auth login` once in a terminal.
21
+ - "The … relay did not get an answer from your Mac …" or "… timed out waiting for your Mac": the app on that Mac is closed, asleep or stuck; ask the person to open (or quit and reopen) it, then call again. Do not retry in a loop.
21
22
  - "No Mac is online": AgentSky must be open on this Mac, signed in to the same account.
22
23
  - "The Mac did not lend …: Authorize this reach …": the person allows local agents once in AgentSky › Settings › This Mac; say so and stop.
23
24
  - "The Mac did not lend … (…)": AgentSky asked on the Mac and nobody approved yet; ask the person to answer there, then call again.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  USER_AGENT
3
- } from "./chunk-HKZ5CTZB.js";
3
+ } from "./chunk-SC5RAJVJ.js";
4
4
  import {
5
5
  apiBase,
6
6
  apiToken,
@@ -13,13 +13,15 @@ import { createWriteStream, writeFileSync } from "fs";
13
13
  import { Readable } from "stream";
14
14
  import { pipeline } from "stream/promises";
15
15
  var ApiError = class extends Error {
16
- constructor(status, code, message) {
16
+ constructor(status, code, message, details = {}) {
17
17
  super(message);
18
18
  this.status = status;
19
19
  this.code = code;
20
+ this.details = details;
20
21
  }
21
22
  status;
22
23
  code;
24
+ details;
23
25
  };
24
26
  function authHeaders() {
25
27
  const token = apiToken();
@@ -34,20 +36,24 @@ function authHeaders() {
34
36
  async function parseError(res) {
35
37
  let code = "http_error";
36
38
  let message = `${res.status} ${res.statusText}`;
39
+ let details = {};
37
40
  try {
38
41
  const body = await res.json();
39
42
  if (body.error?.message) {
40
43
  code = body.error.code ?? code;
41
44
  message = body.error.tell_the_person ? `${body.error.message}
42
45
  Tell the person: ${body.error.tell_the_person}` : body.error.message;
46
+ const { code: _code, message: _message, ...rest } = body.error;
47
+ details = rest;
43
48
  }
44
49
  } catch {
45
50
  }
46
- throw new ApiError(res.status, code, message);
51
+ throw new ApiError(res.status, code, message, details);
47
52
  }
48
53
  async function api(method, path, body, opts = {}) {
49
54
  const res = await fetch(`${opts.base ?? apiBase()}${path}`, {
50
55
  method,
56
+ ...opts.signal ? { signal: opts.signal } : {},
51
57
  headers: {
52
58
  "user-agent": USER_AGENT,
53
59
  ...opts.auth === false ? {} : authHeaders(),
@@ -135,7 +141,7 @@ async function apiBytes(method, path, body) {
135
141
  };
136
142
  }
137
143
  async function resolveSessionRef(ref) {
138
- if (ref.startsWith("sess-")) return ref;
144
+ if (ref.startsWith("sess_") || ref.startsWith("sess-")) return ref;
139
145
  const { agent } = await api(
140
146
  "GET",
141
147
  `/agents/${encodeURIComponent(ref)}`
@@ -153,7 +159,7 @@ async function resolveSessionRef(ref) {
153
159
  return agent.defaultSessionId;
154
160
  }
155
161
  async function* streamEvents(sessionId, signal) {
156
- const { parseSseStream } = await import("./src-NDBT3SB7.js");
162
+ const { parseSseStream } = await import("./sse-GSK4TBYZ.js");
157
163
  const res = await fetch(
158
164
  `${apiBase()}/sessions/${encodeURIComponent(sessionId)}/stream`,
159
165
  {
@@ -180,6 +186,7 @@ async function apiRaw(method, path, init = {}) {
180
186
  method,
181
187
  headers: {
182
188
  "user-agent": USER_AGENT,
189
+ ...init.accept ? { accept: init.accept } : {},
183
190
  ...init.auth === false ? {} : authHeaders(),
184
191
  ...init.body !== void 0 ? { "content-type": init.contentType ?? "application/json" } : {},
185
192
  ...init.idempotencyKey ? { "idempotency-key": init.idempotencyKey } : {},