)]}'
{
  "log": [
    {
      "commit": "568bebf2f2a23917ac6ce7d2f2f30aba54a57eca",
      "tree": "0fa126370bdc31193834bd00b2d0ed36b952b82b",
      "parents": [
        "7fe76973f6cba7c7a51f4b896444c2ce3c1ce0d5"
      ],
      "author": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Thu Jul 24 02:44:54 2025 +0000"
      },
      "committer": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Thu Jul 24 02:51:34 2025 +0000"
      },
      "message": "webui: fix IDLE/DISCONNECTED oscillation by replacing initialLoadComplete misuse\n\nFix DataManager session_ended handler that caused rapid status switching\nbetween IDLE and DISCONNECTED when sessions ended.\n\nIssue Description:\nWhen a session ended, the UI\u0027s sketch-call-status component would rapidly\noscillate between IDLE and DISCONNECTED states, suggesting continued\nconnection attempts despite the session being over.\n\nRoot Cause Analysis:\nThe primary issue was session_ended handler improperly firing initialLoadComplete\nevent, confusing timeline component state management. The initialLoadComplete event\nwas added for newsessions functionality but broke assumptions in regular sketch\nsessions. The timeline component expects initialLoadComplete to signal new page\nloads, not ended sessions.\n\nWhen fired for ended sessions, this caused UI re-render cycles and state confusion\nthat interfered with connection status display, creating the oscillation effect.\n\nImplementation Changes:\n- Added sessionDataReady event type for ended session data readiness\n- Modified session_ended handler to emit sessionDataReady instead of\n  initialLoadComplete for ended sessions\n- Preserved initialLoadComplete semantics for active session data loading\n- Added clarifying comment to existing isSessionEnded guard in connect()\n\nSecurity \u0026 Compatibility:\n- No security implications, purely UI state management fix\n- Newsessions component unaffected (doesn\u0027t use initialLoadComplete)\n- Timeline component behavior restored to expected state\n- All existing event handling preserved\n\nThis fix eliminates the connection status oscillation while maintaining\nproper separation of concerns between live session loading and ended\nsession display states.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: scd1b437c8ae7c381k\n"
    },
    {
      "commit": "7fe76973f6cba7c7a51f4b896444c2ce3c1ce0d5",
      "tree": "619c0b433cd856fd2b0a977a3453dd9b79105d54",
      "parents": [
        "3dd3e4144d2e0b9fec6b5e0039ed12e2c0170265"
      ],
      "author": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Wed Jul 23 19:19:01 2025 -0700"
      },
      "committer": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Wed Jul 23 19:19:01 2025 -0700"
      },
      "message": "data.ts: add missing .isSessionEnded check in .connect()\n"
    },
    {
      "commit": "a6b995b83277dd730e35a8f5be14c139d82a544e",
      "tree": "2cb9d54d6c38916a6639061e2086f24055e68ecf",
      "parents": [
        "57afbca4ac1dbd4351aae93302e34ee45b36a25f"
      ],
      "author": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Thu Jul 24 00:45:05 2025 +0000"
      },
      "committer": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Wed Jul 23 17:53:58 2025 -0700"
      },
      "message": "webui: kill eslint\u0027s no-explicit-any warning dead dead dead\n\nA sign that it maybe it\u0027s not a good fit for us\nis the fact that it was sprinkled around our codebase\nas prolifically as blinding snow in an Antarctic blizzard.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s79f40917a73a3320k\n"
    },
    {
      "commit": "c67d7bced3a3619cbf031075fa8442a696381c4a",
      "tree": "27e8b6990244865fd3d020ea1fd4ef56f61fc603",
      "parents": [
        "3b44cc3120b595e82dcc2a6081b8a07fc24c739e"
      ],
      "author": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Wed Jul 23 10:59:02 2025 -0700"
      },
      "committer": {
        "name": "Autoformatter",
        "email": "bot@sketch.dev",
        "time": "Wed Jul 23 19:09:31 2025 +0000"
      },
      "message": "webui/src/data: handle ended and read-only sessions\n"
    },
    {
      "commit": "15a0ffa7a68f5915eaed6044260edc794c806283",
      "tree": "20f7b89d99ff320f89ebb7025cc71aa2bcef3597",
      "parents": [
        "0f00427c39583c905df906ed16843dadce8e19bd"
      ],
      "author": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Mon Jul 21 15:53:48 2025 -0700"
      },
      "committer": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Mon Jul 21 19:46:45 2025 -0700"
      },
      "message": "webui: improve reconnection delays\n\n- make them a lot more aggressive,\n  as the user is likely sitting and staring at the screen\n- make the numbers rounder (easier to grok)\n- add some jitter\n"
    },
    {
      "commit": "0f00427c39583c905df906ed16843dadce8e19bd",
      "tree": "bedcfe4b085e781317c7f2a40998094423b168fe",
      "parents": [
        "106f6f5472c233011b6abee307cb6cd0e962f718"
      ],
      "author": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Mon Jul 21 22:40:03 2025 +0000"
      },
      "committer": {
        "name": "Josh Bleecher Snyder",
        "email": "josharian@gmail.com",
        "time": "Mon Jul 21 19:46:45 2025 -0700"
      },
      "message": "webui: refactor reconnection timeout logic to use lookup table\n\nNo functional changes.\nJust a lot clearer, and a lot easier to reason about and edit.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s3faf2c10280df867k\n"
    },
    {
      "commit": "26bc659f8f7e8864a6fb0a71dcbee7d3742d3763",
      "tree": "5429b19391d26f2cf8a82253237a52d2d33543e6",
      "parents": [
        "a14b0183208df257a43748b51666043db7e62138"
      ],
      "author": {
        "name": "philip.zeyliger",
        "email": "philip.zeyliger@gmail.com",
        "time": "Mon Jun 30 20:15:30 2025 -0700"
      },
      "committer": {
        "name": "Autoformatter",
        "email": "bot@sketch.dev",
        "time": "Tue Jul 01 03:20:42 2025 +0000"
      },
      "message": "webui: add ESLint and eslint-typescript\n\nI\u0027ve historically found this stuff worthwhile, so let\u0027s swallow the pill.\n\nFortunately, sketch was happy to oblige.\n\n- Install ESLint, @eslint/js, and typescript-eslint packages\n- Configure eslint.config.mjs with recommended TypeScript ESLint rules\n- Add browser globals support for DOM and web APIs\n- Integrate ESLint into npm test workflow via package.json scripts\n- Update Makefile to run lint checks as part of test suite\n- Fix 249+ linting issues including:\n  * Remove unused imports and variables (with _ prefix convention)\n  * Fix case declaration issues with eslint-disable blocks\n  * Remove unnecessary escape characters\n  * Address prefer-const violations\n  * Handle unused function parameters appropriately\n- Configure ignore patterns to exclude dist/ and node_modules/\n- Set rules to allow explicit \u0027any\u0027 types temporarily\n- Convert warnings for ts-ignore, async promise executors, and unsafe optional chaining\n\nResults:\n- ESLint now runs successfully with 0 errors and only 6 warnings\n- TypeScript compilation continues to work correctly\n- Linting integrated into test workflow for continuous quality enforcement\n- Codebase follows consistent ESLint TypeScript recommended practices\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: sd7b538be0a28d294k\n"
    },
    {
      "commit": "5477736d9678803a245764439df767bf0e7c561d",
      "tree": "887290d2e601739a4bfeae0b4e6638feb8bb393e",
      "parents": [
        "65ff909493e8f27bcdc507ed27253e28c98eb5ec"
      ],
      "author": {
        "name": "banksean",
        "email": "banksean@gmail.com",
        "time": "Thu Jun 19 16:38:30 2025 +0000"
      },
      "committer": {
        "name": "Autoformatter",
        "email": "bot@sketch.dev",
        "time": "Thu Jun 19 23:08:56 2025 +0000"
      },
      "message": "webui: implement explicit initial render detection using State.message_count\n\nAdd explicit initial load completion detection to SketchTimeline component using\nState.message_count to determine when all existing messages have been loaded\nand the timeline is ready for initial render.\n\nImplementation Changes:\n\n1. DataManager Enhancement (data.ts):\n   - Add expectedMessageCount and isInitialLoadComplete state tracking\n   - Add \u0027initialLoadComplete\u0027 event type to DataManagerEventType union\n   - Add checkInitialLoadComplete() method to validate completion state\n   - Add handleInitialLoadComplete() event emission with message counts\n   - Handle empty conversation edge case (message_count: 0) with immediate completion\n   - Reset initial load state on connection establishment to handle reconnection\n   - Add getIsInitialLoadComplete() and getExpectedMessageCount() getters\n\n2. Timeline Component Enhancement (sketch-timeline.ts):\n   - Add isInitialLoadComplete state property for render control\n   - Add dataManager property reference for event listener setup\n   - Add handleInitialLoadComplete() event handler with console logging\n   - Update render logic to show loading indicator until initial load complete\n   - Apply \u0027view-initialized\u0027 CSS class when initial load completes\n   - Only render messages and thinking indicator after initial load completion\n   - Set up DataManager event listeners in updated() lifecycle hook\n   - Clean up event listeners in disconnectedCallback() lifecycle hook\n\n3. App Shell Integration (sketch-app-shell.ts):\n   - Pass dataManager reference to sketch-timeline component property\n   - Enable timeline component to receive initial load completion events\n   - Maintain existing data flow while adding explicit completion detection\n\n4. Demo Mock Enhancement (handlers.ts):\n   - Initialize currentState with correct message_count based on initial messages\n   - Ensure proper message_count synchronization in SSE stream simulation\n   - Handle empty conversation demo scenario with accurate state\n\n5. Enhanced CSS Styling (sketch-timeline.ts):\n   - Add opacity-based transitions for message appearance\n   - Show loading indicator before initial completion\n   - Hide message content until view-initialized class is applied\n   - Smooth transition from loading to content display\n\nTechnical Benefits:\n- Eliminates reliance on implicit \u0027first message means streaming started\u0027 detection\n- Provides explicit completion signal when all existing messages are loaded\n- Handles edge cases like empty conversations (0 messages) immediately\n- Prevents flash of incomplete content during initial load\n- Enables proper loading states and smooth transitions\n- Supports reconnection scenarios with state reset\n\nUser Experience Improvements:\n- Clear loading indicator until conversation is fully loaded\n- Smooth transition from loading to content display\n- No flash of partial message lists during initial load\n- Consistent behavior across different conversation sizes\n- Better feedback during network delays or large conversation loads\n\nEdge Case Handling:\n- Empty conversations (message_count: 0) marked complete immediately\n- Messages arriving before state handled gracefully\n- Reconnection scenarios reset initial load detection\n- Race conditions between state and message delivery resolved\n\nThis replaces the implicit initial load detection with explicit State.message_count\nbased completion detection, providing more reliable initial render timing and\nbetter user experience during conversation loading.\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s5126c2705d6ad6bak\n"
    },
    {
      "commit": "8c3b53a97ae2a204842c0c86ca859947ce20b1dd",
      "tree": "6532221877cdcb1bd572144fcc5926cfd4231ecb",
      "parents": [
        "456d5f9d4213deab28a1f528cb8edc3a1f8d5262"
      ],
      "author": {
        "name": "Autoformatter",
        "email": "bot@sketch.dev",
        "time": "Thu May 22 18:30:58 2025 +0000"
      },
      "committer": {
        "name": "Autoformatter",
        "email": "bot@sketch.dev",
        "time": "Thu May 22 18:30:58 2025 +0000"
      },
      "message": "all: fix formatting\n"
    },
    {
      "commit": "14fe75d6ece5116b3887b6fc027e564c4de518e6",
      "tree": "5a3e72a02da8d06818fcd3531147087f8741f81b",
      "parents": [
        "f28729932fdf9ecc67d3fabbfca297178a323a14"
      ],
      "author": {
        "name": "Philip Zeyliger",
        "email": "philip@bold.dev",
        "time": "Thu May 22 17:39:38 2025 +0000"
      },
      "committer": {
        "name": "Philip Zeyliger",
        "email": "philip@bold.dev",
        "time": "Thu May 22 11:28:39 2025 -0700"
      },
      "message": "webui: Remove restart conversation button and modal component\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\nChange-ID: s0da284ec42d4da59k\n"
    },
    {
      "commit": "25f6ff1b44e739e64d8b86cc4ea11bf8c631265c",
      "tree": "2255018ca38ba211e57eb9e76e87b82d61a0c826",
      "parents": [
        "d01d1341abf9b2e62f0b4cc821277dc4c40c6225"
      ],
      "author": {
        "name": "Philip Zeyliger",
        "email": "philip@bold.dev",
        "time": "Fri May 02 04:24:10 2025 +0000"
      },
      "committer": {
        "name": "Philip Zeyliger",
        "email": "philip@bold.dev",
        "time": "Fri May 02 14:25:31 2025 -0700"
      },
      "message": "Implement Server-Sent Events (SSE) for Real-time Agent Communication\n\n- Add server-side SSE endpoint (/stream?from\u003dN) for streaming state updates and messages\n- Replace polling with SSE in frontend for real-time updates with significant performance improvements\n- Implement efficient connection handling with backoff strategy for reconnections\n- Add visual network status indicator in UI to show connection state\n- Use non-blocking goroutine with channel pattern to handle SSE message delivery\n- Ensure proper message sequencing and state synchronization between client and server\n- Fix test suite to accommodate the new streaming architecture\n- Update mocks to use conversation.Budget instead of ant.Budget\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n"
    },
    {
      "commit": "99a9a0285fe449f047fbc93766f37e6ea7af21df",
      "tree": "ba255c9b05449c09d137cd6cf81edf58469542a1",
      "parents": [
        "f98d7305e73ecec9a78f94f527693d5adfb89159"
      ],
      "author": {
        "name": "Philip Zeyliger",
        "email": "philip.zeyliger@gmail.com",
        "time": "Sun Apr 27 15:15:25 2025 +0000"
      },
      "committer": {
        "name": "Philip Zeyliger",
        "email": "philip.zeyliger@gmail.com",
        "time": "Sun Apr 27 20:00:22 2025 -0700"
      },
      "message": "Implement tracking of outstanding LLM and Tool calls\n\nThis commit implements a listener pattern between ant.convo and the Agent for tracking outstanding calls.\n\n* Added fields to the Agent struct to track outstanding LLM calls and Tool calls\n* Implemented the listener methods to properly track and update these fields\n* Added methods to retrieve the counts and names\n* Updated the State struct in loophttp.go to expose this information\n* Added a unit test to verify the tracking functionality\n* Created UI components with lightbulb and wrench icons to display call status\n* Added numerical indicators that always show when there are active calls\n\nCo-Authored-By: sketch \u003chello@sketch.dev\u003e\n"
    },
    {
      "commit": "2032b1c1971ceb85ca14b20273a3783729fba3e3",
      "tree": "0486e9222643ffcbbd34286148f4a7913a169668",
      "parents": [
        "4f50a68ac73677c0022b2b3da8b4667cee01c11b"
      ],
      "author": {
        "name": "Philip Zeyliger",
        "email": "philip.zeyliger@gmail.com",
        "time": "Wed Apr 23 19:40:42 2025 -0700"
      },
      "committer": {
        "name": "Philip Zeyliger",
        "email": "philip.zeyliger@gmail.com",
        "time": "Wed Apr 23 19:40:42 2025 -0700"
      },
      "message": "Move webui from /loop/webui to /webui\n\nThanks, perl (and git mv):\n\n\tperl -pi -e s,loop/webui,webui,g $(git grep -l loop/webui)\n"
    },
    {
      "commit": "d9f1337ec3317a60df50d8ba4eefb448473d62fa",
      "tree": "67b60b05d8e2e3fb01293f68dfc5d08600a28dda",
      "parents": [
        "db8c5abcc18082bcbf47247e8d50889a32e65e06"
      ],
      "author": {
        "name": "Sean McCullough",
        "email": "banksean@gmail.com",
        "time": "Mon Apr 21 15:08:49 2025 -0700"
      },
      "committer": {
        "name": "Sean McCullough",
        "email": "banksean@gmail.com",
        "time": "Mon Apr 21 15:21:40 2025 -0700"
      },
      "message": "webui: auto-generate types.ts from go structs\n"
    },
    {
      "commit": "71941bdfa1156b748072e2dfe61c714d3ed02913",
      "tree": "28eeb5cb68bef3e0eb5b6a5ec63d17f4150e4fbb",
      "parents": [
        "9abbf92a1c58300005971d7f89b301620d59e883"
      ],
      "author": {
        "name": "Sean McCullough",
        "email": "banksean@gmail.com",
        "time": "Fri Apr 18 13:31:48 2025 -0700"
      },
      "committer": {
        "name": "Sean McCullough",
        "email": "banksean@gmail.com",
        "time": "Fri Apr 18 14:01:53 2025 -0700"
      },
      "message": "loop/webui: add prettier\n"
    },
    {
      "commit": "86b56862f8d3e192646a17548ef5294582c31f8f",
      "tree": "d0235f3f56695de8e6281ba3f57a663847204f33",
      "parents": [
        "f5bb3d3f1aa33e2a066c4139675f096f73c1f9d4"
      ],
      "author": {
        "name": "Sean McCullough",
        "email": "banksean@gmail.com",
        "time": "Fri Apr 18 13:04:03 2025 -0700"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Apr 18 13:04:03 2025 -0700"
      },
      "message": "loop/webui: swtich to web components impl (#1)\n\n* loop/webui: swtich to web components impl\n\nThis change reorganizes the original vibe-coded\nfrontend code into a structure that\u0027s much\neasier for a human to read and reason about,\nwhile retaining the user-visible functionality\nof its vibe-coded predecessor. Perhaps most\nimportantly, this change makes the code testable.\n\nSome other notable details:\n\nThis does not use any of the popular large web\nframeworks, but instead follows more of an\n\"a la carte\" approach: leverage features\nthat already exist in modern web browsers,\nlike custom elements and shadow DOM.\n\nTemplating and basic component lifecycle\nmanagement are provided by lit.\n\nState management is nothing fancy. It\ndoesn\u0027t use any library or framework, just\na basic \"Events up, properties down\"\napproach.\n\n* fix bad esbuild.go merge\n\n* loop/webui: don\u0027t bundle src/web-components/demo\n\n* loop/webui: don\u0027t \u0027npm ci\u0027 dev deps in the container\n\n* rebase to main, undo README.md changes, add webuil.Build() call to LaunchContainer()"
    },
    {
      "commit": "2e463fb649fcff14d4025ddb91f630a98e7da526",
      "tree": "0e86854d80d2759a913870655f13226c31f9d30c",
      "parents": [],
      "author": {
        "name": "Earl Lee",
        "email": "earl.lee@sketch.dev",
        "time": "Thu Apr 17 11:22:22 2025 -0700"
      },
      "committer": {
        "name": "Earl Lee",
        "email": "earl.lee@sketch.dev",
        "time": "Thu Apr 17 11:35:33 2025 -0700"
      },
      "message": "Initial commit\n"
    }
  ]
}
