@ycodium-ai/plugin-api 0.2.2972 → 0.2.2974

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 (62) hide show
  1. package/README.md +14 -0
  2. package/dist/conversation.d.ts +15 -1587
  3. package/dist/conversation.d.ts.map +1 -1
  4. package/dist/conversation.js.map +1 -1
  5. package/dist/conversationBase.d.ts +89 -0
  6. package/dist/conversationBase.d.ts.map +1 -0
  7. package/dist/conversationBase.js +2 -0
  8. package/dist/conversationBase.js.map +1 -0
  9. package/dist/conversationComposerApi.d.ts +246 -0
  10. package/dist/conversationComposerApi.d.ts.map +1 -0
  11. package/dist/conversationComposerApi.js +2 -0
  12. package/dist/conversationComposerApi.js.map +1 -0
  13. package/dist/conversationComposerEnvironment.d.ts +71 -0
  14. package/dist/conversationComposerEnvironment.d.ts.map +1 -0
  15. package/dist/conversationComposerEnvironment.js +2 -0
  16. package/dist/conversationComposerEnvironment.js.map +1 -0
  17. package/dist/conversationComposerHandle.d.ts +80 -0
  18. package/dist/conversationComposerHandle.d.ts.map +1 -0
  19. package/dist/conversationComposerHandle.js +2 -0
  20. package/dist/conversationComposerHandle.js.map +1 -0
  21. package/dist/conversationDerive.d.ts +132 -0
  22. package/dist/conversationDerive.d.ts.map +1 -0
  23. package/dist/conversationDerive.js +2 -0
  24. package/dist/conversationDerive.js.map +1 -0
  25. package/dist/conversationDrafts.d.ts +220 -0
  26. package/dist/conversationDrafts.d.ts.map +1 -0
  27. package/dist/conversationDrafts.js +2 -0
  28. package/dist/conversationDrafts.js.map +1 -0
  29. package/dist/conversationHostModels.d.ts +378 -0
  30. package/dist/conversationHostModels.d.ts.map +1 -0
  31. package/dist/conversationHostModels.js +2 -0
  32. package/dist/conversationHostModels.js.map +1 -0
  33. package/dist/conversationRows.d.ts +96 -0
  34. package/dist/conversationRows.d.ts.map +1 -0
  35. package/dist/conversationRows.js +2 -0
  36. package/dist/conversationRows.js.map +1 -0
  37. package/dist/conversationViewProps.d.ts +366 -0
  38. package/dist/conversationViewProps.d.ts.map +1 -0
  39. package/dist/conversationViewProps.js +2 -0
  40. package/dist/conversationViewProps.js.map +1 -0
  41. package/dist/executor.d.ts +4 -6
  42. package/dist/executor.d.ts.map +1 -1
  43. package/dist/executor.js.map +1 -1
  44. package/dist/executorProcesses.d.ts +38 -0
  45. package/dist/executorProcesses.d.ts.map +1 -0
  46. package/dist/executorProcesses.js +5 -0
  47. package/dist/executorProcesses.js.map +1 -0
  48. package/dist/index.d.ts +2 -11
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js.map +1 -1
  51. package/dist/settings-actions.d.ts +25 -2
  52. package/dist/settings-actions.d.ts.map +1 -1
  53. package/dist/settings-actions.js +0 -6
  54. package/dist/settings-actions.js.map +1 -1
  55. package/dist/settings-ui.d.ts +46 -0
  56. package/dist/settings-ui.d.ts.map +1 -0
  57. package/dist/settings-ui.js +2 -0
  58. package/dist/settings-ui.js.map +1 -0
  59. package/dist/ui.d.ts +1 -0
  60. package/dist/ui.d.ts.map +1 -1
  61. package/dist/ui.js.map +1 -1
  62. package/package.json +1 -1
package/README.md CHANGED
@@ -272,6 +272,20 @@ your plugin's install, so you only see receipts for commands your plugin dispatc
272
272
  `threadId` may be left out for them; commands on an existing thread still need `threadId` and
273
273
  thread ownership. Both are optional additions, so the API version was not bumped.
274
274
 
275
+ Added within API 4, for a plugin that draws its own settings in the `settings.section` seat. None
276
+ of these bumped the API version.
277
+
278
+ - `presentation: "hidden"` on `ctx.settingsCard`: clients stop drawing the card's form. Keep the
279
+ field declarations: a `kind: "proxy"` field is how the host knows which proxy you use, and
280
+ `password` fields and columns are how it knows which positions are secrets.
281
+ - `clearSecrets` in the options of `ctx.settings.write`: paths whose stored password is removed.
282
+ The host drops the key at each path from the config it writes, whatever you put there. A path
283
+ listed in both `secrets` and `clearSecrets` rejects the write.
284
+ - `bridge.ui.QRCodeSvg` and `bridge.ui.ProxyChoiceSelect`, typed by `QRCodeSvgProps` and
285
+ `ProxyChoiceSelectProps` in `@ycodium-ai/plugin-api/ui`. The proxy select draws the options you
286
+ pass it; get them from `ctx.proxies.list()` in a command of your own. An older host does not
287
+ have them, so check that they exist before rendering.
288
+
275
289
  ### API 3
276
290
 
277
291
  API 3 deletes the host's old usage path and fixes the executor contract that the built-in agents