Skip to content

feat(desktop): Settings → Hack and Make this sendable init.js - #620

Merged
github-actions[bot] merged 2 commits into
developfrom
cursor/settings-hack-section-33e6
Aug 26, 2026
Merged

feat(desktop): Settings → Hack and Make this sendable init.js#620
github-actions[bot] merged 2 commits into
developfrom
cursor/settings-hack-section-33e6

Conversation

@tomymaritano

@tomymaritano tomymaritano commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Slice 1 of making Dripnex feel like a hackable AI note taker — no product rewrite.

  • Adds Settings → Hack, a top-level nav item (same visual language as Themes/Plugins) with Open init.js, Open styles.css, and Open keymap.
  • One-line help: these files live in the data directory; save to apply (existing watcher).
  • First-write init.js template registers dripnex.registerAiCommand named Make this sendable (messy notes → a document a person would send, not a model dump). dripnex.commands.add remains as a short comment; Insert Date no longer leads.
  • Existing on-disk init.js / styles.css / keybindings.json are not overwritten.
  • Plugins → Open init.js / styles.css still uses plugins:openUserFile.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Related Issues

Slice 1 only. No version bump, no tag. OFFICIAL_THEMES stays []. AuthGate untouched. No public marketplace.

Checklist

  • I've read CONTRIBUTING.md
  • Tests pass locally (pnpm test — 19/19 tasks; desktop 396 tests)
  • Build succeeds (pnpm build) — typecheck passed on push; production dist not run
  • PR targets develop branch (not main)

Screenshots

Settings UI is Electron; verification is the new unit tests (template + nav wiring + open-file IPC).

Open in Web Open in Cursor 

Expose init.js, styles.css, and keybindings.json from a top-level Hack
settings section. First-write init.js registers Make this sendable via
dripnex.registerAiCommand; existing on-disk files are left alone.

Co-authored-by:  Tomás Maritano <tomymaritano@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 21 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a53b5c06-9e09-4af1-9f7c-7cf88826b87b

📥 Commits

Reviewing files that changed from the base of the PR and between 38c2ae9 and dd5750e.

📒 Files selected for processing (12)
  • apps/desktop/src/main/__mocks__/electron.ts
  • apps/desktop/src/main/__tests__/userHackFiles.test.ts
  • apps/desktop/src/main/handlers/pluginHandlers.ts
  • apps/desktop/src/main/userHackFiles.ts
  • apps/desktop/src/renderer/pages/settings/SettingsApp.tsx
  • apps/desktop/src/renderer/pages/settings/__tests__/hackSection.test.ts
  • apps/desktop/src/renderer/pages/settings/components/SettingsSidebar.tsx
  • apps/desktop/src/renderer/pages/settings/hackFiles.ts
  • apps/desktop/src/renderer/pages/settings/sections/HackSection.tsx
  • apps/desktop/src/renderer/pages/settings/settingsNav.ts
  • packages/plugin-api/src/loader/loadInitScript.ts
  • packages/plugin-api/tests/hostBridges.test.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-authored-by:  Tomás Maritano <tomymaritano@gmail.com>
@tomymaritano
tomymaritano marked this pull request as ready for review August 26, 2026 03:26
@github-actions
github-actions Bot enabled auto-merge (squash) August 26, 2026 03:26
@github-actions
github-actions Bot merged commit 17beba1 into develop Aug 26, 2026
21 of 22 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.20.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants