mirror of
https://github.com/hanzoai/extension.git
synced 2026-11-02 23:32:11 +00:00
Mirror @hanzo/office-addin for the Google ecosystem. Apps Script + CardService add-on calling api.hanzo.ai/v1 via UrlFetchApp (non-streaming, one call per insert). Per-user hk- API key in PropertiesService. - appsscript.json: per-host homepage triggers + Gmail contextual/compose triggers, currentonly + gmail.addons scopes, urlFetchWhitelist pinned to https://api.hanzo.ai/. - hanzo.gs: API client (pure buildMessages/requestBody/extractContent/ parseModels + UrlFetchApp ask/listModels). - ui.gs: CardService sidebar (model picker, quick-action chips, settings/ onboarding, universal actions) + all trigger/action handlers. - docs/sheets/slides/gmail.gs: per-host read + insert glue. - vitest over the pure logic (loads .gs in a Node sandbox, no duplication); validate-manifest.mjs preflights scopes + every runFunction resolves. - Register packages/gworkspace in pnpm-workspace.yaml.
5 lines
106 B
Plaintext
5 lines
106 B
Plaintext
# clasp pushes rootDir (src/) — everything outside it is dev-only tooling.
|
|
**/**
|
|
!appsscript.json
|
|
!*.gs
|