pennyrouter 0.2.29 → 0.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pennyrouter",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Install and manage PennyRouter local coding-agent integrations.",
5
5
  "homepage": "https://pennyrouter.com",
6
6
  "bugs": {
package/src/cli.js CHANGED
@@ -730,7 +730,7 @@ export async function install(flags = {}) {
730
730
  console.log(color(`How to Run ${harnessName}`, "bold"));
731
731
  console.log("");
732
732
  console.log(` ${color(command.padEnd(commandWidth), "bold")}→ ${harnessName} with PennyRouter`);
733
- console.log(` ${color(native.padEnd(commandWidth), "bold")}→ ${record.default_routing ? `${harnessName} with PennyRouter (default routing enabled)` : `${harnessName} native`}`);
733
+ console.log(` ${color(native.padEnd(commandWidth), "bold")}→ ${record.default_routing ? `${harnessName}` : `${harnessName} native`}`);
734
734
  } else {
735
735
  console.log(`Installed on ${harness?.name || record.harness}${installNoteForRecord(record)}.`);
736
736
  }
@@ -96,6 +96,7 @@ async function main() {
96
96
 
97
97
  const config = await loadPennyConfig();
98
98
  assert.equal(config.api_key, "pr-super-secret");
99
+ assert.equal(config.harnesses.opencode.enabled, true);
99
100
  const codexProfile = fs.readFileSync(codexLaunchProfilePath(), "utf8");
100
101
  assert.ok(codexProfile.includes('env_http_headers = { "x-pennyrouter-key" = "PENNYROUTER_API_KEY" }'));
101
102
  assert.ok(codexProfile.includes("[tui]\nterminal_title = []"));
@@ -122,6 +123,7 @@ async function main() {
122
123
  assert.deepEqual(codex.args, ["--profile", "pennyrouter", "resume", "--last"]);
123
124
  assert.equal(codex.env.PENNYROUTER_API_KEY, "pr-super-secret");
124
125
  const opencode = buildPennyInvocation("opencode", ["--continue"], config);
126
+ assert.equal(opencode.env.PENNYROUTER_API_KEY, "pr-super-secret");
125
127
  assert.deepEqual(opencode, {
126
128
  command: "opencode",
127
129
  args: ["--continue"],