@mulmoclaude/google-plugin 0.1.1 → 0.1.2
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/README.md +7 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,13 +5,15 @@ account** to the chat agent as one `google` tool (kind-discriminated
|
|
|
5
5
|
dispatch). Server-only — no Vue View.
|
|
6
6
|
|
|
7
7
|
- Engine: `@mulmoclaude/core/google` (OAuth loopback + PKCE, token store at
|
|
8
|
-
`~/.config/mulmo/google-token.json`, Calendar v3 REST).
|
|
9
|
-
UI, remote
|
|
10
|
-
state.
|
|
8
|
+
the host-neutral `~/.config/mulmo/google-token.json`, Calendar v3 REST).
|
|
9
|
+
The host's settings UI, remote commands, auth CLI, and this tool share one
|
|
10
|
+
link state — across hosts, too.
|
|
11
11
|
- Kinds: `status`, `calendarListEvents`, `calendarCreateEvent`. Tasks / Drive
|
|
12
12
|
(`drive.file`) ride the same consent grant later (issue #2115).
|
|
13
|
-
- Not linked yet? The tool's errors tell the LLM to guide the user to
|
|
14
|
-
|
|
13
|
+
- Not linked yet? The tool's errors tell the LLM to guide the user to this
|
|
14
|
+
app's settings — wording is host-neutral (#2128) because link flows differ
|
|
15
|
+
per host (MulmoClaude: Settings → Plugins → Google or `yarn google:auth`;
|
|
16
|
+
MulmoTerminal: Settings → Google account or `npx mulmoterminal google login`).
|
|
15
17
|
|
|
16
18
|
## Dev loop
|
|
17
19
|
|
package/dist/index.js
CHANGED
|
@@ -4098,7 +4098,7 @@ var GoogleArgs = discriminatedUnion("kind", [
|
|
|
4098
4098
|
var TOOL_DEFINITION = {
|
|
4099
4099
|
type: "function",
|
|
4100
4100
|
name: "google",
|
|
4101
|
-
prompt: "The user's Google account is linked LOCALLY on this machine — the refresh token lives in ~/.config/mulmo/ and never reaches any cloud. This is independent of claude.ai Google connectors; the tool works without them. If a call fails with 'Google account not linked', ask the user to link
|
|
4101
|
+
prompt: "The user's Google account is linked LOCALLY on this machine — the refresh token lives in ~/.config/mulmo/ and never reaches any cloud. This is independent of claude.ai Google connectors; the tool works without them. If a call fails with 'Google account not linked', ask the user to link their Google account in this app's settings, then retry the original call.",
|
|
4102
4102
|
description: "Operate the user's Google services through the locally linked Google account. Currently Google Calendar (the primary calendar). Supported kinds:\n - `status`: report whether the Google account is linked on this machine — call this first when unsure.\n - `calendarListEvents`: list upcoming events. Optional `timeMin` (ISO 8601 date-time with timezone offset; default now) and `maxResults` (1-50, default 10).\n - `calendarCreateEvent`: create an event. Requires `summary`, `start`, `end` — ISO 8601 date-times WITH a timezone offset (e.g. 2026-07-17T09:00:00+09:00); optional `description`.",
|
|
4103
4103
|
parameters: {
|
|
4104
4104
|
type: "object",
|
|
@@ -4141,7 +4141,7 @@ var TOOL_DEFINITION = {
|
|
|
4141
4141
|
};
|
|
4142
4142
|
//#endregion
|
|
4143
4143
|
//#region src/index.ts
|
|
4144
|
-
var LINK_GUIDANCE = "Ask the user to link their Google account in
|
|
4144
|
+
var LINK_GUIDANCE = "Ask the user to link their Google account in this app's settings, then retry.";
|
|
4145
4145
|
var src_default = definePlugin(({ log }) => {
|
|
4146
4146
|
return {
|
|
4147
4147
|
TOOL_DEFINITION,
|