-
Notifications
You must be signed in to change notification settings - Fork 4
CLI Companion Connectors
Companion connectors bring in two kinds of material. GitHub and the file imports produce observations: traces of what you did that do not come from you describing yourself. Notion is authored memory, so its pages go through ordinary Markdown ingestion and become episodes instead. Corroboration and calibration rely on the observation side of that boundary.
Usage:
ed companion connectors [show] [--json] [--endpoint <url>]
ed companion connectors set [--github <token>] [--notion <token>] [--json]
[--endpoint <url>]
ed companion connectors import <calendar|music|youtube> <file.json> [--json]
[--endpoint <url>]
ed companion connectors show (also the bare default) says which connectors have a
token and prints only the last four characters of each. The token itself is never
returned.
ed companion connectors set stores a token on the companion, in the same settings
table as the reasoner key, and hot-swaps it into the running service. Nothing is
written to the CLI's local configuration and no restart or .env edit is needed.
Pass an empty value to clear one. The same fields are in the app under Settings.
set requires at least one of --github or --notion. In a shell, clearing
means passing an explicit empty argument such as --github ''; omitting an
option leaves that token unchanged. --json returns the masked detail strings,
not either token.
| Connector | What it gives you |
|---|---|
| GitHub | Commits, pull requests, reviews and their timestamps. The single best ground truth you have, and the commit-hour distribution is a sleep and work-rhythm sensor for free. |
| Notion | Pages synced to markdown on disk, then ingested by the normal markdown path. |
| Calendar | Meeting density, back-to-backs, and what got moved. Rescheduling is a decent avoidance signal. |
| Music | Play patterns: repeats, time of day, comfort listening. Never a mood label. |
| YouTube | Watch history from a Takeout export. Rabbit-hole depth at 2am says more than the topics. |
ed companion connectors import is for the three with no live API worth using.
Calendar and music can be exported from whatever you use, YouTube comes from Google
Takeout, and each import is idempotent, so re-running against a fresh dump only adds
what is new.
The import file must be readable local JSON. Human output reports entries read,
new observations and skipped entries. JSON output is
{source,entriesRead,observationsInserted,skipped}. Unsupported source names
and malformed export shapes are rejected by the backend.
On music specifically, only measurements are stored: which track, when, how often. No valence, no energy, no mood. "Sad songs means sad" is a weak inference, and a label built on it would embarrass itself; whether your play patterns correlate with anything you actually said is for the nightly job to find out, not for the connector to assume.
-
ed companion observations, what the connectors recorded -
ed companion sync, pulling GitHub and Notion -
ed companion, the rest of this group - All
edcommands
Auto-generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Companion
- Deploy
- Concepts
- Concepts Memory
- Concepts Ingestion
- Concepts Search
- Concepts Chat
- Concepts Learning
- Concepts Brain
- Concepts Friend
- Hosts
- Stack
- Status
- Doctor
- Search
- Index
- Ingest
- Episodes
- Sync
- Observations
- Reflect
- Beliefs
- Ask
- Extract
- Claims
- Corroborate
- Runs
- Chat
- Conversations
- Forget
- Export
- Import
- Erase
- Wipe
- Episode
- Nightly
- Reason
- Personas
- Council
- Lenses
- Core
- Why
- Hypotheses
- Predictions
- Commitments
- Discrepancies
- Calibration
- Inquire
- Entities
- Eval
- Standup
- Machines
- Baselines
- Connectors
- Facts
- Correct
- Weekly
- Db
Guides