@yaklabs-ai/plugin-protocol 0.55.5 → 0.55.6
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 +1 -1
- package/THIRD-PARTY-INVENTORY.json +1 -1
- package/dist/index.d.ts +61 -2
- package/dist/index.js +418 -375
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4977,8 +4977,13 @@ export declare const KAY_PLUGIN_PROTOCOL_VERSION: "kay.plugin.v1";
|
|
|
4977
4977
|
* and each write names the newest entry it was computed from, so a write from a stale base is
|
|
4978
4978
|
* answered with the newest one instead of landing (compaction plan, phase 2). Additive; plugins
|
|
4979
4979
|
* calling them declare ^0.55.5.
|
|
4980
|
+
*
|
|
4981
|
+
* 0.55.6 adds the `contributes.resetText { entry }` manifest field under the new private
|
|
4982
|
+
* `compaction.reset-text` claim, and the `ResetTextEntry` shape the declared state entry holds: the
|
|
4983
|
+
* working state a reset may use in place of the summary (compaction plan, phase 2). Additive; a
|
|
4984
|
+
* plugin declaring it declares ^0.55.6.
|
|
4980
4985
|
*/
|
|
4981
|
-
export declare const KAY_PLUGIN_SDK_VERSION: "0.55.
|
|
4986
|
+
export declare const KAY_PLUGIN_SDK_VERSION: "0.55.6";
|
|
4982
4987
|
|
|
4983
4988
|
export declare const KAY_PLUGIN_TARGET_NAMES: readonly ["kay.agent", "kay.app", "kay.ui"];
|
|
4984
4989
|
|
|
@@ -5825,6 +5830,9 @@ export declare const KayAppTargetManifest: z.ZodObject<{
|
|
|
5825
5830
|
displayName: z.ZodOptional<z.ZodString>;
|
|
5826
5831
|
description: z.ZodOptional<z.ZodString>;
|
|
5827
5832
|
}, z.core.$strict>>>;
|
|
5833
|
+
resetText: z.ZodOptional<z.ZodObject<{
|
|
5834
|
+
entry: z.ZodString;
|
|
5835
|
+
}, z.core.$strict>>;
|
|
5828
5836
|
mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5829
5837
|
url: z.ZodString;
|
|
5830
5838
|
auth: z.ZodOptional<z.ZodEnum<{
|
|
@@ -6794,6 +6802,9 @@ export declare const KayPluginManifestV1: z.ZodObject<{
|
|
|
6794
6802
|
displayName: z.ZodOptional<z.ZodString>;
|
|
6795
6803
|
description: z.ZodOptional<z.ZodString>;
|
|
6796
6804
|
}, z.core.$strict>>>;
|
|
6805
|
+
resetText: z.ZodOptional<z.ZodObject<{
|
|
6806
|
+
entry: z.ZodString;
|
|
6807
|
+
}, z.core.$strict>>;
|
|
6797
6808
|
mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6798
6809
|
url: z.ZodString;
|
|
6799
6810
|
auth: z.ZodOptional<z.ZodEnum<{
|
|
@@ -8800,7 +8811,7 @@ export declare function parseSemver(value: string): ParsedSemver | undefined;
|
|
|
8800
8811
|
export declare function parseWhere(source: string, keyTypes?: WhereKeyTypes): WhereParseResult;
|
|
8801
8812
|
|
|
8802
8813
|
/** Every capability slug {@link PluginCapabilityClaimV1} can express, for exhaustive table checks. */
|
|
8803
|
-
export declare const PLUGIN_CAPABILITY_SLUGS: readonly ["sessions.run", "network.connect", "web-session.request", "web-session.download", "process.spawn", "sessions.read", "signals.read", "uri.call", "endpoints.invoke", "skills.read", "skills.write", "skills.share", "plugins.set-enabled", "plugins.read", "sessions.assign-project", "artifacts.resolve-file", "process.run", "sessions.annotate", "sessions.compact", "sessions.state", "soul.write", "tools.describe", "workspace.command", "sessions.create", "sessions.update", "models.complete", "systemOne.use", "automations.write", "automations.run", "workflows.define", "workflows.signals", "session-events.subscribe", "agents.run", "dynamic-context.register", "app-data.register", "app-data.read", "knowledge-source.register", "artifacts.read", "session-artifacts.read", "session-artifacts.create", "account.assert", "account.update", "agents.permissions", "tool-interception.register", "interaction.surface", "config.declare-section", "auth.own-service", "auth.shared-identity", "cli.bind", "mcp.host-server", "prompt.resident", "skills.declared-source", "family-folder.root", "whiteboard.discover", "whiteboard.read", "whiteboard.create", "whiteboard.update", "whiteboard.remove", "model-selection.register", "system-prompt.register"];
|
|
8814
|
+
export declare const PLUGIN_CAPABILITY_SLUGS: readonly ["sessions.run", "network.connect", "web-session.request", "web-session.download", "process.spawn", "sessions.read", "signals.read", "uri.call", "endpoints.invoke", "skills.read", "skills.write", "skills.share", "plugins.set-enabled", "plugins.read", "sessions.assign-project", "artifacts.resolve-file", "process.run", "sessions.annotate", "sessions.compact", "sessions.state", "compaction.reset-text", "soul.write", "tools.describe", "workspace.command", "sessions.create", "sessions.update", "models.complete", "systemOne.use", "automations.write", "automations.run", "workflows.define", "workflows.signals", "session-events.subscribe", "agents.run", "dynamic-context.register", "app-data.register", "app-data.read", "knowledge-source.register", "artifacts.read", "session-artifacts.read", "session-artifacts.create", "account.assert", "account.update", "agents.permissions", "tool-interception.register", "interaction.surface", "config.declare-section", "auth.own-service", "auth.shared-identity", "cli.bind", "mcp.host-server", "prompt.resident", "skills.declared-source", "family-folder.root", "whiteboard.discover", "whiteboard.read", "whiteboard.create", "whiteboard.update", "whiteboard.remove", "model-selection.register", "system-prompt.register"];
|
|
8804
8815
|
|
|
8805
8816
|
/** Diagnostic messages carry plugin-controlled text (parse errors, module errors); bound it so a
|
|
8806
8817
|
* hostile or accidental multi-megabyte error can never blow up a log line or a render surface. */
|
|
@@ -9561,6 +9572,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
|
|
|
9561
9572
|
target: "kay.app";
|
|
9562
9573
|
slug: "sessions.state";
|
|
9563
9574
|
envelope: Record<string, never>;
|
|
9575
|
+
} | {
|
|
9576
|
+
target: "kay.app";
|
|
9577
|
+
slug: "compaction.reset-text";
|
|
9578
|
+
envelope: Record<string, never>;
|
|
9564
9579
|
} | {
|
|
9565
9580
|
target: "kay.app";
|
|
9566
9581
|
slug: "soul.write";
|
|
@@ -9859,6 +9874,10 @@ export declare const PluginCapabilityClaimInputV1: z.ZodCustom<{
|
|
|
9859
9874
|
target: "kay.app";
|
|
9860
9875
|
slug: "sessions.state";
|
|
9861
9876
|
envelope: Record<string, never>;
|
|
9877
|
+
} | {
|
|
9878
|
+
target: "kay.app";
|
|
9879
|
+
slug: "compaction.reset-text";
|
|
9880
|
+
envelope: Record<string, never>;
|
|
9862
9881
|
} | {
|
|
9863
9882
|
target: "kay.app";
|
|
9864
9883
|
slug: "soul.write";
|
|
@@ -10167,6 +10186,10 @@ export declare const PluginCapabilityClaimV1: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
10167
10186
|
target: z.ZodLiteral<"kay.app">;
|
|
10168
10187
|
slug: z.ZodLiteral<"sessions.state">;
|
|
10169
10188
|
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10190
|
+
target: z.ZodLiteral<"kay.app">;
|
|
10191
|
+
slug: z.ZodLiteral<"compaction.reset-text">;
|
|
10192
|
+
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10170
10193
|
}, z.core.$strict>, z.ZodObject<{
|
|
10171
10194
|
target: z.ZodLiteral<"kay.app">;
|
|
10172
10195
|
slug: z.ZodLiteral<"soul.write">;
|
|
@@ -10521,6 +10544,10 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
10521
10544
|
target: z.ZodLiteral<"kay.app">;
|
|
10522
10545
|
slug: z.ZodLiteral<"sessions.state">;
|
|
10523
10546
|
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10547
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10548
|
+
target: z.ZodLiteral<"kay.app">;
|
|
10549
|
+
slug: z.ZodLiteral<"compaction.reset-text">;
|
|
10550
|
+
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10524
10551
|
}, z.core.$strict>, z.ZodObject<{
|
|
10525
10552
|
target: z.ZodLiteral<"kay.app">;
|
|
10526
10553
|
slug: z.ZodLiteral<"soul.write">;
|
|
@@ -10874,6 +10901,10 @@ export declare const PluginCapabilityDecisionV1: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
10874
10901
|
target: z.ZodLiteral<"kay.app">;
|
|
10875
10902
|
slug: z.ZodLiteral<"sessions.state">;
|
|
10876
10903
|
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10904
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
10905
|
+
target: z.ZodLiteral<"kay.app">;
|
|
10906
|
+
slug: z.ZodLiteral<"compaction.reset-text">;
|
|
10907
|
+
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
10877
10908
|
}, z.core.$strict>, z.ZodObject<{
|
|
10878
10909
|
target: z.ZodLiteral<"kay.app">;
|
|
10879
10910
|
slug: z.ZodLiteral<"soul.write">;
|
|
@@ -11261,6 +11292,10 @@ export declare const PluginCapabilityRefusalV1: z.ZodObject<{
|
|
|
11261
11292
|
target: z.ZodLiteral<"kay.app">;
|
|
11262
11293
|
slug: z.ZodLiteral<"sessions.state">;
|
|
11263
11294
|
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
11295
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11296
|
+
target: z.ZodLiteral<"kay.app">;
|
|
11297
|
+
slug: z.ZodLiteral<"compaction.reset-text">;
|
|
11298
|
+
envelope: z.ZodObject<{}, z.core.$strict>;
|
|
11264
11299
|
}, z.core.$strict>, z.ZodObject<{
|
|
11265
11300
|
target: z.ZodLiteral<"kay.app">;
|
|
11266
11301
|
slug: z.ZodLiteral<"soul.write">;
|
|
@@ -13197,6 +13232,30 @@ export declare const RENAMED_PLUGIN_CAPABILITY_SLUGS: {
|
|
|
13197
13232
|
*/
|
|
13198
13233
|
export declare const RESERVED_DIRECTORY_PLUGIN_ID_PREFIXES: readonly ["herd.", "kay."];
|
|
13199
13234
|
|
|
13235
|
+
/**
|
|
13236
|
+
* The longest text an entry may hold, in characters: herd's 6,000 estimated tokens at its three
|
|
13237
|
+
* characters per token for ASCII. Herd also counts the tokens, so denser text is refused sooner.
|
|
13238
|
+
*/
|
|
13239
|
+
export declare const RESET_TEXT_MAX_CHARS = 18000;
|
|
13240
|
+
|
|
13241
|
+
/** The `contributes.resetText` declaration: which of the plugin's state entries holds it. */
|
|
13242
|
+
export declare const ResetTextContribution: z.ZodObject<{
|
|
13243
|
+
entry: z.ZodString;
|
|
13244
|
+
}, z.core.$strict>;
|
|
13245
|
+
|
|
13246
|
+
export declare type ResetTextContribution = z.infer<typeof ResetTextContribution>;
|
|
13247
|
+
|
|
13248
|
+
export declare const ResetTextEntry: z.ZodObject<{
|
|
13249
|
+
version: z.ZodLiteral<1>;
|
|
13250
|
+
coveredThrough: z.ZodObject<{
|
|
13251
|
+
sessionId: z.ZodString;
|
|
13252
|
+
entryId: z.ZodString;
|
|
13253
|
+
}, z.core.$strict>;
|
|
13254
|
+
text: z.ZodString;
|
|
13255
|
+
}, z.core.$strict>;
|
|
13256
|
+
|
|
13257
|
+
export declare type ResetTextEntry = z.infer<typeof ResetTextEntry>;
|
|
13258
|
+
|
|
13200
13259
|
/**
|
|
13201
13260
|
* Resolves the runtime selection key for a provider-shaped contribution - the
|
|
13202
13261
|
* value an *adapter binding* names to make one implementation live.
|