mirror of
https://github.com/hanzoai/extension.git
synced 2026-10-31 19:31:07 +00:00
A drive homepage trigger and an onItemsSelectedTrigger put Hanzo beside the files selected in Drive: summarize them, ask about them, or draft a new Google Doc from them. The add-on holds drive.file, granted per file from the card, and drive.addons.metadata.readonly, never the restricted drive or drive.readonly scopes; validate and the tests refuse any broader Drive scope. DriveApp needs the full drive scope, so files are read and Docs created through the Drive REST API.
32 lines
846 B
JSON
32 lines
846 B
JSON
{
|
|
"name": "@hanzo/gworkspace-addon",
|
|
"version": "1.9.31",
|
|
"description": "Hanzo AI for Google Workspace \u2014 a Google Drive, Docs, Sheets, Slides, and Gmail add-on (Apps Script + CardService). AI over your document, wired to the same api.hanzo.ai gateway as the browser extension and the Office add-in.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "vitest run",
|
|
"validate": "node scripts/validate-manifest.mjs",
|
|
"login": "clasp login",
|
|
"push": "clasp push",
|
|
"pull": "clasp pull",
|
|
"deploy": "clasp deploy",
|
|
"open": "clasp open"
|
|
},
|
|
"devDependencies": {
|
|
"@google/clasp": "catalog:",
|
|
"@hanzo/auth": "workspace:*",
|
|
"vitest": "catalog:"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"README.md"
|
|
]
|
|
}
|