Skip to main content

Export your AI chats — Claude Code, Claude.ai/Cowork, ChatGPT — and terminal sessions into your company's context.

Project description

sedona-cli

Your AI chats hold a surprising amount of company context — decisions, debugging trails, design discussions, institutional knowledge that never makes it into a doc. sedona ships them into Sedona's company knowledge graph, where they become searchable context for everyone (with secrets scrubbed and sensitive sessions automatically restricted).

Install

uv tool install sedona-cli      # or: pipx install sedona-cli / pip install sedona-cli

Quickstart

sedona auth                     # email OTP — requires a company employee email
sedona list                     # recent Claude Code sessions + chat exports it found
sedona list -v                  # + turn counts, repo, keywords, first prompt
sedona peek                     # inspect one session before sharing (interactive picker)
sedona peek 1                   # …or by recency index / path / title substring
sedona send --recent 3          # scrub + upload your 3 most recent sessions
sedona send ~/Downloads/conversations.json    # a Claude.ai / ChatGPT export
history | sedona send --stdin   # raw terminal scrollback
sedona share ./drafts avi@sedona.health   # hand a folder straight to a teammate (P2P)
sedona inbox                    # see what teammates shared with you
sedona get <id>                 # download + unzip it into ./sedona-inbox/
sedona init-skill               # let Claude Code AND Codex do this on request

After sedona init-skill, you can just tell Claude Code or Codex "share this session with Sedona" and it handles the upload.

Tab completion

echo 'eval "$(sedona completion zsh)"'  >> ~/.zshrc    # zsh
echo 'eval "$(sedona completion bash)"' >> ~/.bashrc   # bash

sedona peek <TAB> then completes against your actual recent sessions, with titles shown inline.

Skill without installing anything

The upload skill is also served by the backend, so an agent can be set up with one curl (the skill runs the CLI via uvx, so no install is ever needed):

base=https://sedona-internal-production.up.railway.app
curl -fsSL $base/transcripts/skill --create-dirs -o ~/.claude/skills/sedona-upload/SKILL.md   # Claude Code
curl -fsSL $base/transcripts/skill --create-dirs -o ~/.codex/skills/sedona-upload/SKILL.md    # Codex

What it can export

Source How
Claude Code sessions Read directly from ~/.claude/projects/sedona send --recent N
Claude.ai / Cowork chats Request a data export in claude.ai settings, then sedona send conversations.json
ChatGPT chats Request a data export in ChatGPT settings, then sedona send conversations.json
Terminal sessions Pipe anything: tmux capture-pane -p | sedona send --stdin

Share files with a teammate

Separate from uploading to company memory, sedona share hands a folder or file directly to one colleague — handy for a drafts/ folder, a .parquet, anything:

sedona share ./drafts avi@sedona.health   # zips and sends; they get a Slack DM
sedona inbox                              # list what's waiting for you
sedona get <id>                           # download + unzip into ./sedona-inbox/

Unlike sedona send, these files are sent as-is (no secret scrubbing) and are not indexed into company memory — they're stored privately and only the named recipient can download them. The recipient must be a company employee.

Privacy

  • Secrets never leave your machine: API keys, tokens, JWTs, and private keys are redacted locally before upload (and the server scrubs again as a backstop).
  • The server classifies each conversation's visibility fail-closed — sensitive content is restricted to you or admins, not shared company-wide.
  • Tool output in coding sessions is truncated; assistant thinking blocks are dropped entirely.
  • Authentication requires a verified company employee email; the tool does nothing useful outside the company.

License

MIT (this CLI only).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sedona_cli-0.5.0.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sedona_cli-0.5.0-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file sedona_cli-0.5.0.tar.gz.

File metadata

  • Download URL: sedona_cli-0.5.0.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sedona_cli-0.5.0.tar.gz
Algorithm Hash digest
SHA256 6cb07d22ac324b04615a29d927bfe18e95b6e86bd5cd469c60ca431a59cca847
MD5 b1d64ce00b868189b0e9870627aa9459
BLAKE2b-256 40891228c892a52a4f98b9e9253b2732a2da194768cb4e4e8822390dffb3626f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sedona_cli-0.5.0.tar.gz:

Publisher: publish-cli.yml on Sedona-Health/sedona-internal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sedona_cli-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: sedona_cli-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sedona_cli-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31e8416e09e22a2f8a5d7766aea2a27823408fb01ea0d8799b2108cbd7aa5ccd
MD5 6f9b071d57f338d01d1dba06c4247b4a
BLAKE2b-256 9a56f4f4b4d3f8ca2cd42b7ecb7c8cabb3bb9717207f5f6bb5612390610b7c43

See more details on using hashes here.

Provenance

The following attestation bundles were made for sedona_cli-0.5.0-py3-none-any.whl:

Publisher: publish-cli.yml on Sedona-Health/sedona-internal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page