@vess-id/ai-identity 0.5.0-alpha.3 → 0.5.0-alpha.5

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.mts CHANGED
@@ -2837,6 +2837,12 @@ declare class VPManager {
2837
2837
  }>;
2838
2838
  }
2839
2839
 
2840
+ /**
2841
+ * NOTE: MemoryManager is currently DORMANT (as of 2026-03-29).
2842
+ * The API memory endpoints exist but are not actively called in production.
2843
+ * The server-side implementation (InMemoryProvider) is volatile and not shared across instances.
2844
+ * Do not rely on this in production until a persistent backend is introduced.
2845
+ */
2840
2846
  interface MemoryDocument {
2841
2847
  id: string;
2842
2848
  namespace: string;
package/dist/index.js CHANGED
@@ -4929,6 +4929,36 @@ var ACTION_REGISTRY = {
4929
4929
  },
4930
4930
  version: "1.0.0"
4931
4931
  },
4932
+ {
4933
+ action: "gmail.draft.create",
4934
+ resource_type: "gmail:thread",
4935
+ required_relations: ["editor", "act_as"],
4936
+ required_scopes: ["https://www.googleapis.com/auth/gmail.send"],
4937
+ capability: "gmail.send",
4938
+ input_schema: {
4939
+ type: "object",
4940
+ properties: {
4941
+ to: { type: "string", minLength: 1 },
4942
+ subject: { type: "string", minLength: 1 },
4943
+ body: { type: "string", minLength: 1 },
4944
+ cc: { type: "string" },
4945
+ bcc: { type: "string" }
4946
+ },
4947
+ required: ["to", "subject", "body"],
4948
+ additionalProperties: false
4949
+ },
4950
+ constraints: { rate_bucket: "gmail.write" },
4951
+ effects: ["Create:Draft"],
4952
+ risk: "high",
4953
+ target_bindings: {
4954
+ resource_id: { source: "param", param: "to", multi: true, separator: "," },
4955
+ secondary: [
4956
+ { name: "cc", source: { source: "param", param: "cc" }, type: "recipient" },
4957
+ { name: "bcc", source: { source: "param", param: "bcc" }, type: "recipient" }
4958
+ ]
4959
+ },
4960
+ version: "1.0.0"
4961
+ },
4932
4962
  {
4933
4963
  action: "gmail.label.read",
4934
4964
  resource_type: "gmail:label",
@@ -5523,8 +5553,8 @@ var ACTION_REGISTRY = {
5523
5553
  },
5524
5554
  {
5525
5555
  capability: "gmail.send",
5526
- description: "Send emails via Gmail",
5527
- includes: ["gmail.message.send"],
5556
+ description: "Send emails and create drafts via Gmail",
5557
+ includes: ["gmail.message.send", "gmail.draft.create"],
5528
5558
  version: "1.0.0"
5529
5559
  },
5530
5560
  {