@open-everywhere/provider-google-chat 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.
@@ -33,6 +33,7 @@ import { googleChatSurfaceKey, type GoogleChatPolicy } from "../policy.js";
33
33
  import { verifyGoogleChatToken, type GoogleChatVerifyDeps } from "./google-chat-auth.js";
34
34
  import { buildGoogleChatAuth, type OpenEverywhereGoogleChatAuth } from "./google-chat-identity.js";
35
35
  import { isMessageNameIn, isSpaceName, isThreadNameIn } from "./google-chat-rest.js";
36
+ import type { AuditDetail } from "@open-everywhere/core/agent/adapter-api.js";
36
37
 
37
38
  type GoogleChatOrigin = Extract<UnifiedWakeOrigin, { platform: "google-chat" }>;
38
39
 
@@ -89,7 +90,7 @@ export interface GoogleChatFrontDeps extends GoogleChatVerifyDeps {
89
90
  readonly wakeTrust: (auth: OpenEverywhereGoogleChatAuth, sender: string) => WakeTrust;
90
91
  readonly dispatchRoom: (plan: GoogleChatWakePlan) => Promise<void>;
91
92
  readonly dispatchDm: (plan: GoogleChatWakePlan) => Promise<void>;
92
- readonly audit: (row: { readonly action: string; readonly workspace: string; readonly surface?: string; readonly principalId?: string; readonly detail: Record<string, unknown> }) => Promise<void>;
93
+ readonly audit: (row: { readonly action: string; readonly workspace: string; readonly surface?: string; readonly principalId?: string; readonly detail: AuditDetail }) => Promise<void>;
93
94
  }
94
95
 
