Analyze
drwn analyze sessions is the retained Foundry/Analyzer-linked feature for
uploading a session-log archive and printing where to watch the job. It is not
part of Deployed Worker management; it remains a separate Analyzer upload client.
Preview without auth or network:
drwn analyze sessions --dry-run
Upload the newest local archive, or build one inline if none exists:
drwn analyze sessions
Build a fresh archive first:
drwn analyze sessions --fresh
Use an explicit upload artifact:
drwn analyze sessions --archive /tmp/sessions.tar.gz
Wait for the final report and open it:
drwn analyze sessions --wait --open
Emit machine-readable output:
drwn analyze sessions --wait --json
Configuration
drwn analyze sessions requires DAH auth from either drwn login or a validated,
non-persistent DRWN_TOKEN, plus an explicit DRWN_ANALYZER_URL transport.
The analyzer API URL comes from DRWN_ANALYZER_URL or analyzer.apiUrl in
project/user configuration. The optional frontend URL comes from
DRWN_ANALYZER_WEB_URL or analyzer.webBaseUrl and is used to compose
/processing/<jobId> and /report/<reportId> URLs. DAH credentials do not
carry or select the Foundry transport.
{
"version": 1,
"analyzer": {
"apiUrl": "http://localhost:8787",
"webBaseUrl": "https://foundry.example.com",
"maxArchiveBytes": 104857600
},
"optional": {}
}
Input resolution
The command resolves input in this order:
--archive <path>uses the explicit.tar,.tar.gz, or.tgzpath.--freshbuilds a new.tar.gzwith the same discovery rules asdrwn export sessions.- The newest archive under
.agents/drwn/session-log-exports/is reused when present. - If no archive exists, a new inline
.tar.gzis built and uploaded.
--dry-run is non-mutating: it validates an existing archive when selected, or reports that an inline export would be built without creating it.
Source availability and an installed-package help smoke do not prove the configured Foundry service is reachable or that an upload completed. That live evidence is recorded by the owning operational issue, not inferred from the Worker release.