@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.
- package/README.md +14 -0
- package/dist/conversation.d.ts +15 -1587
- package/dist/conversation.d.ts.map +1 -1
- package/dist/conversation.js.map +1 -1
- package/dist/conversationBase.d.ts +89 -0
- package/dist/conversationBase.d.ts.map +1 -0
- package/dist/conversationBase.js +2 -0
- package/dist/conversationBase.js.map +1 -0
- package/dist/conversationComposerApi.d.ts +246 -0
- package/dist/conversationComposerApi.d.ts.map +1 -0
- package/dist/conversationComposerApi.js +2 -0
- package/dist/conversationComposerApi.js.map +1 -0
- package/dist/conversationComposerEnvironment.d.ts +71 -0
- package/dist/conversationComposerEnvironment.d.ts.map +1 -0
- package/dist/conversationComposerEnvironment.js +2 -0
- package/dist/conversationComposerEnvironment.js.map +1 -0
- package/dist/conversationComposerHandle.d.ts +80 -0
- package/dist/conversationComposerHandle.d.ts.map +1 -0
- package/dist/conversationComposerHandle.js +2 -0
- package/dist/conversationComposerHandle.js.map +1 -0
- package/dist/conversationDerive.d.ts +132 -0
- package/dist/conversationDerive.d.ts.map +1 -0
- package/dist/conversationDerive.js +2 -0
- package/dist/conversationDerive.js.map +1 -0
- package/dist/conversationDrafts.d.ts +220 -0
- package/dist/conversationDrafts.d.ts.map +1 -0
- package/dist/conversationDrafts.js +2 -0
- package/dist/conversationDrafts.js.map +1 -0
- package/dist/conversationHostModels.d.ts +378 -0
- package/dist/conversationHostModels.d.ts.map +1 -0
- package/dist/conversationHostModels.js +2 -0
- package/dist/conversationHostModels.js.map +1 -0
- package/dist/conversationRows.d.ts +96 -0
- package/dist/conversationRows.d.ts.map +1 -0
- package/dist/conversationRows.js +2 -0
- package/dist/conversationRows.js.map +1 -0
- package/dist/conversationViewProps.d.ts +366 -0
- package/dist/conversationViewProps.d.ts.map +1 -0
- package/dist/conversationViewProps.js +2 -0
- package/dist/conversationViewProps.js.map +1 -0
- package/dist/executor.d.ts +4 -6
- package/dist/executor.d.ts.map +1 -1
- package/dist/executor.js.map +1 -1
- package/dist/executorProcesses.d.ts +38 -0
- package/dist/executorProcesses.d.ts.map +1 -0
- package/dist/executorProcesses.js +5 -0
- package/dist/executorProcesses.js.map +1 -0
- package/dist/index.d.ts +2 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/settings-actions.d.ts +25 -2
- package/dist/settings-actions.d.ts.map +1 -1
- package/dist/settings-actions.js +0 -6
- package/dist/settings-actions.js.map +1 -1
- package/dist/settings-ui.d.ts +46 -0
- package/dist/settings-ui.d.ts.map +1 -0
- package/dist/settings-ui.js +2 -0
- package/dist/settings-ui.js.map +1 -0
- package/dist/ui.d.ts +1 -0
- package/dist/ui.d.ts.map +1 -1
- package/dist/ui.js.map +1 -1
- 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
|