Delete, archive and put back my files

Delete or archive a person's files and folders into Recently Deleted and Archived, put them back exactly as they were, change how long each keeps things, and say what is due when, with the time left on each

Give files ([{ name, identity?, byte_length?, modified_at_ms? }], names starting with /), now (the ISO time the run starts at) and steps, run in order: { op: delete | archive, items: [{ name } | { identity }] } takes a file or a whole folder out of the person's Files into Recently Deleted or Archived; { op: put_back, items: [label or id] } gives every name back exactly as it was (never over a name another file took since); { op: keep_for, after_days: { deleted?, archived? } } sets how many days each keeps things (null: until put back); { op: sweep, at } moves on what is due by then: an archived thing moves to Recently Deleted, a deleted one's names are gone for good. Answers steps (what each answered, refusals included), set_aside (each item as the screen lists it: label, state, names, bytes, where, due_at, days_left, due_words), names (what Files still shows), gone (the identities whose names went for good) and keep_for. Every step is namespace-set-aside.mjs's own setAsideStore over namespace-store.mjs's tables, in an in-memory SQLite database: no byte is deleted, nothing is kept after the run, no file is written and nothing is sent. Refuses no files, an unknown step and what the store refuses (a name not starting with /, the whole Files, a day count out of range). The screen also releases storage by the person's rules; this run does not.

What it asks for

Nothing: your AI starts it with your words.

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.

Say to your AI: “Use Trillion to delete or archive a person's files and folders into Recently Deleted and Archived, put them back exactly as they were, change how long each keeps things, and say what is due when, with the time left on each”