drafted 1.19.46 → 1.19.47
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/mcp/server.mjs +5 -1
- package/package.json +1 -1
package/mcp/server.mjs
CHANGED
|
@@ -2576,7 +2576,11 @@ async function getGoogleDriveAvailability() {
|
|
|
2576
2576
|
? 'Google Drive is connected for this org — strongly prefer Google Workspace frames (.google-doc / .google-sheet / .google-slide) for docs, sheets, and decks.'
|
|
2577
2577
|
: 'Google Drive is not connected for this org — use normal Drafted frames (.md / .html); Google Workspace writes will fail.' + otherHint,
|
|
2578
2578
|
};
|
|
2579
|
-
} catch {
|
|
2579
|
+
} catch (e) {
|
|
2580
|
+
// Never throw, but never mask WHY either: the name-before-work gate 403s every
|
|
2581
|
+
// api() call on an unnamed agent session, and swallowing that read as "not
|
|
2582
|
+
// connected" sent an agent chasing a Drive bug that was really an unnamed session.
|
|
2583
|
+
console.error('[google-drive-avail] status unavailable:', e instanceof Error ? e.message : e);
|
|
2580
2584
|
return { connected: false, driveRootFolderName: null, otherConnectedOrgs: [], preference: 'Google Drive status unavailable — use normal Drafted frames.' };
|
|
2581
2585
|
}
|
|
2582
2586
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drafted",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.47",
|
|
4
4
|
"description": "Drafted — visual thinking surface for humans and AI agents. Renders HTML, markdown, images, and code as frames on a zoomable canvas, with MCP tools for AI agents and real-time sync for humans.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|