@rubytech/create-maxy-code 0.1.469 → 0.1.470
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 +40 -0
- package/package.json +1 -1
- package/payload/platform/config/brand.json +1 -0
- package/payload/platform/plugins/.claude-plugin/marketplace.json +5 -0
- package/payload/platform/plugins/admin/hooks/lib/maxy-mcp-plugins.txt +1 -0
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +74 -1
- package/payload/platform/plugins/docs/references/google-guide.md +68 -0
- package/payload/platform/plugins/google/.claude-plugin/plugin.json +21 -0
- package/payload/platform/plugins/google/PLUGIN.md +104 -0
- package/payload/platform/plugins/google/lib/mcp-spawn-tee/index.js +193 -0
- package/payload/platform/plugins/google/lib/mcp-spawn-tee/package.json +3 -0
- package/payload/platform/plugins/google/mcp/package.json +20 -0
- package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js +12 -0
- package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js.map +1 -1
- package/payload/platform/templates/specialists/agents/personal-assistant.md +1 -1
- package/payload/server/{chunk-POBXIHOF.js → chunk-JRIBGO45.js} +15 -1
- package/payload/server/maxy-edge.js +1 -1
- package/payload/server/server.js +596 -349
package/dist/index.js
CHANGED
|
@@ -3720,6 +3720,46 @@ function installServiceDarwin() {
|
|
|
3720
3720
|
}
|
|
3721
3721
|
}
|
|
3722
3722
|
logFile(` [installer] op=outlook-client-id brand=${BRAND.hostname} stamped=${BRAND.outlookClientId ? "true" : "false"}`);
|
|
3723
|
+
// Task 1761 — same upsert/strip discipline for the Google vendor app.
|
|
3724
|
+
// GOOGLE_PUBLIC_BASE is the https origin the consent redirect returns to;
|
|
3725
|
+
// it must match the authorized redirect URI on the vendor app byte-for-byte,
|
|
3726
|
+
// so it is derived from the brand's public host, not guessed at call time.
|
|
3727
|
+
// GOOGLE_PUBLIC_BASE is the https origin Google redirects back to. It is a
|
|
3728
|
+
// property of THIS INSTALL's tunnel, not of the brand, so it is read from
|
|
3729
|
+
// the same tunnel.state the uninstaller reads. Absent tunnel → the var is
|
|
3730
|
+
// stripped and google-account-register refuses with an actionable message,
|
|
3731
|
+
// rather than a guessed host that would fail Google's byte-for-byte
|
|
3732
|
+
// redirect_uri comparison at the token exchange.
|
|
3733
|
+
let googlePublicBase = "";
|
|
3734
|
+
try {
|
|
3735
|
+
const tunnelState = join(PERSIST_DIR, "cloudflared/tunnel.state");
|
|
3736
|
+
if (existsSync(tunnelState)) {
|
|
3737
|
+
const parsed = JSON.parse(readFileSync(tunnelState, "utf-8"));
|
|
3738
|
+
if (parsed.domain)
|
|
3739
|
+
googlePublicBase = `https://public.${parsed.domain}`;
|
|
3740
|
+
}
|
|
3741
|
+
}
|
|
3742
|
+
catch {
|
|
3743
|
+
// Unreadable tunnel state is not fatal to the install; the var stays unset.
|
|
3744
|
+
}
|
|
3745
|
+
if (BRAND.googleClientId) {
|
|
3746
|
+
for (const [key, value] of [
|
|
3747
|
+
["GOOGLE_CLIENT_ID", BRAND.googleClientId],
|
|
3748
|
+
["GOOGLE_PUBLIC_BASE", googlePublicBase],
|
|
3749
|
+
]) {
|
|
3750
|
+
const re = new RegExp(`^${key}=.*$`, "m");
|
|
3751
|
+
if (re.test(envContent))
|
|
3752
|
+
envContent = envContent.replace(re, `${key}=${value}`);
|
|
3753
|
+
else
|
|
3754
|
+
envContent = envContent.trimEnd() + (envContent.length > 0 ? "\n" : "") + `${key}=${value}\n`;
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
else {
|
|
3758
|
+
for (const key of ["GOOGLE_CLIENT_ID", "GOOGLE_PUBLIC_BASE"]) {
|
|
3759
|
+
envContent = envContent.replace(new RegExp(`^${key}=.*\\n?`, "m"), "");
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
logFile(` [installer] op=google-client-id brand=${BRAND.hostname} stamped=${BRAND.googleClientId ? "true" : "false"} publicBase=${googlePublicBase || "unset"}`);
|
|
3723
3763
|
writeFileSync(envPath, envContent);
|
|
3724
3764
|
logFile(` .env: DISPLAY_MODE=${DISPLAY_MODE}, EMBED_MODEL=${EMBED_MODEL}, EMBED_DIMENSIONS=${EMBED_DIMS}, NEO4J_URI=bolt://localhost:${NEO4J_PORT}, PORT=${PORT}, MAXY_UI_INTERNAL_PORT=${PORT} (darwin-collapsed), CLAUDE_SESSION_MANAGER_PORT=${BRAND.claudeSessionManagerPort}, HOSTNAME=0.0.0.0, ACCOUNT_ID=${installAccountId.slice(0, 8)}…, CLAUDE_CONFIG_DIR=${persistDir}/.claude, CLAUDE_BIN=${canonicalClaude ?? "unresolved(PATH)"}, NODE_BIN=${nodeBin}, PATH=${darwinServiceEnvPath}`);
|
|
3725
3765
|
}
|
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"cdpPort": 9222,
|
|
16
16
|
"claudeSessionManagerPort": 19400,
|
|
17
17
|
"outlookClientId": "",
|
|
18
|
+
"googleClientId": "",
|
|
18
19
|
"commercialMode": false,
|
|
19
20
|
"vertical": "schema-knowledge-work",
|
|
20
21
|
"shipsPremiumBundles": ["venture-studio", "writer-craft", "teaching", "management-consulting"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: platform-architecture
|
|
3
3
|
description: Use when grounding any documented-surface claim about what Maxy ships — plugins, skills, specialists, install/deploy flows, internals. This is the install catalogue, not evidence of what is enabled on the current account. For install state on this account, call `capabilities-here`; for documented surface, cite the `Source:` URL inline.
|
|
4
|
-
content-hash: sha256:
|
|
4
|
+
content-hash: sha256:4f7717f06a4d87172809793ad9a02cfe57e3b4f6ec4b2f0f2dbff39792ef5456
|
|
5
5
|
brand: maxy-code
|
|
6
6
|
product-name: Maxy
|
|
7
7
|
---
|
|
@@ -2152,6 +2152,79 @@ Latency triage: `mail-list count=0 elapsedMs<200` consistent → permissions iss
|
|
|
2152
2152
|
|
|
2153
2153
|
Mail move to arbitrary folders / flag, hard (permanent) delete, removing an attachment from a **sent** message (Graph forbids it), ingesting reviewed mail into the business graph (the `email-ingest` analogue), contacts write, recurring-series occurrence editing, the `scheduling` Neo4j calendar and any auto-sync with it, OneDrive / Files, push notifications, on-premises Exchange, M365 admin scopes (`User.Read.All`, `AuditLog.Read.All`), public-agent exposure, multi-tenant federation. Mail read, full-body read, inbound attachment list/download, reply, delete (to Deleted Items), and compose — all four outbound paths carrying attachments, with a draft's attachments editable in place (add, remove, replace) — are supported (`outlook-mail-fetch-body`, `outlook-mail-attachment`, `outlook-mail-reply`, `outlook-mail-delete`, `outlook-mail-otp-extract`, `outlook-mail-send`, `outlook-draft`, `outlook-draft-edit`, `outlook-draft-send`), and the calendar is read plus control. See `platform/plugins/outlook/PLUGIN.md` for the full out-of-scope list.
|
|
2154
2154
|
|
|
2155
|
+
---
|
|
2156
|
+
# Google Calendar
|
|
2157
|
+
Source: https://docs.getmaxy.com/google-guide.md
|
|
2158
|
+
|
|
2159
|
+
# Google Calendar
|
|
2160
|
+
|
|
2161
|
+
Live Google Calendar for one account: read the user's real events, and create,
|
|
2162
|
+
update, cancel, respond to and check availability against them. Eleven tools,
|
|
2163
|
+
admin agent only.
|
|
2164
|
+
|
|
2165
|
+
There is deliberately no Gmail surface here. Mail runs on the `email` plugin's
|
|
2166
|
+
IMAP/SMTP path, and Gmail's read/modify scopes are *restricted*, which would
|
|
2167
|
+
force Google's annual third-party security assessment. Calendar is only a
|
|
2168
|
+
*sensitive* scope, so it needs the lighter brand verification.
|
|
2169
|
+
|
|
2170
|
+
## Connecting an account
|
|
2171
|
+
|
|
2172
|
+
`google-account-register` returns a consent URL. Relay it to the user: they open
|
|
2173
|
+
it on any device, sign in, and approve. Google redirects to this install's
|
|
2174
|
+
public host at `/api/google/oauth/callback`, which exchanges the code and stores
|
|
2175
|
+
encrypted tokens. `google-account-register-poll` then reports the outcome.
|
|
2176
|
+
|
|
2177
|
+
The register tool does not block and does not wait. A second register while one
|
|
2178
|
+
is already live is refused rather than overwriting it; that refusal names how
|
|
2179
|
+
long the live one has been pending.
|
|
2180
|
+
|
|
2181
|
+
One account can connect several Google accounts. Every operational tool takes an
|
|
2182
|
+
optional `account` (the email address). Omit it when there is one; with two or
|
|
2183
|
+
more, omitting it returns a refusal listing them.
|
|
2184
|
+
|
|
2185
|
+
## Reading and controlling
|
|
2186
|
+
|
|
2187
|
+
- `google-calendar-list` — events in the next `rangeDays` days (default 7).
|
|
2188
|
+
Recurring series are expanded into instances, so this returns what the user
|
|
2189
|
+
actually sees in their calendar.
|
|
2190
|
+
- `google-calendar-event` — one event by id.
|
|
2191
|
+
- `google-calendar-create` — times are RFC3339 (`2026-07-20T09:00:00Z`) unless
|
|
2192
|
+
`allDay` is true, in which case they are plain dates (`2026-07-20`).
|
|
2193
|
+
- `google-calendar-update` — changes only the fields you name. Omitted fields
|
|
2194
|
+
are left alone, so an update never blanks something by accident.
|
|
2195
|
+
- `google-calendar-cancel` — deletes the event and notifies attendees.
|
|
2196
|
+
- `google-calendar-respond` — accept, decline or tentatively accept an
|
|
2197
|
+
invitation. Every other attendee's response is preserved.
|
|
2198
|
+
- `google-calendar-freebusy` — busy blocks between two times. Free time is the
|
|
2199
|
+
complement, which you work out.
|
|
2200
|
+
|
|
2201
|
+
## Checking health
|
|
2202
|
+
|
|
2203
|
+
`google-account-list` answers "is anything connected?" from local stores with no
|
|
2204
|
+
network call. Read each entry's `status` — a count alone is not "connected", and
|
|
2205
|
+
an unreadable store still counts. `google-account-info` gives one account's auth
|
|
2206
|
+
state, including whether its access token is near expiry and which scopes were
|
|
2207
|
+
granted.
|
|
2208
|
+
|
|
2209
|
+
## When something is wrong
|
|
2210
|
+
|
|
2211
|
+
**"GOOGLE_CLIENT_ID is not configured"** — this brand has no Google vendor app
|
|
2212
|
+
yet. Nothing the operator does on the device fixes it; the brand needs its own
|
|
2213
|
+
Google Cloud OAuth client. See `platform/plugins/google/references/auth.md`.
|
|
2214
|
+
|
|
2215
|
+
**A 403 naming insufficient scope** — the connected account approved something
|
|
2216
|
+
narrower than the full calendar scope. Re-run `google-account-register` so they
|
|
2217
|
+
re-consent.
|
|
2218
|
+
|
|
2219
|
+
**The user re-consents every week** — the brand's Google app is still in
|
|
2220
|
+
Testing, where Google caps refresh tokens at seven days and limits the app to
|
|
2221
|
+
100 named test users. Completing brand verification removes both. This is a
|
|
2222
|
+
property of the vendor app, not a fault in the connection.
|
|
2223
|
+
|
|
2224
|
+
**A registration never completes** — the consent URL was opened but not
|
|
2225
|
+
approved, or the callback could not be reached. `google-account-register-poll`
|
|
2226
|
+
reports `expired` once the pending entry outlives Google's code lifetime.
|
|
2227
|
+
|
|
2155
2228
|
---
|
|
2156
2229
|
# QuickBooks Online
|
|
2157
2230
|
Source: https://docs.getmaxy.com/quickbooks.md
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Google Calendar
|
|
2
|
+
|
|
3
|
+
Live Google Calendar for one account: read the user's real events, and create,
|
|
4
|
+
update, cancel, respond to and check availability against them. Eleven tools,
|
|
5
|
+
admin agent only.
|
|
6
|
+
|
|
7
|
+
There is deliberately no Gmail surface here. Mail runs on the `email` plugin's
|
|
8
|
+
IMAP/SMTP path, and Gmail's read/modify scopes are *restricted*, which would
|
|
9
|
+
force Google's annual third-party security assessment. Calendar is only a
|
|
10
|
+
*sensitive* scope, so it needs the lighter brand verification.
|
|
11
|
+
|
|
12
|
+
## Connecting an account
|
|
13
|
+
|
|
14
|
+
`google-account-register` returns a consent URL. Relay it to the user: they open
|
|
15
|
+
it on any device, sign in, and approve. Google redirects to this install's
|
|
16
|
+
public host at `/api/google/oauth/callback`, which exchanges the code and stores
|
|
17
|
+
encrypted tokens. `google-account-register-poll` then reports the outcome.
|
|
18
|
+
|
|
19
|
+
The register tool does not block and does not wait. A second register while one
|
|
20
|
+
is already live is refused rather than overwriting it; that refusal names how
|
|
21
|
+
long the live one has been pending.
|
|
22
|
+
|
|
23
|
+
One account can connect several Google accounts. Every operational tool takes an
|
|
24
|
+
optional `account` (the email address). Omit it when there is one; with two or
|
|
25
|
+
more, omitting it returns a refusal listing them.
|
|
26
|
+
|
|
27
|
+
## Reading and controlling
|
|
28
|
+
|
|
29
|
+
- `google-calendar-list` — events in the next `rangeDays` days (default 7).
|
|
30
|
+
Recurring series are expanded into instances, so this returns what the user
|
|
31
|
+
actually sees in their calendar.
|
|
32
|
+
- `google-calendar-event` — one event by id.
|
|
33
|
+
- `google-calendar-create` — times are RFC3339 (`2026-07-20T09:00:00Z`) unless
|
|
34
|
+
`allDay` is true, in which case they are plain dates (`2026-07-20`).
|
|
35
|
+
- `google-calendar-update` — changes only the fields you name. Omitted fields
|
|
36
|
+
are left alone, so an update never blanks something by accident.
|
|
37
|
+
- `google-calendar-cancel` — deletes the event and notifies attendees.
|
|
38
|
+
- `google-calendar-respond` — accept, decline or tentatively accept an
|
|
39
|
+
invitation. Every other attendee's response is preserved.
|
|
40
|
+
- `google-calendar-freebusy` — busy blocks between two times. Free time is the
|
|
41
|
+
complement, which you work out.
|
|
42
|
+
|
|
43
|
+
## Checking health
|
|
44
|
+
|
|
45
|
+
`google-account-list` answers "is anything connected?" from local stores with no
|
|
46
|
+
network call. Read each entry's `status` — a count alone is not "connected", and
|
|
47
|
+
an unreadable store still counts. `google-account-info` gives one account's auth
|
|
48
|
+
state, including whether its access token is near expiry and which scopes were
|
|
49
|
+
granted.
|
|
50
|
+
|
|
51
|
+
## When something is wrong
|
|
52
|
+
|
|
53
|
+
**"GOOGLE_CLIENT_ID is not configured"** — this brand has no Google vendor app
|
|
54
|
+
yet. Nothing the operator does on the device fixes it; the brand needs its own
|
|
55
|
+
Google Cloud OAuth client. See `platform/plugins/google/references/auth.md`.
|
|
56
|
+
|
|
57
|
+
**A 403 naming insufficient scope** — the connected account approved something
|
|
58
|
+
narrower than the full calendar scope. Re-run `google-account-register` so they
|
|
59
|
+
re-consent.
|
|
60
|
+
|
|
61
|
+
**The user re-consents every week** — the brand's Google app is still in
|
|
62
|
+
Testing, where Google caps refresh tokens at seven days and limits the app to
|
|
63
|
+
100 named test users. Completing brand verification removes both. This is a
|
|
64
|
+
property of the vendor app, not a fault in the connection.
|
|
65
|
+
|
|
66
|
+
**A registration never completes** — the consent URL was opened but not
|
|
67
|
+
approved, or the callback could not be reached. `google-account-register-poll`
|
|
68
|
+
reports `expired` once the pending entry outlives Google's code lifetime.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "google",
|
|
3
|
+
"description": "Live Google Calendar for one account via the Google Calendar API v3 — read plus control. Per-account OAuth authorization-code + PKCE; the consent URL is minted by the plugin and the code is exchanged by platform/ui, which holds the house-only client secret. One account can connect several Google accounts; every operational tool takes an optional account selector (the email address) and refuses ambiguously when two or more are connected and none is named. There is deliberately no Gmail surface — mail runs on the `email` plugin's IMAP/SMTP path, and Gmail's restricted scopes would force Google's annual third-party security assessment, whereas Calendar is only a sensitive scope. Tools — google-account-register / google-account-register-poll: connect a Google Calendar (returns a consent URL, then reports the outcome from local state); google-calendar-list: events in the next rangeDays days, recurring series expanded; google-calendar-event: one event by id; google-calendar-create / google-calendar-update / google-calendar-cancel: control events, attendees notified, update changes only the fields named; google-calendar-respond: accept, decline or tentatively accept an invitation, leaving other attendees' responses untouched; google-calendar-freebusy: busy blocks for this or named calendars; google-account-info: auth state for one connected Google account; google-account-list: every connected Google account with its own status.",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Rubytech LLC"
|
|
7
|
+
},
|
|
8
|
+
"mcpServers": {
|
|
9
|
+
"google": {
|
|
10
|
+
"type": "stdio",
|
|
11
|
+
"command": "node",
|
|
12
|
+
"args": [
|
|
13
|
+
"${CLAUDE_PLUGIN_ROOT}/lib/mcp-spawn-tee/index.js",
|
|
14
|
+
"${CLAUDE_PLUGIN_ROOT}/mcp/dist/index.js"
|
|
15
|
+
],
|
|
16
|
+
"env": {
|
|
17
|
+
"MCP_SPAWN_TEE_NAME": "google"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: google
|
|
3
|
+
description: Live Google Calendar for one account via the Google Calendar API v3 — read plus control. Per-account OAuth authorization-code + PKCE; the consent URL is minted by the plugin and the code is exchanged by platform/ui, which holds the house-only client secret. One account can connect several Google accounts; every operational tool takes an optional account selector (the email address) and refuses ambiguously when two or more are connected and none is named. There is deliberately no Gmail surface — mail runs on the `email` plugin's IMAP/SMTP path, and Gmail's restricted scopes would force Google's annual third-party security assessment, whereas Calendar is only a sensitive scope. Tools — google-account-register / google-account-register-poll: connect a Google Calendar (returns a consent URL, then reports the outcome from local state); google-calendar-list: events in the next rangeDays days, recurring series expanded; google-calendar-event: one event by id; google-calendar-create / google-calendar-update / google-calendar-cancel: control events, attendees notified, update changes only the fields named; google-calendar-respond: accept, decline or tentatively accept an invitation, leaving other attendees' responses untouched; google-calendar-freebusy: busy blocks for this or named calendars; google-account-info: auth state for one connected Google account; google-account-list: every connected Google account with its own status.
|
|
4
|
+
tools:
|
|
5
|
+
- name: google-account-register
|
|
6
|
+
publicAllowlist: false
|
|
7
|
+
adminAllowlist: false
|
|
8
|
+
- name: google-account-register-poll
|
|
9
|
+
publicAllowlist: false
|
|
10
|
+
adminAllowlist: false
|
|
11
|
+
- name: google-calendar-list
|
|
12
|
+
publicAllowlist: false
|
|
13
|
+
adminAllowlist: false
|
|
14
|
+
- name: google-calendar-event
|
|
15
|
+
publicAllowlist: false
|
|
16
|
+
adminAllowlist: false
|
|
17
|
+
- name: google-calendar-create
|
|
18
|
+
publicAllowlist: false
|
|
19
|
+
adminAllowlist: false
|
|
20
|
+
- name: google-calendar-update
|
|
21
|
+
publicAllowlist: false
|
|
22
|
+
adminAllowlist: false
|
|
23
|
+
- name: google-calendar-cancel
|
|
24
|
+
publicAllowlist: false
|
|
25
|
+
adminAllowlist: false
|
|
26
|
+
- name: google-calendar-respond
|
|
27
|
+
publicAllowlist: false
|
|
28
|
+
adminAllowlist: false
|
|
29
|
+
- name: google-calendar-freebusy
|
|
30
|
+
publicAllowlist: false
|
|
31
|
+
adminAllowlist: false
|
|
32
|
+
- name: google-account-info
|
|
33
|
+
publicAllowlist: false
|
|
34
|
+
adminAllowlist: false
|
|
35
|
+
- name: google-account-list
|
|
36
|
+
publicAllowlist: false
|
|
37
|
+
adminAllowlist: false
|
|
38
|
+
mcp:
|
|
39
|
+
command: node
|
|
40
|
+
args:
|
|
41
|
+
- ${PLATFORM_ROOT}/lib/mcp-spawn-tee/dist/index.js
|
|
42
|
+
- ${PLATFORM_ROOT}/plugins/google/mcp/dist/index.js
|
|
43
|
+
env:
|
|
44
|
+
MCP_SPAWN_TEE_NAME: google
|
|
45
|
+
LOG_DIR: ${LOG_DIR}
|
|
46
|
+
PLATFORM_ROOT: ${PLATFORM_ROOT}
|
|
47
|
+
ACCOUNT_ID: ${ACCOUNT_ID}
|
|
48
|
+
SESSION_ID: ${SESSION_ID}
|
|
49
|
+
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
|
|
50
|
+
GOOGLE_PUBLIC_BASE: ${GOOGLE_PUBLIC_BASE}
|
|
51
|
+
MAXY_UI_INTERNAL_PORT: ${MAXY_UI_INTERNAL_PORT}
|
|
52
|
+
mcp-manifest: auto
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
# Google Calendar
|
|
56
|
+
|
|
57
|
+
Per-account live Google Calendar. Read the user's real events, and create,
|
|
58
|
+
update, cancel, respond to and check availability against them.
|
|
59
|
+
|
|
60
|
+
## Why this exists
|
|
61
|
+
|
|
62
|
+
A client sub-account cannot hold a claude.ai connector: connectors are
|
|
63
|
+
authorised per client and visible only to the admin/claude.ai session, and the
|
|
64
|
+
install holds one house Google identity that cannot represent each client's
|
|
65
|
+
separate calendar. Before this plugin the only live-calendar path was that
|
|
66
|
+
house-admin-only connector, so a client asking "what is on my calendar?" was
|
|
67
|
+
dead-ended. See `references/auth.md`.
|
|
68
|
+
|
|
69
|
+
## Auth
|
|
70
|
+
|
|
71
|
+
Authorization-code + PKCE, not device-code. Google's device flow serves a fixed
|
|
72
|
+
scope allowlist that excludes Calendar, and the out-of-band paste-a-code flow
|
|
73
|
+
has been blocked since 31 January 2023, so consent must land on a real redirect.
|
|
74
|
+
|
|
75
|
+
`google-account-register` mints the PKCE pair and a `state` nonce, persists them
|
|
76
|
+
single-slot per account, and returns a consent URL. The user opens it on any
|
|
77
|
+
device and approves. Google redirects to `/api/google/oauth/callback` on this
|
|
78
|
+
install's public host, which verifies `state`, exchanges the code, resolves the
|
|
79
|
+
account's email from its primary calendar, and writes encrypted tokens.
|
|
80
|
+
`google-account-register-poll` then reports the outcome from local state.
|
|
81
|
+
|
|
82
|
+
The client secret never enters this MCP process. A Web-application client must
|
|
83
|
+
present it to refresh, so refresh is delegated to `platform/ui`, which holds it
|
|
84
|
+
at `${PLATFORM_ROOT}/config/google-house.env`.
|
|
85
|
+
|
|
86
|
+
## Scope
|
|
87
|
+
|
|
88
|
+
One scope: `https://www.googleapis.com/auth/calendar`. The account's email is
|
|
89
|
+
read from `GET /calendars/primary` (whose id is the address) rather than by
|
|
90
|
+
requesting `openid`/`email`/`profile`, so consent stays minimal.
|
|
91
|
+
|
|
92
|
+
## Configuration
|
|
93
|
+
|
|
94
|
+
| Variable | Source | Effect when unset |
|
|
95
|
+
|---|---|---|
|
|
96
|
+
| `GOOGLE_CLIENT_ID` | `brand.json#googleClientId` | Plugin inert; register refuses with an actionable message |
|
|
97
|
+
| `GOOGLE_PUBLIC_BASE` | install's public host origin | Register refuses; the redirect cannot be built |
|
|
98
|
+
| `MAXY_ADMIN_BASE` | loopback `platform/ui` base | Defaults to `http://127.0.0.1:19301` |
|
|
99
|
+
|
|
100
|
+
## Out of scope
|
|
101
|
+
|
|
102
|
+
Gmail (stays on IMAP/SMTP), Contacts, Drive/Docs, push notification channels,
|
|
103
|
+
recurring-series per-occurrence editing, and auto-sync with the internal
|
|
104
|
+
`scheduling` plugin.
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* MCP spawn-tee — in-process stderr capture + lifecycle observability.
|
|
5
|
+
*
|
|
6
|
+
* Claude Code spawns each MCP server itself; the platform never holds a
|
|
7
|
+
* ChildProcess handle. This shim sits between Claude Code and the real MCP
|
|
8
|
+
* server: Claude Code runs `node <this> <real-entry>`, and the shim runs the
|
|
9
|
+
* real entry IN ITS OWN PROCESS via dynamic import() — one node runtime, not
|
|
10
|
+
* two. Before importing, it replaces process.stderr.write with a tee so every
|
|
11
|
+
* stderr byte the server writes is mirrored to the log sinks; stdin and stdout
|
|
12
|
+
* (the JSON-RPC channel) are never touched.
|
|
13
|
+
*
|
|
14
|
+
* Claude Code CLI → shim (this file) = node running <real-entry> in-process
|
|
15
|
+
* stdin/stdout : untouched (JSON-RPC channel)
|
|
16
|
+
* stderr : process.stderr.write teed → raw sink + passthrough
|
|
17
|
+
*
|
|
18
|
+
* Destinations:
|
|
19
|
+
* - `${LOG_DIR}/mcp-<name>-<SESSION_ID>.log` — raw stderr + lifecycle lines.
|
|
20
|
+
* The sole raw sink. Task 1721 retired the per-date twin: its date was
|
|
21
|
+
* pinned at spawn, no reader ever parsed it, and a since-removed stderr
|
|
22
|
+
* tee wrote the same file, so every line landed twice.
|
|
23
|
+
* - `${LOG_DIR}/mcp-<name>-nosession.log` — the same, for a spawn with
|
|
24
|
+
* no SESSION_ID (enumeration). One fixed file per server.
|
|
25
|
+
* - `server.log` via the loopback log-ingest route — best-effort mirror of
|
|
26
|
+
* the [mcp-helper] lifecycle lines.
|
|
27
|
+
*
|
|
28
|
+
* Lifecycle lines, correlation key `session=<id8> server=<name>` — unchanged:
|
|
29
|
+
* [mcp-helper] op=spawn ... pid= entry=
|
|
30
|
+
* [mcp-helper] op=boot ... head=<first stderr bytes>
|
|
31
|
+
* [mcp-helper] op=exit ... code= signal= lifetimeMs= stderr-tail=
|
|
32
|
+
*
|
|
33
|
+
* Process model (Task 989): the shim IS the server's process. op=exit fires
|
|
34
|
+
* from process.on("exit"), so it covers a normal exit, a non-zero exit, an
|
|
35
|
+
* uncaught throw (code 1), and a catchable-signal exit (SIGTERM/SIGINT/SIGHUP,
|
|
36
|
+
* whose handlers record the signal name). An external SIGKILL is uncatchable
|
|
37
|
+
* and leaves no op=exit line — the per-session stderr tail already on disk and
|
|
38
|
+
* Claude Code's own transport-drop are the evidence for that death mode.
|
|
39
|
+
*
|
|
40
|
+
* The shim never writes to fd 1 (stdout) — that is the JSON-RPC channel.
|
|
41
|
+
*/
|
|
42
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43
|
+
const node_fs_1 = require("node:fs");
|
|
44
|
+
const node_path_1 = require("node:path");
|
|
45
|
+
const node_url_1 = require("node:url");
|
|
46
|
+
const SERVER_NAME = process.env.MCP_SPAWN_TEE_NAME ?? "unknown";
|
|
47
|
+
const LOG_DIR = process.env.LOG_DIR;
|
|
48
|
+
const SESSION_ID = process.env.SESSION_ID;
|
|
49
|
+
const PLATFORM_PORT = process.env.PLATFORM_PORT;
|
|
50
|
+
const ENTRY = process.argv[2];
|
|
51
|
+
const SESSION_ID8 = SESSION_ID ? SESSION_ID.slice(0, 8) : "—";
|
|
52
|
+
const spawnStamp = Date.now();
|
|
53
|
+
// The one raw sink (Task 1721). A sessionless spawn (rc-daemon stamps
|
|
54
|
+
// SESSION_ID='' — rc-daemon.ts:513 — while still stamping LOG_DIR) shares one
|
|
55
|
+
// fixed file per server rather than a date-named one: the date was never read
|
|
56
|
+
// by any reader and named a process lifetime, not a day. Interleaved spawns in
|
|
57
|
+
// the nosession file are separated by the [mcp-helper] op=spawn pid= lines.
|
|
58
|
+
const rawSinkPath = LOG_DIR
|
|
59
|
+
? (0, node_path_1.resolve)(LOG_DIR, SESSION_ID ? `mcp-${SERVER_NAME}-${SESSION_ID}.log` : `mcp-${SERVER_NAME}-nosession.log`)
|
|
60
|
+
: undefined;
|
|
61
|
+
// Rolling tail of entry stderr for op=exit. Capped so a chatty server cannot
|
|
62
|
+
// grow the buffer without bound.
|
|
63
|
+
const TAIL_CAP = 2048;
|
|
64
|
+
let stderrTail = "";
|
|
65
|
+
let bootEmitted = false;
|
|
66
|
+
let exitEmitted = false;
|
|
67
|
+
let exitSignal;
|
|
68
|
+
// The real stderr writer, captured before the tee replaces it. Lifecycle lines
|
|
69
|
+
// and stderr passthrough both go through this so they are never re-teed into
|
|
70
|
+
// the raw sink nor recursed back into the patched writer.
|
|
71
|
+
const rawStderrWrite = process.stderr.write.bind(process.stderr);
|
|
72
|
+
// LOG_DIR is created once, lazily, on the first successful append — not per
|
|
73
|
+
// chunk. teeWrite runs on the server's own stderr hot path now, so a per-call
|
|
74
|
+
// mkdirSync would be two syscalls per log line for nothing.
|
|
75
|
+
let logDirReady = false;
|
|
76
|
+
function appendSafe(path, data) {
|
|
77
|
+
if (!path || !LOG_DIR)
|
|
78
|
+
return;
|
|
79
|
+
try {
|
|
80
|
+
if (!logDirReady) {
|
|
81
|
+
(0, node_fs_1.mkdirSync)(LOG_DIR, { recursive: true });
|
|
82
|
+
logDirReady = true;
|
|
83
|
+
}
|
|
84
|
+
(0, node_fs_1.appendFileSync)(path, data);
|
|
85
|
+
}
|
|
86
|
+
catch {
|
|
87
|
+
/* unwritable destination — never mask primary output */
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
// Best-effort mirror of a lifecycle line to server.log via the loopback
|
|
91
|
+
// log-ingest route. Fire-and-forget: the per-session file is authoritative, so
|
|
92
|
+
// a dropped POST loses nothing. On the "exit" event the loop is stopping, so
|
|
93
|
+
// the op=exit mirror may not flush — the per-session line, written sync, holds.
|
|
94
|
+
function postToServerLog(suffix, level) {
|
|
95
|
+
if (!PLATFORM_PORT)
|
|
96
|
+
return;
|
|
97
|
+
try {
|
|
98
|
+
const ctrl = new AbortController();
|
|
99
|
+
const t = setTimeout(() => ctrl.abort(), 500);
|
|
100
|
+
t.unref?.(); // never let the abort timer keep the shim's event loop alive
|
|
101
|
+
void fetch(`http://127.0.0.1:${PLATFORM_PORT}/api/admin/log-ingest`, {
|
|
102
|
+
method: "POST",
|
|
103
|
+
headers: { "content-type": "application/json" },
|
|
104
|
+
body: JSON.stringify({ tag: "mcp-helper", level, line: suffix }),
|
|
105
|
+
signal: ctrl.signal,
|
|
106
|
+
}).then(() => clearTimeout(t)).catch(() => clearTimeout(t));
|
|
107
|
+
}
|
|
108
|
+
catch {
|
|
109
|
+
/* fetch threw synchronously — best-effort only */
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
// Emit one [mcp-helper] lifecycle line: authoritative per-session file (sync,
|
|
113
|
+
// survives process.exit), the shim's own stderr via the RAW writer (journald /
|
|
114
|
+
// Claude Code visibility, never re-teed), and a best-effort server.log mirror.
|
|
115
|
+
// `suffix` is the line body after the tag and carries no newline (the
|
|
116
|
+
// log-ingest route rejects newlines).
|
|
117
|
+
function emitLifecycle(suffix, level) {
|
|
118
|
+
const line = `[mcp-helper] ${suffix}\n`;
|
|
119
|
+
appendSafe(rawSinkPath, line);
|
|
120
|
+
try {
|
|
121
|
+
rawStderrWrite(line);
|
|
122
|
+
}
|
|
123
|
+
catch { /* stderr closed */ }
|
|
124
|
+
postToServerLog(suffix, level);
|
|
125
|
+
}
|
|
126
|
+
if (!ENTRY) {
|
|
127
|
+
emitLifecycle(`op=error session=${SESSION_ID8} server=${SERVER_NAME} reason="no entry given (argv[2] missing)"`, "error");
|
|
128
|
+
process.exit(2);
|
|
129
|
+
}
|
|
130
|
+
// Replace process.stderr.write with a tee: mirror every server stderr byte to
|
|
131
|
+
// the raw sink, keep a rolling tail for op=exit, emit
|
|
132
|
+
// op=boot on the first bytes, then pass the write through to the real stderr.
|
|
133
|
+
const teeWrite = ((...args) => {
|
|
134
|
+
const chunk = args[0];
|
|
135
|
+
appendSafe(rawSinkPath, chunk); // raw sink (Task 1721)
|
|
136
|
+
const text = typeof chunk === "string" ? chunk : Buffer.from(chunk).toString("utf8");
|
|
137
|
+
stderrTail = (stderrTail + text).slice(-TAIL_CAP);
|
|
138
|
+
if (!bootEmitted) {
|
|
139
|
+
bootEmitted = true;
|
|
140
|
+
const head = text.split("\n")[0].slice(0, 200);
|
|
141
|
+
emitLifecycle(`op=boot session=${SESSION_ID8} server=${SERVER_NAME} head=${JSON.stringify(head)}`, "info");
|
|
142
|
+
}
|
|
143
|
+
return rawStderrWrite(...args); // passthrough
|
|
144
|
+
});
|
|
145
|
+
process.stderr.write = teeWrite;
|
|
146
|
+
// Catchable-signal handling. The shim drives the exit ONLY when it is the sole
|
|
147
|
+
// listener for the signal — i.e. the imported entry installed no handler of its
|
|
148
|
+
// own. In that case it records the signal (so op=exit carries signal=<sig>) and
|
|
149
|
+
// exits with 128+signum, mirroring the prior wrapper's exit-status convention.
|
|
150
|
+
//
|
|
151
|
+
// When the entry DID install a handler, the shim defers entirely and records
|
|
152
|
+
// nothing: the entry's handler decides the exit code, and op=exit reflects that
|
|
153
|
+
// exit verbatim. This matches the prior two-process model, where a child that
|
|
154
|
+
// caught the signal and exited cleanly was observed as code=0 signal=— (a clean
|
|
155
|
+
// self-exit), not as a signal death. Setting exitSignal here unconditionally
|
|
156
|
+
// would mislabel every graceful signal-driven shutdown as a signal kill.
|
|
157
|
+
function onSignal(sig, code) {
|
|
158
|
+
return () => {
|
|
159
|
+
if (process.listenerCount(sig) === 1) {
|
|
160
|
+
exitSignal = sig;
|
|
161
|
+
process.exit(code);
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
process.on("SIGTERM", onSignal("SIGTERM", 143));
|
|
166
|
+
process.on("SIGINT", onSignal("SIGINT", 130));
|
|
167
|
+
process.on("SIGHUP", onSignal("SIGHUP", 129));
|
|
168
|
+
// op=exit, emitted once from the process "exit" event. Sync-only — the loop is
|
|
169
|
+
// stopping. When a catchable signal caused the exit, report code=— signal=<sig>
|
|
170
|
+
// to match the prior wrapper's format; otherwise code=<exit code> signal=—.
|
|
171
|
+
process.on("exit", (code) => {
|
|
172
|
+
if (exitEmitted)
|
|
173
|
+
return;
|
|
174
|
+
exitEmitted = true;
|
|
175
|
+
const lifetimeMs = Date.now() - spawnStamp;
|
|
176
|
+
const tail = stderrTail.slice(-200);
|
|
177
|
+
const codeField = exitSignal ? "—" : String(code);
|
|
178
|
+
const level = exitSignal || code !== 0 ? "error" : "info";
|
|
179
|
+
emitLifecycle(`op=exit session=${SESSION_ID8} server=${SERVER_NAME} pid=${process.pid} ` +
|
|
180
|
+
`code=${codeField} signal=${exitSignal ?? "—"} lifetimeMs=${lifetimeMs} stderr-tail=${JSON.stringify(tail)}`, level);
|
|
181
|
+
});
|
|
182
|
+
emitLifecycle(`op=spawn session=${SESSION_ID8} server=${SERVER_NAME} pid=${process.pid} entry=${ENTRY}`, "info");
|
|
183
|
+
// Run the real MCP server in THIS process. Dynamic import() (not top-level
|
|
184
|
+
// await — this file compiles to CommonJS) loads the ESM entry; a load-time
|
|
185
|
+
// failure mirrors the old child spawn-error path (op=error, exit 127). The
|
|
186
|
+
// op=exit handler is suppressed on this path so op=error stays the sole record.
|
|
187
|
+
import((0, node_url_1.pathToFileURL)(ENTRY).href).catch((err) => {
|
|
188
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
189
|
+
exitEmitted = true;
|
|
190
|
+
emitLifecycle(`op=error session=${SESSION_ID8} server=${SERVER_NAME} reason=${JSON.stringify(`import error: ${msg}`)}`, "error");
|
|
191
|
+
process.exit(127);
|
|
192
|
+
});
|
|
193
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@maxy/google",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": true,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"test": "node --test dist/__tests__/*.test.js",
|
|
10
|
+
"start": "node dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
14
|
+
"zod": "^3.24.0"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/node": "^22.0.0",
|
|
18
|
+
"typescript": "^5.7.0"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonical-tool-names.generated.d.ts","sourceRoot":"","sources":["../src/canonical-tool-names.generated.ts"],"names":[],"mappings":"AAQA,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,
|
|
1
|
+
{"version":3,"file":"canonical-tool-names.generated.d.ts","sourceRoot":"","sources":["../src/canonical-tool-names.generated.ts"],"names":[],"mappings":"AAQA,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAwB7C,CAAA;AAED,gEAAgE;AAChE,eAAO,MAAM,yBAAyB,EAAE,SAAS,MAAM,EAiTtD,CAAA"}
|
package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js
CHANGED
|
@@ -14,6 +14,7 @@ export const MAXY_MCP_PLUGINS = [
|
|
|
14
14
|
"contacts",
|
|
15
15
|
"email",
|
|
16
16
|
"filesystem",
|
|
17
|
+
"google",
|
|
17
18
|
"graph",
|
|
18
19
|
"graph-viewer",
|
|
19
20
|
"joblogic",
|
|
@@ -127,6 +128,17 @@ export const CANONICAL_MAXY_TOOL_NAMES = [
|
|
|
127
128
|
"mcp__plugin_filesystem_filesystem__file-list",
|
|
128
129
|
"mcp__plugin_filesystem_filesystem__file-read",
|
|
129
130
|
"mcp__plugin_filesystem_filesystem__file-write",
|
|
131
|
+
"mcp__plugin_google_google__google-account-info",
|
|
132
|
+
"mcp__plugin_google_google__google-account-list",
|
|
133
|
+
"mcp__plugin_google_google__google-account-register",
|
|
134
|
+
"mcp__plugin_google_google__google-account-register-poll",
|
|
135
|
+
"mcp__plugin_google_google__google-calendar-cancel",
|
|
136
|
+
"mcp__plugin_google_google__google-calendar-create",
|
|
137
|
+
"mcp__plugin_google_google__google-calendar-event",
|
|
138
|
+
"mcp__plugin_google_google__google-calendar-freebusy",
|
|
139
|
+
"mcp__plugin_google_google__google-calendar-list",
|
|
140
|
+
"mcp__plugin_google_google__google-calendar-respond",
|
|
141
|
+
"mcp__plugin_google_google__google-calendar-update",
|
|
130
142
|
"mcp__plugin_graph-viewer_graph-viewer__graph-render",
|
|
131
143
|
"mcp__plugin_graph_graph__maxy-graph-get_neo4j_schema",
|
|
132
144
|
"mcp__plugin_graph_graph__maxy-graph-read_neo4j_cypher",
|
package/payload/platform/services/claude-session-manager/dist/canonical-tool-names.generated.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonical-tool-names.generated.js","sourceRoot":"","sources":["../src/canonical-tool-names.generated.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,kEAAkE;AAClE,yDAAyD;AACzD,kFAAkF;AAClF,EAAE;AACF,yEAAyE;AACzE,6DAA6D;AAE7D,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,OAAO;IACP,KAAK;IACL,SAAS;IACT,WAAW;IACX,UAAU;IACV,OAAO;IACP,YAAY;IACZ,OAAO;IACP,cAAc;IACd,UAAU;IACV,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,UAAU;IACV,SAAS;IACT,cAAc;IACd,UAAU;IACV,MAAM;IACN,WAAW;CACZ,CAAA;AAED,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAsB;IAC1D,yCAAyC;IACzC,yCAAyC;IACzC,kDAAkD;IAClD,sDAAsD;IACtD,yCAAyC;IACzC,yCAAyC;IACzC,uCAAuC;IACvC,wCAAwC;IAC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D,oEAAoE;IACpE,0DAA0D;IAC1D,kDAAkD;IAClD,gDAAgD;IAChD,kEAAkE;IAClE,uDAAuD;IACvD,oDAAoD;IACpD,oDAAoD;IACpD,qDAAqD;IACrD,oDAAoD;IACpD,kDAAkD;IAClD,oDAAoD;IACpD,gDAAgD;IAChD,yCAAyC;IACzC,uCAAuC;IACvC,oCAAoC;IACpC,qCAAqC;IACrC,uCAAuC;IACvC,qCAAqC;IACrC,yCAAyC;IACzC,qCAAqC;IACrC,sCAAsC;IACtC,oCAAoC;IACpC,iCAAiC;IACjC,kCAAkC;IAClC,mCAAmC;IACnC,oCAAoC;IACpC,oCAAoC;IACpC,kDAAkD;IAClD,kDAAkD;IAClD,mDAAmD;IACnD,+CAA+C;IAC/C,gDAAgD;IAChD,gDAAgD;IAChD,kDAAkD;IAClD,oDAAoD;CACrD,CAAA"}
|
|
1
|
+
{"version":3,"file":"canonical-tool-names.generated.js","sourceRoot":"","sources":["../src/canonical-tool-names.generated.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,kEAAkE;AAClE,yDAAyD;AACzD,kFAAkF;AAClF,EAAE;AACF,yEAAyE;AACzE,6DAA6D;AAE7D,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAsB;IACjD,OAAO;IACP,KAAK;IACL,SAAS;IACT,WAAW;IACX,UAAU;IACV,OAAO;IACP,YAAY;IACZ,QAAQ;IACR,OAAO;IACP,cAAc;IACd,UAAU;IACV,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,UAAU;IACV,SAAS;IACT,cAAc;IACd,UAAU;IACV,MAAM;IACN,WAAW;CACZ,CAAA;AAED,gEAAgE;AAChE,MAAM,CAAC,MAAM,yBAAyB,GAAsB;IAC1D,yCAAyC;IACzC,yCAAyC;IACzC,kDAAkD;IAClD,sDAAsD;IACtD,yCAAyC;IACzC,yCAAyC;IACzC,uCAAuC;IACvC,wCAAwC;IACxC,iDAA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