mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-29 15:52:36 +01:00
Merge origin/master into feat/antigravity-swarm-command
Resolve the recovery service import conflict by keeping both the swarm refusal code (non-retryable continuation) and master's dependency-wake circuit breaker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
6f36e2a24a
139 files changed
+13035
-5187
No files matched your search
@@ -172,13 +172,13 @@ describe("combined Google Workspace consent", () => {
|
||||
expect(isGoogleWorkspaceToolGranted("gmail__send_message", profiles["workspace.all"].scopes)).toBe(false);
|
||||
});
|
||||
|
||||
it("runs the six launch services on Paperclip's REST tools, keeps the others on Google's MCP servers, and reports the transport on each target", () => {
|
||||
it("runs every service on Google's MCP servers, as the AI Tools Addendum requires, and reports the transport on each target", () => {
|
||||
expect(Object.keys(GOOGLE_WORKSPACE_TOOL_TRANSPORT).sort()).toEqual(Object.keys(GOOGLE_WORKSPACE_SERVICES).sort());
|
||||
expect(GOOGLE_WORKSPACE_TOOL_TRANSPORT).toEqual({
|
||||
gmail: "paperclip_rest", drive: "paperclip_rest", docs: "paperclip_rest", sheets: "paperclip_rest",
|
||||
slides: "paperclip_rest", calendar: "paperclip_rest", chat: "google_mcp", people: "google_mcp", search: "google_mcp",
|
||||
gmail: "google_mcp", drive: "google_mcp", docs: "google_mcp", sheets: "google_mcp",
|
||||
slides: "google_mcp", calendar: "google_mcp", chat: "google_mcp", people: "google_mcp", search: "google_mcp",
|
||||
});
|
||||
expect(googleWorkspaceToolTarget("gmail__get_message")?.transport).toBe("paperclip_rest");
|
||||
expect(googleWorkspaceToolTarget("gmail__get_message")?.transport).toBe("google_mcp");
|
||||
expect(googleWorkspaceToolTarget("chat__list_messages")?.transport).toBe("google_mcp");
|
||||
expect(googleWorkspaceServiceToolNames("docs")).toEqual(["read_doc", "update_doc"]);
|
||||
});
|
||||
|
||||
@@ -136,8 +136,8 @@ export type GoogleWorkspaceService = keyof typeof GOOGLE_WORKSPACE_SERVICES;
|
||||
export type GoogleWorkspaceToolTransport = "google_mcp" | "paperclip_rest";
|
||||
|
||||
export const GOOGLE_WORKSPACE_TOOL_TRANSPORT: Record<GoogleWorkspaceService, GoogleWorkspaceToolTransport> = {
|
||||
gmail: "paperclip_rest", drive: "paperclip_rest", docs: "paperclip_rest", sheets: "paperclip_rest",
|
||||
slides: "paperclip_rest", calendar: "paperclip_rest", chat: "google_mcp",
|
||||
gmail: "google_mcp", drive: "google_mcp", docs: "google_mcp", sheets: "google_mcp",
|
||||
slides: "google_mcp", calendar: "google_mcp", chat: "google_mcp",
|
||||
people: "google_mcp", search: "google_mcp",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user