@agentsky/desktop-ui 0.0.0-stage → 0.4.65

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 (95) hide show
  1. package/LICENSE +37 -0
  2. package/README.md +74 -2
  3. package/dist/app.css +1 -0
  4. package/dist/app.js +5925 -0
  5. package/dist/app.js.LEGAL.txt +5 -0
  6. package/dist/assets/makers/blockrun.png +0 -0
  7. package/dist/assets/makers/bytedance.ico +0 -0
  8. package/dist/assets/makers/dataforseo.ico +0 -0
  9. package/dist/assets/makers/elevenlabs.svg +12 -0
  10. package/dist/assets/makers/exa.ico +0 -0
  11. package/dist/assets/makers/fish_audio.ico +0 -0
  12. package/dist/assets/makers/googlemap.ico +0 -0
  13. package/dist/assets/makers/happyhorse.png +0 -0
  14. package/dist/assets/makers/meta.png +0 -0
  15. package/dist/assets/makers/minimax.ico +0 -0
  16. package/dist/assets/makers/nhtsa.svg +34 -0
  17. package/dist/assets/makers/qwen.png +0 -0
  18. package/dist/assets/makers/rembg.png +0 -0
  19. package/dist/assets/makers/sec.png +0 -0
  20. package/dist/assets/makers/tinyfish.svg +31 -0
  21. package/dist/assets/makers/typesafe.svg +1 -0
  22. package/dist/assets/makers/wan.png +0 -0
  23. package/dist/assets/web/agentsky-mark.png +0 -0
  24. package/dist/assets/web/amp-official.svg +34 -0
  25. package/dist/assets/web/antigravity-official.png +0 -0
  26. package/dist/assets/web/auggie.svg +4 -0
  27. package/dist/assets/web/autohand-official.svg +95 -0
  28. package/dist/assets/web/claude-ai-symbol.svg +1 -0
  29. package/dist/assets/web/cline.svg +3 -0
  30. package/dist/assets/web/code-assistant.svg +5 -0
  31. package/dist/assets/web/codebuddy.svg +1 -0
  32. package/dist/assets/web/codex.svg +1 -0
  33. package/dist/assets/web/corust-agent.svg +10 -0
  34. package/dist/assets/web/crow-cli.svg +9 -0
  35. package/dist/assets/web/cursor.svg +3 -0
  36. package/dist/assets/web/deepagents-official.png +0 -0
  37. package/dist/assets/web/deepseek-color.png +0 -0
  38. package/dist/assets/web/devin.svg +3 -0
  39. package/dist/assets/web/dimcode-official.png +0 -0
  40. package/dist/assets/web/dirac.svg +6 -0
  41. package/dist/assets/web/discord.png +0 -0
  42. package/dist/assets/web/docker-official.png +0 -0
  43. package/dist/assets/web/factory-droid.svg +1 -0
  44. package/dist/assets/web/fast-agent-official.svg +1 -0
  45. package/dist/assets/web/gemini-color.png +0 -0
  46. package/dist/assets/web/github-copilot-cli.svg +5 -0
  47. package/dist/assets/web/github.svg +1 -0
  48. package/dist/assets/web/glm-acp-agent.svg +1 -0
  49. package/dist/assets/web/gmail.svg +1 -0
  50. package/dist/assets/web/goose.svg +3 -0
  51. package/dist/assets/web/grok-build.svg +3 -0
  52. package/dist/assets/web/harn-official.svg +23 -0
  53. package/dist/assets/web/hermes.svg +5 -0
  54. package/dist/assets/web/imessage.png +0 -0
  55. package/dist/assets/web/junie-official.svg +17 -0
  56. package/dist/assets/web/kilo-official.svg +13 -0
  57. package/dist/assets/web/kimchi-official.svg +4 -0
  58. package/dist/assets/web/kimi-official.png +0 -0
  59. package/dist/assets/web/kiro.svg +11 -0
  60. package/dist/assets/web/meta-official.png +0 -0
  61. package/dist/assets/web/minimax-official.png +0 -0
  62. package/dist/assets/web/minion-code.svg +19 -0
  63. package/dist/assets/web/mistral-official.svg +12 -0
  64. package/dist/assets/web/notion.svg +1 -0
  65. package/dist/assets/web/nova.svg +10 -0
  66. package/dist/assets/web/openclaw.svg +60 -0
  67. package/dist/assets/web/opencode.svg +1 -0
  68. package/dist/assets/web/openhands-official.png +0 -0
  69. package/dist/assets/web/pi.svg +21 -0
  70. package/dist/assets/web/poolside-official.svg +26 -0
  71. package/dist/assets/web/qoder.svg +3 -0
  72. package/dist/assets/web/qwen-official.png +0 -0
  73. package/dist/assets/web/sigit.svg +98 -0
  74. package/dist/assets/web/slack.png +0 -0
  75. package/dist/assets/web/snowflake-official.png +0 -0
  76. package/dist/assets/web/stakpak-official.png +0 -0
  77. package/dist/assets/web/telegram.svg +13 -0
  78. package/dist/assets/web/typesafe.svg +1 -0
  79. package/dist/assets/web/vtcode.svg +4 -0
  80. package/dist/assets/web/whatsapp.svg +11 -0
  81. package/dist/browser-bar.css +1 -0
  82. package/dist/browser-bar.html +17 -0
  83. package/dist/browser-bar.js +1 -0
  84. package/dist/editors/editors.css +2 -0
  85. package/dist/editors/editors.mjs +397 -0
  86. package/dist/index.html +12 -0
  87. package/dist/quick-ask.css +1 -0
  88. package/dist/quick-ask.html +26 -0
  89. package/dist/quick-ask.js +1 -0
  90. package/dist/screen-bar.css +1 -0
  91. package/dist/screen-bar.html +16 -0
  92. package/dist/screen-bar.js +1 -0
  93. package/dist/vendor/mermaid.js +3636 -0
  94. package/index.js +14 -0
  95. package/package.json +37 -4
