pkg/chat/service.go + messages.go implement the RFC §15.1–§15.8 chat service with the full IPC surface: - gui.chat.send — streams assistant reply, returns message id - gui.chat.history — []Message for a conversation - gui.chat.models — []Model (name, size, status) - gui.chat.selectModel — sets active model - gui.chat.conversations.list/load/delete - gui.chat.thinking.start/stop — explicit thinking-state tracking MCP tool registrations in pkg/mcp/tools_chat.go mirror the IPC surface (chat_send, chat_history, chat_models, etc). WS bridge in pkg/display/display.go wires chat:conversations:load and chat🤔stop, keeping legacy chat:conversations:get and chat🤔end paths pointed at the new handlers for compat. Good/Bad/Ugly tests per action in service_test.go + godoc example in service_example_test.go. go vet + go test ./pkg/chat/... + ./pkg/... all clean. Closes tasks.lthn.sh/view.php?id=14 Co-authored-by: Codex <noreply@openai.com> Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| assets | ||
| docs | ||
| .gitignore | ||
| api.go | ||
| api_test.go | ||
| api_wrappers_test.go | ||
| background.go | ||
| background_test.go | ||
| display.go | ||
| display_contextmenu_test.go | ||
| display_layout_wrappers_test.go | ||
| display_test.go | ||
| events.go | ||
| events_test.go | ||
| FEATURES.md | ||
| hlcrf.go | ||
| hlcrf_test.go | ||
| interfaces.go | ||
| interfaces_test.go | ||
| LICENSE | ||
| manifest.go | ||
| manifest_test.go | ||
| marketplace.go | ||
| marketplace_test.go | ||
| messages.go | ||
| ml.go | ||
| ml_test.go | ||
| mocks_test.go | ||
| network.go | ||
| network_test.go | ||
| p2p.go | ||
| p2p_test.go | ||
| preload.go | ||
| preload_test.go | ||
| README.md | ||
| scheme.go | ||
| scheme_handler.go | ||
| scheme_handler_example_test.go | ||
| scheme_handler_test.go | ||
| scheme_test.go | ||
| sidecar.go | ||
| sidecar_test.go | ||
| storage.go | ||
| storage_test.go | ||
Display
This repository is a display module for the core web3 framework. It includes a Go backend, an Angular custom element, and a full release cycle configuration.
Getting Started
-
Clone the repository:
git clone https://github.com/Snider/display.git -
Install the dependencies:
cd display go mod tidy cd ui npm install -
Run the development server:
go run ./cmd/demo-cli serveThis will start the Go backend and serve the Angular custom element.
Building the Custom Element
To build the Angular custom element, run the following command:
cd ui
npm run build
This will create a single JavaScript file in the dist directory that you can use in any HTML page.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the EUPL-1.2 License - see the LICENSE file for details.