@frockbot/applet-sdk 0.7.181 → 0.7.182
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/package.json +1 -1
- package/plugin/index.d.ts +1 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frockbot/applet-sdk",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.182",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Authoring SDK for FrockBot Plugins: the declarations a Plugin is written against, and the build pipeline the cloud build service runs.",
|
package/plugin/index.d.ts
CHANGED
|
@@ -282,24 +282,21 @@ export interface PluginModelProvider {
|
|
|
282
282
|
/** Every model provider the module serves, by provider id. */
|
|
283
283
|
export type PluginModelProviders = Record<string, PluginModelProvider>;
|
|
284
284
|
|
|
285
|
-
export type MemoryScope = "bot" | "user"
|
|
285
|
+
export type MemoryScope = "bot" | "user";
|
|
286
286
|
export type MemoryTier = "profile" | "log" | "note";
|
|
287
287
|
|
|
288
288
|
/** The `memory` grant. */
|
|
289
289
|
export interface PluginMemory {
|
|
290
290
|
read(request: {
|
|
291
291
|
scope: MemoryScope;
|
|
292
|
-
projectId?: string;
|
|
293
292
|
}): Promise<{ status: "available"; value: unknown } | CapabilityFailure>;
|
|
294
293
|
write(request: {
|
|
295
294
|
scope: MemoryScope;
|
|
296
|
-
projectId?: string;
|
|
297
295
|
tier?: MemoryTier;
|
|
298
296
|
fact: string;
|
|
299
297
|
}): Promise<{ status: "available"; value: unknown } | CapabilityFailure>;
|
|
300
298
|
forget(request: {
|
|
301
299
|
scope: MemoryScope;
|
|
302
|
-
projectId?: string;
|
|
303
300
|
tier?: MemoryTier;
|
|
304
301
|
fact: string;
|
|
305
302
|
}): Promise<{ status: "available"; value: unknown } | CapabilityFailure>;
|
|
@@ -521,7 +518,6 @@ export type AttachmentRoot =
|
|
|
521
518
|
| { kind: "user-instructions"; userId: string }
|
|
522
519
|
| { kind: "bot-memory"; userId: string; botId: string }
|
|
523
520
|
| { kind: "user-memory"; userId: string }
|
|
524
|
-
| { kind: "project-memory"; userId: string; projectId: string }
|
|
525
521
|
| {
|
|
526
522
|
kind: "package-declared";
|
|
527
523
|
userId: string;
|