@yaklabs-ai/plugin-protocol 0.55.12 → 0.55.13

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.55.12"
14
+ "@bonsai/plugin-protocol": "npm:@yaklabs-ai/plugin-protocol@^0.55.13"
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.55.12",
4
+ "version": "0.55.13",
5
5
  "target": "npm",
6
6
  "firstPartyLicense": "MIT",
7
7
  "bundled": [
package/dist/index.d.ts CHANGED
@@ -3381,12 +3381,14 @@ declare const canonicalContributionSchemas: {
3381
3381
  "report-evidence.read": "report-evidence.read";
3382
3382
  "navigation.open-page": "navigation.open-page";
3383
3383
  "sessions.create": "sessions.create";
3384
+ "composer.append-draft": "composer.append-draft";
3384
3385
  "models.complete": "models.complete";
3385
3386
  "artifacts.read": "artifacts.read";
3386
3387
  "artifacts.preview": "artifacts.preview";
3387
3388
  "markdown.document-view": "markdown.document-view";
3388
3389
  "references.open": "references.open";
3389
3390
  "files.choose-folder": "files.choose-folder";
3391
+ "auth.connect": "auth.connect";
3390
3392
  "billing.read": "billing.read";
3391
3393
  "account.read": "account.read";
3392
3394
  "plugins.read": "plugins.read";
@@ -3420,12 +3422,14 @@ declare const canonicalContributionSchemas: {
3420
3422
  "report-evidence.read": "report-evidence.read";
3421
3423
  "navigation.open-page": "navigation.open-page";
3422
3424
  "sessions.create": "sessions.create";
3425
+ "composer.append-draft": "composer.append-draft";
3423
3426
  "models.complete": "models.complete";
3424
3427
  "artifacts.read": "artifacts.read";
3425
3428
  "artifacts.preview": "artifacts.preview";
3426
3429
  "markdown.document-view": "markdown.document-view";
3427
3430
  "references.open": "references.open";
3428
3431
  "files.choose-folder": "files.choose-folder";
3432
+ "auth.connect": "auth.connect";
3429
3433
  "billing.read": "billing.read";
3430
3434
  "account.read": "account.read";
3431
3435
  "plugins.read": "plugins.read";
@@ -3534,12 +3538,14 @@ declare const canonicalContributionSchemas: {
3534
3538
  "report-evidence.read": "report-evidence.read";
3535
3539
  "navigation.open-page": "navigation.open-page";
3536
3540
  "sessions.create": "sessions.create";
3541
+ "composer.append-draft": "composer.append-draft";
3537
3542
  "models.complete": "models.complete";
3538
3543
  "artifacts.read": "artifacts.read";
3539
3544
  "artifacts.preview": "artifacts.preview";
3540
3545
  "markdown.document-view": "markdown.document-view";
3541
3546
  "references.open": "references.open";
3542
3547
  "files.choose-folder": "files.choose-folder";
3548
+ "auth.connect": "auth.connect";
3543
3549
  "billing.read": "billing.read";
3544
3550
  "account.read": "account.read";
3545
3551
  "plugins.read": "plugins.read";
@@ -3590,12 +3596,14 @@ declare const canonicalContributionSchemas: {
3590
3596
  "report-evidence.read": "report-evidence.read";
3591
3597
  "navigation.open-page": "navigation.open-page";
3592
3598
  "sessions.create": "sessions.create";
3599
+ "composer.append-draft": "composer.append-draft";
3593
3600
  "models.complete": "models.complete";
3594
3601
  "artifacts.read": "artifacts.read";
3595
3602
  "artifacts.preview": "artifacts.preview";
3596
3603
  "markdown.document-view": "markdown.document-view";
3597
3604
  "references.open": "references.open";
3598
3605
  "files.choose-folder": "files.choose-folder";
3606
+ "auth.connect": "auth.connect";
3599
3607
  "billing.read": "billing.read";
3600
3608
  "account.read": "account.read";
3601
3609
  "plugins.read": "plugins.read";
@@ -5136,8 +5144,13 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
5136
5144
  * opening the same transcript), fails that host's parse and its reset writes the summary, as for
5137
5145
  * any entry it cannot use. A plugin writing such a text, or reading the token cap, declares
5138
5146
  * ^0.55.12; no other plugin's range changes.
5147
+ *
5148
+ * 0.55.13 adds the `composer.append-draft` host capability for a `kay.ui` app (compaction plan, 11
5149
+ * Nov): a page adds text at the end of the composer of the chat its pane is bound to, and nothing is
5150
+ * sent. Additive; a plugin declaring it declares ^0.55.13, since an older
5151
+ * host refuses a manifest naming a capability it does not know.
5139
5152
  */
5140
- export declare const KAY_PLUGIN_SDK_VERSION: "0.55.12";
5153
+ export declare const KAY_PLUGIN_SDK_VERSION: "0.55.13";
5141
5154
 
5142
5155
  export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
5143
5156
 
@@ -7165,12 +7178,14 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7165
7178
  "report-evidence.read": "report-evidence.read";
7166
7179
  "navigation.open-page": "navigation.open-page";
7167
7180
  "sessions.create": "sessions.create";
7181
+ "composer.append-draft": "composer.append-draft";
7168
7182
  "models.complete": "models.complete";
7169
7183
  "artifacts.read": "artifacts.read";
7170
7184
  "artifacts.preview": "artifacts.preview";
7171
7185
  "markdown.document-view": "markdown.document-view";
7172
7186
  "references.open": "references.open";
7173
7187
  "files.choose-folder": "files.choose-folder";
7188
+ "auth.connect": "auth.connect";
7174
7189
  "billing.read": "billing.read";
7175
7190
  "account.read": "account.read";
7176
7191
  "plugins.read": "plugins.read";
@@ -7221,12 +7236,14 @@ export declare const KayPluginManifestV1: z.ZodObject<{
7221
7236
  "report-evidence.read": "report-evidence.read";
7222
7237
  "navigation.open-page": "navigation.open-page";
7223
7238
  "sessions.create": "sessions.create";
7239
+ "composer.append-draft": "composer.append-draft";
7224
7240
  "models.complete": "models.complete";
7225
7241
  "artifacts.read": "artifacts.read";
7226
7242
  "artifacts.preview": "artifacts.preview";
7227
7243
  "markdown.document-view": "markdown.document-view";
7228
7244
  "references.open": "references.open";
7229
7245
  "files.choose-folder": "files.choose-folder";
7246
+ "auth.connect": "auth.connect";
7230
7247
  "billing.read": "billing.read";
7231
7248
  "account.read": "account.read";
7232
7249
  "plugins.read": "plugins.read";
@@ -8255,12 +8272,14 @@ export declare const KayUiAppHostCapability: z.ZodEnum<{
8255
8272
  "report-evidence.read": "report-evidence.read";
8256
8273
  "navigation.open-page": "navigation.open-page";
8257
8274
  "sessions.create": "sessions.create";
8275
+ "composer.append-draft": "composer.append-draft";
8258
8276
  "models.complete": "models.complete";
8259
8277
  "artifacts.read": "artifacts.read";
8260
8278
  "artifacts.preview": "artifacts.preview";
8261
8279
  "markdown.document-view": "markdown.document-view";
8262
8280
  "references.open": "references.open";
8263
8281
  "files.choose-folder": "files.choose-folder";
8282
+ "auth.connect": "auth.connect";
8264
8283
  "billing.read": "billing.read";
8265
8284
  "account.read": "account.read";
8266
8285
  "plugins.read": "plugins.read";
@@ -8550,12 +8569,14 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8550
8569
  "report-evidence.read": "report-evidence.read";
8551
8570
  "navigation.open-page": "navigation.open-page";
8552
8571
  "sessions.create": "sessions.create";
8572
+ "composer.append-draft": "composer.append-draft";
8553
8573
  "models.complete": "models.complete";
8554
8574
  "artifacts.read": "artifacts.read";
8555
8575
  "artifacts.preview": "artifacts.preview";
8556
8576
  "markdown.document-view": "markdown.document-view";
8557
8577
  "references.open": "references.open";
8558
8578
  "files.choose-folder": "files.choose-folder";
8579
+ "auth.connect": "auth.connect";
8559
8580
  "billing.read": "billing.read";
8560
8581
  "account.read": "account.read";
8561
8582
  "plugins.read": "plugins.read";
@@ -8606,12 +8627,14 @@ export declare const KayUiTargetManifest: z.ZodObject<{
8606
8627
  "report-evidence.read": "report-evidence.read";
8607
8628
  "navigation.open-page": "navigation.open-page";
8608
8629
  "sessions.create": "sessions.create";
8630
+ "composer.append-draft": "composer.append-draft";
8609
8631
  "models.complete": "models.complete";
8610
8632
  "artifacts.read": "artifacts.read";
8611
8633
  "artifacts.preview": "artifacts.preview";
8612
8634
  "markdown.document-view": "markdown.document-view";
8613
8635
  "references.open": "references.open";
8614
8636
  "files.choose-folder": "files.choose-folder";
8637
+ "auth.connect": "auth.connect";
8615
8638
  "billing.read": "billing.read";
8616
8639
  "account.read": "account.read";
8617
8640
  "plugins.read": "plugins.read";
@@ -14178,12 +14201,14 @@ export declare const ResolvedKayUiApp: z.ZodObject<{
14178
14201
  "report-evidence.read": "report-evidence.read";
14179
14202
  "navigation.open-page": "navigation.open-page";
14180
14203
  "sessions.create": "sessions.create";
14204
+ "composer.append-draft": "composer.append-draft";
14181
14205
  "models.complete": "models.complete";
14182
14206
  "artifacts.read": "artifacts.read";
14183
14207
  "artifacts.preview": "artifacts.preview";
14184
14208
  "markdown.document-view": "markdown.document-view";
14185
14209
  "references.open": "references.open";
14186
14210
  "files.choose-folder": "files.choose-folder";
14211
+ "auth.connect": "auth.connect";
14187
14212
  "billing.read": "billing.read";
14188
14213
  "account.read": "account.read";
14189
14214
  "plugins.read": "plugins.read";
@@ -16103,12 +16128,14 @@ export declare const ResolvedPluginContractV1: z.ZodObject<{
16103
16128
  "report-evidence.read": "report-evidence.read";
16104
16129
  "navigation.open-page": "navigation.open-page";
16105
16130
  "sessions.create": "sessions.create";
16131
+ "composer.append-draft": "composer.append-draft";
16106
16132
  "models.complete": "models.complete";
16107
16133
  "artifacts.read": "artifacts.read";
16108
16134
  "artifacts.preview": "artifacts.preview";
16109
16135
  "markdown.document-view": "markdown.document-view";
16110
16136
  "references.open": "references.open";
16111
16137
  "files.choose-folder": "files.choose-folder";
16138
+ "auth.connect": "auth.connect";
16112
16139
  "billing.read": "billing.read";
16113
16140
  "account.read": "account.read";
16114
16141
  "plugins.read": "plugins.read";
@@ -18010,12 +18037,14 @@ export declare const UiAppCapabilities: z.ZodObject<{
18010
18037
  "report-evidence.read": "report-evidence.read";
18011
18038
  "navigation.open-page": "navigation.open-page";
18012
18039
  "sessions.create": "sessions.create";
18040
+ "composer.append-draft": "composer.append-draft";
18013
18041
  "models.complete": "models.complete";
18014
18042
  "artifacts.read": "artifacts.read";
18015
18043
  "artifacts.preview": "artifacts.preview";
18016
18044
  "markdown.document-view": "markdown.document-view";
18017
18045
  "references.open": "references.open";
18018
18046
  "files.choose-folder": "files.choose-folder";
18047
+ "auth.connect": "auth.connect";
18019
18048
  "billing.read": "billing.read";
18020
18049
  "account.read": "account.read";
18021
18050
  "plugins.read": "plugins.read";
@@ -18076,12 +18105,14 @@ export declare const UiAppContribution: z.ZodObject<{
18076
18105
  "report-evidence.read": "report-evidence.read";
18077
18106
  "navigation.open-page": "navigation.open-page";
18078
18107
  "sessions.create": "sessions.create";
18108
+ "composer.append-draft": "composer.append-draft";
18079
18109
  "models.complete": "models.complete";
18080
18110
  "artifacts.read": "artifacts.read";
18081
18111
  "artifacts.preview": "artifacts.preview";
18082
18112
  "markdown.document-view": "markdown.document-view";
18083
18113
  "references.open": "references.open";
18084
18114
  "files.choose-folder": "files.choose-folder";
18115
+ "auth.connect": "auth.connect";
18085
18116
  "billing.read": "billing.read";
18086
18117
  "account.read": "account.read";
18087
18118
  "plugins.read": "plugins.read";
@@ -18132,12 +18163,14 @@ export declare const UiAppContribution: z.ZodObject<{
18132
18163
  "report-evidence.read": "report-evidence.read";
18133
18164
  "navigation.open-page": "navigation.open-page";
18134
18165
  "sessions.create": "sessions.create";
18166
+ "composer.append-draft": "composer.append-draft";
18135
18167
  "models.complete": "models.complete";
18136
18168
  "artifacts.read": "artifacts.read";
18137
18169
  "artifacts.preview": "artifacts.preview";
18138
18170
  "markdown.document-view": "markdown.document-view";
18139
18171
  "references.open": "references.open";
18140
18172
  "files.choose-folder": "files.choose-folder";
18173
+ "auth.connect": "auth.connect";
18141
18174
  "billing.read": "billing.read";
18142
18175
  "account.read": "account.read";
18143
18176
  "plugins.read": "plugins.read";
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.55.12";
263
+ var KAY_PLUGIN_SDK_VERSION = "0.55.13";
264
264
  var KAY_PLUGIN_COMPATIBLE_SDK_VERSIONS = [
265
+ "0.55.12",
265
266
  "0.55.11",
266
267
  "0.55.10",
267
268
  "0.55.9",
@@ -4588,6 +4589,11 @@ function createContributionsSchemas(canonical) {
4588
4589
  // Lets `navigation.openChat` create a blank chat (no message, no model
4589
4590
  // turn) when no session id is given. It never sends anything.
4590
4591
  "sessions.create",
4592
+ // Adds text at the end of the composer of the chat the page's pane is bound to
4593
+ // (`useBonsaiComposerDraft`); a page should call it only on the person's own action. The host
4594
+ // picks the chat, keeps what the person typed and never sends: the person edits and sends it,
4595
+ // or not.
4596
+ "composer.append-draft",
4591
4597
  "models.complete",
4592
4598
  "artifacts.read",
4593
4599
  "artifacts.preview",
@@ -4600,6 +4606,9 @@ function createContributionsSchemas(canonical) {
4600
4606
  // Opens the system folder picker when the person acts (`useBonsaiFolderPicker`) and answers
4601
4607
  // the one folder they chose, or nothing when they cancel. It lists and reads nothing.
4602
4608
  "files.choose-folder",
4609
+ // Starts one service's sign-in through the host's connect flow when the person acts
4610
+ // (`useBonsaiConnectService`) and answers how it ended. It reads no account or credential.
4611
+ "auth.connect",
4603
4612
  // Server-rated organization billing, distinct from local/provider cost.
4604
4613
  "billing.read",
4605
4614
  "account.read",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaklabs-ai/plugin-protocol",
3
- "version": "0.55.12",
3
+ "version": "0.55.13",
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",