pi-harness-runtime 1.1.9 → 1.1.11
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 +61 -0
- package/index.ts +25 -31
- 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/dist/index.d.ts.map +1 -1
- package/packages/clipboard-plugin/dist/index.js +4 -1
- package/packages/clipboard-plugin/dist/index.js.map +1 -1
- package/packages/clipboard-plugin/package.json +1 -2
- package/packages/clipboard-plugin/src/index.ts +4 -1
- 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,67 @@
|
|
|
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.11](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v0.10.42...v1.1.11) (2026-08-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add quota scrapers for ChatGPT and GLM providers ([17f9d0e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/17f9d0e7d6f486210a30244f2fecc0131e8b7d57))
|
|
11
|
+
* improve Playwright Prompt ([24ac09b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/24ac09b75f5d79924a7a0c9e47cdacc9da143a68))
|
|
12
|
+
* index.ts ([d0fc002](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0fc002d6d16e59318155677cb6128846bc993a4))
|
|
13
|
+
* update workflow run name to show version number ([ee8c59f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ee8c59fec4c0116a5948b2ae04ad4609edaed3ac))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* add typescript as devDependency, build notification dist ([c76b522](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c76b5221c33262c38615c6117ecf9db13ab7b5d2))
|
|
19
|
+
* **clipboard-plugin:** return proper content array format in tool result ([400bbdb](https://github.com/ManotLuijiu/pi-harness-runtime/commit/400bbdbe2b17a8c31571942a7ccacc2c2f4f56bc))
|
|
20
|
+
* configure npm to use OIDC auth method for trusted publishing ([0b9042e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0b9042e49726ece53f5bfccd0afa7eceac5e75ec))
|
|
21
|
+
* debug run name update API call ([0301d44](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0301d44d260315147c4f5445ec83d80ed2f9bcfc))
|
|
22
|
+
* properly configure npm auth for publish workflow ([f4fe31a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f4fe31a9096ce3fb065f4fbbfe7db74eaad620b3))
|
|
23
|
+
* refresh footer status on periodic quota refresh ([59885a1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/59885a14e8261b0aa03e5ae6d11651bb5c40671a))
|
|
24
|
+
* remove console override that was crashing pi ([b8d1d02](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b8d1d029c773fd16a6f52e08186eb687f4d2cbbc))
|
|
25
|
+
* remove develop branch trigger from release workflow ([28da559](https://github.com/ManotLuijiu/pi-harness-runtime/commit/28da559ccd3cbb7860a409b1d52436aad175ca07))
|
|
26
|
+
* remove invalid cache: false option ([00079b6](https://github.com/ManotLuijiu/pi-harness-runtime/commit/00079b6fe4ad59fedc2464d3c8c8309897d6a543))
|
|
27
|
+
* remove token config - use OIDC trusted publishing only ([177d395](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177d3956194fe2196cd11491c7b42257eaf0ca95))
|
|
28
|
+
* resolve merge conflict in package.json, release v1.1.6 ([a976a73](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a976a73bf5210dfd1f20477850c40ef336235f64))
|
|
29
|
+
* **runtime:** preserve tool result content array shape ([012ed45](https://github.com/ManotLuijiu/pi-harness-runtime/commit/012ed4530f5b016c907414ce757dc279bbf05dfb))
|
|
30
|
+
* unset OIDC env vars before npm publish ([463e88c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/463e88c92a1687e1620584fb7efe672f7782d535))
|
|
31
|
+
* use curl for updating run name (gh CLI not available in runner) ([1d0701d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1d0701d3d5ea73b4eeaddee64bce2ee0e93cc89b))
|
|
32
|
+
* use Node.js 24 for OIDC trusted publishing ([8a74380](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8a74380eb95b8cfbea627f0332a5e79853592431))
|
|
33
|
+
* use npm-publish action instead of direct npm publish ([4c7218c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4c7218c99436703dd0a210c3866f35dc305911f5))
|
|
34
|
+
* use OIDC Trusted Publishing instead of token auth ([01626b5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/01626b579f77d67d965c3a276bd5e9a3bcf1f67b))
|
|
35
|
+
|
|
36
|
+
### [1.1.10](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v0.10.42...v1.1.10) (2026-08-20)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* add quota scrapers for ChatGPT and GLM providers ([17f9d0e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/17f9d0e7d6f486210a30244f2fecc0131e8b7d57))
|
|
42
|
+
* improve Playwright Prompt ([24ac09b](https://github.com/ManotLuijiu/pi-harness-runtime/commit/24ac09b75f5d79924a7a0c9e47cdacc9da143a68))
|
|
43
|
+
* index.ts ([d0fc002](https://github.com/ManotLuijiu/pi-harness-runtime/commit/d0fc002d6d16e59318155677cb6128846bc993a4))
|
|
44
|
+
* update workflow run name to show version number ([ee8c59f](https://github.com/ManotLuijiu/pi-harness-runtime/commit/ee8c59fec4c0116a5948b2ae04ad4609edaed3ac))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* add typescript as devDependency, build notification dist ([c76b522](https://github.com/ManotLuijiu/pi-harness-runtime/commit/c76b5221c33262c38615c6117ecf9db13ab7b5d2))
|
|
50
|
+
* **clipboard-plugin:** return proper content array format in tool result ([400bbdb](https://github.com/ManotLuijiu/pi-harness-runtime/commit/400bbdbe2b17a8c31571942a7ccacc2c2f4f56bc))
|
|
51
|
+
* configure npm to use OIDC auth method for trusted publishing ([0b9042e](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0b9042e49726ece53f5bfccd0afa7eceac5e75ec))
|
|
52
|
+
* debug run name update API call ([0301d44](https://github.com/ManotLuijiu/pi-harness-runtime/commit/0301d44d260315147c4f5445ec83d80ed2f9bcfc))
|
|
53
|
+
* properly configure npm auth for publish workflow ([f4fe31a](https://github.com/ManotLuijiu/pi-harness-runtime/commit/f4fe31a9096ce3fb065f4fbbfe7db74eaad620b3))
|
|
54
|
+
* refresh footer status on periodic quota refresh ([59885a1](https://github.com/ManotLuijiu/pi-harness-runtime/commit/59885a14e8261b0aa03e5ae6d11651bb5c40671a))
|
|
55
|
+
* remove console override that was crashing pi ([b8d1d02](https://github.com/ManotLuijiu/pi-harness-runtime/commit/b8d1d029c773fd16a6f52e08186eb687f4d2cbbc))
|
|
56
|
+
* remove develop branch trigger from release workflow ([28da559](https://github.com/ManotLuijiu/pi-harness-runtime/commit/28da559ccd3cbb7860a409b1d52436aad175ca07))
|
|
57
|
+
* remove invalid cache: false option ([00079b6](https://github.com/ManotLuijiu/pi-harness-runtime/commit/00079b6fe4ad59fedc2464d3c8c8309897d6a543))
|
|
58
|
+
* remove token config - use OIDC trusted publishing only ([177d395](https://github.com/ManotLuijiu/pi-harness-runtime/commit/177d3956194fe2196cd11491c7b42257eaf0ca95))
|
|
59
|
+
* resolve merge conflict in package.json, release v1.1.6 ([a976a73](https://github.com/ManotLuijiu/pi-harness-runtime/commit/a976a73bf5210dfd1f20477850c40ef336235f64))
|
|
60
|
+
* unset OIDC env vars before npm publish ([463e88c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/463e88c92a1687e1620584fb7efe672f7782d535))
|
|
61
|
+
* use curl for updating run name (gh CLI not available in runner) ([1d0701d](https://github.com/ManotLuijiu/pi-harness-runtime/commit/1d0701d3d5ea73b4eeaddee64bce2ee0e93cc89b))
|
|
62
|
+
* use Node.js 24 for OIDC trusted publishing ([8a74380](https://github.com/ManotLuijiu/pi-harness-runtime/commit/8a74380eb95b8cfbea627f0332a5e79853592431))
|
|
63
|
+
* use npm-publish action instead of direct npm publish ([4c7218c](https://github.com/ManotLuijiu/pi-harness-runtime/commit/4c7218c99436703dd0a210c3866f35dc305911f5))
|
|
64
|
+
* use OIDC Trusted Publishing instead of token auth ([01626b5](https://github.com/ManotLuijiu/pi-harness-runtime/commit/01626b579f77d67d965c3a276bd5e9a3bcf1f67b))
|
|
65
|
+
|
|
5
66
|
### [0.10.30](https://github.com/ManotLuijiu/pi-harness-runtime/compare/v0.10.29...v0.10.30) (2026-08-11)
|
|
6
67
|
|
|
7
68
|
|
package/index.ts
CHANGED
|
@@ -204,7 +204,9 @@ function ensureHarnessDir() {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
async function getCheckpointManager(): Promise<CheckpointManager> {
|
|
207
|
-
const { JsonCheckpointManager } = await import(
|
|
207
|
+
const { JsonCheckpointManager } = await import(
|
|
208
|
+
"./packages/checkpoint/src/checkpoint-manager.ts"
|
|
209
|
+
);
|
|
208
210
|
return new JsonCheckpointManager(
|
|
209
211
|
HARNESS_ROOT_DIR,
|
|
210
212
|
) as unknown as CheckpointManager;
|
|
@@ -343,7 +345,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
343
345
|
const toolName = (event as { toolName?: string }).toolName;
|
|
344
346
|
if (toolName !== "bash") return;
|
|
345
347
|
|
|
346
|
-
const result = (event as { result?: { content?:
|
|
348
|
+
const result = (event as { result?: { content?: unknown } }).result;
|
|
347
349
|
if (!result) return;
|
|
348
350
|
|
|
349
351
|
// Handle content that might be an array or object
|
|
@@ -369,8 +371,13 @@ Run \`bd ready\` to see current tasks.
|
|
|
369
371
|
!content.includes("bd ready") &&
|
|
370
372
|
!content.includes("TODO UPDATE")
|
|
371
373
|
) {
|
|
372
|
-
// Append todo reminder
|
|
373
|
-
|
|
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
|
+
}
|
|
374
381
|
}
|
|
375
382
|
});
|
|
376
383
|
|
|
@@ -446,8 +453,8 @@ Run \`bd ready\` to see current tasks.
|
|
|
446
453
|
const MINIMAX_REFRESH_TOKEN_THRESHOLD = 200_000;
|
|
447
454
|
const MINIMAX_REFRESH_REQUEST_THRESHOLD = 12;
|
|
448
455
|
const quotaScraper = process.env.QUOTA_COOKIE_FILE
|
|
449
|
-
? new MiniMaxQuotaScraper({ cookieFile: process.env.QUOTA_COOKIE_FILE })
|
|
450
|
-
: new MiniMaxQuotaScraper();
|
|
456
|
+
? new MiniMaxQuotaScraper({ cookieFile: process.env.QUOTA_COOKIE_FILE, quiet: true })
|
|
457
|
+
: new MiniMaxQuotaScraper({ quiet: true });
|
|
451
458
|
|
|
452
459
|
// --- Smart quota fetch for OpenAI status -------------------------
|
|
453
460
|
const OPENAI_REFRESH_MIN_INTERVAL_MS = 5 * 60 * 1000; // 5 minutes
|
|
@@ -552,10 +559,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
552
559
|
"Drop folder sync still works — polling will resume automatically.",
|
|
553
560
|
);
|
|
554
561
|
} else {
|
|
555
|
-
console.error(
|
|
556
|
-
"[pi-harness] cookie-sanitizer watcher failed to start:",
|
|
557
|
-
msg,
|
|
558
|
-
);
|
|
562
|
+
console.error("[pi-harness] cookie-sanitizer watcher failed to start:", msg);
|
|
559
563
|
}
|
|
560
564
|
}
|
|
561
565
|
|
|
@@ -637,7 +641,9 @@ Run \`bd ready\` to see current tasks.
|
|
|
637
641
|
|
|
638
642
|
async function hasBrowserProfileAutoFetchSource(): Promise<boolean> {
|
|
639
643
|
try {
|
|
640
|
-
const { getLiveSessionPath, getStatusPath } = await import(
|
|
644
|
+
const { getLiveSessionPath, getStatusPath } = await import(
|
|
645
|
+
"./packages/auth/src/minimax-browser-auth.ts"
|
|
646
|
+
);
|
|
641
647
|
return existsSync(getLiveSessionPath()) || existsSync(getStatusPath());
|
|
642
648
|
} catch {
|
|
643
649
|
return false;
|
|
@@ -697,7 +703,9 @@ Run \`bd ready\` to see current tasks.
|
|
|
697
703
|
}
|
|
698
704
|
|
|
699
705
|
try {
|
|
700
|
-
const { scrapeWithExistingProfile } = await import(
|
|
706
|
+
const { scrapeWithExistingProfile } = await import(
|
|
707
|
+
"./packages/auth/src/minimax-browser-auth.ts"
|
|
708
|
+
);
|
|
701
709
|
const status = await scrapeWithExistingProfile({ quiet: true });
|
|
702
710
|
if (
|
|
703
711
|
status.page_url.includes("unified-login") ||
|
|
@@ -714,10 +722,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
714
722
|
}
|
|
715
723
|
|
|
716
724
|
const parsed = parseMiniMaxQuotaText(rawText);
|
|
717
|
-
if (
|
|
718
|
-
parsed.h5UsedPct === undefined &&
|
|
719
|
-
parsed.weeklyUsedPct === undefined
|
|
720
|
-
) {
|
|
725
|
+
if (parsed.h5UsedPct === undefined && parsed.weeklyUsedPct === undefined) {
|
|
721
726
|
return null;
|
|
722
727
|
}
|
|
723
728
|
|
|
@@ -744,8 +749,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
744
749
|
suppressErrors?: boolean;
|
|
745
750
|
}): Promise<boolean> {
|
|
746
751
|
const suppressErrors = options?.suppressErrors === true;
|
|
747
|
-
const profileRecord =
|
|
748
|
-
await autoFetchQuotaFromBrowserProfile(suppressErrors);
|
|
752
|
+
const profileRecord = await autoFetchQuotaFromBrowserProfile(suppressErrors);
|
|
749
753
|
if (profileRecord) {
|
|
750
754
|
writeMirrorRecord("minimax", {
|
|
751
755
|
synced_at: profileRecord.synced_at,
|
|
@@ -926,8 +930,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
926
930
|
description: "Force refresh quota from provider console",
|
|
927
931
|
handler: async (_args: string, ctx: ExtensionCommandContext) => {
|
|
928
932
|
const autoFetchAvailable =
|
|
929
|
-
cookieQuotaAutoFetchAvailable ||
|
|
930
|
-
(await hasBrowserProfileAutoFetchSource());
|
|
933
|
+
cookieQuotaAutoFetchAvailable || (await hasBrowserProfileAutoFetchSource());
|
|
931
934
|
if (!autoFetchAvailable) {
|
|
932
935
|
ctx.ui.notify(
|
|
933
936
|
"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`.",
|
|
@@ -1160,10 +1163,7 @@ Run \`bd ready\` to see current tasks.
|
|
|
1160
1163
|
return;
|
|
1161
1164
|
}
|
|
1162
1165
|
|
|
1163
|
-
const lines = [
|
|
1164
|
-
`Tasks for Job ${currentSession.jobId}`,
|
|
1165
|
-
`${"-".repeat(50)}`,
|
|
1166
|
-
];
|
|
1166
|
+
const lines = [`Tasks for Job ${currentSession.jobId}`, `${"-".repeat(50)}`];
|
|
1167
1167
|
|
|
1168
1168
|
for (const task of tasks) {
|
|
1169
1169
|
const status = task.status.padEnd(10);
|
|
@@ -1484,12 +1484,6 @@ function refreshFooterStatus(
|
|
|
1484
1484
|
const freshness = mirrorStore.freshness(mirror, nowMs);
|
|
1485
1485
|
ctx.ui.setStatus(
|
|
1486
1486
|
"harness-runtime",
|
|
1487
|
-
buildFooterStatusValue(
|
|
1488
|
-
local,
|
|
1489
|
-
mirror,
|
|
1490
|
-
freshness,
|
|
1491
|
-
hasCookieSource(),
|
|
1492
|
-
provider,
|
|
1493
|
-
),
|
|
1487
|
+
buildFooterStatusValue(local, mirror, freshness, hasCookieSource(), provider),
|
|
1494
1488
|
);
|
|
1495
1489
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/capability-registry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.11",
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGlF,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGlF,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;GAGG;AACH,wBAAgB,yBAAyB,IAAI,aAAa,CAwBzD;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,kBAAkB,CAahE;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC3C,EAAE,EAAE,OAAO,EACX,GAAG,EAAE,OAAO,GACV,IAAI,CAGN;AAED;;GAEG;eACY,yBAAyB"}
|
|
@@ -24,7 +24,10 @@ export function createClipboardBridgeTool() {
|
|
|
24
24
|
},
|
|
25
25
|
execute: async () => {
|
|
26
26
|
const content = pasteFromBridge();
|
|
27
|
-
|
|
27
|
+
if (!content) {
|
|
28
|
+
return { content: [], isError: false };
|
|
29
|
+
}
|
|
30
|
+
return { content: [{ type: "text", text: content }] };
|
|
28
31
|
},
|
|
29
32
|
},
|
|
30
33
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAIvE;;;GAGG;AACH,MAAM,UAAU,yBAAyB;IACxC,OAAO;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,mBAAmB;gBACzB,WAAW,EAAE,kEAAkE;gBAC/E,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,EAAE;iBACZ;gBACD,OAAO,EAAE,KAAK,IAAI,EAAE;oBACnB,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;oBAClC,OAAO,EAAE,OAAO,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAIvE;;;GAGG;AACH,MAAM,UAAU,yBAAyB;IACxC,OAAO;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE;YACN;gBACC,IAAI,EAAE,mBAAmB;gBACzB,WAAW,EAAE,kEAAkE;gBAC/E,UAAU,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,EAAE;oBACd,QAAQ,EAAE,EAAE;iBACZ;gBACD,OAAO,EAAE,KAAK,IAAI,EAAE;oBACnB,MAAM,OAAO,GAAG,eAAe,EAAE,CAAC;oBAClC,IAAI,CAAC,OAAO,EAAE,CAAC;wBACd,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;oBACxC,CAAC;oBACD,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gBACvD,CAAC;aACD;SACD;QACD,MAAM,EAAE,EAAE;KACV,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B;IAC1C,OAAO;QACN,UAAU,EAAE,WAAW;QACvB,IAAI,EAAE,yBAAyB;QAC/B,QAAQ,EAAE;YACT,MAAM,EAAE,KAAK,IAAI,EAAE;gBAClB,+DAA+D;gBAC/D,OAAO,KAAK,CAAC;YACd,CAAC;YACD,OAAO,EAAE,EAAE;SACX;QACD,MAAM,EAAE,EAAE;KACV,CAAC;AACH,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,4BAA4B,CAC3C,EAAW,EACX,GAAY;IAEZ,8DAA8D;IAC9D,qBAAqB,CAAC,EAAS,EAAE,GAAU,CAAC,CAAC;AAC9C,CAAC;AAED;;GAEG;AACH,eAAe,yBAAyB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi/clipboard-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.11",
|
|
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
|
}
|
|
@@ -29,7 +29,10 @@ export function createClipboardBridgeTool(): ToolExtension {
|
|
|
29
29
|
},
|
|
30
30
|
execute: async () => {
|
|
31
31
|
const content = pasteFromBridge();
|
|
32
|
-
|
|
32
|
+
if (!content) {
|
|
33
|
+
return { content: [], isError: false };
|
|
34
|
+
}
|
|
35
|
+
return { content: [{ type: "text", text: content }] };
|
|
33
36
|
},
|
|
34
37
|
},
|
|
35
38
|
],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/provider-router",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.11",
|
|
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",
|