honcho-cli 0.6.0__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/CHANGELOG.md +29 -0
  2. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/PKG-INFO +40 -2
  3. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/README.md +38 -0
  4. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/pyproject.toml +4 -2
  5. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/_help.py +3 -0
  6. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/agents.py +17 -0
  7. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/dream.py +3 -3
  8. honcho_cli-0.7.0/src/honcho_cli/commands/ingest.py +1831 -0
  9. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/peer.py +32 -1
  10. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/session.py +31 -1
  11. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/setup.py +23 -1
  12. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/workspace.py +28 -2
  13. honcho_cli-0.7.0/src/honcho_cli/experimental.py +70 -0
  14. honcho_cli-0.7.0/src/honcho_cli/follow.py +358 -0
  15. honcho_cli-0.7.0/src/honcho_cli/ingest_refs.py +185 -0
  16. honcho_cli-0.7.0/src/honcho_cli/ingest_sources.py +76 -0
  17. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/main.py +2 -0
  18. honcho_cli-0.7.0/tests/test_experimental.py +103 -0
  19. honcho_cli-0.7.0/tests/test_follow.py +416 -0
  20. honcho_cli-0.7.0/tests/test_ingest.py +1644 -0
  21. honcho_cli-0.7.0/tests/test_version.py +29 -0
  22. honcho_cli-0.6.0/tests/test_version.py +0 -13
  23. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/.gitignore +0 -0
  24. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/scripts/generate_cli_docs.py +0 -0
  25. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/__init__.py +0 -0
  26. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/branding.py +0 -0
  27. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/__init__.py +0 -0
  28. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/conclusion.py +0 -0
  29. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/config_cmd.py +0 -0
  30. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/install.py +0 -0
  31. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/message.py +0 -0
  32. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/scope.py +0 -0
  33. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/commands/stack.py +0 -0
  34. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/common.py +0 -0
  35. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/config.py +0 -0
  36. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/__init__.py +0 -0
  37. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/docker.py +0 -0
  38. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/env.py +0 -0
  39. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/health.py +0 -0
  40. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/profile.py +0 -0
  41. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/setup.py +0 -0
  42. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/templates/__init__.py +0 -0
  43. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/templates/docker-compose.yml +0 -0
  44. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/local/templates/init.sql +0 -0
  45. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/oauth.py +0 -0
  46. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/output.py +0 -0
  47. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/recall.py +0 -0
  48. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/replay.py +0 -0
  49. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/replay_view.py +0 -0
  50. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/update_check.py +0 -0
  51. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/src/honcho_cli/validation.py +0 -0
  52. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/__init__.py +0 -0
  53. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/conftest.py +0 -0
  54. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_commands.py +0 -0
  55. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_common.py +0 -0
  56. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_conclusion_attribution.py +0 -0
  57. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_config.py +0 -0
  58. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_dream.py +0 -0
  59. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_install.py +0 -0
  60. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_local.py +0 -0
  61. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_oauth.py +0 -0
  62. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_output.py +0 -0
  63. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_recall.py +0 -0
  64. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_replay.py +0 -0
  65. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_setup.py +0 -0
  66. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_start.py +0 -0
  67. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/tests/test_validation.py +0 -0
  68. {honcho_cli-0.6.0 → honcho_cli-0.7.0}/uv.lock +0 -0
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
+ ## [0.7.0] - 2026-12-03
9
+
10
+ ### Added
11
+
12
+ - Experimental, off unless `HONCHO_EXPERIMENTAL=1` is set: the `honcho ingest` commands, `peer`/`session` `exclude` and `include`, and `workspace create --auto` below. They're labeled "Experimental" in help, may change or stop working without notice, and without the variable exit 1 with an `EXPERIMENTAL` error
13
+ - `honcho ingest import FILE`, `honcho ingest status` and `honcho ingest derive`: import a connector's export (`records.jsonl`, one ingest record per line, or `-` for stdin) into an auto workspace, review what it became, and derive it. `import` stores records without deriving them unless `--derive now` is passed, reports created, duplicate and rejected records, and can be run again safely. `status` shows records by derivation state and the tokens waiting to be derived, and numbers the people and sessions the import created, most records first, with each person's source accounts and whether each is modeled. `derive` releases every deferred record; `--watch` follows the queue until derivation finishes. Needs a workspace or admin key and an auto workspace
14
+ - `honcho ingest from <source>`: runs an installed connector (registered under the `honcho.ingest_sources` entry point) and imports what it reads the way `ingest import` does, one container at a time. With no source it lists the installed ones; `honcho ingest from <source> --help` shows the source's own options. It checks the workspace is an auto workspace before reading
15
+ - `honcho ingest import FILE --check`: validates every line against the ingest record format and reports the invalid ones, counts by source, containers and authors, and how many bot records an import would hold back. Sends nothing and needs no workspace or credentials
16
+ - `honcho ingest import` holds back bot records no person interacted with: kept only when a person replied in their reply chain or @-mentioned the bot in the same conversation (`--bots interacted`, the default). `--bots all` imports every record, `--bots none` no bot records; the summary reports how many were held back
17
+ - `honcho peer exclude/include` and `honcho session exclude/include`: before `ingest derive`, stop deriving about an imported person (`observe_me` off) or from an imported session (reasoning off; it is still summarized). They take a number from the last `ingest status`, an ID, or a display name that matches one imported person or session; a name that matches none is an error, never a new peer or session
18
+ - `honcho ingest link`, `honcho ingest unlink` and `honcho ingest reset`: when one person shows up as several accounts in a dry run, `honcho ingest link 1 24 --reset` resets the import (deleting the imported sessions and waiting; people, exclusions and links stay), maps every account of the others to the first, and asks you to import again. A link never moves what was already imported. People are found before the reset, so the numbers from `ingest status` stay right. `--keep <peer-id>` keeps any peer, `unlink` takes one account back out the same way, and `reset` runs on its own
19
+ - `honcho workspace create NAME --auto` creates an auto workspace. An existing workspace that isn't auto can't be made auto, and the command says so
20
+ - `honcho doctor` shows the server's experimental features that are on, from `GET /v3/experimental`; a server without that listing fails no check
21
+ - A server's 405 (a feature it has off, such as an experimental one) is a `FEATURE_DISABLED` error carrying the server's message, which names the setting that turns it on, rather than a generic `API_ERROR`
22
+ - `honcho ingest suggestions`: refreshes and lists, numbered, the accounts across sources that look like one person, with the evidence. Each is labelled with the stage that made it and its confidence (`rules:high`, `rules:low`, and `model:high` for a pair the organizer's model groups, or `model:low` when its two accounts are in one source; `--only` filters by label). `accept` links each suggestion's accounts the way `ingest link` does, by number or by label (`accept rules:high`), with `--reset` and `--keep`, and `dismiss` keeps them apart for good. The table shows the person accepting keeps (`keeps`), and with `--status all`, each suggestion's status (#1630, #1670)
23
+ - `honcho ingest suggestions` also lists accounts that look like bots their source didn't flag and sessions whose records come mostly from bots, with a `kind` column, and `--kind` lists one kind. Accepting one by number stops modeling it, as `peer exclude` or `session exclude` does, with no reset. A label such as `rules:high` accepts same-person suggestions only unless `--kind` says otherwise. `honcho ingest status` shows the open suggestions by kind (#1630)
24
+ - `honcho ingest import` takes edits and deletes during the dry run (before the workspace first derives): a record sent again with a later `revised_at` replaces it, a line `{"op": "delete", ...}` removes it for good, and the summary counts updated and deleted records; `--check` validates deletes too. `--derive auto` stores records for later during the dry run and derives them as they arrive after it. `honcho ingest status` lists the sources connectors follow, with each one's last sync, newest record and last error (#1630)
25
+ - `honcho ingest from <source> --follow`: for a source that can (`discord`, `github`), catches up from the position it saved in Honcho, then follows the source live until stopped with Ctrl-C or SIGTERM, when it sends what's pending and saves its position. Records are sent with `--derive auto` unless `--derive` says otherwise. A bot record waits up to `--bot-window` minutes (60) for a person to reply to or mention the bot. A second runner on the same source, or a reset that forgot its position, stops it with a `SYNC_CONFLICT` error. Discord follows new messages, edits and deletes over the live connection; GitHub polls every `--interval` seconds (300) (#1630)
26
+ - `honcho ingest suggestions undo N` takes back a link the organizer applied or one you accepted, during the dry run, with its records. `honcho ingest decisions` lists who decided who is who and why, newest first, with `--person` for one person. `honcho ingest suggestions --status applied` lists the links the organizer made, and the open list points to them (#1630)
27
+
28
+ ### Changed
29
+
30
+ - Requires `honcho-ai` 2.11.0 or later
31
+ - `honcho ingest link`, `unlink` and `suggestions accept` move the stored records at once during the dry run and say how many moved; `--reset` is needed only after the dry run (#1630)
32
+
33
+ ### Fixed
34
+
35
+ - `uvx honcho-cli <command>` runs the CLI. The package now also installs a `honcho-cli` executable alongside `honcho`; before, uvx stopped with "An executable named `honcho-cli` is not provided", so the documented `uvx honcho-cli` and a one-line `uvx honcho-cli install` both failed
36
+
8
37
  ## [0.6.0] - 2026-11-10
9
38
 
10
39
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: honcho-cli
3
- Version: 0.6.0
3
+ Version: 0.7.0
4
4
  Summary: A terminal for Honcho — memory that reasons.
5
5
  Project-URL: Homepage, https://github.com/plastic-labs/honcho
6
6
  Project-URL: Repository, https://github.com/plastic-labs/honcho
@@ -15,7 +15,7 @@ Classifier: Topic :: Software Development :: Libraries
15
15
  Requires-Python: >=3.11
16
16
  Requires-Dist: certifi>=2026.10.19
17
17
  Requires-Dist: click>=8.0.0
18
- Requires-Dist: honcho-ai>=2.9.0
18
+ Requires-Dist: honcho-ai>=2.11.0
19
19
  Requires-Dist: httpx>=0.27.0
20
20
  Requires-Dist: questionary>=2.1.0
21
21
  Requires-Dist: rich>=13.0.0
@@ -174,6 +174,44 @@ honcho stop --wipe # also delete volumes
174
174
  | `honcho dream list` | Dreams in the workspace, newest first (`-p` for dreams about one peer, `--observer` for one representation) |
175
175
  | `honcho dream inspect <id>` | What one dream changed: conclusions created (with what each was derived from), conclusions removed, and the peer card before and after |
176
176
 
177
+ ### Ingest (auto workspaces, experimental)
178
+
179
+ Import a connector's export, review what it became, and fix it before anything is derived. Exclusions made before `ingest derive` apply to what is derived; after it, they only affect records released later.
180
+
181
+ These commands are experimental: they may change or stop working without notice, and aren't ready for production use. They're off by default and run only with `HONCHO_EXPERIMENTAL=1` set; without it they exit 1 and say how to turn them on.
182
+
183
+ ```bash
184
+ export HONCHO_EXPERIMENTAL=1
185
+ honcho workspace create acme --auto
186
+ honcho ingest import records.jsonl -w acme # stored, not derived
187
+ honcho ingest status -w acme # numbered people and sessions
188
+ honcho ingest suggestions -w acme # accounts that look like one person, with why
189
+ honcho ingest suggestions accept 1 --reset -w acme # accept one: reset and link,
190
+ honcho ingest import records.jsonl -w acme # then import again
191
+ honcho ingest link 1 2 --reset -w acme # or link two people yourself: reset and link,
192
+ honcho ingest import records.jsonl -w acme # then import again
193
+ honcho ingest status -w acme # numbers change after a reset
194
+ honcho peer exclude "Usage Stats" -w acme # a bot the source didn't flag
195
+ honcho session exclude 12 -w acme # a noisy channel (a reset deletes sessions, so exclude after it)
196
+ honcho ingest derive -w acme --watch
197
+ ```
198
+
199
+ | Command | Description |
200
+ |---------|-------------|
201
+ | `honcho workspace create <id> --auto` | Create an auto workspace, which ingest writes to (only a new workspace can be made auto) |
202
+ | `honcho ingest import <file>` | Import ingest records, one per line (`-` for stdin); not derived unless `--derive now` (`--derive auto`: not during the dry run, then as they arrive). Safe to run again: stored records come back as duplicates. During the dry run, a record sent again with a later `revised_at` replaces it, and a line `{"op": "delete", ...}` deletes one. Bot records no person replied to or mentioned the bot about are held back (`--bots interacted`, the default; `--bots all` imports them). `--check` validates every line and sends nothing, with no workspace or credentials needed |
203
+ | `honcho ingest from [<source> ...]` | Run an installed connector and import what it reads, as `import` does (deriving later, holding back unanswered bot records per container). With no source, lists the installed ones; `honcho ingest from <source> --help` shows a source's own options. `--follow` (discord, github) catches up from the position saved in Honcho, then follows the source live until stopped, deriving `auto`; `--bot-window` sets how many minutes a bot record waits for a person (60). Connectors register under the `honcho.ingest_sources` entry point: see [Writing an Exporter](https://docs.honcho.dev/v3/contributing/experimental/ingest-exporters) |
204
+ | `honcho ingest status` | Records by derivation state, tokens waiting, and the people and sessions the import created, numbered, most records first; and the sources connectors follow, with each one's last sync |
205
+ | `honcho ingest derive` | Release every deferred record for derivation; `--watch` follows the queue until it finishes |
206
+ | `honcho peer exclude/include <ref>` | Stop (or resume) deriving about an imported person: `observe_me` off. `<ref>` is a number from `ingest status`, an ID, or a display name |
207
+ | `honcho session exclude/include <ref>` | Stop (or resume) deriving from an imported session; it is still summarized |
208
+ | `honcho ingest reset` | Delete the imported sessions and their messages, to import again; people, exclusions and links stay. Asks first (`--yes` to skip) and waits for the deletion |
209
+ | `honcho ingest link <ref> <ref>...` | Treat several imported people as one, from the next import on: every account of the others maps to the first (`--keep <peer-id>` keeps any peer). Nothing imported moves, so `--reset` resets the import first, finding the people before the reset so their numbers stay right |
210
+ | `honcho ingest unlink <person> <account>` | Take a linked account back out (`<account>` = its ID, display name, or `SOURCE:ID`); `--reset` as for link |
211
+ | `honcho ingest suggestions` | Refresh and list, numbered, the accounts that look like one person, with the evidence (the same email, "I'm X on GitHub", names only they share, linking their own work). Each has a label, the stage that made it and its confidence: `rules:high` ones can be accepted at a glance; `rules:low` ones need a look. `--no-refresh` lists without refreshing; `--only <label>`, `--status` filter. Run it after importing, before a reset |
212
+ | `honcho ingest suggestions accept <n or label>...` | Accept suggestions: link each one's accounts, as `ingest link` does. A label, such as `rules:high`, takes every open one with it; `--keep` the peer to keep. `--reset` resets the import first, then import again |
213
+ | `honcho ingest suggestions dismiss <n>...` | Dismiss suggestions; a refresh never brings them back |
214
+
177
215
  ### Config
178
216
 
179
217
  | Command | Description |
@@ -147,6 +147,44 @@ honcho stop --wipe # also delete volumes
147
147
  | `honcho dream list` | Dreams in the workspace, newest first (`-p` for dreams about one peer, `--observer` for one representation) |
148
148
  | `honcho dream inspect <id>` | What one dream changed: conclusions created (with what each was derived from), conclusions removed, and the peer card before and after |
149
149
 
150
+ ### Ingest (auto workspaces, experimental)
151
+
152
+ Import a connector's export, review what it became, and fix it before anything is derived. Exclusions made before `ingest derive` apply to what is derived; after it, they only affect records released later.
153
+
154
+ These commands are experimental: they may change or stop working without notice, and aren't ready for production use. They're off by default and run only with `HONCHO_EXPERIMENTAL=1` set; without it they exit 1 and say how to turn them on.
155
+
156
+ ```bash
157
+ export HONCHO_EXPERIMENTAL=1
158
+ honcho workspace create acme --auto
159
+ honcho ingest import records.jsonl -w acme # stored, not derived
160
+ honcho ingest status -w acme # numbered people and sessions
161
+ honcho ingest suggestions -w acme # accounts that look like one person, with why
162
+ honcho ingest suggestions accept 1 --reset -w acme # accept one: reset and link,
163
+ honcho ingest import records.jsonl -w acme # then import again
164
+ honcho ingest link 1 2 --reset -w acme # or link two people yourself: reset and link,
165
+ honcho ingest import records.jsonl -w acme # then import again
166
+ honcho ingest status -w acme # numbers change after a reset
167
+ honcho peer exclude "Usage Stats" -w acme # a bot the source didn't flag
168
+ honcho session exclude 12 -w acme # a noisy channel (a reset deletes sessions, so exclude after it)
169
+ honcho ingest derive -w acme --watch
170
+ ```
171
+
172
+ | Command | Description |
173
+ |---------|-------------|
174
+ | `honcho workspace create <id> --auto` | Create an auto workspace, which ingest writes to (only a new workspace can be made auto) |
175
+ | `honcho ingest import <file>` | Import ingest records, one per line (`-` for stdin); not derived unless `--derive now` (`--derive auto`: not during the dry run, then as they arrive). Safe to run again: stored records come back as duplicates. During the dry run, a record sent again with a later `revised_at` replaces it, and a line `{"op": "delete", ...}` deletes one. Bot records no person replied to or mentioned the bot about are held back (`--bots interacted`, the default; `--bots all` imports them). `--check` validates every line and sends nothing, with no workspace or credentials needed |
176
+ | `honcho ingest from [<source> ...]` | Run an installed connector and import what it reads, as `import` does (deriving later, holding back unanswered bot records per container). With no source, lists the installed ones; `honcho ingest from <source> --help` shows a source's own options. `--follow` (discord, github) catches up from the position saved in Honcho, then follows the source live until stopped, deriving `auto`; `--bot-window` sets how many minutes a bot record waits for a person (60). Connectors register under the `honcho.ingest_sources` entry point: see [Writing an Exporter](https://docs.honcho.dev/v3/contributing/experimental/ingest-exporters) |
177
+ | `honcho ingest status` | Records by derivation state, tokens waiting, and the people and sessions the import created, numbered, most records first; and the sources connectors follow, with each one's last sync |
178
+ | `honcho ingest derive` | Release every deferred record for derivation; `--watch` follows the queue until it finishes |
179
+ | `honcho peer exclude/include <ref>` | Stop (or resume) deriving about an imported person: `observe_me` off. `<ref>` is a number from `ingest status`, an ID, or a display name |
180
+ | `honcho session exclude/include <ref>` | Stop (or resume) deriving from an imported session; it is still summarized |
181
+ | `honcho ingest reset` | Delete the imported sessions and their messages, to import again; people, exclusions and links stay. Asks first (`--yes` to skip) and waits for the deletion |
182
+ | `honcho ingest link <ref> <ref>...` | Treat several imported people as one, from the next import on: every account of the others maps to the first (`--keep <peer-id>` keeps any peer). Nothing imported moves, so `--reset` resets the import first, finding the people before the reset so their numbers stay right |
183
+ | `honcho ingest unlink <person> <account>` | Take a linked account back out (`<account>` = its ID, display name, or `SOURCE:ID`); `--reset` as for link |
184
+ | `honcho ingest suggestions` | Refresh and list, numbered, the accounts that look like one person, with the evidence (the same email, "I'm X on GitHub", names only they share, linking their own work). Each has a label, the stage that made it and its confidence: `rules:high` ones can be accepted at a glance; `rules:low` ones need a look. `--no-refresh` lists without refreshing; `--only <label>`, `--status` filter. Run it after importing, before a reset |
185
+ | `honcho ingest suggestions accept <n or label>...` | Accept suggestions: link each one's accounts, as `ingest link` does. A label, such as `rules:high`, takes every open one with it; `--keep` the peer to keep. `--reset` resets the import first, then import again |
186
+ | `honcho ingest suggestions dismiss <n>...` | Dismiss suggestions; a refresh never brings them back |
187
+
150
188
  ### Config
151
189
 
152
190
  | Command | Description |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "honcho-cli"
3
- version = "0.6.0"
3
+ version = "0.7.0"
4
4
  description = "A terminal for Honcho — memory that reasons."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -19,7 +19,7 @@ classifiers = [
19
19
  dependencies = [
20
20
  "click>=8.0.0",
21
21
  "typer>=0.15.0",
22
- "honcho-ai>=2.9.0",
22
+ "honcho-ai>=2.11.0",
23
23
  "rich>=13.0.0",
24
24
  "httpx>=0.27.0",
25
25
  "questionary>=2.1.0",
@@ -33,6 +33,8 @@ Repository = "https://github.com/plastic-labs/honcho"
33
33
 
34
34
  [project.scripts]
35
35
  honcho = "honcho_cli.main:app"
36
+ # Same entry point under the package name, so `uvx honcho-cli <command>` works
37
+ honcho-cli = "honcho_cli.main:app"
36
38
 
37
39
  [build-system]
38
40
  requires = ["hatchling"]
@@ -85,14 +85,17 @@ def print_welcome(console: Console) -> None:
85
85
  ("", "replay"),
86
86
  ("peer", "list · create · search · inspect · card · chat"),
87
87
  ("", "get-metadata · set-metadata · representation"),
88
+ ("", "exclude · include (experimental)"),
88
89
  ("session", "list · create · search · delete · inspect · view · add-peers"),
89
90
  ("", "context · get-metadata · set-metadata · peers"),
90
91
  ("", "remove-peers · representation · summaries"),
92
+ ("", "exclude · include (experimental)"),
91
93
  ("scope", "list · create · inspect · sessions · add-sessions"),
92
94
  ("", "remove-session · status"),
93
95
  ("message", "list · create · get"),
94
96
  ("conclusion", "list · create · search · delete"),
95
97
  ("dream", "list · inspect"),
98
+ ("ingest", "experimental: import · from · status · derive · reset · link · unlink"),
96
99
  ("config", "inspect current configuration"),
97
100
  ]
98
101
  memory_rows = [
@@ -111,6 +111,19 @@ def _goose_dir() -> Path:
111
111
  return _xdg_config() / "goose"
112
112
 
113
113
 
114
+ def _chatgpt_desktop_present() -> bool:
115
+ """ChatGPT Desktop: its app bundle on macOS, its Store package on Windows."""
116
+ if sys.platform == "darwin":
117
+ return any(_exists(d / "ChatGPT.app") for d in (Path("/Applications"), _home() / "Applications"))
118
+ if sys.platform == "win32":
119
+ packages = _env_path("LOCALAPPDATA", _home() / "AppData" / "Local") / "Packages"
120
+ try:
121
+ return any(packages.glob("OpenAI.ChatGPT-Desktop_*"))
122
+ except OSError:
123
+ return False
124
+ return False
125
+
126
+
114
127
  def _dsh_present() -> bool:
115
128
  """``dsh`` is also Debian's distributed shell; only count DeepSeek's npm one."""
116
129
  exe = shutil.which("dsh")
@@ -330,6 +343,10 @@ AGENTS: tuple[Agent, ...] = (
330
343
  id="claude-desktop", name="Claude Desktop", kind="suggest", docs_url=f"{MCP_DOCS}#claude-desktop",
331
344
  paths=lambda: [_app_support() / "Claude"] if sys.platform in ("darwin", "win32") else [],
332
345
  ),
346
+ Agent(
347
+ id="chatgpt-desktop", name="ChatGPT Desktop", kind="suggest",
348
+ docs_url=f"{MCP_DOCS}#chatgpt-desktop", present=_chatgpt_desktop_present,
349
+ ),
333
350
  Agent(
334
351
  id="windsurf", name="Windsurf", kind="suggest", docs_url=f"{MCP_DOCS}#windsurf",
335
352
  bins=("windsurf",), paths=lambda: [_home() / ".codeium" / "windsurf"],
@@ -3,8 +3,8 @@
3
3
  Representation History: every dream records what it changed in a peer's
4
4
  representation — the conclusions it created (with the conclusions each was
5
5
  derived from), the conclusions it removed (with their text as it read when
6
- removed), and the peer card before and after. Runs are kept for the server's
7
- retention window (30 days by default). Needs a workspace or admin key.
6
+ removed), and the peer card before and after. Runs are not pruned unless the
7
+ server sets a retention window. Needs a workspace or admin key.
8
8
  """
9
9
 
10
10
  from __future__ import annotations
@@ -125,7 +125,7 @@ def list_dreams(
125
125
  if result.pages:
126
126
  title += f" · page {result.page}/{result.pages}"
127
127
  if not result.items:
128
- status("No dreams recorded in the retention window.")
128
+ status("No dreams found.")
129
129
  return
130
130
  _print_runs(result.items, title)
131
131
  if result.pages and page < result.pages: