@yaklabs-ai/plugin-protocol 0.47.0 → 0.48.0

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 CHANGED
@@ -11,7 +11,7 @@ flow.
11
11
  ```json
12
12
  {
13
13
  "dependencies": {
14
- "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.47.0"
14
+ "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.48.0"
15
15
  }
16
16
  }
17
17
  ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "package": "@yaklabs-ai/plugin-protocol",
4
- "version": "0.47.0",
4
+ "version": "0.48.0",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
package/dist/index.d.ts CHANGED
@@ -2963,6 +2963,7 @@ declare const canonicalContributionSchemas: {
2963
2963
  KayUiAppHostCapability: z.ZodEnum<{
2964
2964
  "navigation.open-session": "navigation.open-session";
2965
2965
  "sessions.create": "sessions.create";
2966
+ "models.complete": "models.complete";
2966
2967
  "artifacts.read": "artifacts.read";
2967
2968
  "artifacts.preview": "artifacts.preview";
2968
2969
  "markdown.document-view": "markdown.document-view";
@@ -2980,6 +2981,7 @@ declare const canonicalContributionSchemas: {
2980
2981
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2981
2982
  "navigation.open-session": "navigation.open-session";
2982
2983
  "sessions.create": "sessions.create";
2984
+ "models.complete": "models.complete";
2983
2985
  "artifacts.read": "artifacts.read";
2984
2986
  "artifacts.preview": "artifacts.preview";
2985
2987
  "markdown.document-view": "markdown.document-view";
@@ -3051,6 +3053,7 @@ declare const canonicalContributionSchemas: {
3051
3053
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3052
3054
  "navigation.open-session": "navigation.open-session";
3053
3055
  "sessions.create": "sessions.create";
3056
+ "models.complete": "models.complete";
3054
3057
  "artifacts.read": "artifacts.read";
3055
3058
  "artifacts.preview": "artifacts.preview";
3056
3059
  "markdown.document-view": "markdown.document-view";
@@ -3086,6 +3089,7 @@ declare const canonicalContributionSchemas: {
3086
3089
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
3087
3090
  "navigation.open-session": "navigation.open-session";
3088
3091
  "sessions.create": "sessions.create";
3092
+ "models.complete": "models.complete";
3089
3093
  "artifacts.read": "artifacts.read";
3090
3094
  "artifacts.preview": "artifacts.preview";
3091
3095
  "markdown.document-view": "markdown.document-view";
@@ -4517,8 +4521,10 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
4517
4521
  * and read the provenance the host captured. Additive: a plugin that imports it declares ^0.46.0.
4518
4522
  *
4519
4523
  * 0.47.0 adds card layouts and builders; successful card submits now require a summary.
4524
+ *
4525
+ * 0.48.0 adds the models.complete UI capability.
4520
4526
  */
4521
- export declare const KAY_PLUGIN_SDK_VERSION: "0.47.0";
4527
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.48.0";
4522
4528
 
4523
4529
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
4524
4530
 
@@ -6189,6 +6195,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6189
6195
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6190
6196
  "navigation.open-session": "navigation.open-session";
6191
6197
  "sessions.create": "sessions.create";
6198
+ "models.complete": "models.complete";
6192
6199
  "artifacts.read": "artifacts.read";
6193
6200
  "artifacts.preview": "artifacts.preview";
6194
6201
  "markdown.document-view": "markdown.document-view";
@@ -6224,6 +6231,7 @@ export declare const KayPluginManifestV1: z.ZodObject<{
6224
6231
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6225
6232
  "navigation.open-session": "navigation.open-session";
6226
6233
  "sessions.create": "sessions.create";
6234
+ "models.complete": "models.complete";
6227
6235
  "artifacts.read": "artifacts.read";
6228
6236
  "artifacts.preview": "artifacts.preview";
6229
6237
  "markdown.document-view": "markdown.document-view";
@@ -7094,6 +7102,7 @@ export declare interface KayPluginTreeReader {
7094
7102
  export declare const KayUiAppHostCapability: z.ZodEnum<{
7095
7103
  "navigation.open-session": "navigation.open-session";
7096
7104
  "sessions.create": "sessions.create";
7105
+ "models.complete": "models.complete";
7097
7106
  "artifacts.read": "artifacts.read";
7098
7107
  "artifacts.preview": "artifacts.preview";
7099
7108
  "markdown.document-view": "markdown.document-view";
@@ -7367,6 +7376,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7367
7376
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7368
7377
  "navigation.open-session": "navigation.open-session";
7369
7378
  "sessions.create": "sessions.create";
7379
+ "models.complete": "models.complete";
7370
7380
  "artifacts.read": "artifacts.read";
7371
7381
  "artifacts.preview": "artifacts.preview";
7372
7382
  "markdown.document-view": "markdown.document-view";
@@ -7402,6 +7412,7 @@ export declare const KayUiTargetManifest: z.ZodObject<{
7402
7412
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7403
7413
  "navigation.open-session": "navigation.open-session";
7404
7414
  "sessions.create": "sessions.create";
7415
+ "models.complete": "models.complete";
7405
7416
  "artifacts.read": "artifacts.read";
7406
7417
  "artifacts.preview": "artifacts.preview";
7407
7418
  "markdown.document-view": "markdown.document-view";
@@ -12004,6 +12015,7 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
12004
12015
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
12005
12016
  "navigation.open-session": "navigation.open-session";
12006
12017
  "sessions.create": "sessions.create";
12018
+ "models.complete": "models.complete";
12007
12019
  "artifacts.read": "artifacts.read";
12008
12020
  "artifacts.preview": "artifacts.preview";
12009
12021
  "markdown.document-view": "markdown.document-view";
@@ -13416,6 +13428,7 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
13416
13428
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
13417
13429
  "navigation.open-session": "navigation.open-session";
13418
13430
  "sessions.create": "sessions.create";
13431
+ "models.complete": "models.complete";
13419
13432
  "artifacts.read": "artifacts.read";
13420
13433
  "artifacts.preview": "artifacts.preview";
13421
13434
  "markdown.document-view": "markdown.document-view";
@@ -15094,6 +15107,7 @@ export declare const UiAppCapabilities: z.ZodObject<{
15094
15107
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15095
15108
  "navigation.open-session": "navigation.open-session";
15096
15109
  "sessions.create": "sessions.create";
15110
+ "models.complete": "models.complete";
15097
15111
  "artifacts.read": "artifacts.read";
15098
15112
  "artifacts.preview": "artifacts.preview";
15099
15113
  "markdown.document-view": "markdown.document-view";
@@ -15132,6 +15146,7 @@ export declare const UiAppContribution: z.ZodObject<{
15132
15146
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15133
15147
  "navigation.open-session": "navigation.open-session";
15134
15148
  "sessions.create": "sessions.create";
15149
+ "models.complete": "models.complete";
15135
15150
  "artifacts.read": "artifacts.read";
15136
15151
  "artifacts.preview": "artifacts.preview";
15137
15152
  "markdown.document-view": "markdown.document-view";
@@ -15167,6 +15182,7 @@ export declare const UiAppContribution: z.ZodObject<{
15167
15182
  host: z.ZodOptional<z.ZodArray<z.ZodEnum<{
15168
15183
  "navigation.open-session": "navigation.open-session";
15169
15184
  "sessions.create": "sessions.create";
15185
+ "models.complete": "models.complete";
15170
15186
  "artifacts.read": "artifacts.read";
15171
15187
  "artifacts.preview": "artifacts.preview";
15172
15188
  "markdown.document-view": "markdown.document-view";
package/dist/index.js CHANGED
@@ -260,8 +260,9 @@ var JsonSchema = z4.record(z4.string(), JsonValue);
260
260
  var KAY_PLUGIN_MANIFEST_SIZE_CAP_BYTES = 1024 * 1024;
261
261
  var KAY_PLUGIN_PROTOCOL_VERSION = "kay.plugin.v1";
262
262
  var KAY_PLUGIN_PROTOCOL_PACKAGE_NAME = "@bonsai/plugin-protocol";
263
- var KAY_PLUGIN_SDK_VERSION = "0.47.0";
263
+ var KAY_PLUGIN_SDK_VERSION = "0.48.0";
264
264
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
265
+ "0.47.0",
265
266
  "0.42.0",
266
267
  "0.42.1",
267
268
  "0.43.0",
@@ -4164,6 +4165,7 @@ function createContributionsSchemas(canonical) {
4164
4165
  // Lets `navigation.openChat` create a blank chat (no message, no model
4165
4166
  // turn) when no session id is given. It never sends anything.
4166
4167
  "sessions.create",
4168
+ "models.complete",
4167
4169
  "artifacts.read",
4168
4170
  "artifacts.preview",
4169
4171
  // Draws Bonsai's markdown document view in the app's page (`BonsaiMarkdownDocumentView`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-protocol",
3
- "version": "0.47.0",
3
+ "version": "0.48.0",
4
4
  "description": "The Kay plugin manifest schema (`kay.plugin.v1`) — parse and validate a kay-plugin.json.",
5
5
  "author": "YakLabs",
6
6
  "type": "module",