pi-harness-runtime 1.1.10 → 1.1.12
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/CHANGELOG.md +38 -0
- package/index.ts +16 -8
- package/package.json +1 -1
- package/packages/a2a-adapter/package.json +1 -1
- package/packages/architecture-generator/package.json +1 -1
- package/packages/auth/package.json +1 -1
- package/packages/autonomous-refactor/package.json +1 -1
- package/packages/autonomous-runtime/package.json +1 -1
- package/packages/cache-strategy/package.json +1 -1
- package/packages/capability-registry/package.json +1 -1
- package/packages/checkpoint/package.json +1 -1
- package/packages/cli-plugin-sdk/package.json +1 -1
- package/packages/clipboard/package.json +1 -1
- package/packages/clipboard-plugin/package.json +1 -2
- package/packages/code-generation/package.json +1 -1
- package/packages/code-review/package.json +1 -1
- package/packages/codex-adapter/package.json +1 -1
- package/packages/config-capture/package.json +1 -1
- package/packages/context-compiler/package.json +1 -1
- package/packages/context-discovery/package.json +1 -1
- package/packages/context-manager/package.json +1 -1
- package/packages/cookie-sanitizer/package.json +1 -1
- package/packages/cost-optimizer/package.json +1 -1
- package/packages/dependency-analyzer/package.json +1 -1
- package/packages/django-plugin/package.json +1 -1
- package/packages/doc-generator/package.json +1 -1
- package/packages/evaluation-engine/package.json +1 -1
- package/packages/evaluation-runner/package.json +1 -1
- package/packages/event-bus/package.json +1 -1
- package/packages/event-store/package.json +1 -1
- package/packages/experience-replay/package.json +1 -1
- package/packages/feedback-collector/package.json +1 -1
- package/packages/file-copy-helper/package.json +1 -1
- package/packages/framework-detector/package.json +1 -1
- package/packages/framework-plugin-sdk/package.json +1 -1
- package/packages/frappe-plugin/package.json +1 -1
- package/packages/generic-web-plugin/package.json +1 -1
- package/packages/health-monitor/package.json +1 -1
- package/packages/intent-analyzer/package.json +1 -1
- package/packages/knowledge-graph/package.json +1 -1
- package/packages/knowledge-retrieval/package.json +1 -1
- package/packages/laravel-plugin/package.json +1 -1
- package/packages/learning-engine/package.json +1 -1
- package/packages/mcp-adapter/package.json +1 -1
- package/packages/memory-engine/package.json +1 -1
- package/packages/milestone-manager/package.json +1 -1
- package/packages/model-registry/package.json +1 -1
- package/packages/nextjs-plugin/package.json +1 -1
- package/packages/notification/package.json +1 -1
- package/packages/observability/package.json +1 -1
- package/packages/okf-indexer/package.json +1 -1
- package/packages/performance-optimizer/package.json +1 -1
- package/packages/privilege-broker/package.json +1 -1
- package/packages/project-analyzer/package.json +1 -1
- package/packages/project-bootstrap/package.json +1 -1
- package/packages/projection-engine/package.json +1 -1
- package/packages/prompt-compiler/package.json +1 -1
- package/packages/prompt-versioning/package.json +1 -1
- package/packages/provider-adapter-sdk/package.json +1 -1
- package/packages/provider-router/package.json +1 -1
- package/packages/provider-selector/package.json +1 -1
- package/packages/providers/package.json +1 -1
- package/packages/quota-manager/package.json +1 -1
- package/packages/rate-limiter/package.json +1 -1
- package/packages/react-vite-plugin/package.json +1 -1
- package/packages/release-manager/package.json +1 -1
- package/packages/requirement-compiler/package.json +1 -1
- package/packages/runtime/package.json +1 -1
- package/packages/scheduler/package.json +1 -1
- package/packages/scheduler-adapter/package.json +1 -1
- package/packages/session/package.json +1 -1
- package/packages/session-api/package.json +1 -1
- package/packages/session-export/package.json +1 -1
- package/packages/shared-context/package.json +1 -1
- package/packages/skill-registry/package.json +1 -1
- package/packages/sprint-planner/package.json +1 -1
- package/packages/subscription-engine/package.json +1 -1
- package/packages/task-compiler/package.json +1 -1
- package/packages/tencentdb-memory/package.json +1 -1
- package/packages/tencentdb-sync/package.json +1 -1
- package/packages/test-data-generator/package.json +1 -1
- package/packages/test-generator/package.json +1 -1
- package/packages/todo-bd-sync/package.json +1 -1
- package/packages/token-estimation/package.json +1 -1
- package/packages/token-optimizer/package.json +1 -1
- package/packages/tui/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/workflow-events/package.json +1 -1
- package/packages/workspace-scanner/package.json +1 -1
- package/packages/worktree/package.json +1 -1
- package/packages/write-review/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.1.12](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v1.1.11...v1.1.12) (2026-08-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **runtime:** refresh minimax quota from provider mirror ([a8976b4](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a8976b4ff61e28b964bf76405142672798714647))
|
|
11
|
+
|
|
12
|
+
### [1.1.11](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v0.10.42...v1.1.11) (2026-08-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* add quota scrapers for ChatGPT and GLM providers ([17f9d0e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/17f9d0e7d6f486210a30244f2fecc0131e8b7d57))
|
|
18
|
+
* improve Playwright Prompt ([24ac09b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/24ac09b75f5d79924a7a0c9e47cdacc9da143a68))
|
|
19
|
+
* index.ts ([d0fc002](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0fc002d6d16e59318155677cb6128846bc993a4))
|
|
20
|
+
* update workflow run name to show version number ([ee8c59f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ee8c59fec4c0116a5948b2ae04ad4609edaed3ac))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* add typescript as devDependency, build notification dist ([c76b522](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c76b5221c33262c38615c6117ecf9db13ab7b5d2))
|
|
26
|
+
* **clipboard-plugin:** return proper content array format in tool result ([400bbdb](https://github.com/ManotLuijiu/pi-harness-runtime/commit/400bbdbe2b17a8c31571942a7ccacc2c2f4f56bc))
|
|
27
|
+
* configure npm to use OIDC auth method for trusted publishing ([0b9042e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0b9042e49726ece53f5bfccd0afa7eceac5e75ec))
|
|
28
|
+
* debug run name update API call ([0301d44](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0301d44d260315147c4f5445ec83d80ed2f9bcfc))
|
|
29
|
+
* properly configure npm auth for publish workflow ([f4fe31a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f4fe31a9096ce3fb065f4fbbfe7db74eaad620b3))
|
|
30
|
+
* refresh footer status on periodic quota refresh ([59885a1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/59885a14e8261b0aa03e5ae6d11651bb5c40671a))
|
|
31
|
+
* remove console override that was crashing pi ([b8d1d02](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b8d1d029c773fd16a6f52e08186eb687f4d2cbbc))
|
|
32
|
+
* remove develop branch trigger from release workflow ([28da559](https://github.com/ManotLuijiu/pi-harness-runtime/commit/28da559ccd3cbb7860a409b1d52436aad175ca07))
|
|
33
|
+
* remove invalid cache: false option ([00079b6](https://github.com/ManotLuijiu/pi-harness-runtime/commit/00079b6fe4ad59fedc2464d3c8c8309897d6a543))
|
|
34
|
+
* remove token config - use OIDC trusted publishing only ([177d395](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177d3956194fe2196cd11491c7b42257eaf0ca95))
|
|
35
|
+
* resolve merge conflict in package.json, release v1.1.6 ([a976a73](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a976a73bf5210dfd1f20477850c40ef336235f64))
|
|
36
|
+
* **runtime:** preserve tool result content array shape ([012ed45](https://github.com/ManotLuijiu/pi-harness-runtime/commit/012ed4530f5b016c907414ce757dc279bbf05dfb))
|
|
37
|
+
* unset OIDC env vars before npm publish ([463e88c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/463e88c92a1687e1620584fb7efe672f7782d535))
|
|
38
|
+
* use curl for updating run name (gh CLI not available in runner) ([1d0701d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1d0701d3d5ea73b4eeaddee64bce2ee0e93cc89b))
|
|
39
|
+
* use Node.js 24 for OIDC trusted publishing ([8a74380](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8a74380eb95b8cfbea627f0332a5e79853592431))
|
|
40
|
+
* use npm-publish action instead of direct npm publish ([4c7218c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4c7218c99436703dd0a210c3866f35dc305911f5))
|
|
41
|
+
* use OIDC Trusted Publishing instead of token auth ([01626b5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/01626b579f77d67d965c3a276bd5e9a3bcf1f67b))
|
|
42
|
+
|
|
5
43
|
### [1.1.10](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v0.10.42...v1.1.10) (2026-08-20)
|
|
6
44
|
|
|
7
45
|
|
package/index.ts
CHANGED
|
@@ -345,7 +345,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
345
345
|
const toolName = (event as { toolName?: string }).toolName;
|
|
346
346
|
if (toolName !== "bash") return;
|
|
347
347
|
|
|
348
|
-
const result = (event as { result?: { content?:
|
|
348
|
+
const result = (event as { result?: { content?: unknown } }).result;
|
|
349
349
|
if (!result) return;
|
|
350
350
|
|
|
351
351
|
// Handle content that might be an array or object
|
|
@@ -371,8 +371,13 @@ Run \`bd ready\` to see current tasks.
|
|
|
371
371
|
!content.includes("bd ready") &&
|
|
372
372
|
!content.includes("TODO UPDATE")
|
|
373
373
|
) {
|
|
374
|
-
// Append todo reminder
|
|
375
|
-
|
|
374
|
+
// Append todo reminder without changing the tool result content shape.
|
|
375
|
+
const reminderBlock = { type: "text", text: TODO_BUILD_REMINDER };
|
|
376
|
+
if (Array.isArray(rawContent)) {
|
|
377
|
+
result.content = [...rawContent, reminderBlock];
|
|
378
|
+
} else {
|
|
379
|
+
result.content = [{ type: "text", text: content + TODO_BUILD_REMINDER }];
|
|
380
|
+
}
|
|
376
381
|
}
|
|
377
382
|
});
|
|
378
383
|
|
|
@@ -477,7 +482,6 @@ Run \`bd ready\` to see current tasks.
|
|
|
477
482
|
}
|
|
478
483
|
};
|
|
479
484
|
|
|
480
|
-
const cookieQuotaAutoFetchAvailable = hasCookieSource();
|
|
481
485
|
|
|
482
486
|
// --- TUI quota signal plumbing (OpenAI / GLM / Anthropic / OpenRouter) --
|
|
483
487
|
// The TUIUsageMonitor parses provider quota-exhaustion messages from pi's
|
|
@@ -758,7 +762,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
758
762
|
return true;
|
|
759
763
|
}
|
|
760
764
|
|
|
761
|
-
if (!
|
|
765
|
+
if (!hasCookieSource()) {
|
|
762
766
|
return false;
|
|
763
767
|
}
|
|
764
768
|
|
|
@@ -848,7 +852,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
848
852
|
return;
|
|
849
853
|
}
|
|
850
854
|
|
|
851
|
-
const mirror = mirrorStore.
|
|
855
|
+
const mirror = mirrorStore.readProvider("minimax");
|
|
852
856
|
const freshness = mirrorStore.freshness(mirror, nowMs);
|
|
853
857
|
const shouldFetchBaseline = !mirror || freshness === "expired";
|
|
854
858
|
const usageSinceSync = getMiniMaxUsageSince(
|
|
@@ -907,7 +911,10 @@ Run \`bd ready\` to see current tasks.
|
|
|
907
911
|
description: "Show Codex-style usage status (local + provider mirror)",
|
|
908
912
|
handler: async (_args: string, ctx: ExtensionCommandContext) => {
|
|
909
913
|
const local = aggregateWindows(tracker.all());
|
|
910
|
-
const
|
|
914
|
+
const provider = providerFromModelId(ctx.model?.id ?? null);
|
|
915
|
+
const mirror = provider
|
|
916
|
+
? mirrorStore.readProvider(provider)
|
|
917
|
+
: mirrorStore.read();
|
|
911
918
|
const output = renderStatus({
|
|
912
919
|
model: ctx.model?.id ?? null,
|
|
913
920
|
cwd: ctx.cwd ?? process.cwd(),
|
|
@@ -925,7 +932,8 @@ Run \`bd ready\` to see current tasks.
|
|
|
925
932
|
description: "Force refresh quota from provider console",
|
|
926
933
|
handler: async (_args: string, ctx: ExtensionCommandContext) => {
|
|
927
934
|
const autoFetchAvailable =
|
|
928
|
-
|
|
935
|
+
hasCookieSource() ||
|
|
936
|
+
(await hasBrowserProfileAutoFetchSource());
|
|
929
937
|
if (!autoFetchAvailable) {
|
|
930
938
|
ctx.ui.notify(
|
|
931
939
|
"MiniMax cookies not found. Drop any cookie file (Netscape or EditThisCookie JSON) into ~/.pi-harness-runtime/cookies/ — the runtime normalizes it for you. Or run `bun packages/auth/src/run-minimax-auth.ts auth`.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/capability-registry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Capability Registry for pi-harness-runtime — tracks model capabilities and enables capability-based routing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi/clipboard-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -13,5 +13,4 @@
|
|
|
13
13
|
"@pi/clipboard": "workspace:*",
|
|
14
14
|
"@pi/framework-plugin-sdk": "workspace:*"
|
|
15
15
|
}
|
|
16
|
-
|
|
17
16
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/provider-router",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Enhanced Provider Router for pi-harness-runtime — intelligent routing with capabilities, costs, and quotas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/provider-router.js",
|