Commit log

b49dfbe Merge branch 'main' into server-client

Ayman Bagabas created

a116bea chore(legal): @Kaneki-x has signed the CLA

Charm created

9fd7f48 chore(metrics): have a better identifier fallback (#1130)

Andrey Nering created

c8bdb0b fix: improve shutdown (#1133)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

35b8aad chore(deps): bump google.golang.org/genai in the all group (#1134)

Click to expand commit body
Bumps the all group with 1 update: [google.golang.org/genai](https://github.com/googleapis/go-genai).


Updates `google.golang.org/genai` from 1.25.0 to 1.26.0
- [Release notes](https://github.com/googleapis/go-genai/releases)
- [Changelog](https://github.com/googleapis/go-genai/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/go-genai/compare/v1.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: google.golang.org/genai
  dependency-version: 1.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

dependabot[bot] and dependabot[bot] created

afdb81d chore(deps): fix dependabot config

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

5f5c995 fix(server): remove unused Instance state field

Ayman Bagabas created

afa359b refactor(app): remove unused TUI code and dependencies

Ayman Bagabas created

a5f18aa refactor(config): simplify environment variable resolution

Ayman Bagabas created

efb092f feat: pass client env vars to server and use it for shell variable resolution

Ayman Bagabas created

7dff907 refactor(config): pass environment variables to config loader

Ayman Bagabas created

4487507 refactor(env): remove env pkg

Ayman Bagabas created

dea6ae5 fix: remove client ID storage and pass it explicitly

Ayman Bagabas created

b1ddfc9 fix(client): handle different network types

Ayman Bagabas created

9fe405c fix(server): listen on the appropriate network protocol

Ayman Bagabas created

f99e29c fix(cmd): start detached server with the correct host

Ayman Bagabas created

9e6c4d4 fix(server): log the correct server address

Ayman Bagabas created

d335c41 fix: remove unconventional delete multiple instances endpoint

Ayman Bagabas created

143baca feat(cmd): accept short flag -H for --host in both server and client commands

Ayman Bagabas created

7534248 chore: go mod tidy

Ayman Bagabas created

b97bd0b Merge branch 'main' into server-client

Ayman Bagabas created

42ac4f0 Merge branch 'main' into server-client

Ayman Bagabas created

c1e8b6b chore(deps): update deps, dependabot config (#1125)

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

32dac11 test: ensure agent tool name is on list of tool names

tauraamui created

925e5fa feat: if agent has been disabled do not set the agent fn

tauraamui created

a6a4fa7 chore: add name for helper tool name resolver

tauraamui created

4203e52 Update Taskfile.yaml

Click to expand commit body
Co-authored-by: Andrey Nering <andreynering@users.noreply.github.com>

Carlos Alexandro Becker and Andrey Nering created

5f7c46d chore: fix version

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

51cee9e chore: add task release

Click to expand commit body
you can use it as:

```sh
task release -- -m 'some short description'
```

and it'll:

- figure out the next tag using svu
- check if you're on main
- check branch is clean
- drop the nightly tag (it's recreated, so if you have an old one, `git push --tags` will complain about it)
- `git tag --sign <next version>` + any args you pass to release
- `git push --tags`

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

63eda4d fix: improve retry

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

fa82290 fix: improve retry

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

685c81b chore: comment

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

9365343 refactor: use http.Status... consts

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

1be21ca refactor: use http.Status... consts

Click to expand commit body
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

5633f24 fix(provider): do not retry auth errors

Click to expand commit body
If auth failed... its unlikely it'll work next time

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Carlos Alexandro Becker created

7aac716 fix: change error message when failing to connect to crush server

Ayman Bagabas created

3d8b841 fix: properly support windows npipe connections and detached process

Ayman Bagabas created

b754264 fix: use npipe on Windows for default server address

Ayman Bagabas created

6993261 feat: add server shutdown endpoint and client method

Ayman Bagabas created

b740d39 feat: server: add version endpoint and client method

Ayman Bagabas created

1ad62f3 feat(server): add health check endpoint

Ayman Bagabas created

064a325 feat(server): auto-start server if not running

Click to expand commit body
This commit adds functionality to the Crush CLI to automatically start
the Crush server as a detached process if it is not already running

TODO:
- [x] Implement server auto-start logic
- [ ] Ensure cross-platform compatibility (Windows, Linux, macOS)
  - [x] Test on macOS
  - [ ] Test on Linux
  - [ ] Test on Windows
- [ ] Implement server readiness checks
- [ ] Implement server version endpoint and compatibility checks
- [ ] Implement server control commands (stop, restart, status)

Ayman Bagabas created

d9eabf7 refactor: centralize tool types in proto pkg and unmarshal permission params

Ayman Bagabas created

c55a2b4 fix(server): always use /tmp for socket path on non-windows systems

Ayman Bagabas created

cd08835 fix: create a new unique client ID for each instance

Ayman Bagabas created

b831c7c refactor(tui): decouple TUI from app package using client and config

Ayman Bagabas created

a53b1c2 feat(cmd): server: support custom host for server and client

Ayman Bagabas created

8434988 fix(client): client event streaming types and config and permission handling

Ayman Bagabas created

d3fe51b refactor: migrate to proto package and remove global config access

Ayman Bagabas created

25748b2 refactor(config): remove global config instance

Ayman Bagabas created