Commit Graph

86 Commits

Author SHA1 Message Date
mudler
0e1106eaf5 Revert "Attach to ui"
This reverts commit 088d0c47e87ee8f84297e47d178fb7384bbe6d45.

Signed-off-by: mudler <mudler@localai.io>
2025-04-24 12:45:52 +02:00
Ettore Di Giacinto
e9cd6a1073 Attach to ui
Signed-off-by: mudler <mudler@localai.io>
2025-04-24 12:45:52 +02:00
Richard Palethorpe
ce997d2425 fix: Handle state on agent restart and update observables (#75)
Keep some agent start across restarts, such as the SSE manager and
observer. This allows restarts to be shown on the state page and also
allows avatars to be kept when reconfiguring the agent.

Also observable updates can happen out of order because SSE manager has
multiple workers. For now handle this in the client.

Finally fix an issue with the IRC client to make it disconnect and
handle being assigned a different nickname by the server.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-23 15:29:06 +02:00
dependabot[bot]
9e52438877 chore(deps-dev): bump vite from 6.3.1 to 6.3.2 in /webui/react-ui (#69)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-22 11:44:53 +02:00
dependabot[bot]
bafd26e92c chore(deps-dev): bump eslint-plugin-react-hooks in /webui/react-ui (#67)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 21:31:48 +02:00
dependabot[bot]
8ecc18f76f chore(deps-dev): bump react-router-dom in /webui/react-ui (#65)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 7.5.0 to 7.5.1.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.5.1/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-version: 7.5.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-21 21:09:56 +02:00
Ettore Di Giacinto
50e56fe22f feat(browseragent): add browser agent runner action (#55)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-04-18 22:42:17 +02:00
Richard Palethorpe
b5a12a1da6 feat(ui): Structured observability/status view (#40)
* refactor(ui): Make message status SSE name more specific

Signed-off-by: Richard Palethorpe <io@richiejp.com>

* feat(ui): Add structured observability events

Signed-off-by: Richard Palethorpe <io@richiejp.com>

---------

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-18 17:32:43 +02:00
dependabot[bot]
43a2a142fa chore(deps-dev): bump globals from 15.15.0 to 16.0.0 in /webui/react-ui (#45)
Bumps [globals](https://github.com/sindresorhus/globals) from 15.15.0 to 16.0.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-17 19:53:13 +02:00
Richard Palethorpe
4888dfcdca chore(ui): Switch to text-based Bun lock file to allow diffing (#50)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-17 14:43:52 +02:00
Rene Leonhardt
42590a7371 chore(deps): Update dependencies (#42) 2025-04-16 08:45:53 +02:00
Richard Palethorpe
c32d315910 fix(ui): Proxy avatars endpoint in dev mode (#32)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-14 16:09:57 +02:00
Richard Palethorpe
606ffd8275 fix(ui): Don't try to pass unserializable Go objects to status UI (#28)
Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-14 16:09:42 +02:00
Richard Palethorpe
70282535d4 fix(app): Use Correct log format 2025-04-09 13:30:56 +01:00
Ettore Di Giacinto
e7111c6554 Rename 2025-04-08 22:18:32 +02:00
Richard Palethorpe
18364d169e fix(ui): Don't convert form inputs from string
Action, connector, MCP, dynamic prompts and anything else that is
stored as an array in the config; their fields are always stored
as string by the backend.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-07 14:02:38 +01:00
Ettore Di Giacinto
e3d4177c53 chore(README): update (#133)
* chore(README): update

Signed-off-by: mudler <mudler@localai.io>

* Update logos

---------

Signed-off-by: mudler <mudler@localai.io>
2025-04-03 17:35:07 +02:00
Ettore Di Giacinto
0709f2f1ff Revert "feat(ui): Action playground config and parameter forms (#129)"
This reverts commit 1eee5b5a32.
2025-04-03 14:46:04 +01:00
Richard Palethorpe
a569e37a34 fix(ui): Send number input as number JSON not string (#130)
* fix(ui): Submit number fields as numbers not text

* fix(ui): Remove some debug messages
2025-04-03 15:27:23 +02:00
Richard Palethorpe
1eee5b5a32 feat(ui): Action playground config and parameter forms (#129) 2025-04-03 15:26:14 +02:00
Richard Palethorpe
6d9f1a95cc fix(ui): Set page title 2025-04-02 08:28:49 +01:00
Richard Palethorpe
9f77bb99f1 fix(ui): Various fixes 2025-04-02 08:28:49 +01:00
Richard Palethorpe
74fdfd7a55 feat(ui): Add import agent screen 2025-04-02 08:28:49 +01:00
Richard Palethorpe
7494aa9c26 fix(ui): Prevent infinite loop when displaying error toast in chat 2025-04-02 08:28:49 +01:00
Richard Palethorpe
53d135bec9 chore(ui): Move zombie UI to old 2025-04-01 17:25:04 +01:00
Richard Palethorpe
99e0011920 Revert "chore(ui): Nuke original web UI, in favor of React"
This reverts commit 86cb9f1282.
2025-04-01 17:25:04 +01:00
Richard Palethorpe
a5ba49ec93 fix(ui): rm broken status message (it's in the button already) 2025-04-01 17:25:04 +01:00
Ettore Di Giacinto
f3c06b1bfb feat(api): implement stateful responses api (#122)
* feat(api): implement stateful responses api

Signed-off-by: mudler <mudler@localai.io>

* fix(tests): align client to API changes

Signed-off-by: mudler <mudler@localai.io>

---------

Signed-off-by: mudler <mudler@localai.io>
2025-04-01 18:00:37 +02:00
Richard Palethorpe
86cb9f1282 chore(ui): Nuke original web UI, in favor of React 2025-04-01 14:36:33 +01:00
Richard Palethorpe
ab3e6ae3c8 fix(ui): Fix SSE in chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
1f8c601795 fix(ui): Format item type label when it contians underscore 2025-04-01 14:36:33 +01:00
Richard Palethorpe
f70985362d chore(ui): Remove original UI/API routes 2025-04-01 14:36:33 +01:00
Richard Palethorpe
cafaa0e153 feat(ui): Add dynamic prompt config 2025-04-01 14:36:33 +01:00
Richard Palethorpe
491354280b feat(ui): Add dynamic prompt config 2025-04-01 14:36:33 +01:00
Richard Palethorpe
4c40e47e8d chore(prompts): Rename Prompt blocks to Dynamic prompts 2025-04-01 14:36:33 +01:00
Richard Palethorpe
045fb1f8d6 fix(ui): Remove infinite animations due to high CPU usage 2025-04-01 14:36:33 +01:00
Richard Palethorpe
8e703c0ac2 fix(ui): Loading .env 2025-04-01 14:36:33 +01:00
Richard Palethorpe
29beee6057 fix(ui): SSE in React chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
45078e1fa7 fix(ui): Re-add Chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
c96c8d8009 fix(ui): Various 2025-04-01 14:36:33 +01:00
Richard Palethorpe
11231f23ea feat(ui): Button appearance change 2025-04-01 14:36:33 +01:00
mudler
383fc1d0f4 fix(multi-agent): small fixes
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 16:55:08 +01:00
Richard Palethorpe
319caf8e91 chore(ui): Move some field definitions server side 2025-03-26 22:56:29 +00:00
Richard Palethorpe
7fb99ecf21 chore(ui): Reuse FormFieldDefinition on other parts of AgentForm 2025-03-26 22:56:29 +00:00
Richard Palethorpe
d520d88301 feat(ui): Add required indicator to form field 2025-03-26 22:56:29 +00:00
Richard Palethorpe
4dcc77372d chore(ui): Refactor action and connector form fields into single component 2025-03-26 22:56:29 +00:00
Ettore Di Giacinto
0f2731f9e8 fix(actions): respect running context
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-26 22:58:52 +01:00
Ettore Di Giacinto
5cd0eaae3f fix: mixed fixups and enhancements (#107)
* chore(Makefile): build react dist if missing

Signed-off-by: mudler <mudler@localai.io>

* fix(planning): don't loose results

Signed-off-by: mudler <mudler@localai.io>

* fix(slack): track user messages when writing on channel

Signed-off-by: mudler <mudler@localai.io>

---------

Signed-off-by: mudler <mudler@localai.io>
2025-03-26 17:05:59 +01:00
Richard Palethorpe
3e36b09376 fix(ui): Format status result as string 2025-03-26 06:34:32 +00:00
Richard Palethorpe
074aefd0df feat(ui): Add status page to react frontend 2025-03-26 06:34:32 +00:00