Skip to content

feat(agent): collect the ChatGPT app's chats and the Claude app's chats and Cowork sessions - #203

Merged
geoolekom merged 4 commits into
constructorfabric:mainfrom
geoolekom:main
Nov 26, 2026
Merged

geoolekom merged 4 commits into
constructorfabric:mainfrom
geoolekom:main

Conversation

@IgorMGitHub

Copy link
Copy Markdown
Collaborator

Brings three pull requests that were reviewed and merged in geoolekom/construct-browser: #11, #12 and #13.

What changes

Known limits

  • Chats read before this change stay stored as codex; a chat open when this lands goes on as chatgpt.
  • The Claude app writes a conversation to its cache when the reply ends, so a prompt is stored about six seconds after its reply.
  • macOS only for the Claude app.

Verification

  • Each pull request: cargo fmt --check, cargo clippy --workspace --all-targets --locked -- -D warnings, the full test suite, a mutation check of each rule, and review.
  • On a Mac with both apps: ChatGPT chats and Claude chats and Cowork tasks were stored, nothing twice, with no reply stored half written.
  • Merges into the current main without conflicts.

IgorMGitHub and others added 4 commits November 26, 2026 15:49
Signed-off-by: Igor Makarov <igor.makarov@constructor.tech>
Signed-off-by: Igor Makarov <igor.makarov@constructor.tech>
feat(connectors): read the Claude app's conversation cache
The agent reads the Claude app's cache as a new kind of source, a snapshot: each read copies the cache, reads every conversation and removes the copy, and a record is new when its id was not seen in its session. Chats give the branch shown last; Cowork sessions give their user and assistant messages and their folder. Seen ids are kept until an erasure, so what is said while collection is off is never stored, also when the app drops a conversation and loads it again. A conversation of an unknown shape is an error in the status.

Signed-off-by: Igor Makarov <igor.makarov@constructor.tech>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3e744ccd-25b2-4f13-a2b0-43796a796850
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@geoolekom
geoolekom merged commit 5cc2b8a into constructorfabric:main Nov 26, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants