Commit Graph

16 Commits

Author SHA1 Message Date
Offending Commit
aa46d47fc8 Merge pull request #30 from offendingcommit/feat/desktop-auto-discover
feat(desktop): auto-discover Honcho instances on localhost
2026-05-28 14:23:49 -05:00
github-actions[bot]
8e16dc4f78 chore(release): 0.11.0 [skip ci]
# [0.11.0](https://github.com/offendingcommit/openconcho/compare/v0.10.0...v0.11.0) (2026-05-28)

### Bug Fixes

* harden token and URL handling ([5cfbae6](5cfbae6248))

### Features

* **docker:** add containerized web build with CORS guidance ([cfe07f1](cfe07f1900))
2026-05-28 19:21:59 +00:00
github-actions[bot]
7a478ebbc8 chore(release): 0.10.0 [skip ci]
# [0.10.0](https://github.com/offendingcommit/openconcho/compare/v0.9.0...v0.10.0) (2026-05-28)

### Features

* **api:** add scoped multi-instance query client ([de8db4b](de8db4b7aa))
2026-05-28 19:20:20 +00:00
Ben Sheridan-Edwards
7355884051 feat(desktop): auto-discover Honcho instances on localhost (#1)
* feat(desktop): auto-discover Honcho instances on localhost

First-launch and on-demand discovery of running Honcho instances on
127.0.0.1:8000-8100. Desktop-only — the browser can't port-scan due to
CORS, so the scan runs in the Tauri Rust shell.

- New Rust command `discover_honcho_instances(start_port?, end_port?)`
  in src-tauri/src/discover.rs: parallel TCP probe of each port with
  150ms connect timeout + 250ms total request budget, looking for a
  /health endpoint returning `{"status":"ok"}`.
- New TS helper `discoverHonchoInstances()` in src/lib/discovery.ts:
  detects Tauri runtime; web build degrades to an empty result.
- `suggestNameForInstance()` fetches the first workspace and derives a
  friendly name from its id ("neo-personal" -> "Neo"). Used to seed the
  Name field for each discovered instance.
- `DiscoveredInstances` component: list of found instances with
  editable suggested names + per-row checkbox + "Add N instances"
  button. Rows are pre-checked by default and filter out already-
  configured baseUrls.
- Wired into `InstancesManager`:
  - First launch (no instances): renders above the connection-type
    chooser with autoRun=true. User sees results immediately.
  - With instances: adds a "Discover instances" button to the list
    view that opens the discovery flow on demand.
  - Both paths gate on `isTauri()`; the web build keeps its existing
    behaviour unchanged.

Adds tokio (with net + io-util + time + rt + macros) and futures to
the Tauri shell to get async TCP + join_all.

Tests:
- deriveNameFromWorkspaceId handles hyphenated, multi-segment, and
  no-hyphen ids

* test(desktop): add probe tests including live Hermes stack integration

- rejects_inverted_port_range
- ignores_ports_with_no_listener
- finds_live_hermes_stacks (#[ignore]d; opt-in with --ignored)

The ignored test exercises discover_honcho_instances against ports
8000-8010, expecting exactly [8001, 8002, 8003, 8004, 8005]. Verified
locally — the probe finds all 5 stacks in <10ms.

---------

Co-authored-by: Agents <agents@Jarviss-Mac-mini.local>
2026-05-28 14:09:45 -05:00
github-actions[bot]
2d7937e275 chore(release): 0.9.0 [skip ci]
# [0.9.0](https://github.com/offendingcommit/openconcho/compare/v0.8.0...v0.9.0) (2026-05-28)

### Features

* **web:** add global metadata visibility toggle ([e490d91](e490d911fc))
* **web:** add shared Breadcrumb component for workspace pages ([c6afc80](c6afc80fda))
* **web:** add workspace contextual sub-nav to sidebar ([62cae68](62cae68d05))
2026-05-28 18:46:42 +00:00
github-actions[bot]
e5349ed6e3 chore(release): 0.8.0 [skip ci]
# [0.8.0](https://github.com/offendingcommit/openconcho/compare/v0.7.1...v0.8.0) (2026-05-15)

### Features

* add health indicator and localhost auto-detect ([38e76d3](38e76d33de))
* add Honcho Cloud connection preset ([f071762](f0717624eb))
2026-05-15 03:07:43 +00:00
github-actions[bot]
4fc54a3581 chore(release): 0.7.1 [skip ci]
## [0.7.1](https://github.com/offendingcommit/openconcho/compare/v0.7.0...v0.7.1) (2026-05-12)

### Bug Fixes

* improve dark mode accessibility contrast ([7827438](7827438d92))
* show structured page placeholders while loading ([3075e4a](3075e4a005))
2026-05-12 16:07:18 +00:00
github-actions[bot]
3d1bb4c93c chore(release): 0.7.0 [skip ci]
# [0.7.0](https://github.com/offendingcommit/openconcho/compare/v0.6.0...v0.7.0) (2026-05-04)

### Features

* deep linking for hosted URLs and openconcho:// scheme ([578c8f4](578c8f4c46))
2026-05-04 16:36:23 +00:00
Offending Commit
a07adcbcbc Merge pull request #7 from offendingcommit/feat/deep-linking
feat: deep linking for hosted URLs and openconcho:// scheme
2026-05-04 11:33:25 -05:00
github-actions[bot]
387bfa4228 chore(release): 0.6.0 [skip ci]
# [0.6.0](https://github.com/offendingcommit/openconcho/compare/v0.5.3...v0.6.0) (2026-05-04)

### Features

* support multiple Honcho instances (closes [#2](https://github.com/offendingcommit/openconcho/issues/2)) ([f706c83](f706c83cc1))
2026-05-04 16:33:21 +00:00
Offending Commit
578c8f4c46 feat: deep linking for hosted URLs and openconcho:// scheme
Add /explore redirect route that maps Honcho's deep-link shape
(?workspace=...&view=...&session=...) onto our existing flat routes,
so any app.honcho.dev URL works against a self-hosted instance by
swapping the host.

Wire tauri-plugin-deep-link to register the openconcho:// scheme on
desktop and forward incoming URLs into the router on launch and at
runtime.
2026-05-04 10:12:25 -05:00
github-actions[bot]
7ff16f9548 chore(release): 0.5.3 [skip ci]
## [0.5.3](https://github.com/offendingcommit/openconcho/compare/v0.5.2...v0.5.3) (2026-05-03)

### Bug Fixes

* **release:** regenerate and commit Cargo.lock on release ([6f9abf8](6f9abf84ff))
* **web:** render sidebar on settings route ([557fecf](557fecf038))
* **web:** show settings on first load and hoist DemoProvider globally ([8f5a6aa](8f5a6aa7e9))
2026-05-03 22:17:20 +00:00
Offending Commit
6f9abf84ff fix(release): regenerate and commit Cargo.lock on release
Previously the release workflow updated Cargo.toml's version via sed
but never refreshed Cargo.lock, leaving it one version behind after
every release. Add cargo update for the openconcho package to the
prepareCmd, and add Cargo.lock to @semantic-release/git assets so it
ships in the release commit.

Also bumps the lagging 0.5.1 -> 0.5.2 lockfile entry that the
0.5.2 release missed.
2026-05-03 17:08:29 -05:00
Offending Commit
c3b4e58816 fix(ci): make sure we build web before we build the app 2026-04-28 14:52:09 -05:00
Offending Commit
6df9f02492 fix(release): route tauri build through turborepo task graph
Adds a `tauri` task to turbo.json with dependsOn ["^build"] so that
desktop#tauri automatically triggers web#build first via the workspace
dependency graph. The tauriScript routes tauri-action through turbo
rather than invoking tauri directly, eliminating the need for an
explicit build step.
2026-04-27 15:08:23 -05:00
Offending Commit
92c4dfd3dd feat: restructure as pnpm monorepo with Tauri desktop shell
- Migrate to packages/web + packages/desktop workspace layout via git mv
- Add Tauri v2 desktop shell with @tauri-apps/plugin-http for CORS bypass
- Configure Turborepo with package-level dependsOn build graph
- Add semantic-release with exec plugin for GHA output and disabled PR comments
- Fix http:default capability scope to allow all HTTP/HTTPS origins
- Add Vite Tauri integration (clearScreen, TAURI_DEV_HOST, target, envPrefix)
- Add semantic-release.yml and release.yml GitHub Actions workflows
- Fix all Biome lint errors (noArrayIndexKey, noNonNullAssertion, button types)
2026-04-24 21:42:06 -05:00