@pi-harness/pi-harness 0.1.102 → 0.1.104
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-CSo9nUZf.js → index-B5qqd0oe.js} +1 -1
- package/apps/web/dist/index.html +1 -1
- package/apps/web/package.json +1 -1
- package/apps/web/test/vite-react-runtime.test.ts +9 -0
- package/apps/web/vite.config.ts +1 -0
- package/node_modules/@pi-harness/api-gateway/dist/marketplace-entries/official/session-insights.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/session-insights.json +1 -1
- package/packages/api-gateway/package.json +1 -1
- package/packages/api-gateway/src/marketplace-entries/official/session-insights.json +1 -1
- 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-B5qqd0oe.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-CLo26FPf.css">
|
package/apps/web/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { readFile } from "node:fs/promises";
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
|
+
|
|
4
|
+
describe("web React build configuration", () => {
|
|
5
|
+
test("deduplicates React packages so hooks share the renderer dispatcher", async () => {
|
|
6
|
+
const source = await readFile(new URL("../vite.config.ts", import.meta.url), "utf8");
|
|
7
|
+
expect(source).toMatch(/resolve:\s*\{[\s\S]*dedupe:\s*\[\s*"react"\s*,\s*"react-dom"\s*\]/u);
|
|
8
|
+
});
|
|
9
|
+
});
|
package/apps/web/vite.config.ts
CHANGED
|
@@ -4,6 +4,7 @@ import packageMetadata from "./package.json" with { type: "json" };
|
|
|
4
4
|
|
|
5
5
|
export default defineConfig({
|
|
6
6
|
define: { __PI_HARNESS_VERSION__: JSON.stringify(packageMetadata.version) },
|
|
7
|
+
resolve: { dedupe: ["react", "react-dom"] },
|
|
7
8
|
build: {
|
|
8
9
|
rolldownOptions: {
|
|
9
10
|
output: {
|
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.104",
|
|
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.104",
|
|
62
|
+
"@pi-harness/cli": "0.1.104",
|
|
63
|
+
"@pi-harness/core": "^0.1.104",
|
|
64
|
+
"@pi-harness/host-webserver": "0.1.104",
|
|
65
|
+
"@pi-harness/web-app": "0.1.104",
|
|
66
66
|
"semver": "7.8.5"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|