@jaypie/mcp 0.8.146 → 0.8.148
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/suites/docs/index.js +1 -1
- package/package.json +1 -1
- package/release-notes/jaypie/1.2.98.md +11 -0
- package/release-notes/llm/1.3.40.md +13 -0
- package/release-notes/llm/1.3.41.md +16 -0
- package/release-notes/logger/1.2.24.md +24 -0
- package/release-notes/mcp/0.8.147.md +14 -0
- package/release-notes/mcp/0.8.148.md +9 -0
- package/release-notes/testkit/1.2.69.md +12 -0
- package/skills/llm.md +1 -1
- package/skills/logs.md +10 -0
|
@@ -10,7 +10,7 @@ import { gt } from 'semver';
|
|
|
10
10
|
/**
|
|
11
11
|
* Docs Suite - Documentation services (skill, version, release_notes)
|
|
12
12
|
*/
|
|
13
|
-
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.
|
|
13
|
+
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.148#242a2958"
|
|
14
14
|
;
|
|
15
15
|
const __filename$1 = fileURLToPath(import.meta.url);
|
|
16
16
|
const __dirname$1 = path.dirname(__filename$1);
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.98
|
|
3
|
+
date: 2026-09-05
|
|
4
|
+
summary: Pick up @jaypie/logger 1.2.24 and @jaypie/llm 1.3.40
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `@jaypie/logger` 1.2.24: `log.sessionActive` reports whether a report session
|
|
10
|
+
is open
|
|
11
|
+
- `@jaypie/llm` 1.3.40: no tally attempt outside an active logger session
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.3.40
|
|
3
|
+
date: 2026-09-05
|
|
4
|
+
summary: Skip the operate tally when no logger session is active
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `tallyOperate` returns before building a payload when `log.sessionActive` is
|
|
10
|
+
`false`, so `operate()` and `stream()` outside a Jaypie handler no longer
|
|
11
|
+
produce `[logger] tally() called without active session` at trace (issue #522)
|
|
12
|
+
- Behavior inside a handler is unchanged; the guard compares against `false`, so
|
|
13
|
+
a logger predating `@jaypie/logger` 1.2.24 still tallies
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.3.41
|
|
3
|
+
date: 2026-09-07
|
|
4
|
+
summary: Repoint MODEL.FIREWORKS.DEEPSEEK at the dated deepseek-v4-pro-0813 id
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `MODEL.FIREWORKS.DEEPSEEK` is now
|
|
10
|
+
`accounts/fireworks/models/deepseek-v4-pro-0813`. Fireworks renamed the model;
|
|
11
|
+
the undated `accounts/fireworks/models/deepseek-v4-pro` stopped responding
|
|
12
|
+
entirely, which is why the live capability matrix excluded it on 2026-08-31
|
|
13
|
+
- `COST` prices the new id at $1.32 input, $3.96 output, $0.044 cached input
|
|
14
|
+
read per million tokens (Fireworks Standard tier). The retired undated id
|
|
15
|
+
keeps its `COST` entry per policy, so historical tallies still resolve
|
|
16
|
+
- The model runs the live capability matrix again; `minimax-m2p7` stays excluded
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.24
|
|
3
|
+
date: 2026-09-05
|
|
4
|
+
summary: Expose log.sessionActive so libraries can guard optional report and tally calls
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `JaypieLogger` exposes a read-only `sessionActive` getter, `true` between
|
|
10
|
+
`setup()` and `teardown()`
|
|
11
|
+
- Libraries that tally opportunistically guard on it rather than calling
|
|
12
|
+
`tally()` unconditionally and having the logger trace
|
|
13
|
+
`[logger] tally() called without active session`
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
if (log.sessionActive !== false) {
|
|
19
|
+
log.tally({ llm: { operates: 1, turns: 2 } });
|
|
20
|
+
}
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Compare against `false` rather than testing truthiness: a logger predating this
|
|
24
|
+
release reports `undefined`, where the tally should still be attempted.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.8.147
|
|
3
|
+
date: 2026-09-05
|
|
4
|
+
summary: Release notes for @jaypie/logger 1.2.24, @jaypie/llm 1.3.40, @jaypie/testkit 1.2.69, and jaypie 1.2.98
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Added release notes for `@jaypie/logger` 1.2.24, `@jaypie/llm` 1.3.40,
|
|
10
|
+
`@jaypie/testkit` 1.2.69, and `jaypie` 1.2.98
|
|
11
|
+
- `skills/logs.md` documents `log.sessionActive` and the guard pattern for
|
|
12
|
+
optional tally calls
|
|
13
|
+
- `skills/llm.md` records that the operate tally is skipped outside a handler
|
|
14
|
+
session rather than no-oping inside the logger
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.69
|
|
3
|
+
date: 2026-09-05
|
|
4
|
+
summary: Mock log reports sessionActive
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `mockLogFactory` sets `sessionActive: true` on the mock log, matching
|
|
10
|
+
`@jaypie/logger` 1.2.24, so code guarding a tally on the session runs under
|
|
11
|
+
test
|
|
12
|
+
- Tests exercising the unguarded path set `log.sessionActive = false`
|
package/skills/llm.md
CHANGED
|
@@ -676,7 +676,7 @@ Inside a Jaypie handler (`expressHandler`, `lambdaHandler`, and stream variants)
|
|
|
676
676
|
- `operates` counts loop executions; repeated calls sum every number
|
|
677
677
|
- `usage` is keyed `provider:model` — fallback providers appear as separate keys
|
|
678
678
|
- `tools` appears only when tools were called
|
|
679
|
-
- Outside a handler session the tally is a
|
|
679
|
+
- Outside a handler session the tally is skipped entirely (guarded on `log.sessionActive`), so a CLI or script calling `operate()` directly emits nothing
|
|
680
680
|
|
|
681
681
|
## LLM Observability (Datadog)
|
|
682
682
|
|
package/skills/logs.md
CHANGED
|
@@ -132,6 +132,16 @@ log.tally({ llm: { operates: 1, turns: 3 } });
|
|
|
132
132
|
|
|
133
133
|
Outside an active session `tally()` silently no-ops, so libraries can tally unconditionally. `@jaypie/llm` tallies an `llm` key (turns, tool calls, usage by model) automatically.
|
|
134
134
|
|
|
135
|
+
`log.sessionActive` reports whether a session is open. A library that assembles a tally payload guards on it, skipping the work when nothing will collect the result:
|
|
136
|
+
|
|
137
|
+
```typescript
|
|
138
|
+
if (log.sessionActive !== false) {
|
|
139
|
+
log.tally({ llm: { operates: 1, turns: 2 } });
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Compare against `false` rather than testing truthiness: an older logger without the accessor reports `undefined`, and the tally should still be attempted there.
|
|
144
|
+
|
|
135
145
|
## Setting Log Level
|
|
136
146
|
|
|
137
147
|
Via environment variable:
|