pi-harness-runtime 1.1.243 → 1.1.244
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/index.ts +33 -10
- package/package.json +1 -1
- package/packages/a2a-adapter/package.json +1 -1
- package/packages/agent-policy/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 -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/codex-watcher/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/e2e-tester/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/jev-judge/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/paperclip-integration/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/qdrant-skills/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-mcp-client/package.json +1 -1
- package/packages/skill-registry/package.json +1 -1
- package/packages/skills/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/telegram/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/trajectory/package.json +1 -1
- package/packages/tui/package.json +1 -1
- package/packages/types/package.json +1 -1
- package/packages/webmcp-tester/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/index.ts
CHANGED
|
@@ -452,7 +452,10 @@ async function initAutoContinue(pi: ExtensionAPI): Promise<void> {
|
|
|
452
452
|
} catch {
|
|
453
453
|
_inferenceInProgress = false;
|
|
454
454
|
updateAutoContinueStatus("ERROR");
|
|
455
|
-
addHarnessMessage("Jev", "auto-continue evaluation failed", "err"
|
|
455
|
+
addHarnessMessage("Jev", "auto-continue evaluation failed", "err", [
|
|
456
|
+
"How to fix: Check logs at /tmp/pi-harness.log for API errors",
|
|
457
|
+
"Ensure TYPESAFE_API_KEY is valid, then restart.",
|
|
458
|
+
]);
|
|
456
459
|
}
|
|
457
460
|
};
|
|
458
461
|
|
|
@@ -763,17 +766,26 @@ async function initQdrant(): Promise<void> {
|
|
|
763
766
|
}
|
|
764
767
|
} else {
|
|
765
768
|
logStartup("[pi-harness] Qdrant ready (no embedding key — skills won't be vector-indexed)");
|
|
766
|
-
addHarnessMessage("Qdrant", "embedding key missing; vector indexing unavailable", "warn"
|
|
769
|
+
addHarnessMessage("Qdrant", "embedding key missing; vector indexing unavailable", "warn", [
|
|
770
|
+
"How to fix: Set OPENAI_API_KEY in ~/.pi-harness-runtime/keys/openai-api-key.txt",
|
|
771
|
+
"Or run: echo 'sk-your-key' > ~/.pi-harness-runtime/keys/openai-api-key.txt",
|
|
772
|
+
]);
|
|
767
773
|
logStartup('[pi-harness] For vector search: echo "{openai-api-key}" > ~/.pi-harness-runtime/keys/openai-api-key.txt');
|
|
768
774
|
}
|
|
769
775
|
} else {
|
|
770
776
|
logStartup("[pi-harness] Qdrant not configured. Set keys to enable vector skill search:");
|
|
771
|
-
addHarnessMessage("Qdrant", "not configured", "warn"
|
|
777
|
+
addHarnessMessage("Qdrant", "not configured", "warn", [
|
|
778
|
+
"How to fix: Set QDRANT_CLUSTER_ENDPOINT in ~/.pi-harness-runtime/keys/qdrant-cluster-endpoint.txt",
|
|
779
|
+
"Set QDRANT_API_KEY in ~/.pi-harness-runtime/keys/qdrant-api-key.txt",
|
|
780
|
+
]);
|
|
772
781
|
logStartup(` echo "{cluster-url}" > ~/.pi-harness-runtime/keys/qdrant-cluster-url.txt`);
|
|
773
782
|
logStartup(` echo "{api-key}" > ~/.pi-harness-runtime/keys/qdrant-api-key.txt`);
|
|
774
783
|
}
|
|
775
784
|
} catch {
|
|
776
|
-
|
|
785
|
+
addHarnessMessage("Qdrant", "initialization failed", "err", [
|
|
786
|
+
"How to fix: Check Qdrant cluster is running and credentials are correct",
|
|
787
|
+
"Verify QDRANT_CLUSTER_ENDPOINT and QDRANT_API_KEY are set.",
|
|
788
|
+
]);
|
|
777
789
|
}
|
|
778
790
|
}
|
|
779
791
|
|
|
@@ -835,6 +847,8 @@ async function initTelegram(pi: ExtensionAPI): Promise<void> {
|
|
|
835
847
|
if (!center.hasHealthyChannels()) {
|
|
836
848
|
logStartup("[pi-harness] Telegram: initialization failed — skipping");
|
|
837
849
|
addHarnessMessage("Telegram", "bot verification failed; notifications unavailable", "err", [
|
|
850
|
+
"How to fix: Verify bot token in ~/.pi-harness-runtime/keys/telegram-bot-token.txt",
|
|
851
|
+
"Check the bot exists and token is valid at @BotFather.",
|
|
838
852
|
"Check the bot token and network access, then reload Pi.",
|
|
839
853
|
]);
|
|
840
854
|
return;
|
|
@@ -891,10 +905,11 @@ async function initTelegram(pi: ExtensionAPI): Promise<void> {
|
|
|
891
905
|
} else {
|
|
892
906
|
logStartup(`[pi-harness] Telegram notifications ready`);
|
|
893
907
|
}
|
|
894
|
-
} catch (
|
|
895
|
-
logStartup(
|
|
908
|
+
} catch (err) {
|
|
909
|
+
logStartup(`[pi-harness] Telegram: init failed - ${err instanceof Error ? err.message : String(err)}`);
|
|
896
910
|
addHarnessMessage("Telegram", "initialization failed; notifications unavailable", "err", [
|
|
897
|
-
"
|
|
911
|
+
"How to fix: Check logs at /tmp/pi-harness.log for Telegram errors",
|
|
912
|
+
"Ensure TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID are set correctly.",
|
|
898
913
|
]);
|
|
899
914
|
}
|
|
900
915
|
}
|
|
@@ -952,7 +967,10 @@ async function initHoncho(pi: ExtensionAPI): Promise<void> {
|
|
|
952
967
|
addHarnessMessage("Honcho", "initialized", "ok");
|
|
953
968
|
} else {
|
|
954
969
|
logStartup("[pi-harness] Honcho: initialization returned null");
|
|
955
|
-
addHarnessMessage("Honcho", "initialization returned no client", "err"
|
|
970
|
+
addHarnessMessage("Honcho", "initialization returned no client", "err", [
|
|
971
|
+
"How to fix: Check HONCHO_API_KEY in ~/.pi-harness-runtime/keys/honcho-api-key.txt",
|
|
972
|
+
"Verify Honcho account is active at honcho.dev.",
|
|
973
|
+
]);
|
|
956
974
|
}
|
|
957
975
|
} catch (err) {
|
|
958
976
|
logStartup("[pi-harness] Honcho: init failed:", err instanceof Error ? err.message : String(err));
|
|
@@ -1432,7 +1450,10 @@ async function initHermesSkills(pi: ExtensionAPI): Promise<void> {
|
|
|
1432
1450
|
|
|
1433
1451
|
} catch (err) {
|
|
1434
1452
|
logStartup(`[pi-harness] Failed to initialize skills:`, err instanceof Error ? err.message : String(err));
|
|
1435
|
-
|
|
1453
|
+
addHarnessMessage("Skills", "initialization failed", "err", [
|
|
1454
|
+
"How to fix: Check skills directory exists at ~/.pi-harness-runtime/skills/",
|
|
1455
|
+
"Run: mkdir -p ~/.pi-harness-runtime/skills && pi restart",
|
|
1456
|
+
]);
|
|
1436
1457
|
}
|
|
1437
1458
|
}
|
|
1438
1459
|
|
|
@@ -3471,7 +3492,9 @@ Run \`bd ready\` to see current bd issues.
|
|
|
3471
3492
|
// A timeout is not success. Keep accepting late service updates.
|
|
3472
3493
|
const startupTimeout = setTimeout(() => {
|
|
3473
3494
|
if (mySession !== sessionGeneration) return;
|
|
3474
|
-
|
|
3495
|
+
addHarnessMessage("Harness Runtime", `v${HARNESS_VERSION} waiting for service initialization`, "warn", [
|
|
3496
|
+
"How to fix: Wait for services to initialize or check /tmp/pi-harness.log for errors",
|
|
3497
|
+
]);
|
|
3475
3498
|
}, 5000);
|
|
3476
3499
|
Promise.allSettled(asyncInitPromises).then((results) => {
|
|
3477
3500
|
clearTimeout(startupTimeout);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-harness/capability-registry",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.244",
|
|
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-harness/provider-router",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.244",
|
|
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",
|