You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
automations: [{title: "Bootstrap Product",description: "Bootstrap a new file with the correct folder structure and ID.",inputSchema: {type: "object",properties: {id: {type: "string"},title: {type: "string"}}},steps: [{type: "add",path: (input)=>`/products/${input.id}/collection.json`,content: (input)=>({id: input.id})// because of format "json", stringify this (via formatIsNeeded function)},{type: "edit",path: "/products/catalog.json",transform: (content,input)=>{// because of format "json", parse content before passing (via formatIsNeeded function)content.links=[
...content.links,{rel: "child",href: `./${input.id}/collection.json`,type: "application/json",title: input.title},]returncontent}}]},{title: "Create Narrative",inputSchema: {type: "object",properties: {id: {type: "string"},title: {type: "string"}}},steps: [{type: "add",path: (input)=>`/narratives/${input.id}.md`,content: (input)=>`# ${input.title}`// no "format" defined, so just as text}]}]
What would be really neat is also some feedback to the user while loading (similar to when the fork is created), like: "Creating file... Editing file..." etc.
The text was updated successfully, but these errors were encountered:
Initial concept:
What would be really neat is also some feedback to the user while loading (similar to when the fork is created), like: "Creating file... Editing file..." etc.
The text was updated successfully, but these errors were encountered: