@upmade/core 0.6.2 → 0.7.0-preview.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 (83) hide show
  1. package/LICENSE.md +21 -21
  2. package/README.md +13 -13
  3. package/dist/cjs/index.cjs +1166 -224
  4. package/dist/cjs/index.cjs.map +4 -4
  5. package/dist/esm/index.mjs +1166 -224
  6. package/dist/esm/index.mjs.map +4 -4
  7. package/dist/types/classes/agent/agent-tool-schemas.d.ts.map +1 -1
  8. package/dist/types/classes/agent/agent.class.d.ts +28 -5
  9. package/dist/types/classes/agent/agent.class.d.ts.map +1 -1
  10. package/dist/types/classes/chat/chat-session.class.d.ts +22 -3
  11. package/dist/types/classes/chat/chat-session.class.d.ts.map +1 -1
  12. package/dist/types/classes/core/core.class.d.ts +8 -0
  13. package/dist/types/classes/core/core.class.d.ts.map +1 -1
  14. package/dist/types/classes/core/viewport.class.d.ts.map +1 -1
  15. package/dist/types/classes/managers/agent-broadcast.manager.d.ts +1 -1
  16. package/dist/types/classes/managers/agent-broadcast.manager.d.ts.map +1 -1
  17. package/dist/types/classes/managers/agent.manager.d.ts +99 -6
  18. package/dist/types/classes/managers/agent.manager.d.ts.map +1 -1
  19. package/dist/types/classes/managers/agentic-action-run.class.d.ts +20 -1
  20. package/dist/types/classes/managers/agentic-action-run.class.d.ts.map +1 -1
  21. package/dist/types/classes/managers/agentic-action.manager.d.ts +10 -0
  22. package/dist/types/classes/managers/agentic-action.manager.d.ts.map +1 -1
  23. package/dist/types/classes/managers/agentic-cursor.manager.d.ts +11 -1
  24. package/dist/types/classes/managers/agentic-cursor.manager.d.ts.map +1 -1
  25. package/dist/types/classes/managers/object-config.manager.d.ts +4 -3
  26. package/dist/types/classes/managers/object-config.manager.d.ts.map +1 -1
  27. package/dist/types/classes/managers/object-titlebar.manager.d.ts +23 -1
  28. package/dist/types/classes/managers/object-titlebar.manager.d.ts.map +1 -1
  29. package/dist/types/classes/managers/remote-agent.manager.d.ts +2 -2
  30. package/dist/types/classes/managers/remote-agent.manager.d.ts.map +1 -1
  31. package/dist/types/classes/registries/icon-registry.class.d.ts +3 -0
  32. package/dist/types/classes/registries/icon-registry.class.d.ts.map +1 -1
  33. package/dist/types/classes/structures/object-map.structure.d.ts +17 -1
  34. package/dist/types/classes/structures/object-map.structure.d.ts.map +1 -1
  35. package/dist/types/constants/version.d.ts +1 -1
  36. package/dist/types/constants/version.d.ts.map +1 -1
  37. package/dist/types/helpers/cursor-label-action.helper.d.ts +15 -0
  38. package/dist/types/helpers/cursor-label-action.helper.d.ts.map +1 -0
  39. package/dist/types/helpers/object-config.helper.d.ts +11 -0
  40. package/dist/types/helpers/object-config.helper.d.ts.map +1 -0
  41. package/dist/types/helpers/object-titlebar.helper.d.ts +8 -0
  42. package/dist/types/helpers/object-titlebar.helper.d.ts.map +1 -1
  43. package/dist/types/helpers/selection-label.helper.d.ts +15 -0
  44. package/dist/types/helpers/selection-label.helper.d.ts.map +1 -0
  45. package/dist/types/helpers/viewport-overlay.helper.d.ts +14 -0
  46. package/dist/types/helpers/viewport-overlay.helper.d.ts.map +1 -1
  47. package/dist/types/index.d.ts +4 -0
  48. package/dist/types/index.d.ts.map +1 -1
  49. package/dist/types/interfaces/agent.interface.d.ts +46 -4
  50. package/dist/types/interfaces/agent.interface.d.ts.map +1 -1
  51. package/dist/types/interfaces/agentic-cursor.interface.d.ts +21 -1
  52. package/dist/types/interfaces/agentic-cursor.interface.d.ts.map +1 -1
  53. package/dist/types/interfaces/chat-box.interface.d.ts +23 -4
  54. package/dist/types/interfaces/chat-box.interface.d.ts.map +1 -1
  55. package/dist/types/interfaces/chat-session.interface.d.ts +10 -2
  56. package/dist/types/interfaces/chat-session.interface.d.ts.map +1 -1
  57. package/dist/types/interfaces/cursor-label.interface.d.ts +43 -0
  58. package/dist/types/interfaces/cursor-label.interface.d.ts.map +1 -0
  59. package/dist/types/interfaces/engine-host.interface.d.ts +4 -0
  60. package/dist/types/interfaces/engine-host.interface.d.ts.map +1 -1
  61. package/dist/types/interfaces/localization.interface.d.ts +22 -0
  62. package/dist/types/interfaces/localization.interface.d.ts.map +1 -1
  63. package/dist/types/interfaces/menu-item.interface.d.ts +9 -0
  64. package/dist/types/interfaces/menu-item.interface.d.ts.map +1 -1
  65. package/dist/types/interfaces/object-config.interface.d.ts +6 -0
  66. package/dist/types/interfaces/object-config.interface.d.ts.map +1 -1
  67. package/dist/types/interfaces/remote-cursor.interface.d.ts +2 -0
  68. package/dist/types/interfaces/remote-cursor.interface.d.ts.map +1 -1
  69. package/dist/types/interfaces/theme.interface.d.ts +26 -0
  70. package/dist/types/interfaces/theme.interface.d.ts.map +1 -1
  71. package/dist/types/interfaces/user.interface.d.ts +6 -0
  72. package/dist/types/interfaces/user.interface.d.ts.map +1 -1
  73. package/dist/types/locales/de-locale.d.ts.map +1 -1
  74. package/dist/types/locales/en-locale.d.ts.map +1 -1
  75. package/dist/types/locales/es-locale.d.ts.map +1 -1
  76. package/dist/types/locales/fr-locale.d.ts.map +1 -1
  77. package/dist/types/locales/it-locale.d.ts.map +1 -1
  78. package/dist/types/locales/nl-locale.d.ts.map +1 -1
  79. package/dist/types/locales/pl-locale.d.ts.map +1 -1
  80. package/dist/types/locales/pt-locale.d.ts.map +1 -1
  81. package/dist/types/themes/dark-theme.d.ts.map +1 -1
  82. package/dist/types/themes/light-theme.d.ts.map +1 -1
  83. package/package.json +79 -79
