@jaypie/mcp 0.8.170 → 0.8.171
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/dist/assets.js
CHANGED
|
@@ -55,11 +55,11 @@ function getMcpAssetPaths() {
|
|
|
55
55
|
*/
|
|
56
56
|
function getMcpBuildInfo() {
|
|
57
57
|
return {
|
|
58
|
-
commit: "
|
|
58
|
+
commit: "e1bbf2ee"
|
|
59
59
|
,
|
|
60
|
-
version: "0.8.
|
|
60
|
+
version: "0.8.171"
|
|
61
61
|
,
|
|
62
|
-
versionString: "@jaypie/mcp@0.8.
|
|
62
|
+
versionString: "@jaypie/mcp@0.8.171#e1bbf2ee"
|
|
63
63
|
,
|
|
64
64
|
};
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.25
|
|
3
|
+
date: 2026-09-24
|
|
4
|
+
summary: log.report() merges nested objects recursively instead of shallow-overwriting top-level keys
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `log.report()` merges plain objects recursively (#585). Two calls that
|
|
10
|
+
write different children of the same key keep both
|
|
11
|
+
- Arrays and scalars are leaves where the last write wins. A changed leaf logs
|
|
12
|
+
`[logger] Overwriting report key: <dotted.path>` at debug; rewriting the
|
|
13
|
+
same value logs nothing
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
log.report({ agentModel: { agent_notes: { chain: "Fast" } } });
|
|
19
|
+
log.report({ agentModel: { agent_evidence_list: { chain: "Fast" } } });
|
|
20
|
+
// => teardown report includes both agent_notes and agent_evidence_list
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Use `log.tally()` for values that accumulate; `report()` is for data
|
|
24
|
+
recorded once, including nested data filled in across several calls.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.8.171
|
|
3
|
+
date: 2026-09-24
|
|
4
|
+
summary: logs skill describes report() recursive merge and debug-level leaf overwrite
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- **`logs` skill**: `log.report()` merges plain objects recursively and logs
|
|
10
|
+
a changed leaf at debug, not warn; `log.tally()` is for values that
|
|
11
|
+
accumulate (#586).
|
package/skills/logs.md
CHANGED
|
@@ -122,7 +122,7 @@ log.teardown();
|
|
|
122
122
|
// => { report: { userId: "456", itemCount: 3, log: { warn: false, warns: 0, error: false, errors: 0 } } }
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
`log.report()`
|
|
125
|
+
`log.report()` records values once. Plain objects merge recursively, so separate calls can fill sibling keys under one parent (`report({ agent: { a: {...} } })` then `report({ agent: { b: {...} } })` keeps both). Arrays and scalars are leaves: the last write wins, and a changed leaf logs `[logger] Overwriting report key: <dotted.path>` at `debug`. Use `log.tally()` for data that accumulates — keys combine instead: numbers sum, strings collect into an array of strings, booleans AND, and objects merge recursively.
|
|
126
126
|
|
|
127
127
|
```typescript
|
|
128
128
|
log.tally({ llm: { operates: 1, turns: 2 } });
|