Commit Graph

2509 Commits

Author SHA1 Message Date
Gregory Schier 87e60372fe Fix sidebar width 2026-03-12 14:02:32 -07:00
Gregory Schier 7e7faa69df Move split layout 2026-03-12 14:00:29 -07:00
Gregory Schier 0b7705d915 More tweaking 2026-03-12 08:59:02 -07:00
Gregory Schier 5e3ef70d93 Refactor proxy codebase 2026-03-12 08:31:05 -07:00
Gregory Schier 4968237ece Use native TLS when certificate validation is disabled for legacy server compatibility
When "Validate TLS certificates" is disabled, use the OS native TLS stack
(Secure Transport/SChannel/OpenSSL) instead of rustls. This adds support for
TLS 1.0+ connections to legacy servers like IBM WebSphere, which rustls cannot
handle since it only implements TLS 1.2+.

Ref: https://yaak.app/feedback/posts/tls-handshake-eof-when-connecting-to-private-ibm-websphere-endpoint-works-when-s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 21:32:45 -07:00
Gregory Schier 568a1b80ed Some fixes 2026-03-11 16:00:24 -07:00
Gregory Schier d4a6735881 Sidebar filtering 2026-03-11 15:55:25 -07:00
Gregory Schier 0c52fd03e2 Shared Table component 2026-03-11 15:51:57 -07:00
Gregory Schier 3e7d04b2f3 Fix theme 2026-03-11 15:44:32 -07:00
Gregory Schier 6600116b1a Merge branch 'main' into wip/yaak-proxy-foundation
# Conflicts:
#	apps/yaak-client/components/JsonBodyEditor.tsx
#	apps/yaak-client/lib/jsonComments.ts
#	package-lock.json
#	packages/theme/src/window.ts
#	packages/ui/src/components/HeaderSize.tsx
2026-03-11 15:36:57 -07:00
Gregory Schier 7be53ca330 WIP: Add yaak-mac-window to proxy app
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:35:54 -07:00
Gregory Schier f51f72a332 Show proxy status in UI 2026-03-11 15:09:21 -07:00
Gregory Schier 8a330ad1ec Auto-detect WSL and resolve Windows data directory for CLI
When running the CLI in WSL, dirs::data_dir() returns the Linux path
instead of the Windows host path where the Yaak desktop app stores data.
This detects WSL via /proc/version, resolves %APPDATA% through cmd.exe,
and converts it to a WSL mount path using wslpath.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
yaak-cli-0.6.2
2026-03-10 17:23:00 -07:00
Gregory Schier 90365f0723 Create Sidebar.tsx 2026-03-09 09:51:37 -07:00
Gregory Schier e87c3291e7 Add sidebar to proxy app 2026-03-09 09:33:35 -07:00
Gregory Schier a0442fb42b lint 2026-03-08 22:33:47 -07:00
Gregory Schier 12ece44197 Move Tree component to @yaakapp-internal/ui package
Decouple Tree from client app's hotkey system by adding
getSelectedItems() to TreeHandle and having callers register
hotkeys externally. Extract shared action callbacks to eliminate
duplication between hotkey and context menu handlers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:32:49 -07:00
Gregory Schier 4c041e68a9 Consolidate RPC commands into unified execute_action dispatcher
Replace individual RPC commands (proxy_start, proxy_stop) with a single
execute_action(ActionInvocation) handler. This simplifies the RPC interface
and enables action chaining through events for workflows like duplicate-then-navigate.
2026-03-08 19:04:31 -07:00
Gregory Schier 6534421733 Start extracting Tree component 2026-03-08 16:37:25 -07:00
Gregory Schier 6e11894f79 Lint stuff 2026-03-08 15:50:13 -07:00
Gregory Schier 96a22c68f2 Model store hooked up 2026-03-08 15:42:18 -07:00
Gregory Schier 0a616eb5e2 Got models and event system working 2026-03-08 15:18:31 -07:00
Gregory Schier 7382287bef Initial DB implementation 2026-03-08 14:39:00 -07:00
Gregory Schier a5433fbc74 Remove unused yaak-proxy-models crate
Replaced by a purpose-built ProxyEntry model to be added to
yaak-proxy-lib, which better handles multi-protocol capture
(HTTP, gRPC, GraphQL, WebSocket) without REST-specific assumptions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 11:38:16 -07:00
Gregory Schier 6f8c4c06bb Add transport-agnostic RPC layer for proxy app
Introduces yaak-rpc (shared RPC infrastructure) and yaak-proxy-lib
(proxy app logic decoupled from any frontend). A single Tauri command
dispatches all RPC calls through a typed router, with TypeScript types
auto-generated via ts-rs and a generic rpc() function for type-safe
calls from the frontend.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 11:27:51 -07:00
Gregory Schier 4c37e62146 Start extracting DBContext 2026-03-08 08:56:08 -07:00
Gregory Schier cf28229f5f New yaak-databases crate for shared core logic 2026-03-08 08:10:37 -07:00
Gregory Schier 3586c8fe24 Move Icon and LoadingIcon to shared package 2026-03-07 08:00:14 -08:00
Gregory Schier d99898f39b Move some more stuff over 2026-03-07 07:44:50 -08:00
Gregory Schier ff6686f982 HeaderSize as shared component 2026-03-07 07:32:58 -08:00
Gregory Schier 6f9e4ada15 Shared window crate 2026-03-07 06:50:11 -08:00
Gregory Schier fd100330a6 Extract shared UI and theme packages 2026-03-06 10:30:31 -08:00
Gregory Schier 6915778c06 Refactor desktop app into separate client and proxy apps 2026-03-06 09:23:19 -08:00
Gregory Schier e26705f016 Use separated client/proxy dev ports across worktrees 2026-03-06 09:20:49 -08:00
Gregory Schier 32f22aad67 Add initial yaak-proxy crate 2026-03-06 06:58:45 -08:00
Gregory Schier b563319bed Fix biome lint: update schema to 2.3.13, exclude npm dir, fix lint errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v2026.3.0-beta.10 v2026.3.0
2026-03-05 16:19:05 -08:00
Gregory Schier 3d577dd7d9 Update release skills for CLI 2026-03-05 16:06:40 -08:00
Gregory Schier 591c68c59c Revert macOS CI runners back to macos-latest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:59:10 -08:00
Gregory Schier a0cb7f813f Replace format-graphql with pretty_graphql for comment-preserving GraphQL formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:53:13 -08:00
Gregory Schier cfab62707e Exclude yaak-cli from app release tests and remove stale lint comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:36:09 -08:00
Gregory Schier 267508e533 Support comments in JSON body (#419)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 15:05:09 -08:00
Gregory Schier 242f55b609 Fix macOS Tahoe stoplight positioning and build on macOS 26
On macOS Tahoe (26+), the default title bar is 32px with 14px buttons,
so the old formula (button_height + PAD_Y = 14 + 18 = 32) produced no
change. Add TITLEBAR_EXTRA_HEIGHT to push the title bar taller than
the Tahoe default. Use OnceLock to capture the original default height
so repeated calls don't accumulate extra pixels.

Also update CI runners to macos-26 for Tahoe SDK builds and adjust
frontend padding for larger stoplights.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 14:56:19 -08:00
dependabot[bot] 67a3dd15ac Bump @hono/node-server from 1.19.9 to 1.19.10 (#417)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 13:24:21 -08:00
dependabot[bot] 543325613b Bump hono from 4.11.10 to 4.12.4 (#416)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 13:24:04 -08:00
Gregory Schier 88f5f0e045 Add redirect drop metadata and warning UI (#418) 2026-03-05 06:14:11 -08:00
Gregory Schier 615f3134d2 Fix plugin settings layout 2026-03-04 09:21:15 -08:00
Gregory Schier 0c7051d59c Better external OAuth callback format 2026-03-04 09:10:49 -08:00
Gregory Schier 30f006401a CLI plugin host: handle send/render HTTP requests (#415)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
yaak-cli-0.6.1
2026-03-03 16:41:53 -08:00
Gregory Schier 3c12074db6 Mention CLI in main dropdown 2026-03-03 06:50:25 -08:00
Gregory Schier 851f12f149 app: detect CLI availability and add command palette copy action yaak-cli-0.5.2 2026-03-02 14:55:04 -08:00