95
96
  function rec(v: unknown): Record<string, unknown> | undefined {
@@ -20,6 +20,7 @@
20
20
  // Spend, the wake ingress row, provider-selection admission, rate-limit retry and the audit of the wake all ride
21
21
  // the shared divert. Nothing here re-implements them.
22
22
 
23
+ import { auditErrorDetail } from "@open-everywhere/core/agent/adapter-api.js";
23
24
  import { defineChannel, POST, type RouteHandlerArgs } from "eve/channels";
24
25
  import {
25
26
  appendAudit,
@@ -181,7 +182,7 @@ const channel = defineChannel({
181
182
  platform: "google-chat",
182
183
  workspace: policy.workspace,
183
184
  action: "google-chat.wake_failed",
184
- detail: { error: err instanceof Error ? err.name : "error" },
185
+ detail: { error: auditErrorDetail(err instanceof Error ? err.name : "error").error },
185
186
  })
186
187
  .then(() => undefined)
187
188
  .catch(() => undefined),
@@ -7,9 +7,114 @@ import type { DocEntry } from "@open-everywhere/core/agent/adapter-api.js";
7
7
 
8
8
  export const PROVIDER_DOCS: readonly DocEntry[] = [
9
9
  {
10
- path: "docs/deploy/surfaces/google-chat.md",
11
10
  title: "Google Chat",
11
+ path: "docs/deploy/surfaces/google-chat.md",
12
12
  summary: "Put the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it answers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:",
13
- markdown: "# Google Chat\n\nPut the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it\nanswers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:\n\n- A **space** belongs to a domain. An @mention of the app in a space wakes that domain's standing seat, exactly as a\n message in one of the domain's Slack or Teams channels would.\n- A **direct message** with the app wakes the person's own DM seat.\n\nGoogle Chat is the surface for an organisation that runs Google Workspace. It ships **off**: until a policy enables\nit, the endpoint answers every delivery with `503`.\n\n## What it does and does not do\n\n- **Every event is verified before it is read.** Google Chat sends each event with a bearer token. The route checks\n the token's signature against Google's published keys, its issuer, its expiry, and its audience against the\n policy's `audience`. A token for any other audience, or (in endpoint-URL mode) from any Google account other than\n `chat@system.gserviceaccount.com`, is refused `401` and writes no audit row.\n- **Addressed only.** The HTTP endpoint gets a space message only when it @-mentions the app, or invokes one of its\n slash commands. The surface has no ambient leg: room chatter never reaches it. (A Workspace Events subscription\n would deliver the rest; this surface does not use one yet.)\n- **Trust comes from the policy, never from a name.** A sender binds `internal` only when Google's event names a\n Workspace domain id (`sender.domainId`) that the policy lists in `internalDomainIds`. Everyone else binds\n `external`: shared memory routes to the read-only `public` layer, and the turn is marked as carrying a\n non-member's words. ⚠ The mapping from your Workspace to its domain id is not documented as stable by Google.\n Read the id from a real event: every `google-chat.admitted` and `google-chat.refused` audit row records the\n sender's `domainId`. A DM-only deployment can start with an empty list: the first internal person's DM is refused\n `external-dm`, and its refused row carries their domain id.\n- **Direct messages are for internal people only.** A DM seat reads its person's private layer, so a DM from an\n `external` sender is refused (`external-dm`). Set `directMessages: false` to refuse every DM (`dm-off`).\n- **Group chats are refused** (`group-chat`). A group chat has no domain to own it and is not one person's DM.\n- **A space with no seat is refused**, not dropped in silence (`no-domain`): put its surface key in a domain's\n `reach`, or run a standing-seat window that gives an undeclared space its own solo seat.\n- **Bots never wake a seat.** A message from any bot, the app's own included, is dropped. That is the loop guard.\n- **Replies only, into the conversation that woke the seat.** The reply posts into the trigger's space and thread,\n as the app. The space and thread are frozen at the gate from the verified event; the model never names one. The\n app can post only into a space it is a member of. A reply longer than one Chat message goes out as consecutive\n messages in the same thread.\n\n## How it fits the planes\n\n| Plane | What Google Chat uses |\n|---|---|\n| Surface | The `google-chat` provider bundle (`packages/providers/google-chat`): identity mapper, capability manifest, post arm, wake-origin codec, host-notice transport. A space's surface key is `google-chat/<workspace>/<space id>` and goes in a domain's `reach` like any channel. |\n| Seat | A space mention diverts into the domain's standing seat through the same `divertInboundToUnifiedWindow` every chat surface uses; a DM diverts into the person's DM seat (`channels/dm-seat.ts`). Spend caps, the wake ingress row, provider selection and rate-limit retry ride the shared divert. |\n| Identity | The principal is the sender's Chat user resource name (`users/<id>`). The workspace is the policy's `workspace` segment. Visibility is always `private`. |\n| Audit | `google-chat.admitted` (space, seat kind, trust, the sender's domain id, whether it was a thread reply), `google-chat.refused` (the reason and the sender's domain id), and `google-chat.wake_failed`. The reply itself writes the shared `reply.post` row. |\n| Egress | The reply and a host notice (an approval outcome note, the judge-lift notice) are the only outbound calls, to `chat.googleapis.com`, with a `chat.bot` token minted from the app's service-account key at `oauth2.googleapis.com`. The token endpoint is pinned: the key file's own `token_uri` is ignored. |\n\n## What an operator must provision\n\nNothing below is created by Open Everywhere.\n\n1. **A Google Cloud project** with the Google Chat API enabled.\n2. **A service account** in that project, and a JSON key for it. The app posts its replies as this account.\n3. **The Chat app configuration** (Google Chat API → Configuration): give the app a name and avatar, turn on\n \"Receive 1:1 messages\" and \"Join spaces and group conversations\", choose **HTTP endpoint URL** as the connection\n setting, and set it to `https://<your deployment host>/eve/v1/google-chat`. Choose the **Authentication audience**:\n \"HTTP endpoint URL\" (recommended) or \"Project number\". Make the app visible to the people or groups who should\n use it.\n4. **The secret**, in the secret store, never in a file or the environment of a commit:\n ```sh\n npx oe secret set GOOGLE_CHAT_SERVICE_ACCOUNT_KEY # the service account's JSON key, whole\n ```\n (The resolver falls back to an environment variable of the same name, and warns when it does.)\n5. **The policy**, in `agent/google-chat/policy.ts`, by pull request: set `enabled: true`, the `audience` that\n matches step 3 (`{ kind: \"endpoint-url\", url: \"https://<host>/eve/v1/google-chat\" }` or\n `{ kind: \"project-number\", projectNumber: \"<number>\" }`), your `workspace` segment, and your\n `internalDomainIds`.\n6. **The seats.** For each space, add its surface key (`google-chat/<workspace>/<space id>`, the id after\n `spaces/` in the space's URL) to the owning domain's `reach` in `agent/memory/config/domains/`. A multi-source\n window requires every source vouched, so also declare the space in `agent/identity/surfaces.ts`. 🔴 The vouch\n does **not** make an outside sender internal: the mapper states each message's trust itself, from the policy.\n7. **Add the app** to each space (`@<app name>` → Add).\n\n## Settings\n\n| Field | Meaning |\n|---|---|\n| `enabled` | The master switch. Off answers `503` to every delivery and refuses every reply. |\n| `audience` | The audience every event's token must carry. `null` refuses every delivery; an enabled policy without one fails the boot. |\n| `workspace` | The workspace segment of every surface key (lowercase, `a-z`, `0-9`, `-`). |\n| `internalDomainIds` | The Workspace domain ids whose people bind `internal`. Empty: everybody binds `external`. |\n| `directMessages` | May an internal person wake their own DM seat? |\n\n## What is not built yet\n\n- **Cards**: an approval asked from Google Chat takes the venue walk to a card-capable room in the same domain. A\n Chat card with a button needs the `CARD_CLICKED` tap answered.\n- **Reading a space** (`read_channel`, `read_thread`) and a seat catch-up: listing a space's messages needs user\n authentication or the admin-approved `chat.app.messages.readonly` app scope, which the app does not request.\n- **Ambient messages, name-drops and edits**: they need a Workspace Events subscription.\n- **Edit, reactions, stop, files, proactive posts and routines.** Each is declared, with its reason, in the\n [chat-surface contract](../../extending/chat-surface-contract.md)'s parity tables.\n- **The Workspace add-on event format.** The route reads the classic Chat app event; an app built as a Google\n Workspace add-on wraps its events differently and is not supported.\n\n## Verification\n\nThe unit packs (`test:google-chat-auth`, `test:google-chat-front`, `test:google-chat-post-arm`) and the app-level\n`test:google-chat-integration` drive the token check, the gate, the reply and the binding offline. There is no\nlive e2e leg yet: one needs a Google Workspace test tenant with the app published to it, a fixture this repository\ncannot create.\n",
13
+ markdown: [
14
+ "# Google Chat",
15
+ "",
16
+ "Put the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it",
17
+ "answers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:",
18
+ "",
19
+ "- A **space** belongs to a domain. An @mention of the app in a space wakes that domain's standing seat, exactly as a",
20
+ " message in one of the domain's Slack or Teams channels would.",
21
+ "- A **direct message** with the app wakes the person's own DM seat.",
22
+ "",
23
+ "Google Chat is the surface for an organisation that runs Google Workspace. It ships **off**: until a policy enables",
24
+ "it, the endpoint answers every delivery with `503`.",
25
+ "",
26
+ "## What it does and does not do",
27
+ "",
28
+ "- **Every event is verified before it is read.** Google Chat sends each event with a bearer token. The route checks",
29
+ " the token's signature against Google's published keys, its issuer, its expiry, and its audience against the",
30
+ " policy's `audience`. A token for any other audience, or (in endpoint-URL mode) from any Google account other than",
31
+ " `chat@system.gserviceaccount.com`, is refused `401` and writes no audit row.",
32
+ "- **Addressed only.** The HTTP endpoint gets a space message only when it @-mentions the app, or invokes one of its",
33
+ " slash commands. The surface has no ambient leg: room chatter never reaches it. (A Workspace Events subscription",
34
+ " would deliver the rest; this surface does not use one yet.)",
35
+ "- **Trust comes from the policy, never from a name.** A sender binds `internal` only when Google's event names a",
36
+ " Workspace domain id (`sender.domainId`) that the policy lists in `internalDomainIds`. Everyone else binds",
37
+ " `external`: shared memory routes to the read-only `public` layer, and the turn is marked as carrying a",
38
+ " non-member's words. ⚠ The mapping from your Workspace to its domain id is not documented as stable by Google.",
39
+ " Read the id from a real event: every `google-chat.admitted` and `google-chat.refused` audit row records the",
40
+ " sender's `domainId`. A DM-only deployment can start with an empty list: the first internal person's DM is refused",
41
+ " `external-dm`, and its refused row carries their domain id.",
42
+ "- **Direct messages are for internal people only.** A DM seat reads its person's private layer, so a DM from an",
43
+ " `external` sender is refused (`external-dm`). Set `directMessages: false` to refuse every DM (`dm-off`).",
44
+ "- **Group chats are refused** (`group-chat`). A group chat has no domain to own it and is not one person's DM.",
45
+ "- **A space with no seat is refused**, not dropped in silence (`no-domain`): put its surface key in a domain's",
46
+ " `reach`, or run a standing-seat window that gives an undeclared space its own solo seat.",
47
+ "- **Bots never wake a seat.** A message from any bot, the app's own included, is dropped. That is the loop guard.",
48
+ "- **Replies only, into the conversation that woke the seat.** The reply posts into the trigger's space and thread,",
49
+ " as the app. The space and thread are frozen at the gate from the verified event; the model never names one. The",
50
+ " app can post only into a space it is a member of. A reply longer than one Chat message goes out as consecutive",
51
+ " messages in the same thread.",
52
+ "",
53
+ "## How it fits the planes",
54
+ "",
55
+ "| Plane | What Google Chat uses |",
56
+ "|---|---|",
57
+ "| Surface | The `google-chat` provider bundle (`packages/providers/google-chat`): identity mapper, capability manifest, post arm, wake-origin codec, host-notice transport. A space's surface key is `google-chat/<workspace>/<space id>` and goes in a domain's `reach` like any channel. |",
58
+ "| Seat | A space mention diverts into the domain's standing seat through the same `divertInboundToUnifiedWindow` every chat surface uses; a DM diverts into the person's DM seat (`channels/dm-seat.ts`). Spend caps, the wake ingress row, provider selection and rate-limit retry ride the shared divert. |",
59
+ "| Identity | The principal is the sender's Chat user resource name (`users/<id>`). The workspace is the policy's `workspace` segment. Visibility is always `private`. |",
60
+ "| Audit | `google-chat.admitted` (space, seat kind, trust, the sender's domain id, whether it was a thread reply), `google-chat.refused` (the reason and the sender's domain id), and `google-chat.wake_failed`. The reply itself writes the shared `reply.post` row. |",
61
+ "| Egress | The reply and a host notice (an approval outcome note, the judge-lift notice) are the only outbound calls, to `chat.googleapis.com`, with a `chat.bot` token minted from the app's service-account key at `oauth2.googleapis.com`. The token endpoint is pinned: the key file's own `token_uri` is ignored. |",
62
+ "",
63
+ "## What an operator must provision",
64
+ "",
65
+ "Nothing below is created by Open Everywhere.",
66
+ "",
67
+ "1. **A Google Cloud project** with the Google Chat API enabled.",
68
+ "2. **A service account** in that project, and a JSON key for it. The app posts its replies as this account.",
69
+ "3. **The Chat app configuration** (Google Chat API → Configuration): give the app a name and avatar, turn on",
70
+ " \"Receive 1:1 messages\" and \"Join spaces and group conversations\", choose **HTTP endpoint URL** as the connection",
71
+ " setting, and set it to `https://<your deployment host>/eve/v1/google-chat`. Choose the **Authentication audience**:",
72
+ " \"HTTP endpoint URL\" (recommended) or \"Project number\". Make the app visible to the people or groups who should",
73
+ " use it.",
74
+ "4. **The secret**, in the secret store, never in a file or the environment of a commit:",
75
+ " ```sh",
76
+ " npx oe secret set GOOGLE_CHAT_SERVICE_ACCOUNT_KEY # the service account's JSON key, whole",
77
+ " ```",
78
+ " (The resolver falls back to an environment variable of the same name, and warns when it does.)",
79
+ "5. **The policy**, in `agent/google-chat/policy.ts`, by pull request: set `enabled: true`, the `audience` that",
80
+ " matches step 3 (`{ kind: \"endpoint-url\", url: \"https://<host>/eve/v1/google-chat\" }` or",
81
+ " `{ kind: \"project-number\", projectNumber: \"<number>\" }`), your `workspace` segment, and your",
82
+ " `internalDomainIds`.",
83
+ "6. **The seats.** For each space, add its surface key (`google-chat/<workspace>/<space id>`, the id after",
84
+ " `spaces/` in the space's URL) to the owning domain's `reach` in `agent/memory/config/domains/`. A multi-source",
85
+ " window requires every source vouched, so also declare the space in `agent/identity/surfaces.ts`. 🔴 The vouch",
86
+ " does **not** make an outside sender internal: the mapper states each message's trust itself, from the policy.",
87
+ "7. **Add the app** to each space (`@<app name>` → Add).",
88
+ "",
89
+ "## Settings",
90
+ "",
91
+ "| Field | Meaning |",
92
+ "|---|---|",
93
+ "| `enabled` | The master switch. Off answers `503` to every delivery and refuses every reply. |",
94
+ "| `audience` | The audience every event's token must carry. `null` refuses every delivery; an enabled policy without one fails the boot. |",
95
+ "| `workspace` | The workspace segment of every surface key (lowercase, `a-z`, `0-9`, `-`). |",
96
+ "| `internalDomainIds` | The Workspace domain ids whose people bind `internal`. Empty: everybody binds `external`. |",
97
+ "| `directMessages` | May an internal person wake their own DM seat? |",
98
+ "",
99
+ "## What is not built yet",
100
+ "",
101
+ "- **Cards**: an approval asked from Google Chat takes the venue walk to a card-capable room in the same domain. A",
102
+ " Chat card with a button needs the `CARD_CLICKED` tap answered.",
103
+ "- **Reading a space** (`read_channel`, `read_thread`) and a seat catch-up: listing a space's messages needs user",
104
+ " authentication or the admin-approved `chat.app.messages.readonly` app scope, which the app does not request.",
105
+ "- **Ambient messages, name-drops and edits**: they need a Workspace Events subscription.",
106
+ "- **Edit, reactions, stop, files, proactive posts and routines.** Each is declared, with its reason, in the",
107
+ " [chat-surface contract](../../extending/chat-surface-contract.md)'s parity tables.",
108
+ "- **The Workspace add-on event format.** The route reads the classic Chat app event; an app built as a Google",
109
+ " Workspace add-on wraps its events differently and is not supported.",
110
+ "",
111
+ "## Verification",
112
+ "",
113
+ "The unit packs (`test:google-chat-auth`, `test:google-chat-front`, `test:google-chat-post-arm`) and the app-level",
114
+ "`test:google-chat-integration` drive the token check, the gate, the reply and the binding offline. There is no",
115
+ "live e2e leg yet: one needs a Google Workspace test tenant with the app published to it, a fixture this repository",
116
+ "cannot create.",
117
+ "",
118
+ ].join("\n"),
14
119
  },
15
120
  ];
@@ -37,6 +37,7 @@ export const GOOGLE_CHAT_SURFACE_PARITY: SurfaceParityDeclaration = {
37
37
  unsupported: "not built yet — a Chat card with a button needs the CARD_CLICKED tap answered; a governed act asked from Google Chat takes the venue walk to a card-capable room in the same domain",
38
38
  },
39
39
  "judge-lift-notice": { supported: "the shared text render, posted into the space — no button yet, so the overrule is spelled out in words" },
40
+ "out-of-office-cover": { unsupported: "not built yet — the space route does not call `coverForWake`, and the surface takes no ambient messages" },
40
41
  "name-drop-mention": { unsupported: "not built yet — a message that names the app without an @mention never reaches the HTTP endpoint; a Workspace Events subscription would deliver it" },
41
42
  "message-edit-wake": { unsupported: "not built yet — the HTTP endpoint sends no event for an edited message; a Workspace Events subscription would" },
42
43
  threads: { supported: "a reply posts into the trigger's own thread (`REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD`)" },
@@ -2,6 +2,7 @@ import { type IngestedChatMessage, type UnifiedWakeOrigin, type WakeMessageInput
2
2
  import { type GoogleChatPolicy } from "../policy.js";
3
3
  import { type GoogleChatVerifyDeps } from "./google-chat-auth.js";
4
4
  import { type OpenEverywhereGoogleChatAuth } from "./google-chat-identity.js";
5
+ import type { AuditDetail } from "@open-everywhere/core/agent/adapter-api.js";
5
6
  type GoogleChatOrigin = Extract<UnifiedWakeOrigin, {
6
7
  platform: "google-chat";
7
8
  }>;
@@ -67,7 +68,7 @@ export interface GoogleChatFrontDeps extends GoogleChatVerifyDeps {
67
68
  readonly workspace: string;
68
69
  readonly surface?: string;
69
70
  readonly principalId?: string;
70
- readonly detail: Record<string, unknown>;
71
+ readonly detail: AuditDetail;
71
72
  }) => Promise<void>;
72
73
  }
73
74
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"google-chat-front.d.ts","sourceRoot":"","sources":["../../../agent/channels/google-chat-front.ts"],"names":[],"mappings":"AAoBA,OAAO,EAKL,KAAK,mBAAmB,EAExB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACf,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAwB,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAyB,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAuB,KAAK,4BAA4B,EAAE,MAAM,2BAA2B,CA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,CAAC,CAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC,CAAC,MAAM,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAClN,CACF;SACA,KAAK,CAAC,KAAK,EAAE,GAAY,EAAE,EAAE;QAC5B,GAAG,CAAC,+BAA+B,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAChF,MAAM,KAAK,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC,CAAC,CACL,CAAC;IACF,wEAAwE;IACxE,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,CAAC,CAAC;AAC9F,CAAC"}
@@ -19,6 +19,7 @@
19
19
  //
