@hachej/boring-agent 0.1.88 → 0.1.89

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.
@@ -43,7 +43,7 @@ import {
43
43
  registerConfiguredModelProviders,
44
44
  setEnvDefault,
45
45
  withPiHarnessDefaults
46
- } from "./chunk-3LW57KYG.js";
46
+ } from "./chunk-WZCTVT57.js";
47
47
  import {
48
48
  safeCapture
49
49
  } from "./chunk-AQBXNPMD.js";
@@ -8525,7 +8525,7 @@ function createAgentRuntimeBridge2(config, options = {}) {
8525
8525
  });
8526
8526
  }
8527
8527
  async function createRuntime(config, options) {
8528
- const harnessFactory = config.harnessFactory ?? (await import("./createHarness-2VVUQ3CK.js")).createPiCodingAgentHarness;
8528
+ const harnessFactory = config.harnessFactory ?? (await import("./createHarness-CCQLHKUF.js")).createPiCodingAgentHarness;
8529
8529
  const harnessInput = {
8530
8530
  tools: config.tools ?? [],
8531
8531
  cwd: config.workdir ?? DEFAULT_WORKDIR,
@@ -1250,14 +1250,10 @@ function readApiKeyEnv(candidates) {
1250
1250
  function buildOpenAICompatibleProviderConfig(opts) {
1251
1251
  return {
1252
1252
  baseUrl: opts.baseUrl,
1253
- // pi-coding-agent's resolveConfigValue (packages/agent's pinned
1254
- // @mariozechner/pi-coding-agent@0.75.5) resolves a provider apiKey by
1255
- // looking up `process.env[config]` directly — it does NOT strip a `$`
1256
- // prefix. A `$`-prefixed value (e.g. "$INFOMANIAK_API_TOKEN") misses the
1257
- // env lookup and falls back to sending the literal string as the Bearer
1258
- // token, causing provider 401s. The supported syntax is the bare env var
1259
- // name.
1260
- apiKey: opts.apiKeyEnv,
1253
+ // pi-coding-agent 0.80.7 resolves `$ENV_VAR` config references through
1254
+ // the provider environment. A bare name is a literal API key, which would
1255
+ // send "INFOMANIAK_API_TOKEN" as the bearer token and cause provider 401s.
1256
+ apiKey: `$${opts.apiKeyEnv}`,
1261
1257
  api: "openai-completions",
1262
1258
  models: opts.models.map((model) => ({
1263
1259
  id: model.id,
@@ -4,7 +4,7 @@ import {
4
4
  deriveSourcePlugin,
5
5
  mergePiPackageSources,
6
6
  withPiHarnessDefaults
7
- } from "./chunk-3LW57KYG.js";
7
+ } from "./chunk-WZCTVT57.js";
8
8
  import "./chunk-AQBXNPMD.js";
9
9
  import "./chunk-GOM3VJOJ.js";
10
10
  export {
@@ -59,7 +59,7 @@ import {
59
59
  resolveWorkspaceRoot,
60
60
  shareResourceUri,
61
61
  validatePath
62
- } from "../chunk-G5XLHFO7.js";
62
+ } from "../chunk-I7UEASPG.js";
63
63
  import "../chunk-XPQEF32D.js";
64
64
  import "../chunk-M32FXCIN.js";
65
65
  import "../chunk-WSQ5QNIY.js";
@@ -71,7 +71,7 @@ import {
71
71
  createResourceSettingsManager,
72
72
  mergePiPackageSources,
73
73
  piPackageSourceKey
74
- } from "../chunk-3LW57KYG.js";
74
+ } from "../chunk-WZCTVT57.js";
75
75
  import "../chunk-AQBXNPMD.js";
76
76
  import "../chunk-GOM3VJOJ.js";
77
77
  export {
@@ -4,12 +4,12 @@ import {
4
4
  constantTimeTokenEqual,
5
5
  createBwrapSandbox,
6
6
  createNodeWorkspace
7
- } from "../../chunk-G5XLHFO7.js";
7
+ } from "../../chunk-I7UEASPG.js";
8
8
  import "../../chunk-XPQEF32D.js";
9
9
  import "../../chunk-M32FXCIN.js";
10
10
  import "../../chunk-WSQ5QNIY.js";
11
11
  import "../../chunk-BDYXKHWY.js";
12
- import "../../chunk-3LW57KYG.js";
12
+ import "../../chunk-WZCTVT57.js";
13
13
  import "../../chunk-AQBXNPMD.js";
14
14
  import "../../chunk-GOM3VJOJ.js";
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hachej/boring-agent",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Pane-embeddable coding agent. Ships direct/local/vercel-sandbox execution modes behind one interface.",
@@ -89,7 +89,7 @@
89
89
  "use-stick-to-bottom": "^1.1.6",
90
90
  "yaml": "^2.9.0",
91
91
  "zod": "^3.25.76",
92
- "@hachej/boring-ui-kit": "0.1.88"
92
+ "@hachej/boring-ui-kit": "0.1.89"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@antithesishq/bombadil": "0.6.1",