Compare commits

..

3 commits

Author SHA1 Message Date
Jet
77d8cf1b36
feat: use jj-starship 2026-05-31 14:42:26 -07:00
Jet
10ca6d6e8c
feat: fix chrome server 2026-05-31 13:53:56 -07:00
Jet
651cc64d39
feat: add corp.primitive.dev email for work git 2026-05-31 13:35:28 -07:00
9 changed files with 121 additions and 4 deletions

View file

@ -62,6 +62,8 @@
inputs.helix.overlays.default
opencode.overlays.default
(final: prev: {
jj-starship = prev.callPackage ./pkgs/jj-starship.nix { };
# opencode's dev branch asks for Bun 1.3.14, but this revision builds and runs with nixpkgs' Bun 1.3.13.
opencode = prev.opencode.overrideAttrs (old: {
postPatch = (old.postPatch or "") + ''

View file

@ -179,6 +179,7 @@ in
disable-user-extensions = false;
enabled-extensions = [
"hidetopbar@mathieu.bidon.ca"
"appindicatorsupport@rgcjonas.gmail.com"
"wifiqrcode@glerro.pm.me"
"system-monitor-next@paradoxxx.zero.gmail.com"
"clipboard-indicator@tudmotu.com"

View file

@ -2,13 +2,18 @@
config,
pkgs,
inputs,
hostname,
...
}:
let
sshPublicKeys = (import ../ssh-public-keys.nix).jet;
name = "Jet";
email = "jet@extremist.software";
email =
if hostname == "framework-work" then
"jet@corp.primitive.dev"
else
"jet@extremist.software";
sshSigningKey = "~/.ssh/id_ed25519";
opencodeLibraryPath = pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ];
opencodeMine = pkgs.writeShellApplication {

View file

@ -1,5 +1,12 @@
{ homeLib, pkgs, ... }:
let
chromeDevtoolsMcpShell = pkgs.runCommand "chrome-devtools-mcp-shell-path" { } ''
mkdir -p "$out/bin"
ln -s ${pkgs.bash}/bin/bash "$out/bin/sh"
'';
in
{
home.file.".agents/skills/check-pr".source = "${homeLib.greptileSkills}/check-pr";
home.file.".agents/skills/greploop".source = "${homeLib.greptileSkills}/greploop";
@ -63,6 +70,11 @@
NPM_CONFIG_AUDIT = "false";
NPM_CONFIG_FUND = "false";
NPM_CONFIG_UPDATE_NOTIFIER = "false";
PATH = pkgs.lib.makeBinPath [
pkgs.nodejs_24
chromeDevtoolsMcpShell
pkgs.coreutils
];
};
};
model = "openai/gpt-5.5-fast";

View file

@ -149,6 +149,7 @@ in
mkp224o
nixfmt
difftastic
jj-starship
ripgrep
tea
trash-cli
@ -201,6 +202,7 @@ in
xdg-utils
gnomeExtensions.auto-move-windows
gnomeExtensions.appindicator
gnomeExtensions.clipboard-indicator
gnomeExtensions.hide-top-bar
gnomeExtensions.maximized-by-default-actually-reborn

View file

@ -1,4 +1,4 @@
{ ... }:
{ pkgs, ... }:
{
programs.helix = {
@ -23,14 +23,19 @@
enable = true;
enableBashIntegration = true;
settings = {
format = "$directory$git_status$nix_shell$cmd_duration$line_break$character";
format = "$directory\${custom.jj}$nix_shell$cmd_duration$line_break$character";
directory.truncation_length = 3;
git_status.style = "red";
git_branch.disabled = true;
git_status.disabled = true;
nix_shell.format = "[$symbol]($style) ";
cmd_duration.min_time = 500;
character.success_symbol = "[](bold green)";
character.error_symbol = "[](bold red)";
custom.jj = {
when = "jj-starship detect";
shell = [ "${pkgs.jj-starship}/bin/jj-starship" ];
format = "$output ";
};
};
};

17
index.html Normal file
View file

@ -0,0 +1,17 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
/>
<script type="module" crossorigin src="./assets/index-By-fIkIB.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BLBWpsQV.css">
</head>
<body>
<div id="root"></div>
</body>
</html>

33
package.json Normal file
View file

@ -0,0 +1,33 @@
{
"name": "@oneleet/agent",
"version": "2.2.8",
"main": "./out/main/index.js",
"author": "Oneleet Inc. <engineering@oneleet.com> (https://www.oneleet.com)",
"homepage": "https://www.oneleet.com",
"dependencies": {
"@sentry/electron": "^6.7.0",
"@tanstack/react-query": "^5.75.2",
"archiver": "^7.0.1",
"auto-launch": "^5.0.6",
"compare-versions": "^6.1.1",
"electron-log": "^5.4.1",
"electron-store": "^10.0.1",
"electron-updater": "^6.6.2",
"input-otp": "^1.4.1",
"node-cron": "^3.0.3",
"react-router-dom": "^6.28.0",
"vite-tsconfig-paths": "^5.1.2",
"zod": "^4.1.5"
},
"lavamoat": {
"allowScripts": {
"__comment": "See https://www.npmjs.com/package/@lavamoat/allow-scripts",
"$root$": true,
"vite>esbuild": true,
"electron": true,
"vite>tsx>esbuild": true,
"@lavamoat/preinstall-always-fail": false,
"electron-builder>app-builder-lib>electron-builder-squirrel-windows>electron-winstaller": false
}
}
}

40
pkgs/jj-starship.nix Normal file
View file

@ -0,0 +1,40 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
zlib,
versionCheckHook,
withGit ? true,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jj-starship";
version = "0.7.1";
src = fetchFromGitHub {
owner = "dmmulroy";
repo = "jj-starship";
rev = "v${finalAttrs.version}";
hash = "sha256-NLds7i1ZmscicaNLmkZCWmc7A+367BXxGioRd4yYof8=";
};
cargoHash = "sha256-i7x/y+BkKH+Xj1bU4RRe9fcteabB+4uAgJuW3x5/jv4=";
buildNoDefaultFeatures = !withGit;
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib ] ++ lib.optionals withGit [ libgit2 ];
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
meta = {
description = "Unified Starship prompt module for Git and Jujutsu repositories that is optimized for latency";
homepage = "https://github.com/dmmulroy/jj-starship";
changelog = "https://github.com/dmmulroy/jj-starship/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
mainProgram = "jj-starship";
};
})