@forsion/tangu-computer-use 0.5.8

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 (120) hide show
  1. package/CHANGELOG.md +223 -0
  2. package/LICENSE +26 -0
  3. package/LICENSE.upstream +21 -0
  4. package/README.md +169 -0
  5. package/UPSTREAM.md +277 -0
  6. package/check.mjs +369 -0
  7. package/icon.png +0 -0
  8. package/install.sh +112 -0
  9. package/main.js +541 -0
  10. package/manifest.json +47 -0
  11. package/native/linux/bridge-rs/Cargo.lock +1204 -0
  12. package/native/linux/bridge-rs/Cargo.toml +18 -0
  13. package/native/linux/bridge-rs/src/atspi.rs +640 -0
  14. package/native/linux/bridge-rs/src/error.rs +65 -0
  15. package/native/linux/bridge-rs/src/lib.rs +11 -0
  16. package/native/linux/bridge-rs/src/main.rs +1074 -0
  17. package/native/linux/bridge-rs/src/protocol.rs +49 -0
  18. package/native/linux/bridge-rs/src/state.rs +293 -0
  19. package/native/linux/bridge-rs/src/wayland.rs +89 -0
  20. package/native/linux/bridge-rs/src/x11.rs +909 -0
  21. package/native/linux/bridge-rs/tests/protocol_tests.rs +73 -0
  22. package/native/macos/agent_cursor.swift +184 -0
  23. package/native/macos/agent_cursor_motion.swift +252 -0
  24. package/native/macos/agent_cursor_tests.swift +128 -0
  25. package/native/macos/agent_highlight.swift +229 -0
  26. package/native/macos/agent_highlight_tests.swift +99 -0
  27. package/native/macos/bridge.swift +3852 -0
  28. package/native/macos/foreground_activity.swift +57 -0
  29. package/native/macos/foreground_activity_tests.swift +31 -0
  30. package/native/macos/live_stream.swift +289 -0
  31. package/native/windows/bridge-rs/Cargo.lock +396 -0
  32. package/native/windows/bridge-rs/Cargo.toml +30 -0
  33. package/native/windows/bridge-rs/src/capture.rs +518 -0
  34. package/native/windows/bridge-rs/src/error.rs +81 -0
  35. package/native/windows/bridge-rs/src/input.rs +501 -0
  36. package/native/windows/bridge-rs/src/lib.rs +16 -0
  37. package/native/windows/bridge-rs/src/main.rs +1683 -0
  38. package/native/windows/bridge-rs/src/protocol.rs +53 -0
  39. package/native/windows/bridge-rs/src/refs.rs +237 -0
  40. package/native/windows/bridge-rs/src/state.rs +55 -0
  41. package/native/windows/bridge-rs/src/uia.rs +1252 -0
  42. package/native/windows/bridge-rs/src/window.rs +718 -0
  43. package/native/windows/bridge-rs/tests/protocol_tests.rs +252 -0
  44. package/native/windows/bridge-rs/tests/refs_tests.rs +86 -0
  45. package/native/windows/bridge-rs/tests/state_tests.rs +33 -0
  46. package/package.json +74 -0
  47. package/prebuilt/linux/arm64/linux-bridge +0 -0
  48. package/prebuilt/linux/x64/linux-bridge +0 -0
  49. package/prebuilt/macos/arm64/bridge +0 -0
  50. package/prebuilt/macos/arm64/tangu-computer-use.app.json +10 -0
  51. package/prebuilt/macos/arm64/tangu-computer-use.app.zip +0 -0
  52. package/prebuilt/macos/x64/bridge +0 -0
  53. package/prebuilt/macos/x64/tangu-computer-use.app.json +10 -0
  54. package/prebuilt/macos/x64/tangu-computer-use.app.zip +0 -0
  55. package/prebuilt/windows/windows-bridge.exe +0 -0
  56. package/scripts/blind-click.check.mjs +128 -0
  57. package/scripts/build-native.mjs +302 -0
  58. package/scripts/build.mjs +84 -0
  59. package/scripts/calc-fixture.mjs +78 -0
  60. package/scripts/cli-exit.check.mjs +49 -0
  61. package/scripts/helper-path.check.mjs +82 -0
  62. package/scripts/helper-refresh.check.mjs +62 -0
  63. package/scripts/helper-signal.check.mjs +59 -0
  64. package/scripts/highlight.check.mjs +32 -0
  65. package/scripts/keychain-free-install.check.mjs +140 -0
  66. package/scripts/live-view.check.mjs +124 -0
  67. package/scripts/macos-bundle.d.mts +1 -0
  68. package/scripts/macos-bundle.mjs +119 -0
  69. package/scripts/make-signing-cert.sh +57 -0
  70. package/scripts/mini-foreground.check.mjs +11 -0
  71. package/scripts/no-foreground.check.mjs +81 -0
  72. package/scripts/overlay-visible.check.mjs +221 -0
  73. package/scripts/package-macos-app.mjs +39 -0
  74. package/scripts/permissions.check.mjs +199 -0
  75. package/scripts/platform-contract.check.mjs +30 -0
  76. package/scripts/setup-helper.mjs +154 -0
  77. package/scripts/tangu-computer-use.entitlements +10 -0
  78. package/scripts/verify-macos-bundles.mjs +25 -0
  79. package/scripts/verify-package.mjs +74 -0
  80. package/skills/computer-use/SKILL.md +110 -0
  81. package/src/foregroundNote.ts +43 -0
  82. package/src/helperState.ts +31 -0
  83. package/src/index.ts +63 -0
  84. package/src/onboarding.ts +198 -0
  85. package/src/pi-compat.ts +49 -0
  86. package/src/settings.ts +11 -0
  87. package/src/setup.ts +97 -0
  88. package/src/tools.ts +289 -0
  89. package/src/vendor/actions.ts +130 -0
  90. package/src/vendor/bridge.ts +2405 -0
  91. package/src/vendor/cdp.ts +658 -0
  92. package/src/vendor/config.ts +113 -0
  93. package/src/vendor/contract.ts +104 -0
  94. package/src/vendor/note.ts +195 -0
  95. package/src/vendor/outline.ts +651 -0
  96. package/src/vendor/output.ts +134 -0
  97. package/src/vendor/permissions.ts +111 -0
  98. package/src/vendor/platform/architecture.ts +23 -0
  99. package/src/vendor/platform/coerce.ts +16 -0
  100. package/src/vendor/platform/index.ts +59 -0
  101. package/src/vendor/platform/linux/backend.ts +186 -0
  102. package/src/vendor/platform/linux/helper.ts +238 -0
  103. package/src/vendor/platform/macos/backend.ts +131 -0
  104. package/src/vendor/platform/macos/browser.ts +110 -0
  105. package/src/vendor/platform/macos/helper-path.d.mts +9 -0
  106. package/src/vendor/platform/macos/helper-path.mjs +34 -0
  107. package/src/vendor/platform/macos/helper.ts +291 -0
  108. package/src/vendor/platform/macos/permissions.ts +146 -0
  109. package/src/vendor/platform/types.ts +222 -0
  110. package/src/vendor/platform/windows/backend.ts +142 -0
  111. package/src/vendor/platform/windows/helper.ts +140 -0
  112. package/src/vendor/root-selection.ts +25 -0
  113. package/src/vendor/runtime.ts +129 -0
  114. package/src/vendor/state.ts +146 -0
  115. package/src/vendor/view.ts +147 -0
  116. package/tangu-plugins/computer-use/dist/foregroundNote.js +19 -0
  117. package/tangu-plugins/computer-use/dist/index.js +5672 -0
  118. package/tangu-plugins/computer-use/tangu-plugin.json +9 -0
  119. package/tsconfig.json +22 -0
  120. package/types/tangu-agent.d.ts +142 -0
@@ -0,0 +1,396 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "adler2"
7
+ version = "2.0.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
10
+
11
+ [[package]]
12
+ name = "autocfg"
13
+ version = "1.5.1"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
16
+
17
+ [[package]]
18
+ name = "base64"
19
+ version = "0.22.1"
20
+ source = "registry+https://github.com/rust-lang/crates.io-index"
21
+ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
22
+
23
+ [[package]]
24
+ name = "bitflags"
25
+ version = "2.13.0"
26
+ source = "registry+https://github.com/rust-lang/crates.io-index"
27
+ checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
28
+
29
+ [[package]]
30
+ name = "bytemuck"
31
+ version = "1.25.0"
32
+ source = "registry+https://github.com/rust-lang/crates.io-index"
33
+ checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec"
34
+
35
+ [[package]]
36
+ name = "byteorder-lite"
37
+ version = "0.1.0"
38
+ source = "registry+https://github.com/rust-lang/crates.io-index"
39
+ checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495"
40
+
41
+ [[package]]
42
+ name = "cfg-if"
43
+ version = "1.0.4"
44
+ source = "registry+https://github.com/rust-lang/crates.io-index"
45
+ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
46
+
47
+ [[package]]
48
+ name = "crc32fast"
49
+ version = "1.5.0"
50
+ source = "registry+https://github.com/rust-lang/crates.io-index"
51
+ checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511"
52
+ dependencies = [
53
+ "cfg-if",
54
+ ]
55
+
56
+ [[package]]
57
+ name = "fdeflate"
58
+ version = "0.3.7"
59
+ source = "registry+https://github.com/rust-lang/crates.io-index"
60
+ checksum = "1e6853b52649d4ac5c0bd02320cddc5ba956bdb407c4b75a2c6b75bf51500f8c"
61
+ dependencies = [
62
+ "simd-adler32",
63
+ ]
64
+
65
+ [[package]]
66
+ name = "flate2"
67
+ version = "1.1.9"
68
+ source = "registry+https://github.com/rust-lang/crates.io-index"
69
+ checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
70
+ dependencies = [
71
+ "crc32fast",
72
+ "miniz_oxide",
73
+ ]
74
+
75
+ [[package]]
76
+ name = "image"
77
+ version = "0.25.10"
78
+ source = "registry+https://github.com/rust-lang/crates.io-index"
79
+ checksum = "85ab80394333c02fe689eaf900ab500fbd0c2213da414687ebf995a65d5a6104"
80
+ dependencies = [
81
+ "bytemuck",
82
+ "byteorder-lite",
83
+ "moxcms",
84
+ "num-traits",
85
+ "png",
86
+ ]
87
+
88
+ [[package]]
89
+ name = "itoa"
90
+ version = "1.0.18"
91
+ source = "registry+https://github.com/rust-lang/crates.io-index"
92
+ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
93
+
94
+ [[package]]
95
+ name = "memchr"
96
+ version = "2.8.2"
97
+ source = "registry+https://github.com/rust-lang/crates.io-index"
98
+ checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
99
+
100
+ [[package]]
101
+ name = "miniz_oxide"
102
+ version = "0.8.9"
103
+ source = "registry+https://github.com/rust-lang/crates.io-index"
104
+ checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316"
105
+ dependencies = [
106
+ "adler2",
107
+ "simd-adler32",
108
+ ]
109
+
110
+ [[package]]
111
+ name = "moxcms"
112
+ version = "0.8.1"
113
+ source = "registry+https://github.com/rust-lang/crates.io-index"
114
+ checksum = "bb85c154ba489f01b25c0d36ae69a87e4a1c73a72631fc6c0eb6dde34a73e44b"
115
+ dependencies = [
116
+ "num-traits",
117
+ "pxfm",
118
+ ]
119
+
120
+ [[package]]
121
+ name = "num-traits"
122
+ version = "0.2.19"
123
+ source = "registry+https://github.com/rust-lang/crates.io-index"
124
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
125
+ dependencies = [
126
+ "autocfg",
127
+ ]
128
+
129
+ [[package]]
130
+ name = "png"
131
+ version = "0.18.1"
132
+ source = "registry+https://github.com/rust-lang/crates.io-index"
133
+ checksum = "60769b8b31b2a9f263dae2776c37b1b28ae246943cf719eb6946a1db05128a61"
134
+ dependencies = [
135
+ "bitflags",
136
+ "crc32fast",
137
+ "fdeflate",
138
+ "flate2",
139
+ "miniz_oxide",
140
+ ]
141
+
142
+ [[package]]
143
+ name = "proc-macro2"
144
+ version = "1.0.106"
145
+ source = "registry+https://github.com/rust-lang/crates.io-index"
146
+ checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
147
+ dependencies = [
148
+ "unicode-ident",
149
+ ]
150
+
151
+ [[package]]
152
+ name = "pxfm"
153
+ version = "0.1.29"
154
+ source = "registry+https://github.com/rust-lang/crates.io-index"
155
+ checksum = "e0c5ccf5294c6ccd63a74f1565028353830a9c2f5eb0c682c355c471726a6e3f"
156
+
157
+ [[package]]
158
+ name = "quote"
159
+ version = "1.0.46"
160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
161
+ checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
162
+ dependencies = [
163
+ "proc-macro2",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "serde"
168
+ version = "1.0.228"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
171
+ dependencies = [
172
+ "serde_core",
173
+ "serde_derive",
174
+ ]
175
+
176
+ [[package]]
177
+ name = "serde_core"
178
+ version = "1.0.228"
179
+ source = "registry+https://github.com/rust-lang/crates.io-index"
180
+ checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
181
+ dependencies = [
182
+ "serde_derive",
183
+ ]
184
+
185
+ [[package]]
186
+ name = "serde_derive"
187
+ version = "1.0.228"
188
+ source = "registry+https://github.com/rust-lang/crates.io-index"
189
+ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
190
+ dependencies = [
191
+ "proc-macro2",
192
+ "quote",
193
+ "syn",
194
+ ]
195
+
196
+ [[package]]
197
+ name = "serde_json"
198
+ version = "1.0.150"
199
+ source = "registry+https://github.com/rust-lang/crates.io-index"
200
+ checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
201
+ dependencies = [
202
+ "itoa",
203
+ "memchr",
204
+ "serde",
205
+ "serde_core",
206
+ "zmij",
207
+ ]
208
+
209
+ [[package]]
210
+ name = "simd-adler32"
211
+ version = "0.3.9"
212
+ source = "registry+https://github.com/rust-lang/crates.io-index"
213
+ checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
214
+
215
+ [[package]]
216
+ name = "syn"
217
+ version = "2.0.118"
218
+ source = "registry+https://github.com/rust-lang/crates.io-index"
219
+ checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
220
+ dependencies = [
221
+ "proc-macro2",
222
+ "quote",
223
+ "unicode-ident",
224
+ ]
225
+
226
+ [[package]]
227
+ name = "thiserror"
228
+ version = "2.0.18"
229
+ source = "registry+https://github.com/rust-lang/crates.io-index"
230
+ checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
231
+ dependencies = [
232
+ "thiserror-impl",
233
+ ]
234
+
235
+ [[package]]
236
+ name = "thiserror-impl"
237
+ version = "2.0.18"
238
+ source = "registry+https://github.com/rust-lang/crates.io-index"
239
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
240
+ dependencies = [
241
+ "proc-macro2",
242
+ "quote",
243
+ "syn",
244
+ ]
245
+
246
+ [[package]]
247
+ name = "unicode-ident"
248
+ version = "1.0.24"
249
+ source = "registry+https://github.com/rust-lang/crates.io-index"
250
+ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
251
+
252
+ [[package]]
253
+ name = "windows"
254
+ version = "0.58.0"
255
+ source = "registry+https://github.com/rust-lang/crates.io-index"
256
+ checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"
257
+ dependencies = [
258
+ "windows-core",
259
+ "windows-targets",
260
+ ]
261
+
262
+ [[package]]
263
+ name = "windows-bridge"
264
+ version = "0.1.0"
265
+ dependencies = [
266
+ "base64",
267
+ "image",
268
+ "serde",
269
+ "serde_json",
270
+ "thiserror",
271
+ "windows",
272
+ ]
273
+
274
+ [[package]]
275
+ name = "windows-core"
276
+ version = "0.58.0"
277
+ source = "registry+https://github.com/rust-lang/crates.io-index"
278
+ checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
279
+ dependencies = [
280
+ "windows-implement",
281
+ "windows-interface",
282
+ "windows-result",
283
+ "windows-strings",
284
+ "windows-targets",
285
+ ]
286
+
287
+ [[package]]
288
+ name = "windows-implement"
289
+ version = "0.58.0"
290
+ source = "registry+https://github.com/rust-lang/crates.io-index"
291
+ checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"
292
+ dependencies = [
293
+ "proc-macro2",
294
+ "quote",
295
+ "syn",
296
+ ]
297
+
298
+ [[package]]
299
+ name = "windows-interface"
300
+ version = "0.58.0"
301
+ source = "registry+https://github.com/rust-lang/crates.io-index"
302
+ checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"
303
+ dependencies = [
304
+ "proc-macro2",
305
+ "quote",
306
+ "syn",
307
+ ]
308
+
309
+ [[package]]
310
+ name = "windows-result"
311
+ version = "0.2.0"
312
+ source = "registry+https://github.com/rust-lang/crates.io-index"
313
+ checksum = "1d1043d8214f791817bab27572aaa8af63732e11bf84aa21a45a78d6c317ae0e"
314
+ dependencies = [
315
+ "windows-targets",
316
+ ]
317
+
318
+ [[package]]
319
+ name = "windows-strings"
320
+ version = "0.1.0"
321
+ source = "registry+https://github.com/rust-lang/crates.io-index"
322
+ checksum = "4cd9b125c486025df0eabcb585e62173c6c9eddcec5d117d3b6e8c30e2ee4d10"
323
+ dependencies = [
324
+ "windows-result",
325
+ "windows-targets",
326
+ ]
327
+
328
+ [[package]]
329
+ name = "windows-targets"
330
+ version = "0.52.6"
331
+ source = "registry+https://github.com/rust-lang/crates.io-index"
332
+ checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
333
+ dependencies = [
334
+ "windows_aarch64_gnullvm",
335
+ "windows_aarch64_msvc",
336
+ "windows_i686_gnu",
337
+ "windows_i686_gnullvm",
338
+ "windows_i686_msvc",
339
+ "windows_x86_64_gnu",
340
+ "windows_x86_64_gnullvm",
341
+ "windows_x86_64_msvc",
342
+ ]
343
+
344
+ [[package]]
345
+ name = "windows_aarch64_gnullvm"
346
+ version = "0.52.6"
347
+ source = "registry+https://github.com/rust-lang/crates.io-index"
348
+ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
349
+
350
+ [[package]]
351
+ name = "windows_aarch64_msvc"
352
+ version = "0.52.6"
353
+ source = "registry+https://github.com/rust-lang/crates.io-index"
354
+ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
355
+
356
+ [[package]]
357
+ name = "windows_i686_gnu"
358
+ version = "0.52.6"
359
+ source = "registry+https://github.com/rust-lang/crates.io-index"
360
+ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
361
+
362
+ [[package]]
363
+ name = "windows_i686_gnullvm"
364
+ version = "0.52.6"
365
+ source = "registry+https://github.com/rust-lang/crates.io-index"
366
+ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
367
+
368
+ [[package]]
369
+ name = "windows_i686_msvc"
370
+ version = "0.52.6"
371
+ source = "registry+https://github.com/rust-lang/crates.io-index"
372
+ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
373
+
374
+ [[package]]
375
+ name = "windows_x86_64_gnu"
376
+ version = "0.52.6"
377
+ source = "registry+https://github.com/rust-lang/crates.io-index"
378
+ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
379
+
380
+ [[package]]
381
+ name = "windows_x86_64_gnullvm"
382
+ version = "0.52.6"
383
+ source = "registry+https://github.com/rust-lang/crates.io-index"
384
+ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
385
+
386
+ [[package]]
387
+ name = "windows_x86_64_msvc"
388
+ version = "0.52.6"
389
+ source = "registry+https://github.com/rust-lang/crates.io-index"
390
+ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
391
+
392
+ [[package]]
393
+ name = "zmij"
394
+ version = "1.0.21"
395
+ source = "registry+https://github.com/rust-lang/crates.io-index"
396
+ checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
@@ -0,0 +1,30 @@
1
+ [package]
2
+ name = "windows-bridge"
3
+ version = "0.1.0"
4
+ edition = "2021"
5
+ description = "Protocol skeleton for the tangu-computer-use Windows helper"
6
+
7
+ [dependencies]
8
+ serde = { version = "1", features = ["derive"] }
9
+ serde_json = "1"
10
+ thiserror = "2"
11
+ image = { version = "0.25", default-features = false, features = ["png"] }
12
+ base64 = "0.22"
13
+
14
+ [target.'cfg(windows)'.dependencies]
15
+ windows = { version = "0.58", features = [
16
+ "Win32_UI_Accessibility",
17
+ "Win32_UI_WindowsAndMessaging",
18
+ "Win32_UI_Input_KeyboardAndMouse",
19
+ "Win32_UI_HiDpi",
20
+ "Win32_Graphics_Gdi",
21
+ "Win32_Storage_Xps",
22
+ "Win32_System_Com",
23
+ "Win32_System_Ole",
24
+ "Win32_System_Threading",
25
+ "Win32_Foundation",
26
+ ] }
27
+
28
+ [lib]
29
+ name = "windows_bridge"
30
+ path = "src/lib.rs"