-
Notifications
You must be signed in to change notification settings - Fork 1
feat: clean up AI booboos, fix bridgev2 usage #103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
batuhan
wants to merge
221
commits into
main
Choose a base branch
from
batuhan/sins
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
221 commits
Select commit
Hold shift + click to select a range
e0f6f27
clean up bridgev2 sins
batuhan fcd7fa1
Persist AI login state & refactor scheduler timers
batuhan 11f6ee7
Persist tool approvals in DB; trim login state
batuhan 5693615
Use agentremote/sdk package and aliases
batuhan a0e02d9
Standardize bridge metadata and login IDs
batuhan 2c2d3cb
Update AI bridge name and description
batuhan 113977d
Update client.go
batuhan f24fa7f
Introduce AI table constants and connector updates
batuhan e484ed6
Remove raw event fields and SDK handlers
batuhan f703337
Persist AI login config and SDK conversation state
batuhan 147608d
Persist OpenClaw portal state and remove SDK fields
batuhan bccaa3f
sync
batuhan 5e2ec5b
Refactor portal metadata & OpenClaw state
batuhan 8c5f9c3
AI bridge: remove Matrix APIs, simplify portals
batuhan 1d548c7
clean up
batuhan 07e680c
Remove unused helpers and tidy imports
batuhan 137b979
Brand as AgentRemote CLI; update Codex/OpenClaw
batuhan 53e40ce
sync
batuhan 186317c
sync
batuhan 5ddf87b
sync
batuhan 3d3f7a7
sync
batuhan 9353fa3
sync
batuhan b1c098d
sync
batuhan a81e9a4
sync
batuhan 7fbc737
sync
batuhan 63bf0b6
sync
batuhan 3e73a50
sync
batuhan 733e4c3
sync
batuhan 4992bce
Update boss.go
batuhan 0b933f9
sync
batuhan 22ded85
sync
batuhan 57c5e9b
sync
batuhan f70c98f
sync
batuhan ac66191
sync
batuhan 9f9bc30
sync
batuhan 3276dd9
sync
batuhan fc5e423
sync
batuhan fe92dea
sync
batuhan fa890d9
Add connect validation and room meta updates
batuhan e3bbefc
apply review fixes
batuhan fb081b4
sync
batuhan d144493
Refactor state handling and remove unused helpers
batuhan 286dbd7
Refactor DB blob helpers and desktop/OpenClaw
batuhan e63c327
Update desktop_api_native_test.go
batuhan ac970d7
AI: agents enablement, login load, params & schema
batuhan 41b7fff
Introduce AI turn store and portal scope changes
batuhan 10139ef
Remove canonical history & related helpers
batuhan 77f590a
Delete slice_arg.go
batuhan 90c002b
Resolve canonical portal scope with context
batuhan 09c3aa6
ai: use canonical IDs and turn checkpoints
batuhan 1efa207
Fallback to bridge DB ID for portal/login scope
batuhan 541666d
Refactor AI portal DB scope and messaging
batuhan 8a19823
sync
batuhan aaf4822
syn
batuhan cf0134b
wip
batuhan 57785ff
wip
batuhan 107b11a
sync
batuhan ada2fff
Refactor AI queue, room locks, portal bootstrap
batuhan a34a908
wip
batuhan e735d15
sync
batuhan ab7290b
wip
batuhan c85d1e3
wip
batuhan a3b0785
wip
batuhan 6fb210a
wip
batuhan 20ee96b
wip
batuhan 28bc56e
wip
batuhan 10bf6fd
wip
batuhan 54b6170
wip
batuhan f5d5941
wip
batuhan 7530ce3
wip
batuhan ff2a64d
wip
batuhan 300ed78
wip
batuhan 24ea82d
wip
batuhan 1c8edd5
wip
batuhan 2fe2d9b
wip
batuhan 720a004
wip
batuhan 54d4aaa
Unify chat creation & approval start flows
batuhan 0983ccb
wip
batuhan 76b73bf
Refactor portal/chat resolution and approvals
batuhan dd2caa6
wip
batuhan a134fda
wip
batuhan 05cf1fa
wipwip
batuhan abc815e
wip
batuhan a30bdfb
Delete AI prompt and heartbeat wrapper layers
batuhan ac9cef9
Delete AI session and provider wrapper layers
batuhan 6a49b95
Delete leftover AI and SDK trampolines
batuhan 0d8ac53
Collapse SDK runtime getter bag
batuhan 5ad5ee0
Delete AI queue dispatch shells
batuhan 6b6cff8
Collapse AI streaming lifecycle handling
batuhan f581ac2
Collapse AI heartbeat routing
batuhan a78b8a2
Delete AI status delivery wrappers
batuhan bd7786d
Delete AI streaming UI accessor shims
batuhan 77be2e0
Inline AI reply accumulator finalization
batuhan 419663d
Delete AI portal send wrapper
batuhan 48fbe6e
Delete AI portal edit wrapper
batuhan 50036d4
Delete dead AI integration host methods
batuhan 988edc0
Delete unused AI integration host surface
batuhan de1cb1d
Delete dead AI approval helper
batuhan 5673b38
Delete dead AI system event helpers
batuhan 0b4ad02
Inline SDK client cache loading
batuhan 81d1268
Inline continuation message construction
batuhan 67ef462
Unify AI portal chat info flow
batuhan 60398eb
Collapse heartbeat session helper layer
batuhan 25b0dbf
Inline connector cache lifecycle
batuhan d719d0c
Inline AI continuation reply relation
batuhan 099ded0
Delete SDK cache removal wrapper
batuhan 4973e5b
Delete AI prompt and activity wrappers
batuhan 7c55fc9
Delete SDK message and broken-login wrappers
batuhan 12312df
Inline AI prompt context helpers
batuhan 14159b3
Inline approval and retrieval defaults
batuhan 8511ac5
Delete Exa provider wrappers
batuhan 37165fd
Inline remaining shared helper wrappers
batuhan 93b5819
Inline AI queue and prompt projection helpers
batuhan 96a84ec
Collapse retrieval env default helpers
batuhan fa2a14d
Inline AI chat and streaming wrappers
batuhan a0d3f9d
Delete test-only and bridgeutil wrappers
batuhan 5412035
Inline AI queue drop policy
batuhan 211c490
Inline direct fetch defaults
batuhan e80fa3d
Inline chat tool loop continuation logic
batuhan 3d128f7
Delete retrieval env wrapper layer
batuhan e27061b
Inline heartbeat session resolution
batuhan 196b9a3
Inline retrieval provider registration
batuhan b4f5008
Inline Exa search result helpers
batuhan 9946a6c
Inline retrieval provider constructors
batuhan 73096c6
Delete prompt and chat wrapper leftovers
batuhan 2363cc4
Inline SDK approval and bridge info helpers
batuhan d5bc3cd
Delete bridge-local status wrappers
batuhan ee15fa1
Inline AI current-turn prompt assembly
batuhan cd9d670
Inline AI contact resolution wrappers
batuhan acf064b
Inline SDK approval prompt formatting helpers
batuhan f8b9d01
Collapse AI retrieval token helper chain
batuhan 5d8d4e2
Refresh rewrite docs after wrapper deletions
batuhan a058305
Merge AI login load entrypoints
batuhan fb51a09
Collapse streaming terminal state ownership
batuhan 90ae2b1
Merge AI heartbeat session ownership
batuhan a6061b9
Inline AI responder resolution wrappers
batuhan d2610f1
Trim integration host passthrough surface
batuhan 60bbb8e
Collapse SDK stream state ownership
batuhan 4cc8a3d
Delete AI prompt and state shim helpers
batuhan e3d28d2
Delete remaining AI single-use wrappers
batuhan 7b959c2
Refresh rewrite docs after wrapper cuts
batuhan 32fdf99
Inline assistant turn checkpoint helpers
batuhan a1a61aa
Inline SDK capability and message adapters
batuhan 469704a
Inline responses stream error finalization
batuhan 59bf435
Collapse responses terminal timestamp ownership
batuhan ac67cb4
Delete prompt builder wrapper paths
batuhan 85c5bd1
Inline prompt turn-data persistence
batuhan 9a9231b
Centralize session timestamp lookup routing
batuhan ed39af4
Move route lookup into session store
batuhan e6d8475
Inline terminal timestamp writes
batuhan 48040d6
Inline steering continuation input
batuhan ad2076c
Collapse prompt history loading path
batuhan 4600435
Delete OpenAI base URL wrapper
batuhan 9a580d9
Inline SDK provider identity resolution
batuhan 604577f
Trim chat completions error helper inputs
batuhan 0605e81
Unify image generation service resolution
batuhan 0165b4a
Reuse service config for media providers
batuhan 852478d
Share streaming step-error finalization
batuhan 3d2aae4
Create canonical media provider spec table
batuhan 1e70775
Unify heartbeat session routing
batuhan 574b19f
Inline heartbeat finalization branches
batuhan 3a28c51
Wire cron integration to scheduler directly
batuhan 723995d
Delete SDK command runtime downcast
batuhan e84e5cc
Delete prompt tail wrapper
batuhan e69b55f
Remove memory identity from integration host
batuhan 8b45952
Inline SDK runtime state helper
batuhan 963d756
Drop redundant session portal login input
batuhan 28f1bbe
Inline agent resolution defaulting
batuhan d84bba4
Inline user prompt message construction
batuhan 5039fa0
Trim integration host agent helpers
batuhan ba4e299
Remove module-enabled host requirement
batuhan df6e569
Flatten canonical prompt replay
batuhan 8c182b0
Delete SDK runtime state bag
batuhan 07d80fd
Collapse AI session store operations
batuhan e376bca
Unify queued prompt dispatch path
batuhan 3af822e
Delete provider and queue wrappers
batuhan 88fdbfe
Inline heartbeat and provider config branches
batuhan a517ed4
Inline heartbeat finalization locals
batuhan 0c78b82
Inline heartbeat scheduler filters
batuhan 4470713
Flatten streaming terminal branches
batuhan e824398
Inline heartbeat route helpers
batuhan fc0ee83
Unify heartbeat launch boundary
batuhan 760d472
Inline retrieval proxy defaults
batuhan 07d13b4
Collapse media auto selection
batuhan ae64d32
Inline image generation provider configs
batuhan cf573e9
Inline tool config loading
batuhan 33b619f
Inline session tool routing
batuhan b5d8d34
Inline OpenRouter media config
batuhan ce39967
Delete stale SDK and runtime wrappers
batuhan 63625c7
Unify pending prompt assembly
batuhan b018225
Flatten queue acceptance flow
batuhan f5ff145
Scope heartbeat admission to target rooms
batuhan 8a4bf16
Collapse room occupancy state
batuhan e444eb8
Delete queue wrappers and dead SDK media helpers
batuhan 14b85df
Trim runtime host wrapper surface
batuhan 93cd4fe
Delete dead SDK replay helpers
batuhan cff4c96
Flatten heartbeat route resolution
batuhan b0b362e
Inline heartbeat delivery route types
batuhan d084fde
Collapse AI turn canonicalization
batuhan 03521cc
Unify agent loop run launch
batuhan 0a05b03
Unify textfs write side effects
batuhan 460dfaf
Collapse retrieval config assembly
batuhan 168c4cc
Collapse turn metadata projection
batuhan 6929a84
Delete prompt turn reparse path
batuhan 72d6364
Centralize textfs store construction
batuhan 2367f3c
Type agent module config lookup
batuhan 9f4c9d1
Extract turn part schema helpers
batuhan d7c1ff7
Unify final edit payload assembly
batuhan aa72984
Parse memory runtime config once
batuhan 57838e7
Delete duplicated session and policy resolvers
batuhan 0090693
Test direct memory prompt injection wiring
batuhan f9a7218
Delete approval and continuation wrappers
batuhan 700d4c7
Trim dead runtime host clock surface
batuhan b55f24b
Delete dead turn and final edit accessors
batuhan 0c6cac0
Delete session routing bag and dead prompt flag
batuhan 0ad44f8
Collapse user prompt projection
batuhan 7dad8e8
Delete dead regenerate prompt parameter
batuhan 0f215d1
Fix runtime fallout and delete dead sdk helpers
batuhan 4088c36
Delete dead ai replay and openclaw helpers
batuhan e803a98
Delete dead generic helper packages
batuhan 5675e2b
Inline final wrapper aliases
batuhan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,5 +22,6 @@ logs/ | |
| .cache | ||
| .gocache | ||
| .conductor | ||
| .codex-tmp | ||
| .tmp-go/ | ||
| .claude/worktrees/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix the Codex row sentence grammar for readability.
Line 30 reads like a comma splice and is slightly awkward in user-facing docs.
✏️ Suggested doc wording
📝 Committable suggestion
🤖 Prompt for AI Agents