allowed: true, a person
can upload a workbook, edit it, attach it to a chat message and have the
agent change it. Each change the agent makes is saved as a new version.
Who does what:
1. The server
Install from an official release package. The package trusts one Sheet application. Crewship downloads and verifies it when step 3 turns it on, so you set nothing else. Native Word and Sheet are also off in the server configuration by default. A source build or a development profile is configured as described in Artifacts configuration. Two settings in the server environment take a switch out of the administrator’s hands:CREWSHIP_CRAFT_NATIVE_ENABLEDdecides Word and Sheet;CREWSHIP_CRAFT_NATIVE_AGENTS_ENABLEDdecides agents in them.
locked.
The web app is a build. Its Artifacts library needs
NEXT_PUBLIC_ARTIFACTS_LIBRARY=true. The bar that shows who is editing needs
NEXT_PUBLIC_CHAT_CRAFT_LEASE=true, which is false in the default
production build. The editor page needs no build flag.
2. The reverse proxy
A large workbook is uploaded, converted and saved in one request. The proxy in front of Crewship must allow it:- a request body of at least 70 MB (nginx:
client_max_body_size 70m;); - a read timeout of at least 120 seconds (nginx:
proxy_read_timeout 120s;); /_editor/passed through unchanged. A proxy that rewrites it showseditor_isolation_failedin step 3.
3. Turn on Sheet and agents for the instance
An instance administrator:ready and, for agents, in a chat: ready.
Otherwise it names the reason (for example component_installing, or
agents_need_application). The change is audited as
instance.craft_application_set. See
crewship admin instance applications.
4. Let the crew’s agents change artifacts
A workspaceOWNER or ADMIN lists the crews whose agents may change
artifacts. A crew that is not listed can never change a Sheet, even when one
is attached. set replaces the whole list and needs the version that show
prints:
5. Turn on the workspace flags
craft_version_history turns on the version list and restore in the
editor.
artifact_agent_access_modes is what lets a chat message carry an
attachment that an agent may use. It does more than Sheets. With it on
in a workspace:
- an agent’s chat run reaches an artifact only when the person attached it to the message, the agent created it in that chat, or the agent holds its own grant on it, and the person’s own access is rechecked on every use;
- routines, schedules and webhooks that a person started can reach artifacts their agent holds a grant on;
- folders can let their crew’s agents read (and on Docs, propose);
- per-run limits apply: 3 artifacts created, 50 distinct reads, and 20 pages per crew per hour; page saves count against the chat-run limit;
- every access is audited as
artifact.agent_run_accessed, naming the person, the agent, the run and the operation.
6. Upload the workbook
The person creates an empty artifact and imports the.xlsx into it: in the
Artifacts library, or with
7. Ask whether the agent may change it
In the person’s own private chat with the agent:allowed: true means that if the Sheet is attached to the next message
(Upravit Sheet in the composer), the agent may change it. Otherwise
reason is what the agent would be told, and detail says more:
The agent can also receive these answers while it works:
This answer is advice and grants nothing: every agent call checks everything
again, and taking a right away stops the agent at its next call. Consent
covers one message and one Sheet. A message with more than one Sheet
attached lets the agent change none of them.