Commit graph

1512 commits

Author SHA1 Message Date
Arjun
ebc56b5312 removed unused import 2026-04-16 17:09:11 +05:30
Arjun
e71107320c improve instructions for assistant creating notes 2026-04-16 17:09:11 +05:30
Arjun
a240ff777f clipboard copy in assistant works as expected 2026-04-16 17:09:11 +05:30
Arjun
efe2a93d8a move top icons to sidebar buttons 2026-04-16 17:09:11 +05:30
arkml
7dbfcb72f4
Browser2 (#495)
Add tabbed embedded browser and assistant browser control
2026-04-15 13:21:09 +05:30
Ramnique Singh
e2c13f0f6f
Add tracks — auto-updating note blocks with scheduled and event-driven triggers
Track blocks are YAML-fenced sections embedded in markdown notes whose output
is rewritten by a background agent. Three trigger types: manual (Run button or
Copilot), scheduled (cron / window / once with a 2 min grace window), and
event-driven (Gmail/Calendar sync events routed via an LLM classifier with a
second-pass agent decision). Output lives between <!--track-target:ID-->
comment markers that render as editable content in the Tiptap editor so users
can read and extend AI-generated content inline.

Core:
- Schedule and event pipelines run as independent polling loops (15s / 5s),
  both calling the same triggerTrackUpdate orchestrator. Events are FIFO via
  monotonic IDs; a per-track Set guards against duplicate runs.
- Track-run agent builds three message variants (manual/timed/event) — the
  event variant includes a Pass 2 directive to skip updates on false positives
  flagged by the liberal Pass 1 router.
- IPC surface: track:run/get/update/replaceYaml/delete plus tracks:events
  forward of the pub-sub bus to the renderer.
- Gmail emits per-thread events; Calendar bundles a digest per sync.

Copilot:
- New `tracks` skill (auto-generated canonical schema from Zod via
  z.toJSONSchema) teaches block creation, editing, and proactive suggestion.
- `run-track-block` tool with optional `context` parameter for backfills
  (e.g. seeding a new email-tracking block from existing synced emails).

Renderer:
- Tiptap chip (display-only) opens a rich modal with tabs, toggle, schedule
  details, raw YAML editor, and confirm-to-delete. All mutations go through
  IPC so the backend stays the single writer.
- Target regions use two atom marker nodes (open/close) around real editable
  content — custom blocks render natively, users can add their own notes.
- "Edit with Copilot" seeds a chat session with the note attached.

Docs: apps/x/TRACKS.md covers product flows, technical pipeline, and a
catalog of every LLM prompt involved with file+line pointers.
2026-04-14 13:51:45 +05:30
Ramnique Singh
ab0147d475 refactor agent yaml frontmatter parsing 2026-04-14 10:14:00 +05:30
Ramnique Singh
b462643e6d refactor waitForRunCompletion, extractAgentResponse 2026-04-14 10:14:00 +05:30
Arjun
490b14ad58 switch to claude as default 2026-04-13 21:28:01 +05:30
Tushar
2653f6170d
feat(oauth): enhance Rowboat sign-in process to prevent duplicate users (#489)
* feat(oauth): enhance Rowboat sign-in process to prevent duplicate users

Added billing information checks during the Rowboat OAuth connection and onboarding process to ensure user and Stripe customer existence before proceeding. This change mitigates the risk of creating duplicate users due to parallel API calls. Updated error handling for better debugging in case of failures.

* refactor(onboarding): remove billing info check during Rowboat OAuth connection

Eliminated the billing information check that was previously in place to prevent duplicate Stripe customers during the onboarding process. This change simplifies the onboarding flow while maintaining the necessary checks for composio flags after account connection.
2026-04-13 18:15:04 +05:30
Ramnique Singh
b3066a0b7a add cmd+k palette with chat mode that captures editor cursor context
Cmd+K (Ctrl+K on Win/Linux) now opens a unified palette with two
modes: Chat (default) and Search (existing behavior). Tab cycles
between them. In Chat mode, if the user triggered the shortcut from
the markdown editor, the palette auto-attaches a removable chip
showing the note path and precise cursor line. Enter sends the
prompt to the right-sidebar copilot — opening the sidebar if closed
and starting a fresh chat tab — with the chip carried as a
FileMention whose lineNumber is forwarded to the agent as
"... at <path> (line N)" so the agent can use workspace-readFile
with offset to fetch the right slice on demand.

Line numbers are computed against the same getMarkdownWithBlankLines
serializer used to write notes to disk, so the reference is
byte-identical to what the agent reads back.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:00:37 +05:30
Ramnique Singh
4a2dfbf16f pass @-mention notes by reference, not by inlined content
Mentions now route through the structured-attachment path, sending
only path/filename/mimeType. The agent fetches content on demand via
workspace-readFile (line-prefixed, paginated). Avoids freezing a stale
snapshot of the note into the conversation and saves tokens on long
notes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 14:59:36 +05:30
Ramnique Singh
f4dc5e7db4 prefix line numbers and add offset/limit to workspace-readFile
Returns utf8 reads as `<path>`/`<type>`/`<content>` blocks with each
line prefixed by its 1-indexed line number, plus offset/limit paging
and an end-of-file/truncation footer. Helps the agent reference
specific lines when forming precise edits to knowledge markdown.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 14:30:36 +05:30
tusharmagar
1da3223f7d update .gitignore 2026-04-13 09:45:43 +05:30
tusharmagar
05166e791f clean up .claude 2026-04-13 09:45:28 +05:30
arkml
884b5d0414
fix composio related sync scripts (#484) 2026-04-11 09:08:26 +05:30
Arjun
80d134568c fix default model 2026-04-11 08:16:53 +05:30
Ramnique Singh
610616e5a0 add mermaid rendering 2026-04-10 18:00:30 +05:30
arkml
220e15f642
fix workdir everywhere (#475)
* make workdir configurable everywhere for easy testing
2026-04-10 10:40:46 +05:30
Ramnique Singh
44fd94d5e6 use correct paths in analytics 2026-04-10 01:21:01 +05:30
Ramnique Singh
1ac4e648da fix model-fetch error: remove experimental field handling 2026-04-10 01:07:52 +05:30
Ramnique Singh
50bce6c1d6 feat(oauth): switch Google OAuth from PKCE to authorization code flow with client secret
Previously, the Google OAuth integration used a PKCE-only flow (no client
secret). This switches to a standard authorization code flow where the user
provides both a Client ID and Client Secret from a "Web application" type
OAuth client in Google Cloud Console. PKCE is retained alongside the secret
for defense in depth.

Key changes:

- oauth-client.ts: discoverConfiguration() and createStaticConfiguration()
  now accept an optional clientSecret param. When provided, uses
  ClientSecretPost instead of None() for client authentication.

- oauth-handler.ts: connectProvider() takes a credentials object
  ({clientId, clientSecret}) instead of a bare clientId. Removed eager
  persistence of clientId before flow completion — credentials are now
  only saved after successful token exchange. Renamed resolveClientId to
  resolveClientCredentials to return both values from a single repo read.

- google-client-factory.ts: same resolveClientId → resolveCredentials
  rename. Passes clientSecret to OAuth2Client constructor and
  discoverConfiguration for token refresh.

- repo.ts: added clientSecret to ProviderConnectionSchema. Not exposed
  to renderer via ClientFacingConfigSchema (stays main-process only).

- IPC: added clientSecret to oauth:connect request schema. Handler builds
  a credentials object and passes it through.

- UI: GoogleClientIdModal now collects both Client ID and Client Secret
  (password field). Always shown on connect — no in-memory credential
  caching. Renamed google-client-id-store to google-credentials-store
  with a unified {clientId, clientSecret} object.

- google-setup.md: updated to instruct users to create a "Web application"
  type OAuth client (instead of UWP), add the localhost redirect URI, and
  copy both Client ID and Client Secret. Added credentials modal screenshot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 00:43:34 +05:30
Arjun
924e136505 change lookback to 7 days 2026-04-09 23:55:29 +05:30
tusharmagar
1d29ca8886 refactor(sidebar): simplify auto-collapse logic and improve sidebar toggle behavior 2026-04-09 20:58:59 +05:30
tusharmagar
79a21c715e feat(sidebar): implement auto-collapse functionality and refine sidebar toggle logic
Fixed sidebar animations and icon positioning
remove mobile sidebar
2026-04-09 14:38:54 +05:30
tusharmagar
1b81a42ed3 refactor(App): update sidebar toggle functionality and adjust button configurations 2026-04-09 13:28:26 +05:30
tusharmagar
9c010dabd8 fix(help-popover): update Discord invite link to the new URL 2026-04-09 10:09:18 +05:30
Ramnique Singh
89b6b963a2 Merge branch 'main' into dev 2026-04-09 07:06:56 +05:30
Ramnique Singh
d854b3f4f0
Merge pull request #431 from aculich/pr/google-oauth-callback
fix(oauth): preserve full callback URL for token exchange + persist Google Client ID
2026-04-09 07:05:16 +05:30
arkml
de24293cce
Merge pull request #470 from rowboatlabs/arkml-patch-18
Revise voice input/output and tools integration sections
2026-04-08 17:17:20 +05:30
arkml
52f5922495
Revise voice input/output and tools integration sections
Updated README to improve clarity and formatting for API key configuration.
2026-04-08 17:14:08 +05:30
arkml
34d64382d5
Merge pull request #469 from rowboatlabs/arkml-patch-17
Enhance README with tools integration and live notes
2026-04-08 16:58:07 +05:30
arkml
6da447ef3b
Enhance README with tools integration and live notes
Added sections for tools integration and live notes, and updated existing content for clarity and completeness.
2026-04-08 16:54:46 +05:30
Ramnique Singh
1a7dce35c8 fix shell env inference 2026-04-08 14:46:18 +05:30
arkml
4a16af6e02
Merge pull request #468 from rowboatlabs/arkml-patch-16
Replace demo video links in README
2026-04-08 11:31:17 +05:30
arkml
670b623fe6
Replace demo video links in README
Updated demo section with new video links and removed old demo images.
2026-04-08 11:30:08 +05:30
Aaron Culich
e1c6758a3f fix(oauth): full callback URL, Google clientId, refresh, and review follow-ups
- Pass full OAuth callback URL through auth-server for openid-client validation
- Composio + Google flows: duplicate-callback guard; preserve timeout cleanup
- Persist and expose Google clientId via oauth:getState; hydrate UI from useConnectors
- getAccessToken returns refreshed credentials; clearer errors and missing-state handling
- IPC schema: per-provider userId + clientId
- Docs: google-setup redirect URI and troubleshooting

Made-with: Cursor
2026-04-07 11:24:25 -07:00
Ramnique Singh
598aeb59cc
Merge pull request #467 from rowboatlabs/dev
Dev changes
2026-04-07 22:21:05 +05:30
arkml
69983ec566
Revise voice notes section to voice input and output
Updated the README to reflect changes in voice notes to voice input and added voice output section.
2026-04-07 22:19:29 +05:30
Ramnique Singh
c4e61eb6ff
Merge pull request #466 from rowboatlabs/dev-billing-updates
Add billing error handling and wire upgrade entry points
2026-04-07 22:18:37 +05:30
tusharmagar
75ffbc781c Add billing error handling and UI updates
- Introduced billing error patterns to match specific error messages and display appropriate user prompts in the ChatSidebar.
- Enhanced SidebarContentPanel and AccountSettings components to reflect subscription status, including trial expiration details.
- Updated button actions to direct users to the app URL for subscription management and upgrades.
- Added a new Payment section in AccountSettings for managing invoices and payment methods, with conditional rendering based on subscription status.
2026-04-07 21:51:17 +05:30
Arjun
d6b31cc25a fixed onboarding 2026-04-07 17:25:43 +05:30
tusharmagar
2739de6c67 Add app URL handling in Sidebar and Account Settings
(Wire up the upgrade buttons)

- Introduced `appUrl` state in both SidebarContentPanel and AccountSettings components.
- Updated OAuth state handling to fetch and set the app URL when connected to Rowboat.
- Enhanced Upgrade button functionality to open the app URL if available.
- Improved error handling during app URL retrieval to ensure robustness.
2026-04-07 14:21:45 +05:30
Arjun
01bc31ce77 default model in logged in 2026-04-07 13:49:01 +05:30
arkml
aea40e632b
Remove slack granola (#465)
* remove native slack and granola

* remove agent-slack instructions

* fix build error
2026-04-07 12:38:19 +05:30
Arjun
ce4e8f620a fix build issue 2026-04-07 11:58:17 +05:30
arkml
470947a59d
posthog analytics (#424)
Improved analytics
2026-04-07 11:37:20 +05:30
arkml
71c848006c
Polishes (#464)
Fix assistant scroll behavior
2026-04-07 09:10:00 +05:30
tusharmagar
290dc54d1e Enhance Composio tools prompt to clarify integration usage and configuration requirements. Added detailed instructions for users on enabling Composio integrations and handling email/calendar requests separately. 2026-04-07 01:08:19 +05:30
tusharmagar
c2177a0aa4 remove KEY configured indicator on connected account 2026-04-07 00:43:37 +05:30