@ycodium-ai/plugin-api 0.2.3319 → 0.2.3339

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/dist/index.d.ts CHANGED
@@ -54,9 +54,9 @@ export type { PluginDisposer, PluginSettings, PluginCommandReceipt, PluginOperat
54
54
  export type { PluginEnvironment, PluginProviderModel, PluginProviderInstance, PluginProviderNativeSessions, PluginProviders, PluginModelSelection, } from "./pluginContextProviders.ts";
55
55
  export type { PluginWorkspace, PluginProxy, ProxyChoiceOption, PluginRequiredProxySelection, PluginProxySelection, PluginProxies, PluginProject, } from "./pluginContextWorkspace.ts";
56
56
  export type { PluginAttachmentInput, PluginAttachment, PluginAttachments, PluginThreadMessage, PluginThreadSession, PluginThreadOrigin, PluginThreadForkPoint, PluginTurnIntent, PluginThreadExecution, } from "./pluginContextThreads.ts";
57
- export declare const PLUGIN_API_VERSION = 34;
57
+ export declare const PLUGIN_API_VERSION = 35;
58
58
  /**
59
- * 宿主只装载版本 34;ConversationComposerApi.imageCompression 必须使用 prepareFileForAttachment,
59
+ * 宿主只装载版本 35;ConversationComposerApi.imageCompression 必须使用 prepareFileForAttachment,
60
60
  * 不能再调用 isHeicFile 或 prepareForAttachment;大小超限失败带 maxBytes,unreadable 不带。
61
61
  * 成功结果须按 kind 区分 image / file / file-fallback;失败提示须翻译 attachmentPreparationError 的 key 与插值。
62
62
  * plugins.installed.setEnabled 的 force 可选;只有 human / client 调用方能传 force: true;
@@ -80,8 +80,8 @@ export declare const PLUGIN_API_VERSION = 34;
80
80
  * 插件样式 ui.css 多了 --radius-composer;
81
81
  * 第一条插件数据流 threads.subscribeList(逐帧 emit,受 AbortSignal 与插件挂载寿命约束)。
82
82
  */
83
- export declare const PLUGIN_API_MIN_VERSION = 34;
84
- export type PluginApiVersion = 34;
83
+ export declare const PLUGIN_API_MIN_VERSION = 35;
84
+ export type PluginApiVersion = 35;
85
85
  /**
86
86
  * 只读投影查询。写投影是编排的事,插件碰不到。
87
87
  *
package/dist/index.js CHANGED
@@ -10,9 +10,9 @@ export * from "./projects.js";
10
10
  export * from "./threads.js";
11
11
  export * from "./settings-card-shape.js";
12
12
  export { parseRetryAfterMs } from "./usage.js";
13
- export const PLUGIN_API_VERSION = 34;
13
+ export const PLUGIN_API_VERSION = 35;
14
14
  /**
15
- * 宿主只装载版本 34;ConversationComposerApi.imageCompression 必须使用 prepareFileForAttachment,
15
+ * 宿主只装载版本 35;ConversationComposerApi.imageCompression 必须使用 prepareFileForAttachment,
16
16
  * 不能再调用 isHeicFile 或 prepareForAttachment;大小超限失败带 maxBytes,unreadable 不带。
17
17
  * 成功结果须按 kind 区分 image / file / file-fallback;失败提示须翻译 attachmentPreparationError 的 key 与插值。
18
18
  * plugins.installed.setEnabled 的 force 可选;只有 human / client 调用方能传 force: true;
@@ -36,5 +36,5 @@ export const PLUGIN_API_VERSION = 34;
36
36
  * 插件样式 ui.css 多了 --radius-composer;
37
37
  * 第一条插件数据流 threads.subscribeList(逐帧 emit,受 AbortSignal 与插件挂载寿命约束)。
38
38
  */
39
- export const PLUGIN_API_MIN_VERSION = 34;
39
+ export const PLUGIN_API_MIN_VERSION = 35;
40
40
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ycodium-ai/plugin-api",
3
- "version": "0.2.3319",
3
+ "version": "0.2.3339",
4
4
  "description": "Types and definePlugin for authoring Ycodium plugins. Zero runtime dependencies.",
5
5
  "keywords": [
6
6
  "ycodium"