@hachej/boring-agent 0.1.80 → 0.1.82
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/dist/{chunk-N4ES6PVX.js → chunk-5NAN3TAR.js} +9 -2
- package/dist/{chunk-URRIDA6O.js → chunk-7V3E6KHX.js} +160 -109
- package/dist/{chunk-UJQXCOHR.js → chunk-DC3S7SZG.js} +1 -1
- package/dist/{chunk-CCNXYCD5.js → chunk-PG2WOJ22.js} +8 -0
- package/dist/{chunk-BNZIE26N.js → chunk-TNN3LPXE.js} +1 -1
- package/dist/{chunk-CUF7ELFO.js → chunk-WODTQBXR.js} +86 -73
- package/dist/core/index.d.ts +3 -3
- package/dist/core/index.js +2 -2
- package/dist/{createHarness-EEA63XRC.js → createHarness-TGBJZISM.js} +2 -2
- package/dist/front/index.d.ts +1 -1
- package/dist/front/index.js +2 -2
- package/dist/front/styles.css +21 -0
- package/dist/{harness-BZW5Jiy3.d.ts → harness-C53mjCcq.d.ts} +1 -1
- package/dist/piChatEvent-3pFPXYPx.d.ts +367 -0
- package/dist/server/index.d.ts +13 -5
- package/dist/server/index.js +8 -6
- package/dist/server/worker/index.js +6 -6
- package/dist/shared/index.d.ts +282 -25
- package/dist/shared/index.js +159 -3
- package/dist/{workspaceAgentDispatcher-Wi6NIh2G.d.ts → workspaceAgentDispatcher-p4tlVvbM.d.ts} +25 -23
- package/docs/ERROR_CODES.md +1 -0
- package/package.json +2 -2
- package/dist/piChatEvent-CpoTZau1.d.ts +0 -358
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-AQBXNPMD.js";
|
|
5
5
|
import {
|
|
6
6
|
ErrorCode
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PG2WOJ22.js";
|
|
8
8
|
|
|
9
9
|
// src/server/harness/pi-coding-agent/createHarness.ts
|
|
10
10
|
import { AsyncLocalStorage } from "async_hooks";
|
|
@@ -1201,7 +1201,14 @@ function readApiKeyEnv(candidates) {
|
|
|
1201
1201
|
function buildOpenAICompatibleProviderConfig(opts) {
|
|
1202
1202
|
return {
|
|
1203
1203
|
baseUrl: opts.baseUrl,
|
|
1204
|
-
|
|
1204
|
+
// pi-coding-agent's resolveConfigValue (packages/agent's pinned
|
|
1205
|
+
// @mariozechner/pi-coding-agent@0.75.5) resolves a provider apiKey by
|
|
1206
|
+
// looking up `process.env[config]` directly — it does NOT strip a `$`
|
|
1207
|
+
// prefix. A `$`-prefixed value (e.g. "$INFOMANIAK_API_TOKEN") misses the
|
|
1208
|
+
// env lookup and falls back to sending the literal string as the Bearer
|
|
1209
|
+
// token, causing provider 401s. The supported syntax is the bare env var
|
|
1210
|
+
// name.
|
|
1211
|
+
apiKey: opts.apiKeyEnv,
|
|
1205
1212
|
api: "openai-completions",
|
|
1206
1213
|
models: opts.models.map((model) => ({
|
|
1207
1214
|
id: model.id,
|