Skip to content

Private web UI#141

Merged
kill136 merged 8 commits intomainfrom
private_web_ui
Apr 13, 2026
Merged

Private web UI#141
kill136 merged 8 commits intomainfrom
private_web_ui

Conversation

@kill136
Copy link
Copy Markdown
Owner

@kill136 kill136 commented Apr 13, 2026

Summary

Changes

Related Issue

Testing

  • npx tsc --noEmit passes
  • npm test -- --run passes
  • Manually tested in CLI mode
  • Manually tested in Web UI mode

Screenshots

kill136 and others added 8 commits April 8, 2026 02:21
Keep Web sessions and subagents on the active runtime backend so Axon Cloud
and OpenAI-compatible flows do not fall back to Claude models or stale backend
state. Also surface the new chat action in the primary input controls.
… loop

- LeadAgent self-heal now restores old Session (cost, messages, permissions)
  via setSession() instead of discarding it on loop rebuild
- Worker finally block now calls loop.abort() to prevent dangling
  autoMemorize promises (matching LeadAgent.stop() pattern)
- Remove unused totalCostUSD dead code field from ConversationLoop
  (all cost tracking is in Session.state.totalCostUSD)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add a "layer zero" context optimization that runs before microcompact
and autoCompact. Instead of irreversibly deleting old messages, it
reduces old tool_result content to brief summaries while keeping the
original data intact in the session.

Key behaviors:
- Only triggers when tokens exceed 70% of autoCompact threshold
- Always preserves the 5 most recent tool results in full
- Never reduces Edit/Write results (state changes)
- Generates tool-specific summaries (Read → re-read hint, Bash → exit
  code + last line, Grep → match count, etc.)
- Does not modify session messages - only affects the API request copy

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SmartPlanner now validates AI-generated task decomposition before
building the execution plan:

- Detect and rename duplicate task IDs
- Remove invalid/self dependency references
- Detect and break circular dependencies (iterative until DAG)
- Ensure all tasks are covered in parallelGroups
- Split parallel groups when tasks have in-group dependencies
- Split parallel groups when tasks modify the same files (prevents
  concurrent edit conflicts that waste Worker tokens)

Also improves LeadAgent brief quality with a structured checklist
(entry files, data models, naming conventions, error handling, API
contracts, test requirements) replacing the single good/bad example.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tool consolidation (40 → 27 tools):
- Merge Eye+Ear → Sense, CreateTool+CreateAgent → Create, KnowledgeIngest+KnowledgeCompile → Knowledge
- Absorb WebFetch → urlReader, MemorySearch → memoryReader, Database → sqlReader, NotebookWrite → notebookWriter
- Remove: GoalManage, Network, LSP, REPL, MCP tools

HTTP Native (third wall):
- urlReader: custom headers, auth-aware caching, redirect auth stripping, error response bodies
- urlWriter (new): POST/PUT/PATCH/DELETE to any URL via Write tool
- Read/Write schemas extended with headers/method params
- System prompt updated: model knows to use Read/Write for HTTP APIs directly

IORuntime pipeline:
  Read:  url(1) → memory(1) → sql(1) → image → pdf → office → svg → notebook → binary
  Write: url(1) → notebook(0) → image(3) → spreadsheet(4) → presentation(4) → document(5) → binary(10)

Security: stripAuthOnRedirect shared util, metadata endpoint blocking, no auth response caching

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kill136 kill136 merged commit 55548d9 into main Apr 13, 2026
6 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.

1 participant