mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 14:16:39 +01:00
Integrate runner recovery through work-folder PR 13002
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
b779478ae3
96 files changed
+3085
-474
No files matched your search
@@ -238,6 +238,13 @@ const GOOGLE_WORKSPACE_PROFILE_EXPECTATIONS = [
|
||||
writeTools: readonly string[];
|
||||
}>;
|
||||
describe("AppDefinition catalog", () => {
|
||||
it("offers Anthropic runtime authentication without the unsupported REST tool method", () => {
|
||||
const anthropic = APP_DEFINITIONS.find((app) => app.slug === "anthropic")!;
|
||||
expect(anthropic.methods.map((method) => method.key)).toEqual(["ai-subscription", "ai-api_key"]);
|
||||
expect(anthropic.methods.every((method) => method.purpose === "ai" && method.transport === "runtime_auth")).toBe(true);
|
||||
expect(getAvailableConnectionMethod(anthropic, "api-key")).toBeNull();
|
||||
});
|
||||
|
||||
it("validates all Wave 1 definitions", () =>
|
||||
expect(() => appDefinitionsSchema.parse(APP_DEFINITIONS)).not.toThrow());
|
||||
it("contains every established provider plus the reviewed self-serve catalog", () => {
|
||||
|
||||
@@ -70,34 +70,6 @@
|
||||
"location": "env",
|
||||
"name": "ANTHROPIC_API_KEY"
|
||||
}
|
||||
},
|
||||
{
|
||||
"key": "api-key",
|
||||
"transport": "rest_api",
|
||||
"auth": "api_key",
|
||||
"ownershipModes": [
|
||||
"customer"
|
||||
],
|
||||
"whenToUse": "Use credentials from your provider account.",
|
||||
"defaults": {
|
||||
"serviceHost": "api.anthropic.com"
|
||||
},
|
||||
"guidanceMd": "Create a key in the Anthropic Console and rotate it if it has been exposed.",
|
||||
"riskTier": "S3",
|
||||
"credentialFields": [
|
||||
{
|
||||
"key": "apiKey",
|
||||
"label": "API key",
|
||||
"type": "password",
|
||||
"required": true,
|
||||
"placeholder": "sk-ant-api03-...",
|
||||
"secret": true
|
||||
}
|
||||
],
|
||||
"keyPlacement": {
|
||||
"location": "header",
|
||||
"name": "x-api-key"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -855,6 +855,7 @@ export const updateIssueSchema = objectWithoutDefaults(
|
||||
requestDepth: issueRequestDepthInputSchema.optional(),
|
||||
assigneeAgentId: z.string().trim().min(1).optional().nullable(),
|
||||
comment: multilineTextSchema.pipe(z.string().min(1)).optional(),
|
||||
commentClientRequestId: z.string().uuid().optional(),
|
||||
/** Only valid with a comment; the route binds these in the update transaction. */
|
||||
attachmentIds: issueCommentAttachmentIdsSchema.optional(),
|
||||
onBehalfOfUserId: z.string().trim().min(1).optional().nullable(),
|
||||
|
||||
Reference in new issue
Block a user