@termix-ssh/plugin-sdk 1.0.4 → 1.0.6

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 (35) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/PLUGIN-GUIDE.md +780 -0
  3. package/README.md +2 -1
  4. package/cli/commands/build.mjs +7 -7
  5. package/cli/commands/migrations.mjs +2 -2
  6. package/cli/commands/validate.mjs +5 -0
  7. package/cli/index.mjs +0 -0
  8. package/dist/changelog.d.ts +3 -1
  9. package/dist/changelog.js +12 -2
  10. package/dist/db.d.ts +1 -1
  11. package/dist/db.js +1 -1
  12. package/dist/ddl.js +4 -1
  13. package/dist/host/{chunk-RU4E5XLY.js → chunk-26DAYAKC.js} +323 -216
  14. package/dist/host/{chunk-O2OHNVFX.js → chunk-DIOJ3KW2.js} +1 -1
  15. package/dist/host/{chunk-F5RZH6HE.js → chunk-NZG6HNQH.js} +14 -13
  16. package/dist/host/core-classes.json +1 -1
  17. package/dist/host/{linked-server-4VWYYABP.js → linked-server-QAKKDBFM.js} +1 -1
  18. package/dist/host/{rbac-api-WIJVZH3M.js → rbac-api-5267EMX7.js} +1 -1
  19. package/dist/host/testing-host.js +3 -3
  20. package/dist/host/types/src/types/credential-sidebar-preferences.d.ts +1 -1
  21. package/dist/host/types/src/types/onboarding.d.ts +1 -0
  22. package/dist/host/types/src/ui/api/plugins-api.d.ts +51 -0
  23. package/dist/host/types/src/ui/components/panel-layout.d.ts +0 -4
  24. package/dist/host/types/src/ui/hooks/use-mobile.d.ts +1 -0
  25. package/dist/host/types/src/ui/i18n/i18n.d.ts +1 -36
  26. package/dist/host/types/src/ui/i18n/languages.d.ts +13 -0
  27. package/dist/host/types/src/ui/lib/error-message.d.ts +1 -1
  28. package/dist/host/types/src/ui/lib/host-key-fingerprint.d.ts +5 -0
  29. package/dist/host/types/src/ui/lib/server-time.d.ts +5 -0
  30. package/dist/host/types/src/ui/main-axios.d.ts +5 -2
  31. package/dist/host/types/src/ui/ssh/dialogs/HostKeyVerificationDialog.d.ts +1 -1
  32. package/dist/host/ui.js +439 -69
  33. package/dist/host/{use-permissions-KIQCJ35M.js → use-permissions-2P2TP6GY.js} +1 -1
  34. package/dist/host-commands.js +1 -1
  35. package/package.json +14 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Added
6
+
7
+ - `PLUGIN-GUIDE.md`, a guide to building, testing and releasing a plugin, written so AI coding tools can read it too
8
+
9
+ ## 1.0.5
10
+
11
+ ### Fixed
12
+
13
+ - `execCommand` timeout errors no longer include the command, which could hold a sudo password
14
+ - `termix-plugin validate` fails when a plugin ships migrations for some database engines but not all three
15
+ - `termix-plugin migrations` loads the table definitions from a path with a `#` or other URL characters in it
16
+ - Text, json and encrypted columns are `longtext` on MySQL in new migrations, so they are no longer capped at 64KB. Existing migrations keep `text`
17
+ - `i18next`, `react-dom`, `react-i18next` and `sonner` are optional peer dependencies, so npm stops installing them into backend-only plugins
18
+ - `termix-plugin validate` accepts a beta version like `1.1.0-beta.1` when the changelog's newest release is `1.1.0` or older, so beta releases pass
19
+
3
20
  ## 1.0.4
4
21
 
5
22
  ### Fixed