Commit Graph
33 Commits
Author SHA1 Message Date
m3ta-chiron f06bad7656 Merge pull request 'chore(agent-lib): 0.2.0 -> 0.3.0' (#31) from update/agent-lib-0.3.0 into master
Reviewed-on: #31
2026-11-05 09:14:35 +01:00
m3ta-chironandClaude Opus 5.5 d37c3fa1d9 chore(agent-lib): 0.2.0 -> 0.3.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:58:09 +01:00
m3ta-chiron f2b7a0eab0 Merge pull request 'fix(vibetyper): add libgpg-error to FHS env' (#30) from fix/vibetyper-libgpg-error into master 2026-11-03 19:47:25 +01:00
m3ta-chironandClaude Opus 5.5 f243ea2de0 fix(vibetyper): add libgpg-error to FHS env
The bundled libgcrypt.so.20 depends on libgpg-error.so.0, which the
AppImage does not ship and the FHS env no longer provides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 19:46:42 +01:00
m3ta-chiron c06dbcd553 Merge pull request 'fix: make the flake evaluate on current nixpkgs' (#29) from fix/drop-x86_64-darwin into master 2026-11-03 18:09:06 +01:00
m3ta-chironandClaude Opus 5.5 f53130489e fix: make the flake evaluate on current nixpkgs
- Drop x86_64-darwin; nixpkgs 26.11 no longer supports it.
- Expose only packages available on each system (mem0 is Linux-only)
  and mark rofi-project-opener Linux-only.
- mem0: use posthog without its test suite; nixpkgs marks it broken
  only because the tests fail with mcp >= 2.
- devops shell: build fabric with invoke 3 so azure-cli evaluates;
  nixpkgs marks it broken over its invoke<3 pin and failing tests.
- Update flake inputs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:08:52 +01:00
m3ta-chiron 919264cca8 Merge pull request 'fix(vibetyper): drop fuse2 from the FHS env' (#28) from fix/vibetyper-fuse2 into master 2026-11-03 16:17:59 +01:00
m3ta-chironandClaude Opus 5.5 0031c21701 fix(vibetyper): drop fuse2 from the FHS env
nixpkgs removed fuse2 (end of life), so evaluating vibetyper throws.
appimageTools.wrapType2 extracts the AppImage, so FUSE is not needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:16:05 +01:00
m3ta-chiron cbd7d982ef fix(n8n): match pnpm by pname/version, not outPath
Comparing x.outPath == prev.pnpm_10.outPath forces the pnpm_10
derivation. On nixpkgs pins where pnpm_10 is insecure-marked
(nixos-26.05 ships 10.34.0 with 9 CVEs) that comparison alone throws
"Refusing to evaluate" — even though the package is only discarded
by the swap. Match on pname + major version instead: plain attrs,
nothing forced, identical swap semantics on the m3ta pin.
2026-10-14 15:06:25 +02:00
m3ta-chiron 3dbd16339a fix(vibetyper): adapt install to upstream 1.6.0 AppImage layout
Upstream renamed the desktop file to "Vibe Typer.desktop" (also under
usr/share/applications), changed Exec to "vibe-typer", and replaced the
top-level 512x512 icon with a 256x256 one. Install the renamed files,
keep the lowercase vibe-typer.desktop name for compatibility, and
rewrite Exec to the wrapper binary.
2026-10-11 14:35:09 +02:00
m3ta-chiron ebd79d5ca5 feat(pkgs): add photocraft 0.7.0
Native buildRustPackage for PhotoCraft, the open-source clean-room
Photoshop reimplementation in pure Rust
(https://github.com/storytold/photocraft).

- builds desktop app + photocraft-cli (convert/batch/MCP) from the
  v0.7.0 release tag
- heif feature enabled for parity with official release builds
  (pure-Rust heic-rs, no native C deps)
- zero buildInputs: the workspace has no native *-sys crates; all
  windowing/graphics/D-Bus access is dlopen'd at runtime and provided
  via LD_LIBRARY_PATH (neovide pattern), incl. dbus.lib so rfd's
  xdg-desktop-portal file dialogs work instead of the zenity fallback
- installs upstream .desktop, hicolor icons (16-512 + svg), AppStream
  metainfo (version/date substituted) and MIME registrations
- passthru.updateScript = nix-update-script; verified with
  'nix-update -F photocraft' (handles version + src hash + cargoHash)

GPU verified on RX 7900 XTX / Wayland after the flake input update.
2026-10-11 14:01:12 +02:00
m3ta-chiron b857f5d038 chore: update flake inputs
nixpkgs 2026-09-10 -> 2026-10-10 (glibc 2.42 -> 2.44), nixpkgs-master,
opencode and transitive inputs refreshed.

Required for GPU support in newly added packages: the old pin's glibc
2.42 could not load the system's RADV Vulkan driver (built against
glibc 2.44), so any wgpu app from this flake failed with
'no graphics adapter found'. All 22 packages re-evaluated cleanly
against the new pin.
2026-10-11 14:01:12 +02:00
m3ta-chiron c1e1933eaf feat(pkgs): add agent-lib 0.1.0
Source build (buildGoModule + fetchFromGitea) of
code.m3ta.dev/m3tam3re/agent-lib — curator/client CLI for vendoring
agent-content sources and syncing them into OpenCode runtime paths.

- static binary, upstream ldflags mirrored (internal/version.Version)
- offline test suite runs in check phase (gitMinimal for e2e fixtures)
- versionCheckHook wired to the 'version' subcommand
- nix-update-script for updates
2026-09-29 08:00:58 +02:00
m3ta-chiron c22cb5f3a7 n8n: 2.36.8 -> 2.37.9, migrate to pnpm 11, harden update.sh
n8n >= 2.37.0 demands pnpm >= 11.22.0 via engines.pnpm and serialises
patchedDependencies as plain scalars in pnpm-lock.yaml (same
lockfileVersion '9.0'), which pnpm 10 cannot install. The pinned nixpkgs
only ships pnpm_11 11.17.0, so:

- build with pnpm_11 + fetcherVersion 4 and relax the engines.pnpm gate
  in package.json (relaxPnpmEngine) for both fetchPnpmDeps and the main
  build; swap pnpm_10 -> pnpm_11 in nativeBuildInputs
- drop the workaround once nixpkgs ships pnpm >= 11.22

update.sh: detect ERR_PNPM_UNSUPPORTED_ENGINE /
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH with actionable hints, sync
tests/n8n-overlay-test.nix expectations (checks were stale at 2.32.6),
guard against leftover fake-hash sentinels, and run from the repo root
so the relative nix --expr paths resolve.

Verified: n8n-overlay check green, full n8n 2.37.9 build green.
2026-09-04 08:04:34 +02:00
m3ta-chiron 8f2d1beba3 fix: replace deprecated appimageTools.extractType2 with extract
Also bumps the buzz input (0.5.18 -> 0.5.20), which pulls rust-overlay
fd2ebb9 where the stdenv.isLinux/isDarwin reads were migrated to
stdenv.hostPlatform — eliminating evaluation warnings.
2026-08-31 11:44:50 +02:00
m3ta-chiron db370d849a openspec: drop pass-through, superseded by llm-agents
openspec is now consumed from numtide/llm-agents.nix via the
shared-nixpkgs overlay (pkgs.llm-agents.openspec), which is fresher than
the separately pinned Fission-AI input. Removes the duplicate source of
truth; drops the now-unused flake input.
2026-08-31 11:44:31 +02:00
m3ta-chiron e7765ee39f feat(talk): read API key from agenix file instead of env var
Primary: /run/agenix/elevenlabs-key (read via 'read -r' which strips
the trailing newline agenix files contain).
Fallback: ELEVENLABS_API_KEY env var (backwards compatible).

No need to export the key in shell environment anymore — if the
agenix secret exists, talk picks it up automatically.

Override path via ELEVENLABS_KEY_FILE env var if needed.
2026-07-02 20:14:45 +02:00
m3ta-chiron 75b88553c6 docs: add README for talk and crunch packages
Each README covers usage, environment variables, integration patterns,
NixOS installation, and how-it-works diagrams.
2026-07-02 20:00:58 +02:00
m3ta-chiron 8b3d762bc9 feat(crunch): add script mode for custom pipeline jobs
crunch script <type> <time> <script.sh> [args...]

Runs any shell script on schedule. Script stdout is piped to talk
for voice output. Empty stdout = silence (no error thrown).

Enables complex multi-step pipelines:
  - Fetch data (basecamp, gh, curl)
  - Write reports to disk
  - Pipe through pi/opencode for AI summarization
  - Final stdout → talk voice notification

Example:
  crunch script daily '08:00' ~/scripts/basecamp-daily.sh
2026-07-02 19:55:31 +02:00
m3ta-chiron c94ff86c12 fix(talk): cancel button now stops audio playback
The shell '>' redirect creates ACTION_FILE immediately as an empty file.
The poll loop checked [ -f ] (exists) instead of [ -s ] (non-empty),
so it matched on the first 0.2s iteration, found no 'cancel' string,
and broke out of the loop — leaving mpv running with no listener.

[ -s ] only returns true once notify-send writes 'cancel' to the file
(i.e. when the user actually clicks the Abbrechen action).
2026-07-02 19:43:53 +02:00
m3ta-chiron 8c9ed72857 feat(crunch): voice-notified reminders and AI crunch jobs via systemd timers
crunch schedules transient systemd --user timers that fire talk (TTS)
or AI agents (pi/opencode) → talk at specified times.

Commands:
  crunch at <time> <message>           One-shot
  crunch in <duration> <message>       One-shot after delay
  crunch daily <time> <message>        Recurring daily
  crunch weekly <day> <time> <message> Recurring weekly
  crunch ai <engine> <type> <time> <prompt>  AI crunch
  crunch list                          List jobs
  crunch cancel <name>                 Cancel job
  crunch purge                         Clean fired jobs

Supports German and English day names (Montag→Mon, etc).
2026-07-02 19:36:24 +02:00
m3ta-chiron 09098d902b talk: use chiron.jpeg as notification icon
Replace generic audio-x-generic icon with chiron.jpeg fetched from S3
into the nix store at build time.
2026-07-02 19:25:36 +02:00
m3ta-chiron fa2f3dfbc6 feat(talk): support stdin piping
Argument has priority, otherwise read from stdin when piped.
Enables: echo 'Build fertig' | talk
         nixos-rebuild build 2>&1 | tail -3 | talk
2026-07-02 19:09:52 +02:00
m3ta-chiron b7ba13db9b feat(talk): add ElevenLabs TTS voice notification package
- writeShellScriptBin with mpv audio + notify-send cancel button
- Simultaneous audio playback and notification popup
- VOICE_NOTIFY=0 toggle for disabling
- Uses eleven_multilingual_v2 model with configurable voice ID
- Cruncher job wrapper for task completion notifications
2026-07-02 18:51:31 +02:00
m3ta-chiron abd910d667 chore: update n8n + vibetyper 2026-07-01 18:51:40 +02:00
m3ta-chiron 5aa54c6e34 chore: vibetyper update 2026-06-16 19:26:47 +02:00
m3ta-chiron 50a182b259 chore: n8n update 2026-05-20 19:57:15 +02:00
m3ta-chiron 8d7a1b4f3d chore: n8n update 2026-05-07 19:30:57 +02:00
m3ta-chiron 1da8c96447 fix(pi): correct guardrails enable option string
Update Nix Packages with nix-update / nix-update (push) Failing after 34m23s
2026-04-29 20:07:12 +02:00
m3ta-chiron 6a8cb62903 style(pi): format guardrails module with alejandra 2026-04-29 19:51:35 +02:00
m3ta-chiron a3e247e5af feat(pi): add guardrails config option for pi-guardrails integration
Adds a guardrails submodule option to coding.agents.pi that:
- Generates ~/.pi/agent/extensions/guardrails.json when enabled
- Automatically injects @aliou/pi-guardrails package into settings.packages
- Provides structured options for policies, pathAccess, and permissionGate

The module generates the JSON config that pi-guardrails reads for
its security hooks (policies, permission-gate, path-access).

Limitations documented in option descriptions:
- Path access checks are lexical (not symlink-safe)
- Local project guardrails.json can override global rule IDs
2026-04-29 19:48:10 +02:00
m3ta-chiron f7f0c4072e fix(n8n): use stable tag target to get actual version
The previous jq filter grabbed the first non-stable release by creation date,
which incorrectly returned 1.123.38 instead of the latest stable 2.18.5.

Now query the 'stable' tag directly and extract version from its
target_commitish (e.g., 'release/2.18.5' -> '2.18.5'), ensuring we always
get the actual latest stable version.

Also bump version from 2.17.8 to 2.18.5 with updated hashes.
2026-04-29 18:40:49 +02:00
m3ta-chiron 251a6892a3 fix(n8n): resolve nix-update hash prefetch failure
- Remove --pure from nix-shell shebang to allow network access
- Add --flake --system x86_64-linux for proper flake evaluation
- Navigate to nixpkgs root before running nix-update
- Also bump version 2.17.5 -> 2.17.8
2026-04-27 19:46:14 +02:00