@danypops/pi-papyrus 0.55.7 → 0.55.9
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.
|
@@ -25,7 +25,12 @@
|
|
|
25
25
|
|
|
26
26
|
import { createReconnectingVehicleClient, daemonInstanceIdentity } from "@danypops/vehicle-client/daemon-client";
|
|
27
27
|
import { RemoteVehicleClient } from "@danypops/vehicle-client/http";
|
|
28
|
-
import {
|
|
28
|
+
import {
|
|
29
|
+
createMetricsAwareToolName,
|
|
30
|
+
type RegisteredPiVehicle,
|
|
31
|
+
registerVehicleToolsWhenReady,
|
|
32
|
+
type VehicleReadyEvent,
|
|
33
|
+
} from "@danypops/vehicle-client-pi";
|
|
29
34
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
30
35
|
import { discussLiveFollowUp } from "../discuss/discuss-live-follow-up.ts";
|
|
31
36
|
import { currentVehicleClientTarget } from "../service-client.ts";
|
|
@@ -128,6 +133,13 @@ export function registerNotesVehicle(pi: ExtensionAPI): Promise<RegisteredPiVehi
|
|
|
128
133
|
},
|
|
129
134
|
);
|
|
130
135
|
return registerVehicleToolsWhenReady(pi, () => Promise.resolve(currentVehicleClientTarget() ? client : undefined), {
|
|
136
|
+
// registerVehicleMetricsOperations(..., "papyrus") in @danypops/papyrus's own daemon.ts uses
|
|
137
|
+
// the default "metrics" prefix -- without this, its metrics.query/metrics.recordClientEvent
|
|
138
|
+
// operations would project to the exact same bare "metrics_query"/"metrics_record_client_event"
|
|
139
|
+
// Pi tool names as any other Vehicle that adopts the same shared module with its own default
|
|
140
|
+
// (a real, live incident: tickets did too, and Pi's own tool registry refused the second
|
|
141
|
+
// registration outright, aborting that Vehicle's entire tool surface for the session).
|
|
142
|
+
toolName: createMetricsAwareToolName("papyrus"),
|
|
131
143
|
log: (event) => {
|
|
132
144
|
// Correlates against onInvoked's own timestamps below -- the /reload investigation's
|
|
133
145
|
// leading theory is a race between this fire-and-forget registration actually
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danypops/pi-papyrus",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.9",
|
|
4
4
|
"description": "Pi host extension for Papyrus: native tools, TUI panels, and context injection over the daemon-backed graph store",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": ["pi-package"],
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@danypops/vehicle-client-pi": "^0.
|
|
15
|
+
"@danypops/vehicle-client-pi": "^0.43.4",
|
|
16
16
|
"@earendil-works/pi-coding-agent": "*",
|
|
17
17
|
"@earendil-works/pi-tui": "*",
|
|
18
18
|
"typebox": "*"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@danypops/jittor": "^0.19.
|
|
21
|
+
"@danypops/jittor": "^0.19.2",
|
|
22
22
|
"@danypops/papyrus": "^0.59.0",
|
|
23
|
-
"@danypops/vehicle-client": "^0.10.
|
|
23
|
+
"@danypops/vehicle-client": "^0.10.3",
|
|
24
24
|
"@danypops/vehicle-core": "^0.17.1",
|
|
25
|
-
"@danypops/vehicle-server": "^0.
|
|
25
|
+
"@danypops/vehicle-server": "^0.25.2",
|
|
26
26
|
"beautiful-mermaid": "1.1.3",
|
|
27
27
|
"malevich-tui-components": "^0.24.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@danypops/pi-tui-harness": "^0.0.2",
|
|
31
|
-
"@danypops/vehicle-client-pi": "^0.
|
|
31
|
+
"@danypops/vehicle-client-pi": "^0.43.4",
|
|
32
32
|
"@danypops/vehicle-conformance": "^0.3.0",
|
|
33
33
|
"@earendil-works/pi-coding-agent": "^0.80.10",
|
|
34
34
|
"bun-types": "latest",
|