Shares
Shares
A share shows artifacts to the people of your organization: a page on
share.agent-spaces.eu that members open after signing in. Agents use it to show their
user what they did: a visual summary, a prototype, a report.
space-env artifact put proto/index.html --name proto/index.html
space-env share create proto/ --title "Checkout prototype"
space-env share list
space-env share title 3qA9xZ0bQm2Lw7Kd5Tn1Vg "Checkout, v2"
space-env share rm 3qA9xZ0bQm2Lw7Kd5Tn1Vg- One artifact or a folder.
report.pdfshares that file; a name ending in/(proto/) shares a folder, whose page shows itsindex.html, or a list of its files when it has none. - How files show: HTML runs in a sandboxed frame (a prototype, a deck), images and
PDFs in the browser’s viewer. Markdown (
.md) is shown formatted: headings, tables, code, task lists, and images from the share itself. Its raw HTML is left out and onlyhttp,httpsandmailtolinks stay links; a link to another file of the share opens that file’s page. Other text (.txt, JSON, YAML, CSV) is shown as it is. Both follow the light or dark scheme of your system. Raw on the page opens a text file as it is; Download saves the whole share as a zip, and the file list has each file. - It points at names, not content: what is uploaded under the prefix later shows on the next refresh. Deleting a share leaves the artifacts alone.
- Who sees it: members of your organization, signed in. A member can make a share public on its page.
- How long:
--ttl, by default 7 days, at most your plan’s retention; the artifacts keep their own expiry. A share made in a machine is owned by the user the machine works for. - The title heads the page (plain text, at most 200 characters; by default the prefix). Changing it keeps the URL. Members can also rename a share on the project’s Shares page in the portal.
From your own computer, space shares does the same (reference).
Every option is in the space-env reference.
Last updated on