package/LICENSE.md CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Lukas Mühlenbeck
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lukas Mühlenbeck
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # @upmade/core
2
-
3
- The framework-agnostic core of [Upmade](https://upmade.io/): objects, tools, sync and asset providers, themes, locales and helpers.
4
-
5
- You don't install this package yourself. `@upmade/engine` and `@upmade/editor` depend on it, and `@upmade/engine` and the Angular, React and Vue wrappers re-export its API, so keep importing from those packages.
6
-
7
- ## Why a separate package
8
-
9
- `@upmade/engine` and `@upmade/editor` are Stencil component libraries. Each Stencil output bundles the code its components import. Keeping the classes in this plain package, which both libraries load as an external dependency, means an app always has exactly one copy of every Upmade class, so `instanceof` checks and shared static state work across the engine and the editor.
10
-
11
- ## Script tags and import maps
12
-
13
- Like `yjs`, `@upmade/core` is imported by bare specifier from the engine and editor builds. When loading those builds directly in the browser without a bundler, add `@upmade/core` to your import map next to `yjs`.
1
+ # @upmade/core
2
+
3
+ The framework-agnostic core of [Upmade](https://upmade.io/): objects, tools, sync and asset providers, themes, locales and helpers.
4
+
5
+ You don't install this package yourself. `@upmade/engine` and `@upmade/editor` depend on it, and `@upmade/engine` and the Angular, React and Vue wrappers re-export its API, so keep importing from those packages.
6
+
7
+ ## Why a separate package
8
+
9
+ `@upmade/engine` and `@upmade/editor` are Stencil component libraries. Each Stencil output bundles the code its components import. Keeping the classes in this plain package, which both libraries load as an external dependency, means an app always has exactly one copy of every Upmade class, so `instanceof` checks and shared static state work across the engine and the editor.
10
+
11
+ ## Script tags and import maps
12
+
13
+ Like `yjs`, `@upmade/core` is imported by bare specifier from the engine and editor builds. When loading those builds directly in the browser without a bundler, add `@upmade/core` to your import map next to `yjs`.