20
20
  // Spend, the wake ingress row, provider-selection admission, rate-limit retry and the audit of the wake all ride
21
21
  // the shared divert. Nothing here re-implements them.
22
+ import { auditErrorDetail } from "@open-everywhere/core/agent/adapter-api.js";
22
23
  import { defineChannel, POST } from "eve/channels";
23
24
  import { appendAudit, claimRuntimeRotation, carryTailForward, deploymentOrg, divertInboundToUnifiedWindow, divertToUnifiedWindow, dmWindowRegistryKey, getConfig, getOperationalStore, getOrCreateDmSeat, grainUsesUnifiedWindow, mintRotationToken, mintWakeId, receiptEventTime, recordWakeTail, resolveWakeTrustFromContext, shouldRotate, spreadVendorTs, stampMintedRuntime, supervisorGrainFor, tailAuthorGrain, touchDmSeat, withEndsTurnFinalChannel, } from "@open-everywhere/core/agent/adapter-api.js";
24
25
  import { googleChatPolicy } from "../policy.js";
@@ -145,7 +146,7 @@ const channel = defineChannel({
145
146
  platform: "google-chat",
146
147
  workspace: policy.workspace,
147
148
  action: "google-chat.wake_failed",
148
- detail: { error: err instanceof Error ? err.name : "error" },
149
+ detail: { error: auditErrorDetail(err instanceof Error ? err.name : "error").error },
149
150
  })