package/LICENSE ADDED
@@ -0,0 +1,37 @@
1
+ AgentSky Desktop UI License
2
+
3
+ Copyright © 2026 SkillBoss AI. All rights reserved.
4
+
5
+ This package (@agentsky/desktop-ui, "the Software") is proprietary. It is
6
+ licensed, not sold.
7
+
8
+ 1. Permitted use. You may download and install the Software as published on
9
+ the npm registry, and run it only as the interface of AgentSky for Mac
10
+ (the application whose shell is distributed by SkillBoss AI under the
11
+ Apache License 2.0), on devices you own or control.
12
+
13
+ 2. Restrictions. Except as the law expressly permits, you may not copy the
14
+ Software other than as needed to install it; modify, translate, adapt or
15
+ create derivative works of it; redistribute, sublicense, rent, lease or
16
+ lend it, alone or as part of another product; remove or alter any notice
17
+ in it; or decompile, disassemble or otherwise reverse engineer it.
18
+
19
+ 3. Ownership. SkillBoss AI and its licensors retain all right, title and
20
+ interest in the Software, including all intellectual property rights. No
21
+ rights are granted other than those stated here.
22
+
23
+ 4. Third-party components. The Software bundles open-source components,
24
+ each under its own license; their notices are kept in the package's
25
+ dist/ files and those licenses govern those components.
26
+
27
+ 5. Termination. This license ends automatically if you breach it. On
28
+ termination you must stop using and delete all copies of the Software.
29
+
30
+ 6. No warranty. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
31
+ KIND, EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY,
32
+ FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
33
+
34
+ 7. Limitation of liability. TO THE EXTENT PERMITTED BY LAW, SKILLBOSS AI
35
+ SHALL NOT BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL
36
+ OR PUNITIVE DAMAGES, OR ANY LOSS OF DATA, USE OR PROFITS, ARISING FROM
37
+ OR RELATED TO THE SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,75 @@
1
- # Temporary Holding Version
1
+ # @agentsky/desktop-ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The interface of AgentSky for Mac: the pages the app's windows show, built
4
+ into `dist/` and served to them by the app's shell. The shell is the Electron
5
+ side of the app, in the directory above this one; the two meet at the bridge
6
+ described in [docs/shell-contract.md](../docs/shell-contract.md), and this
7
+ package names the contract version it was built for in `package.json`
8
+ (`agentsky.shellContract`).
9
+
10
+ This package is proprietary (see [LICENSE](LICENSE)). Its sources are not
11
+ published: `npm publish` ships `index.js`, `dist/`, the license and this file.
12
+
13
+ ## Layout
14
+
15
+ ```
16
+ src/ the pages (index.html, quick-ask.html, browser-bar.html,
17
+ screen-bar.html), their modules (*.mjs) and styles/
18
+ src/assets/ pictures the pages name by path (web/ and makers/ are
19
+ generated copies of the web's)
20
+ src/editors/ the artifact editors, bundled from the web by editors/
21
+ scripts/build.js builds dist/
22
+ scripts/sync-web-* regenerate the web-derived files (tokens, icons, logos, Arena)
23
+ editors/ the editors bundle's own build and dependencies
24
+ test/ node --test suites for the modules and the generated files
25
+ dist/ the build output: one script and one stylesheet per page,
26
+ the pages rewritten to load them, assets/, editors/ and
27
+ vendor/mermaid.js
28
+ ```
29
+
30
+ ## Building
31
+
32
+ ```bash
33
+ npm run build # dist/, minified, as the app ships it
34
+ npm run watch # rebuild on every change, readable, with source maps
35
+ npm test
36
+ ```
37
+
38
+ Run these here or from the shell's directory with `--workspace ui`; the shell's
39
+ `npm start`, `pack`, `dist` and `test` build this package first. In this
40
+ repository the shell depends on the package as the `ui` npm workspace, so
41
+ `npm install` in the shell's directory installs this package's dependencies too
42
+ and links it into `node_modules/@agentsky/desktop-ui`.
43
+
44
+ The pages are ES modules with [htm](https://github.com/developit/htm) over
45
+ Preact; `marked`, `dompurify` and `katex` are imported and bundled. Mermaid is
46
+ too large and too dynamic to bundle, so the build copies its prebuilt file to
47
+ `dist/vendor/mermaid.js` and the page loads it as a plain script when the first
48
+ diagram draws. The artifact editors are a bundle of their own
49
+ (`src/editors/`, built by `editors/build.js` from the web app's sources) that
50
+ the page imports when an editor opens; the build copies it as it is.
51
+
52
+ Everything a page references at run time must end up under `dist/`: the shell
53
+ serves that directory and nothing else, under a content security policy that
54
+ allows no network connection. A page's `<link rel="stylesheet">` lines are
55
+ bundled into one stylesheet in that order; each page has exactly one
56
+ `<script type="module">`, bundled into one script. The build reads these from
57
+ the page's markup, so adding a stylesheet means adding its `<link>`.
58
+
59
+ ## The web's files
60
+
61
+ Colours, icons, logos and the Arena's lineup come from the web app in this
62
+ repository (`ts/`): `npm run sync:web` regenerates `src/styles/web-tokens.css`,
63
+ `src/web-accents.mjs`, `src/web-icons.mjs`, `src/web-logos.mjs` and
64
+ `src/assets/web/`, and `src/web-arena.mjs`. The outputs are committed so the
65
+ package builds without `ts/`; `npm test` fails when one is stale and skips
66
+ those checks when `ts/` is absent. Change a colour or a logo on the web, never
67
+ in the generated files. The editors bundle and the Market's maker marks are
68
+ regenerated with `cd editors && npm install && npm run build` and
69
+ `node makers.js` there.
70
+
71
+ ## Publishing
72
+
73
+ The version follows the app's. To publish: `npm run build`, then `npm publish`
74
+ from this directory (the `files` list keeps the sources out). The shell then
75
+ pins the published version instead of the workspace; see the shell's README.