@vess-id/ai-identity 0.7.0 → 0.8.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/dist/index.js +35 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +35 -5
- package/dist/index.mjs.map +1 -1
- package/dist/registry/action-registry-json.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4903,8 +4903,8 @@ var ACTION_REGISTRY = {
|
|
|
4903
4903
|
action: "gmail.message.send",
|
|
4904
4904
|
resource_type: "gmail:thread",
|
|
4905
4905
|
required_relations: ["editor", "act_as"],
|
|
4906
|
-
required_scopes: ["https://www.googleapis.com/auth/gmail.
|
|
4907
|
-
capability: "gmail.
|
|
4906
|
+
required_scopes: ["https://www.googleapis.com/auth/gmail.compose"],
|
|
4907
|
+
capability: "gmail.compose",
|
|
4908
4908
|
input_schema: {
|
|
4909
4909
|
type: "object",
|
|
4910
4910
|
properties: {
|
|
@@ -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.compose"],
|
|
4937
|
+
capability: "gmail.compose",
|
|
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",
|
|
@@ -5522,9 +5552,9 @@ var ACTION_REGISTRY = {
|
|
|
5522
5552
|
version: "1.0.0"
|
|
5523
5553
|
},
|
|
5524
5554
|
{
|
|
5525
|
-
capability: "gmail.
|
|
5526
|
-
description: "Send emails via Gmail",
|
|
5527
|
-
includes: ["gmail.message.send"],
|
|
5555
|
+
capability: "gmail.compose",
|
|
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
|
{
|