@framers/agentos-ext-gmail-source 0.0.0-stage → 0.2.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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageText.js","sourceRoot":"","sources":["../src/messageText.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,gBAAgB,EAAiD,MAAM,mBAAmB,CAAC;AASpG,+FAA+F;AAC/F,MAAM,OAAO,GAAG,yFAAyF,CAAC;AAC1G,mFAAmF;AACnF,MAAM,QAAQ,GAAG,2EAA2E,CAAC;AAC7F,kFAAkF;AAClF,MAAM,MAAM,GAAG,mEAAmE,CAAC;AACnF,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;AACzD,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACvD,SAAS,SAAS,CAAC,KAAwB;IACzC,IAAI,KAAK,GAAG,CAAC,CAAC;IAAC,IAAI,GAAG,GAAG,KAAK,CAAC,MAAM,CAAC;IACtC,OAAO,KAAK,GAAG,GAAG,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAE,CAAC;QAAE,KAAK,EAAE,CAAC;IACpD,OAAO,GAAG,GAAG,KAAK,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,CAAE,CAAC;QAAE,GAAG,EAAE,CAAC;IACpD,OAAO,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACjC,CAAC;AACD,+GAA+G;AAC/G,SAAS,iBAAiB,CAAC,KAAwB,EAAE,KAAa;IAChE,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAChC,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC,GAA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AE,CAAC;IACnD,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACpC,OAAO,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,EAAE,YAAY,EAAE,gBAAgB,EAAE,CAAC;AACvH,CAAC"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * @fileoverview The public types of the Gmail grant: Google's read-only scope, the dedicated client, the endpoints, the
3
+ * transport options and the fixed failures a grant operation answers.
4
+ * @module agentos-ext-gmail-source/types
5
+ */
6
+ /** Google's read-only Gmail scope, the only scope the flow asks for or accepts; Google classes it as Restricted. */
7
+ export declare const GMAIL_READONLY_SCOPE = "https://www.googleapis.com/auth/gmail.readonly";
8
+ /** The dedicated web client: its id, its secret and the exact callback addresses registered for it. */
9
+ export interface GmailOAuthClient {
10
+ /** The client id. */
11
+ readonly clientId: string;
12
+ /** The client secret, loaded through the host's secret mechanism. */
13
+ readonly clientSecret: string;
14
+ /** The registered callback addresses, from trusted server configuration, with no query, fragment or userinfo. */
15
+ readonly redirectUris: readonly string[];
16
+ }
17
+ /** Google's authorization, token and revocation addresses. */
18
+ export interface GmailOAuthEndpoints {
19
+ /** The authorization address the person is sent to. */
20
+ readonly authorization: string;
21
+ /** The token address the code is exchanged and the grant refreshed at. */
22
+ readonly token: string;
23
+ /** The revocation address. */
24
+ readonly revoke: string;
25
+ }
26
+ /** How the flow reaches Google: the fetch, the caller's cancellation and, on CI only, stand-in endpoints. */
27
+ export interface GmailOAuthOptions {
28
+ /** The fetch the token and revocation endpoints are called with; the global fetch by default. */
29
+ readonly fetchImpl?: typeof fetch;
30
+ /**
31
+ * The caller's cancellation: once aborted, a pending call or body read stops as `cancelled` and no other call starts,
32
+ * except the revocation of a grant the flow has already received, which runs under a 15-second deadline of its own.
33
+ */
34
+ readonly signal?: AbortSignal;
35
+ /** Reserved for loopback or .invalid stand-ins on CI. Never take this from a request. */
36
+ readonly endpoints?: GmailOAuthEndpoints;
37
+ }
38
+ /** Why a grant operation failed, as a fixed word: never the provider's text, a code or a credential. */
39
+ export type GmailOAuthFailure = 'configuration' | 'cancelled' | 'timeout' | 'network' | 'response_too_large' | 'invalid_response' | 'scope' | 'refresh_token';
40
+ /**
41
+ * What became at Google of an exchanged grant the flow does not hand back, because its checks refused the grant or the
42
+ * caller cancelled before `complete` returned: `not_attempted` when the flow held no grant to revoke, `confirmed` when
43
+ * the revocation endpoint answered a success, `unconfirmed` when it did not, which calls for permission-removal
44
+ * instructions.
45
+ */
46
+ export type GmailGrantCleanup = 'not_attempted' | 'confirmed' | 'unconfirmed';
47
+ /** A grant operation's fixed failure; its message is `gmail_oauth_<reason>`. */
48
+ export declare class GmailOAuthFault extends Error {
49
+ readonly reason: GmailOAuthFailure;
50
+ readonly cleanup: GmailGrantCleanup;
51
+ /**
52
+ * @param reason Why the operation failed.
53
+ * @param cleanup What became at Google of an exchanged grant the flow does not hand back.
54
+ */
55
+ constructor(reason: GmailOAuthFailure, cleanup?: GmailGrantCleanup);
56
+ }
57
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oHAAoH;AACpH,eAAO,MAAM,oBAAoB,mDAAmD,CAAC;AACrF,uGAAuG;AACvG,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,iHAAiH;IACjH,QAAQ,CAAC,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C;AACD,8DAA8D;AAC9D,MAAM,WAAW,mBAAmB;IAClC,uDAAuD;IACvD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,0EAA0E;IAC1E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,8BAA8B;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AACD,6GAA6G;AAC7G,MAAM,WAAW,iBAAiB;IAChC,iGAAiG;IACjG,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;IAC9B,yFAAyF;IACzF,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AACD,wGAAwG;AACxG,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GACjF,oBAAoB,GAAG,kBAAkB,GAAG,OAAO,GAAG,eAAe,CAAC;AAC1E;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,eAAe,GAAG,WAAW,GAAG,aAAa,CAAC;AAC9E,gFAAgF;AAChF,qBAAa,eAAgB,SAAQ,KAAK;IAK5B,QAAQ,CAAC,MAAM,EAAE,iBAAiB;IAAE,QAAQ,CAAC,OAAO,EAAE,iBAAiB;IAJnF;;;OAGG;gBACkB,MAAM,EAAE,iBAAiB,EAAW,OAAO,GAAE,iBAAmC;CAGtG"}
package/dist/types.js ADDED
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @fileoverview The public types of the Gmail grant: Google's read-only scope, the dedicated client, the endpoints, the
3
+ * transport options and the fixed failures a grant operation answers.
4
+ * @module agentos-ext-gmail-source/types
5
+ */
6
+ /** Google's read-only Gmail scope, the only scope the flow asks for or accepts; Google classes it as Restricted. */
7
+ export const GMAIL_READONLY_SCOPE = 'https://www.googleapis.com/auth/gmail.readonly';
8
+ /** A grant operation's fixed failure; its message is `gmail_oauth_<reason>`. */
9
+ export class GmailOAuthFault extends Error {
10
+ reason;
11
+ cleanup;
12
+ /**
13
+ * @param reason Why the operation failed.
14
+ * @param cleanup What became at Google of an exchanged grant the flow does not hand back.
15
+ */
16
+ constructor(reason, cleanup = 'not_attempted') {
17
+ super(`gmail_oauth_${reason}`);
18
+ this.reason = reason;
19
+ this.cleanup = cleanup;
20
+ this.name = 'GmailOAuthFault';
21
+ }
22
+ }
23
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,oHAAoH;AACpH,MAAM,CAAC,MAAM,oBAAoB,GAAG,gDAAgD,CAAC;AAyCrF,gFAAgF;AAChF,MAAM,OAAO,eAAgB,SAAQ,KAAK;IAKnB;IAAoC;IAJzD;;;OAGG;IACH,YAAqB,MAAyB,EAAW,UAA6B,eAAe;QACnG,KAAK,CAAC,eAAe,MAAM,EAAE,CAAC,CAAC;QADZ,WAAM,GAAN,MAAM,CAAmB;QAAW,YAAO,GAAP,OAAO,CAAqC;QACnE,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;IAChE,CAAC;CACF"}
package/manifest.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "$schema": "https://agentos.sh/schemas/extension-manifest-v1.json",
3
+ "id": "com.framers.productivity.gmail-source",
4
+ "name": "Gmail Source",
5
+ "version": "0.2.0",
6
+ "description": "Read-only OAuth and bounded personal Gmail source helpers",
7
+ "author": {
8
+ "name": "Frame",
9
+ "email": "team@frame.dev",
10
+ "url": "https://frame.dev"
11
+ },
12
+ "license": "Apache-2.0",
13
+ "keywords": ["gmail", "sources", "oauth"],
14
+ "agentosVersion": ">=0.13.134",
15
+ "categories": ["productivity"],
16
+ "repository": { "type": "git", "url": "https://github.com/framerslab/agentos-extensions" },
17
+ "extensions": [{
18
+ "kind": "library", "id": "gmailSource", "displayName": "Gmail source",
19
+ "description": "Read-only authorization for a personal Gmail source", "entry": "./dist/index.js"
20
+ }]
21
+ }
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "@framers/agentos-ext-gmail-source",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "Read-only OAuth and bounded personal Gmail source helpers",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js"
13
+ },
14
+ "./manifest.json": "./manifest.json",
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "manifest.json",
20
+ "README.md"
21
+ ],
22
+ "keywords": [
23
+ "agentos",
24
+ "gmail",
25
+ "sources",
26
+ "oauth"
27
+ ],
28
+ "author": {
29
+ "name": "Frame",
30
+ "email": "team@frame.dev",
31
+ "url": "https://frame.dev"
32
+ },
33
+ "license": "Apache-2.0",
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/framerslab/agentos-extensions.git",
37
+ "directory": "registry/curated/productivity/gmail-source"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "engines": {
43
+ "node": ">=20.19.0"
44
+ },
45
+ "peerDependencies": {
46
+ "@framers/agentos": ">=0.13.134",
47
+ "@framers/agentos-ext-account-sources": ">=0.7.0"
48
+ },
49
+ "devDependencies": {
50
+ "@types/node": "22.20.1",
51
+ "@vitest/coverage-v8": "^3.2.7",
52
+ "typescript": "5.4.5",
53
+ "vitest": "^3.2.7",
54
+ "@framers/agentos": "^0.13.134",
55
+ "@framers/agentos-ext-account-sources": "^0.7.0"
56
+ },
57
+ "scripts": {
58
+ "build": "tsc",
59
+ "test": "vitest run",
60
+ "test:coverage": "vitest run --coverage",
61
+ "typecheck": "tsc --noEmit"
62
+ }
6
63
  }