mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 04:02:18 +01:00
feat: add cloud S3 bulk storage defaults
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
a323bdf0af
commit
84c03f2dee
10 files changed
+184
-28
No files matched your search
@@ -22,5 +22,7 @@ describe("STATE_MANIFEST", () => {
|
||||
}
|
||||
expect(STATE_MANIFEST.find((entry) => entry.id === "secrets_master_key")?.resolve({ homeDir, instanceId: "live" })[0])
|
||||
.toBe(path.join(homeDir, "instances", "live", "secrets", "master.key"));
|
||||
expect(STATE_MANIFEST.find((entry) => entry.id === "codex_agent_home")?.resolve({ homeDir, instanceId: "live" }))
|
||||
.toContain(path.join(homeDir, "instances", "live", "companies", "*", "agents", "*", "codex-home"));
|
||||
});
|
||||
});
|
||||
@@ -39,7 +39,7 @@ export const STATE_MANIFEST: readonly StateClassEntry[] = [
|
||||
{ id: "local_backup_staging", resolve: (ctx) => [instance(ctx, "data", "backups"), instance(ctx, "data", "instance-backups")], disposition: "cache", redact: "forbid", consistency: "plain", retention: { days: 30 } },
|
||||
{ id: "agent_instructions_bundle", resolve: (ctx) => [instance(ctx, "companies", "*", "agents", "*", "instructions")], disposition: "git", redact: "secret_refs", consistency: "plain" },
|
||||
{ id: "secrets_master_key", resolve: (ctx) => [resolveDefaultSecretsKeyFilePath(ctx)], disposition: "s3_secret", redact: "forbid", consistency: "plain" },
|
||||
{ id: "codex_agent_home", resolve: (ctx) => [instance(ctx, "companies", "*", "codex-home")], disposition: "s3_bulk", redact: "forbid", consistency: "sqlite_backup" },
|
||||
{ id: "codex_agent_home", resolve: (ctx) => [instance(ctx, "companies", "*", "agents", "*", "codex-home"), instance(ctx, "companies", "*", "codex-home")], disposition: "s3_bulk", redact: "forbid", consistency: "sqlite_backup" },
|
||||
{ id: "runtime_materializations", resolve: (ctx) => [instance(ctx, "companies", "*", "acp-engine"), instance(ctx, "companies", "*", "acpx-local"), instance(ctx, "companies", "*", "claude-prompt-cache")], disposition: "cache", redact: "secret_refs", consistency: "plain" },
|
||||
{ id: "skill_bundles", resolve: (ctx) => [instance(ctx, "skills", "*")], disposition: "git", redact: "secret_refs", consistency: "plain" },
|
||||
{ id: "project_repositories", resolve: (ctx) => [instance(ctx, "projects", "*", "*", "*")], disposition: "git", redact: "forbid", consistency: "plain" },
|
||||
|
||||
Reference in new issue
Block a user