@pi-harness/pi-harness 0.1.71 → 0.1.72
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/apps/web/dist/assets/{index-D5XWIVC5.js → index-Du2_aaZA.js} +9 -9
- package/apps/web/dist/index.html +1 -1
- package/apps/web/package.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/node_modules/@pi-harness/api-gateway/package.json +1 -1
- package/node_modules/@pi-harness/cli/package.json +1 -1
- package/node_modules/@pi-harness/host-webserver/package.json +1 -1
- package/node_modules/@pi-harness/web-app/package.json +1 -1
- package/package.json +6 -6
- package/packages/api-gateway/dist/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/dist/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/package.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context-doctor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/context.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/history-compressor.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/theme-studio.json +1 -1
- package/packages/api-gateway/test/index.test.ts +2 -0
- package/packages/bundle-web-app/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/host-webserver/package.json +1 -1
package/apps/web/dist/index.html
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<link rel="apple-touch-icon" href="/icons/app/apple-touch-icon-180.png" sizes="180x180" />
|
|
16
16
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
17
17
|
<title>Pi Harness / Control Room</title>
|
|
18
|
-
<script type="module" crossorigin src="/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/assets/index-Du2_aaZA.js"></script>
|
|
19
19
|
<link rel="modulepreload" crossorigin href="/assets/react-vendor-BxoMtjVy.js">
|
|
20
20
|
<link rel="modulepreload" crossorigin href="/assets/markdown-vendor-DUdMWn0M.js">
|
|
21
21
|
<link rel="stylesheet" crossorigin href="/assets/index-WeLAcuZi.css">
|
package/apps/web/package.json
CHANGED
package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/context-doctor.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "context-doctor",
|
|
3
3
|
"packageName": "@pi-harness/plugin-context-doctor",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.31",
|
|
5
5
|
"name": "Context Doctor",
|
|
6
6
|
"description": "体检当前上下文:找出压力来源、超大或读不出的消息以及工具报错。压缩请求会排到 agent 空闲后,确认后才调用模型(会产生费用),等待可取消。",
|
|
7
7
|
"author": "Pi Harness",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/pi-harness",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"homepage": "https://github.com/pi-harness/pi-harness#readme",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/pi-harness/pi-harness/issues"
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"@earendil-works/pi-agent-core": "0.84.4",
|
|
59
59
|
"@earendil-works/pi-ai": "0.84.4",
|
|
60
60
|
"@earendil-works/pi-coding-agent": "0.84.4",
|
|
61
|
-
"@pi-harness/api-gateway": "0.1.
|
|
62
|
-
"@pi-harness/cli": "0.1.
|
|
63
|
-
"@pi-harness/core": "^0.1.
|
|
64
|
-
"@pi-harness/host-webserver": "0.1.
|
|
65
|
-
"@pi-harness/web-app": "0.1.
|
|
61
|
+
"@pi-harness/api-gateway": "0.1.72",
|
|
62
|
+
"@pi-harness/cli": "0.1.72",
|
|
63
|
+
"@pi-harness/core": "^0.1.72",
|
|
64
|
+
"@pi-harness/host-webserver": "0.1.72",
|
|
65
|
+
"@pi-harness/web-app": "0.1.72",
|
|
66
66
|
"semver": "7.8.5"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "context-doctor",
|
|
3
3
|
"packageName": "@pi-harness/plugin-context-doctor",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.31",
|
|
5
5
|
"name": "Context Doctor",
|
|
6
6
|
"description": "体检当前上下文:找出压力来源、超大或读不出的消息以及工具报错。压缩请求会排到 agent 空闲后,确认后才调用模型(会产生费用),等待可取消。",
|
|
7
7
|
"author": "Pi Harness",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "context-doctor",
|
|
3
3
|
"packageName": "@pi-harness/plugin-context-doctor",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.31",
|
|
5
5
|
"name": "Context Doctor",
|
|
6
6
|
"description": "体检当前上下文:找出压力来源、超大或读不出的消息以及工具报错。压缩请求会排到 agent 空闲后,确认后才调用模型(会产生费用),等待可取消。",
|
|
7
7
|
"author": "Pi Harness",
|
|
@@ -1548,6 +1548,7 @@ describe("API gateway plugin", () => {
|
|
|
1548
1548
|
await context.plugin(webServerPlugin, { host: "127.0.0.1", port: 0 });
|
|
1549
1549
|
context.provide("piRuntime", {
|
|
1550
1550
|
session: {
|
|
1551
|
+
sessionId: "context-doctor-session",
|
|
1551
1552
|
isIdle: true,
|
|
1552
1553
|
messages: [
|
|
1553
1554
|
{ role: "user", content: "x".repeat(2_000) },
|
|
@@ -1580,6 +1581,7 @@ describe("API gateway plugin", () => {
|
|
|
1580
1581
|
pluginId: "@pi-harness/plugin-context-doctor",
|
|
1581
1582
|
title: "Context Doctor",
|
|
1582
1583
|
data: {
|
|
1584
|
+
sessionId: "context-doctor-session",
|
|
1583
1585
|
status: "warning",
|
|
1584
1586
|
usagePercent: 82,
|
|
1585
1587
|
tokens: 820,
|