This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs/omnigent: register the omp agent as a single-file spec

+20 -20
+20 -20
2configs/omnigent.nix
··· 14 14 # Server-side agent catalog entry so a browser session can pick omp without 15 15 # any per-user config: the generic ACP harness drives `omp acp` (omp speaks 16 16 # the Agent Client Protocol natively). The command is unqualified on purpose 17 - # — it is resolved on the *host* that runs the session, not here. 18 - ompAgentConfig = pkgs.writeText "omp-config.yaml" '' 19 - spec_version: 1 17 + # — it is resolved on the *host* that runs the session, not here, so that host 18 + # needs omp on PATH (`covibe host` registers one that way). 19 + # 20 + # This has to be a single-file spec, NOT a bundle directory with config.yaml: 21 + # the bundle parser stringifies nested values under `executor.config`, so 22 + # `acp_agent` arrives as "{'name': …}" and every turn dies with 23 + # "turn setup failed: executor acp_agent must be a mapping with name and 24 + # command" — while the session itself sits there looking idle. The single-file 25 + # parser keeps it a mapping. `--agent` accepts either shape (spec 26 + # materialize_bundle branches on file-vs-directory). 27 + ompAgent = pkgs.writeText "omnigent-agent-omp.yaml" '' 20 28 name: omp 21 29 description: Oh My Pi (omp) over ACP — runs on whichever machine hosts the session. 22 30 prompt: You are omp (Oh My Pi), a concise coding assistant. 23 31 24 32 executor: 25 - type: omnigent 26 - config: 27 - harness: acp 28 - acp_agent: 29 - name: Oh My Pi 30 - command: omp acp 31 - # See tools/covibe/flake-module.nix: omp fails session/new outright 32 - # when omnigent's MCP relay cannot start, and the relay's 33 - # `python -I -m omnigent…` child cannot import omnigent under a 34 - # nixpkgs-wrapped interpreter. 35 - omnigent_mcp: false 33 + harness: acp 34 + acp_agent: 35 + name: Oh My Pi 36 + command: omp acp 37 + # See tools/covibe/flake-module.nix: omp fails session/new outright 38 + # when omnigent's MCP relay cannot start, and the relay's 39 + # `python -I -m omnigent…` child cannot import omnigent under a 40 + # nixpkgs-wrapped interpreter. 41 + omnigent_mcp: false 36 42 37 43 os_env: 38 44 type: caller_process 39 45 cwd: "." 40 46 sandbox: 41 47 type: none 42 - ''; 43 - 44 - # `--agent` takes a bundle *directory* holding config.yaml. 45 - ompAgent = pkgs.runCommand "omnigent-agent-omp" { } '' 46 - mkdir -p $out 47 - cp ${ompAgentConfig} $out/config.yaml 48 48 ''; 49 49 50 50 # One identity per line. Admins bypass every per-session ACL, which is what