@mulmoclaude/core 0.19.0 → 0.20.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.
- package/assets/helps/error-recovery.md +62 -0
- package/dist/google/auth.d.ts +26 -0
- package/dist/google/authFlow.d.ts +13 -0
- package/dist/google/calendar.d.ts +24 -0
- package/dist/google/clientSecret.d.ts +11 -0
- package/dist/google/datetime.d.ts +1 -0
- package/dist/google/fetch.d.ts +8 -0
- package/dist/google/fsJson.d.ts +4 -0
- package/dist/google/host.d.ts +10 -0
- package/dist/google/index.cjs +472 -0
- package/dist/google/index.cjs.map +1 -0
- package/dist/google/index.d.ts +8 -0
- package/dist/google/index.js +441 -0
- package/dist/google/index.js.map +1 -0
- package/dist/google/paths.d.ts +3 -0
- package/dist/google/tokenStore.d.ts +5 -0
- package/dist/google/util.d.ts +7 -0
- package/package.json +8 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Credentials } from 'google-auth-library';
|
|
2
|
+
export declare function mergeGoogleTokens(existing: Credentials | null, incoming: Credentials): Credentials;
|
|
3
|
+
export declare function loadGoogleTokens(home?: string): Promise<Credentials | null>;
|
|
4
|
+
export declare function saveGoogleTokens(incoming: Credentials, home?: string): Promise<Credentials>;
|
|
5
|
+
export declare function deleteGoogleTokens(home?: string): Promise<void>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const ONE_SECOND_MS = 1000;
|
|
2
|
+
export declare const ONE_MINUTE_MS = 60000;
|
|
3
|
+
export declare function errorMessage(err: unknown, fallback?: string): string;
|
|
4
|
+
export declare function isRecord(value: unknown): value is Record<string, unknown>;
|
|
5
|
+
/** Clip a string to at most `max` chars; the ellipsis is included in the
|
|
6
|
+
* budget so output never exceeds `max`. */
|
|
7
|
+
export declare function truncate(text: string, max: number, ellipsis?: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mulmoclaude/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Shared server-side core for MulmoClaude and MulmoTerminal — the always-shipped-together subsystems consolidated behind subpath exports so the two hosts can't drift. Server-only except the browser-safe ./whisper/client, ./workspace-setup/slug, ./translation/client, ./remote-view and ./remote-host entries. All host specifics are injected.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"require": "./dist/collection/index.cjs",
|
|
11
11
|
"default": "./dist/collection/index.js"
|
|
12
12
|
},
|
|
13
|
+
"./google": {
|
|
14
|
+
"types": "./dist/google/index.d.ts",
|
|
15
|
+
"import": "./dist/google/index.js",
|
|
16
|
+
"require": "./dist/google/index.cjs",
|
|
17
|
+
"default": "./dist/google/index.js"
|
|
18
|
+
},
|
|
13
19
|
"./collection/server": {
|
|
14
20
|
"types": "./dist/collection/server/index.d.ts",
|
|
15
21
|
"import": "./dist/collection/server/index.js",
|
|
@@ -161,6 +167,7 @@
|
|
|
161
167
|
},
|
|
162
168
|
"dependencies": {
|
|
163
169
|
"fast-xml-parser": "^5.10.0",
|
|
170
|
+
"google-auth-library": "^10.9.0",
|
|
164
171
|
"js-yaml": "^5.2.1",
|
|
165
172
|
"zod": "^4.4.3"
|
|
166
173
|
},
|