150
151
  .then(() => undefined)
151
152
  .catch(() => undefined),
@@ -1 +1 @@
1
- {"version":3,"file":"google-chat.js","sourceRoot":"","sources":["../../../agent/channels/google-chat.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,0GAA0G;AAC1G,gHAAgH;AAChH,cAAc;AACd,EAAE;AACF,YAAY;AACZ,6BAA6B;AAC7B,oGAAoG;AACpG,+GAA+G;AAC/G,wGAAwG;AACxG,qHAAqH;AACrH,+EAA+E;AAC/E,6GAA6G;AAC7G,mFAAmF;AACnF,8GAA8G;AAC9G,yDAAyD;AACzD,8GAA8G;AAC9G,gCAAgC;AAChC,EAAE;AACF,iHAAiH;AACjH,sDAAsD;AAEtD,OAAO,EAAE,aAAa,EAAE,IAAI,EAAyB,MAAM,cAAc,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,2BAA2B,EAC3B,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,wBAAwB,GAIzB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAqD,MAAM,wBAAwB,CAAC;AAE1I,MAAM,KAAK,GAAG,qBAAqB,CAAC;AACpC,iFAAiF;AAC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AK,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC;SAC5B,CAAC,CACH;KACF;CACF,CAAC,CAAC;AAEH,eAAe,wBAAwB,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"google-chat.js","sourceRoot":"","sources":["../../../agent/channels/google-chat.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,0GAA0G;AAC1G,gHAAgH;AAChH,cAAc;AACd,EAAE;AACF,YAAY;AACZ,6BAA6B;AAC7B,oGAAoG;AACpG,+GAA+G;AAC/G,wGAAwG;AACxG,qHAAqH;AACrH,+EAA+E;AAC/E,6GAA6G;AAC7G,mFAAmF;AACnF,8GAA8G;AAC9G,yDAAyD;AACzD,8GAA8G;AAC9G,gCAAgC;AAChC,EAAE;AACF,iHAAiH;AACjH,sDAAsD;AAEtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,IAAI,EAAyB,MAAM,cAAc,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,gBAAgB,EAChB,aAAa,EACb,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,EACnB,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,2BAA2B,EAC3B,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,wBAAwB,GAIzB,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAqD,MAAM,wBAAwB,CAAC;AAE1I,MAAM,KAAK,GAAG,qBAAqB,CAAC;AACpC,iFAAiF;AACjF,MAAM,aAAa,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAE1C,SAAS,GAAG,CAAC,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ACF,CAAC,CAAC;AAEH,eAAe,wBAAwB,CAAC,OAAO,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"docs-generated.d.ts","sourceRoot":"","sources":["../../agent/docs-generated.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAE3E,eAAO,MAAM,aAAa,EAAE,SAAS,QAAQ,EAO5C,CAAC"}
1
+ {"version":3,"file":"docs-generated.d.ts","sourceRoot":"","sources":["../../agent/docs-generated.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAC;AAE3E,eAAO,MAAM,aAAa,EAAE,SAAS,QAAQ,EAgH5C,CAAC"}
@@ -4,10 +4,115 @@
4
4
  // manual is compiled in at all (docs/ does not exist on disk in a hosted deployment).
5
5
  export const PROVIDER_DOCS = [
6
6
  {
7
- path: "docs/deploy/surfaces/google-chat.md",
8
7
  title: "Google Chat",
8
+ path: "docs/deploy/surfaces/google-chat.md",
9
9
  summary: "Put the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it answers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:",
10
- markdown: "# Google Chat\n\nPut the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it\nanswers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:\n\n- A **space** belongs to a domain. An @mention of the app in a space wakes that domain's standing seat, exactly as a\n message in one of the domain's Slack or Teams channels would.\n- A **direct message** with the app wakes the person's own DM seat.\n\nGoogle Chat is the surface for an organisation that runs Google Workspace. It ships **off**: until a policy enables\nit, the endpoint answers every delivery with `503`.\n\n## What it does and does not do\n\n- **Every event is verified before it is read.** Google Chat sends each event with a bearer token. The route checks\n the token's signature against Google's published keys, its issuer, its expiry, and its audience against the\n policy's `audience`. A token for any other audience, or (in endpoint-URL mode) from any Google account other than\n `chat@system.gserviceaccount.com`, is refused `401` and writes no audit row.\n- **Addressed only.** The HTTP endpoint gets a space message only when it @-mentions the app, or invokes one of its\n slash commands. The surface has no ambient leg: room chatter never reaches it. (A Workspace Events subscription\n would deliver the rest; this surface does not use one yet.)\n- **Trust comes from the policy, never from a name.** A sender binds `internal` only when Google's event names a\n Workspace domain id (`sender.domainId`) that the policy lists in `internalDomainIds`. Everyone else binds\n `external`: shared memory routes to the read-only `public` layer, and the turn is marked as carrying a\n non-member's words. ⚠ The mapping from your Workspace to its domain id is not documented as stable by Google.\n Read the id from a real event: every `google-chat.admitted` and `google-chat.refused` audit row records the\n sender's `domainId`. A DM-only deployment can start with an empty list: the first internal person's DM is refused\n `external-dm`, and its refused row carries their domain id.\n- **Direct messages are for internal people only.** A DM seat reads its person's private layer, so a DM from an\n `external` sender is refused (`external-dm`). Set `directMessages: false` to refuse every DM (`dm-off`).\n- **Group chats are refused** (`group-chat`). A group chat has no domain to own it and is not one person's DM.\n- **A space with no seat is refused**, not dropped in silence (`no-domain`): put its surface key in a domain's\n `reach`, or run a standing-seat window that gives an undeclared space its own solo seat.\n- **Bots never wake a seat.** A message from any bot, the app's own included, is dropped. That is the loop guard.\n- **Replies only, into the conversation that woke the seat.** The reply posts into the trigger's space and thread,\n as the app. The space and thread are frozen at the gate from the verified event; the model never names one. The\n app can post only into a space it is a member of. A reply longer than one Chat message goes out as consecutive\n messages in the same thread.\n\n## How it fits the planes\n\n| Plane | What Google Chat uses |\n|---|---|\n| Surface | The `google-chat` provider bundle (`packages/providers/google-chat`): identity mapper, capability manifest, post arm, wake-origin codec, host-notice transport. A space's surface key is `google-chat/<workspace>/<space id>` and goes in a domain's `reach` like any channel. |\n| Seat | A space mention diverts into the domain's standing seat through the same `divertInboundToUnifiedWindow` every chat surface uses; a DM diverts into the person's DM seat (`channels/dm-seat.ts`). Spend caps, the wake ingress row, provider selection and rate-limit retry ride the shared divert. |\n| Identity | The principal is the sender's Chat user resource name (`users/<id>`). The workspace is the policy's `workspace` segment. Visibility is always `private`. |\n| Audit | `google-chat.admitted` (space, seat kind, trust, the sender's domain id, whether it was a thread reply), `google-chat.refused` (the reason and the sender's domain id), and `google-chat.wake_failed`. The reply itself writes the shared `reply.post` row. |\n| Egress | The reply and a host notice (an approval outcome note, the judge-lift notice) are the only outbound calls, to `chat.googleapis.com`, with a `chat.bot` token minted from the app's service-account key at `oauth2.googleapis.com`. The token endpoint is pinned: the key file's own `token_uri` is ignored. |\n\n## What an operator must provision\n\nNothing below is created by Open Everywhere.\n\n1. **A Google Cloud project** with the Google Chat API enabled.\n2. **A service account** in that project, and a JSON key for it. The app posts its replies as this account.\n3. **The Chat app configuration** (Google Chat API → Configuration): give the app a name and avatar, turn on\n \"Receive 1:1 messages\" and \"Join spaces and group conversations\", choose **HTTP endpoint URL** as the connection\n setting, and set it to `https://<your deployment host>/eve/v1/google-chat`. Choose the **Authentication audience**:\n \"HTTP endpoint URL\" (recommended) or \"Project number\". Make the app visible to the people or groups who should\n use it.\n4. **The secret**, in the secret store, never in a file or the environment of a commit:\n ```sh\n npx oe secret set GOOGLE_CHAT_SERVICE_ACCOUNT_KEY # the service account's JSON key, whole\n ```\n (The resolver falls back to an environment variable of the same name, and warns when it does.)\n5. **The policy**, in `agent/google-chat/policy.ts`, by pull request: set `enabled: true`, the `audience` that\n matches step 3 (`{ kind: \"endpoint-url\", url: \"https://<host>/eve/v1/google-chat\" }` or\n `{ kind: \"project-number\", projectNumber: \"<number>\" }`), your `workspace` segment, and your\n `internalDomainIds`.\n6. **The seats.** For each space, add its surface key (`google-chat/<workspace>/<space id>`, the id after\n `spaces/` in the space's URL) to the owning domain's `reach` in `agent/memory/config/domains/`. A multi-source\n window requires every source vouched, so also declare the space in `agent/identity/surfaces.ts`. 🔴 The vouch\n does **not** make an outside sender internal: the mapper states each message's trust itself, from the policy.\n7. **Add the app** to each space (`@<app name>` → Add).\n\n## Settings\n\n| Field | Meaning |\n|---|---|\n| `enabled` | The master switch. Off answers `503` to every delivery and refuses every reply. |\n| `audience` | The audience every event's token must carry. `null` refuses every delivery; an enabled policy without one fails the boot. |\n| `workspace` | The workspace segment of every surface key (lowercase, `a-z`, `0-9`, `-`). |\n| `internalDomainIds` | The Workspace domain ids whose people bind `internal`. Empty: everybody binds `external`. |\n| `directMessages` | May an internal person wake their own DM seat? |\n\n## What is not built yet\n\n- **Cards**: an approval asked from Google Chat takes the venue walk to a card-capable room in the same domain. A\n Chat card with a button needs the `CARD_CLICKED` tap answered.\n- **Reading a space** (`read_channel`, `read_thread`) and a seat catch-up: listing a space's messages needs user\n authentication or the admin-approved `chat.app.messages.readonly` app scope, which the app does not request.\n- **Ambient messages, name-drops and edits**: they need a Workspace Events subscription.\n- **Edit, reactions, stop, files, proactive posts and routines.** Each is declared, with its reason, in the\n [chat-surface contract](../../extending/chat-surface-contract.md)'s parity tables.\n- **The Workspace add-on event format.** The route reads the classic Chat app event; an app built as a Google\n Workspace add-on wraps its events differently and is not supported.\n\n## Verification\n\nThe unit packs (`test:google-chat-auth`, `test:google-chat-front`, `test:google-chat-post-arm`) and the app-level\n`test:google-chat-integration` drive the token check, the gate, the reply and the binding offline. There is no\nlive e2e leg yet: one needs a Google Workspace test tenant with the app published to it, a fixture this repository\ncannot create.\n",
10
+ markdown: [
11
+ "# Google Chat",
12
+ "",
13
+ "Put the agent in Google Chat as a Chat app. People @mention it in a space or send it a direct message, and it",
14
+ "answers in the same thread. Google Chat reaches the same two chiefs of staff as every other chat surface:",
15
+ "",
16
+ "- A **space** belongs to a domain. An @mention of the app in a space wakes that domain's standing seat, exactly as a",
17
+ " message in one of the domain's Slack or Teams channels would.",
18
+ "- A **direct message** with the app wakes the person's own DM seat.",
19
+ "",
20
+ "Google Chat is the surface for an organisation that runs Google Workspace. It ships **off**: until a policy enables",
21
+ "it, the endpoint answers every delivery with `503`.",
22
+ "",
23
+ "## What it does and does not do",
24
+ "",
25
+ "- **Every event is verified before it is read.** Google Chat sends each event with a bearer token. The route checks",
26
+ " the token's signature against Google's published keys, its issuer, its expiry, and its audience against the",
27
+ " policy's `audience`. A token for any other audience, or (in endpoint-URL mode) from any Google account other than",
28
+ " `chat@system.gserviceaccount.com`, is refused `401` and writes no audit row.",
29
+ "- **Addressed only.** The HTTP endpoint gets a space message only when it @-mentions the app, or invokes one of its",
30
+ " slash commands. The surface has no ambient leg: room chatter never reaches it. (A Workspace Events subscription",
31
+ " would deliver the rest; this surface does not use one yet.)",
32
+ "- **Trust comes from the policy, never from a name.** A sender binds `internal` only when Google's event names a",
33
+ " Workspace domain id (`sender.domainId`) that the policy lists in `internalDomainIds`. Everyone else binds",
34
+ " `external`: shared memory routes to the read-only `public` layer, and the turn is marked as carrying a",
35
+ " non-member's words. ⚠ The mapping from your Workspace to its domain id is not documented as stable by Google.",
36
+ " Read the id from a real event: every `google-chat.admitted` and `google-chat.refused` audit row records the",
37
+ " sender's `domainId`. A DM-only deployment can start with an empty list: the first internal person's DM is refused",
38
+ " `external-dm`, and its refused row carries their domain id.",
39
+ "- **Direct messages are for internal people only.** A DM seat reads its person's private layer, so a DM from an",
40
+ " `external` sender is refused (`external-dm`). Set `directMessages: false` to refuse every DM (`dm-off`).",
41
+ "- **Group chats are refused** (`group-chat`). A group chat has no domain to own it and is not one person's DM.",
42
+ "- **A space with no seat is refused**, not dropped in silence (`no-domain`): put its surface key in a domain's",
43
+ " `reach`, or run a standing-seat window that gives an undeclared space its own solo seat.",
44
+ "- **Bots never wake a seat.** A message from any bot, the app's own included, is dropped. That is the loop guard.",
45
+ "- **Replies only, into the conversation that woke the seat.** The reply posts into the trigger's space and thread,",
46
+ " as the app. The space and thread are frozen at the gate from the verified event; the model never names one. The",
47
+ " app can post only into a space it is a member of. A reply longer than one Chat message goes out as consecutive",
48
+ " messages in the same thread.",
49
+ "",
50
+ "## How it fits the planes",
51
+ "",
52
+ "| Plane | What Google Chat uses |",
53
+ "|---|---|",
54
+ "| Surface | The `google-chat` provider bundle (`packages/providers/google-chat`): identity mapper, capability manifest, post arm, wake-origin codec, host-notice transport. A space's surface key is `google-chat/<workspace>/<space id>` and goes in a domain's `reach` like any channel. |",
55
+ "| Seat | A space mention diverts into the domain's standing seat through the same `divertInboundToUnifiedWindow` every chat surface uses; a DM diverts into the person's DM seat (`channels/dm-seat.ts`). Spend caps, the wake ingress row, provider selection and rate-limit retry ride the shared divert. |",
56
+ "| Identity | The principal is the sender's Chat user resource name (`users/<id>`). The workspace is the policy's `workspace` segment. Visibility is always `private`. |",
57
+ "| Audit | `google-chat.admitted` (space, seat kind, trust, the sender's domain id, whether it was a thread reply), `google-chat.refused` (the reason and the sender's domain id), and `google-chat.wake_failed`. The reply itself writes the shared `reply.post` row. |",
58
+ "| Egress | The reply and a host notice (an approval outcome note, the judge-lift notice) are the only outbound calls, to `chat.googleapis.com`, with a `chat.bot` token minted from the app's service-account key at `oauth2.googleapis.com`. The token endpoint is pinned: the key file's own `token_uri` is ignored. |",
59
+ "",
60
+ "## What an operator must provision",
61
+ "",
62
+ "Nothing below is created by Open Everywhere.",
63
+ "",
64
+ "1. **A Google Cloud project** with the Google Chat API enabled.",
65
+ "2. **A service account** in that project, and a JSON key for it. The app posts its replies as this account.",
66
+ "3. **The Chat app configuration** (Google Chat API → Configuration): give the app a name and avatar, turn on",
67
+ " \"Receive 1:1 messages\" and \"Join spaces and group conversations\", choose **HTTP endpoint URL** as the connection",
68
+ " setting, and set it to `https://<your deployment host>/eve/v1/google-chat`. Choose the **Authentication audience**:",
69
+ " \"HTTP endpoint URL\" (recommended) or \"Project number\". Make the app visible to the people or groups who should",
70
+ " use it.",
71
+ "4. **The secret**, in the secret store, never in a file or the environment of a commit:",
72
+ " ```sh",
73
+ " npx oe secret set GOOGLE_CHAT_SERVICE_ACCOUNT_KEY # the service account's JSON key, whole",
74
+ " ```",
75
+ " (The resolver falls back to an environment variable of the same name, and warns when it does.)",
76
+ "5. **The policy**, in `agent/google-chat/policy.ts`, by pull request: set `enabled: true`, the `audience` that",
77
+ " matches step 3 (`{ kind: \"endpoint-url\", url: \"https://<host>/eve/v1/google-chat\" }` or",
78
+ " `{ kind: \"project-number\", projectNumber: \"<number>\" }`), your `workspace` segment, and your",
79
+ " `internalDomainIds`.",
80
+ "6. **The seats.** For each space, add its surface key (`google-chat/<workspace>/<space id>`, the id after",
81
+ " `spaces/` in the space's URL) to the owning domain's `reach` in `agent/memory/config/domains/`. A multi-source",
82
+ " window requires every source vouched, so also declare the space in `agent/identity/surfaces.ts`. 🔴 The vouch",
83
+ " does **not** make an outside sender internal: the mapper states each message's trust itself, from the policy.",
84
+ "7. **Add the app** to each space (`@<app name>` → Add).",
85
+ "",
86
+ "## Settings",
87
+ "",
88
+ "| Field | Meaning |",
89
+ "|---|---|",
90
+ "| `enabled` | The master switch. Off answers `503` to every delivery and refuses every reply. |",
91
+ "| `audience` | The audience every event's token must carry. `null` refuses every delivery; an enabled policy without one fails the boot. |",
92
+ "| `workspace` | The workspace segment of every surface key (lowercase, `a-z`, `0-9`, `-`). |",
93
+ "| `internalDomainIds` | The Workspace domain ids whose people bind `internal`. Empty: everybody binds `external`. |",
94
+ "| `directMessages` | May an internal person wake their own DM seat? |",
95
+ "",
96
+ "## What is not built yet",
97
+ "",
98
+ "- **Cards**: an approval asked from Google Chat takes the venue walk to a card-capable room in the same domain. A",
99
+ " Chat card with a button needs the `CARD_CLICKED` tap answered.",
100
+ "- **Reading a space** (`read_channel`, `read_thread`) and a seat catch-up: listing a space's messages needs user",
101
+ " authentication or the admin-approved `chat.app.messages.readonly` app scope, which the app does not request.",
102
+ "- **Ambient messages, name-drops and edits**: they need a Workspace Events subscription.",
103
+ "- **Edit, reactions, stop, files, proactive posts and routines.** Each is declared, with its reason, in the",
104
+ " [chat-surface contract](../../extending/chat-surface-contract.md)'s parity tables.",
105
+ "- **The Workspace add-on event format.** The route reads the classic Chat app event; an app built as a Google",
106
+ " Workspace add-on wraps its events differently and is not supported.",
107
+ "",
108
+ "## Verification",
109
+ "",
110
+ "The unit packs (`test:google-chat-auth`, `test:google-chat-front`, `test:google-chat-post-arm`) and the app-level",
111
+ "`test:google-chat-integration` drive the token check, the gate, the reply and the binding offline. There is no",
112
+ "live e2e leg yet: one needs a Google Workspace test tenant with the app published to it, a fixture this repository",
113
+ "cannot create.",
114
+ "",
115
+ ].join("\n"),
11
116
  },
12
117
  ];
13
118
  //# sourceMappingURL=docs-generated.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs-generated.js","sourceRoot":"","sources":["../../agent/docs-generated.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,wFAAwF;AACxF,6FAA6F;AAC7F,sFAAsF;AAItF,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD;QACE,IAAI,EAAE,qCAAqC;QAC3C,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,yNAAyN;QAClO,QAAQ,EAAE,+oQAA+oQ;KAC1pQ;CACF,CAAC"}
1
+ {"version":3,"file":"docs-generated.js","sourceRoot":"","sources":["../../agent/docs-generated.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,wFAAwF;AACxF,6FAA6F;AAC7F,sFAAsF;AAItF,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD;QACE,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,qCAAqC;QAC3C,OAAO,EAAE,yNAAyN;QAClO,QAAQ,EAAE;YACR,eAAe;YACf,EAAE;YACF,+GAA+G;YAC/G,2GAA2G;YAC3G,EAAE;YACF,sHAAsH;YACtH,iEAAiE;YACjE,qEAAqE;YACrE,EAAE;YACF,qHAAqH;YACrH,qDAAqD;YACrD,EAAE;YACF,iCAAiC;YACjC,EAAE;YACF,qHAAqH;YACrH,+GAA+G;YAC/G,qHAAqH;YACrH,gFAAgF;YAChF,qHAAqH;YACrH,mHAAmH;YACnH,+DAA+D;YAC/D,kHAAkH;YAClH,6GAA6G;YAC7G,0GAA0G;YAC1G,iHAAiH;YACjH,+GAA+G;YAC/G,qHAAqH;YACrH,+DAA+D;YAC/D,iHAAiH;YACjH,4GAA4G;YAC5G,gHAAgH;YAChH,gHAAgH;YAChH,4FAA4F;YAC5F,mHAAmH;YACnH,oHAAoH;YACpH,mHAAmH;YACnH,kHAAkH;YAClH,gCAAgC;YAChC,EAAE;YACF,2BAA2B;YAC3B,EAAE;YACF,mCAAmC;YACnC,WAAW;YACX,8RAA8R;YAC9R,+SAA+S;YAC/S,yKAAyK;YACzK,yQAAyQ;YACzQ,0TAA0T;YAC1T,EAAE;YACF,oCAAoC;YACpC,EAAE;YACF,8CAA8C;YAC9C,EAAE;YACF,iEAAiE;YACjE,6GAA6G;YAC7G,8GAA8G;YAC9G,yHAAyH;YACzH,wHAAwH;YACxH,uHAAuH;YACvH,YAAY;YACZ,yFAAyF;YACzF,UAAU;YACV,gGAAgG;YAChG,QAAQ;YACR,mGAAmG;YACnG,gHAAgH;YAChH,gGAAgG;YAChG,qGAAqG;YACrG,yBAAyB;YACzB,2GAA2G;YAC3G,mHAAmH;YACnH,kHAAkH;YAClH,kHAAkH;YAClH,yDAAyD;YACzD,EAAE;YACF,aAAa;YACb,EAAE;YACF,qBAAqB;YACrB,WAAW;YACX,iGAAiG;YACjG,4IAA4I;YAC5I,8FAA8F;YAC9F,qHAAqH;YACrH,uEAAuE;YACvE,EAAE;YACF,0BAA0B;YAC1B,EAAE;YACF,mHAAmH;YACnH,kEAAkE;YAClE,kHAAkH;YAClH,gHAAgH;YAChH,0FAA0F;YAC1F,6GAA6G;YAC7G,sFAAsF;YACtF,+GAA+G;YAC/G,uEAAuE;YACvE,EAAE;YACF,iBAAiB;YACjB,EAAE;YACF,mHAAmH;YACnH,gHAAgH;YAChH,oHAAoH;YACpH,gBAAgB;YAChB,EAAE;SACH,CAAC,IAAI,CAAC,IAAI,CAAC;KACb;CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"surface-parity.d.ts","sourceRoot":"","sources":["../../agent/surface-parity.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F,eAAO,MAAM,0BAA0B,EAAE,wBAiDxC,CAAC"}
1
+ {"version":3,"file":"surface-parity.d.ts","sourceRoot":"","sources":["../../agent/surface-parity.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AAE3F,eAAO,MAAM,0BAA0B,EAAE,wBAkDxC,CAAC"}
@@ -33,6 +33,7 @@ export const GOOGLE_CHAT_SURFACE_PARITY = {
33
33
  unsupported: "not built yet — a Chat card with a button needs the CARD_CLICKED tap answered; a governed act asked from Google Chat takes the venue walk to a card-capable room in the same domain",
34
34
  },
35
35
  "judge-lift-notice": { supported: "the shared text render, posted into the space — no button yet, so the overrule is spelled out in words" },
36
+ "out-of-office-cover": { unsupported: "not built yet — the space route does not call `coverForWake`, and the surface takes no ambient messages" },
36
37
  "name-drop-mention": { unsupported: "not built yet — a message that names the app without an @mention never reaches the HTTP endpoint; a Workspace Events subscription would deliver it" },
37
38
  "message-edit-wake": { unsupported: "not built yet — the HTTP endpoint sends no event for an edited message; a Workspace Events subscription would" },
38
39
  threads: { supported: "a reply posts into the trigger's own thread (`REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD`)" },
@@ -1 +1 @@
1
- {"version":3,"file":"surface-parity.js","sourceRoot":"","sources":["../../agent/surface-parity.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wFAAwF;AACxF,EAAE;AACF,6GAA6G;AAC7G,+GAA+G;AAC/G,0GAA0G;AAC1G,8GAA8G;AAC9G,mHAAmH;AACnH,oGAAoG;AACpG,+FAA+F;AAI/F,MAAM,CAAC,MAAM,0BAA0B,GAA6B;IAClE,gGAAgG;IAChG,iBAAiB,EAAE,WAAW;IAC9B,qBAAqB,EAAE,WAAW;IAClC,UAAU,EAAE,WAAW;IACvB,mBAAmB,EAAE,WAAW;IAChC,wBAAwB,EAAE;QACxB,WAAW,EAAE,2LAA2L;KACzM;IACD,cAAc,EAAE,EAAE,WAAW,EAAE,mKAAmK,EAAE;IACpM,0BAA0B,EAAE,EAAE,WAAW,EAAE,oGA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AAE,SAAS,EAAE,2DAA2D,EAAE;IAC3F,UAAU,EAAE,EAAE,WAAW,EAAE,uDAAuD,EAAE;IACpF,SAAS,EAAE,EAAE,WAAW,EAAE,6CAA6C,EAAE;CAC1E,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-everywhere/provider-google-chat",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Open Everywhere Google Chat provider — the agent as a Google Chat app: mention and DM wakes, threaded replies.",
5
5
  "keywords": [
6
6
  "agent",
@@ -104,7 +104,7 @@
104
104
  "test:google-chat-post-arm": "NODE_NO_WARNINGS=1 tsx scripts/google-chat-post-arm-test.ts"
105
105
  },
106
106
  "dependencies": {
107
- "@open-everywhere/core": "0.7.0",
107
+ "@open-everywhere/core": "0.8.0",
108
108
  "jose": "6.2.3"
109
109
  },
110
110
  "peerDependencies": {