@ycodium-ai/plugin-api 0.2.5004 → 0.2.5029
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 +3 -1
- package/dist/dataPorts.gen.d.ts +476 -435
- package/dist/dataPorts.gen.d.ts.map +1 -1
- package/dist/dataPorts.gen.js.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -615,7 +615,9 @@ No thread, timeout, interruption or restart cancels the call. Guard callbacks st
|
|
|
615
615
|
|
|
616
616
|
<!-- plugin-api-versions:start (generated by scripts/gen-plugin-api-version.ts from packages/plugin-api/version-history.json; edit that file) -->
|
|
617
617
|
|
|
618
|
-
The current API is **
|
|
618
|
+
The current API is **143**. This Ycodium loads plugins declaring 141 through 143.
|
|
619
|
+
|
|
620
|
+
API 143 adds machineSettings.sync status reads and subscriptions, and local agent exclusion/restoration using the existing machineSettings.update permission; secret values remain unreadable
|
|
619
621
|
|
|
620
622
|
API 142 adds the optional `homeOnly` flag on tools (`PluginTool`), commands (`PluginCommand`) and streams (`PluginStreamCommand`): a flagged entry runs only on the machine that is home of its target project. Another machine is refused before the handler runs (a tool returns an `isError` result with `errorCode` `not-project-home` and a pointer to the home machine; a command or stream fails with `pluginCode` `not-project-home` and `pluginData` `{ reason, projectId, homeEnvironmentId?, homeName? }`), and a home that cannot be read blocks the call with `project-home-unconfirmed`. Unflagged entries, single-machine setups, projects homed here and calls with no target project are unchanged. A write the write gate refuses inside a command now carries the same `pluginCode`. A flagged stream must name `projectId` in its payload (a subscription carries no invoking session); without it the subscription ends with an error instead of being let through. A caller's cancellation interrupts the home check. The UI bridge gains `i18n.useHostFailureText()`: a hook returning a function that turns such a failure (with its `pluginCode` / `pluginData`) into the host's localized sentence, and `undefined` for any other failure; a surface page now receives the failure with those two fields intact.
|
|
621
623
|
|