@jaypie/mcp 0.8.66 → 0.8.68

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.
@@ -9,7 +9,7 @@ import { gt } from 'semver';
9
9
  /**
10
10
  * Docs Suite - Documentation services (skill, version, release_notes)
11
11
  */
12
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.66#da12e12f"
12
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.68#abfd8600"
13
13
  ;
14
14
  const __filename$1 = fileURLToPath(import.meta.url);
15
15
  const __dirname$1 = path.dirname(__filename$1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.66",
3
+ "version": "0.8.68",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,18 @@
1
+ ---
2
+ version: 1.2.61
3
+ date: 2026-06-11
4
+ summary: Lambda serviceTag now sets the PROJECT_SERVICE environment variable
5
+ ---
6
+
7
+ ## @jaypie/constructs 1.2.61
8
+
9
+ ### Added
10
+
11
+ - **`serviceTag` sets `PROJECT_SERVICE`** (`JaypieLambda` and the
12
+ `JaypieQueuedLambda`, `JaypieBucketQueuedLambda`, `JaypieExpressLambda`,
13
+ `JaypieWebSocketLambda` constructs built on it). When a `serviceTag` is
14
+ provided, its value is now injected as the `PROJECT_SERVICE` environment
15
+ variable on the Lambda in addition to the existing service tag. Precedence is
16
+ explicit `environment.PROJECT_SERVICE` > `serviceTag` > `process.env.PROJECT_SERVICE`,
17
+ so a service no longer needs `PROJECT_SERVICE` set in the deploy environment to
18
+ identify itself at runtime.
@@ -0,0 +1,20 @@
1
+ ---
2
+ version: 1.2.62
3
+ date: 2026-06-11
4
+ summary: Lambda serviceTag now sets DD_SERVICE instead of PROJECT_SERVICE
5
+ ---
6
+
7
+ ## @jaypie/constructs 1.2.62
8
+
9
+ ### Changed
10
+
11
+ - **`serviceTag` sets `DD_SERVICE` instead of `PROJECT_SERVICE`** (`JaypieLambda`
12
+ and the `JaypieQueuedLambda`, `JaypieBucketQueuedLambda`,
13
+ `JaypieExpressLambda`, `JaypieWebSocketLambda` constructs built on it). The
14
+ `serviceTag` value is now injected as the `DD_SERVICE` environment variable so
15
+ Datadog attributes traces, logs, and metrics to the service directly.
16
+ Precedence is explicit `environment.DD_SERVICE` > `serviceTag` >
17
+ `process.env.PROJECT_SERVICE`. The resolved service is also passed to the
18
+ Datadog layer configuration, which previously read only
19
+ `process.env.PROJECT_SERVICE` and could overwrite the Lambda's `DD_SERVICE`.
20
+ `PROJECT_SERVICE` from the deploy environment still passes through unchanged.
@@ -0,0 +1,12 @@
1
+ ---
2
+ version: 1.2.50
3
+ date: 2026-06-11
4
+ summary: Pick up @jaypie/logger 1.2.16 (data field in JSON output) and @jaypie/llm 1.2.38 peer (google provider naming)
5
+ ---
6
+
7
+ ## jaypie 1.2.50
8
+
9
+ ### Changes
10
+
11
+ - **Dependencies**: `@jaypie/logger` ^1.2.16 — trailing log object split into `data` field in JSON output
12
+ - **Peer dependencies**: `@jaypie/llm` ^1.2.38 — provider name standardized on `"google"` with deprecated `"gemini"` aliases
@@ -0,0 +1,15 @@
1
+ ---
2
+ version: 1.2.38
3
+ date: 2026-06-11
4
+ summary: Standardize provider name on "google"; PROVIDER.GEMINI and GeminiProvider remain as deprecated aliases
5
+ ---
6
+
7
+ ## @jaypie/llm 1.2.38
8
+
9
+ ### Changes
10
+
11
+ - **Provider naming**: "Google" is the provider; Gemini is the model family
12
+ - `PROVIDER.GOOGLE` replaces `PROVIDER.GEMINI` (deprecated alias kept, same object)
13
+ - `GoogleProvider` replaces `GeminiProvider` (deprecated alias export kept)
14
+ - `new Llm("gemini")` and fallback `{ provider: "gemini" }` still resolve to `"google"` with a deprecation warning (unchanged)
15
+ - **Model constants**: Added `MODEL` export with named model constants; Google `TINY` is now `gemini-3.1-flash-lite`
@@ -0,0 +1,26 @@
1
+ ---
2
+ version: 1.2.16
3
+ date: 2026-06-11
4
+ summary: Split trailing object into structured data field in JSON output
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `log.warn("message", { details })` (and all level methods) now emits `{ "message": "message", "data": { "details": ... } }` in JSON format instead of concatenating the stringified object into the message
10
+ - Applies when the final argument is an object (or array) and all preceding arguments are scalars; preceding scalars are joined into `message`
11
+ - Falls back to the previous space-joined concatenation when the object is not last, when multiple objects are passed, or when the trailing object does not serialize to JSON (e.g., `Error` instances)
12
+ - Text format output is unchanged
13
+
14
+ ## Migration
15
+
16
+ JSON output for `log.warn("Processing", { id: "my-id" })` changes from:
17
+
18
+ ```json
19
+ {"message":"Processing {\"id\":\"my-id\"}"}
20
+ ```
21
+
22
+ to:
23
+
24
+ ```json
25
+ {"message":"Processing","data":{"id":"my-id"}}
26
+ ```
@@ -0,0 +1,12 @@
1
+ ---
2
+ version: 0.8.67
3
+ date: 2026-06-11
4
+ summary: Update skill("logs") for logger data field and skill("llm") for Google provider naming
5
+ ---
6
+
7
+ ## @jaypie/mcp 0.8.67
8
+
9
+ ### Changes
10
+
11
+ - **skill("logs")**: Document trailing-object split into `data` field in JSON log output
12
+ - **skill("llm")**: Provider for Gemini models is named `"google"` (`"gemini"` deprecated); refresh provider default-model table to current constants
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 1.2.41
3
+ date: 2026-06-11
4
+ summary: Add GoogleProvider mock; GeminiProvider remains as deprecated alias
5
+ ---
6
+
7
+ ## @jaypie/testkit 1.2.41
8
+
9
+ ### Changes
10
+
11
+ - **LLM mocks**: `GoogleProvider` mock added following the `@jaypie/llm` rename; `GeminiProvider` remains as a deprecated alias
package/skills/llm.md CHANGED
@@ -21,11 +21,13 @@ console.log(response.content); // "4"
21
21
 
22
22
  | Provider | Match Keywords | Default Model |
23
23
  |----------|----------------|---------------|
24
- | OpenAI | "openai", "gpt", /^o\d/ | gpt-5.2 |
25
- | Anthropic | "anthropic", "claude", "haiku", "opus", "sonnet" | claude-sonnet-4-5 |
26
- | Google | "google", "gemini" | gemini-3-pro-preview |
27
- | OpenRouter | "openrouter" | z-ai/glm-4.7 |
28
- | xAI | "xai", "grok" | grok-4-1-fast-reasoning |
24
+ | OpenAI | "openai", "gpt", /^o\d/ | gpt-5.4 |
25
+ | Anthropic | "anthropic", "claude", "haiku", "opus", "sonnet" | claude-sonnet-4-6 |
26
+ | Google | "google", "gemini" | gemini-3.1-pro-preview |
27
+ | OpenRouter | "openrouter" | anthropic/claude-sonnet-4-6 |
28
+ | xAI | "xai", "grok" | grok-latest |
29
+
30
+ The provider name for Gemini models is `"google"` — `"gemini"` is accepted as a deprecated alias.
29
31
 
30
32
  ```typescript
31
33
  // Provider auto-detected from model
@@ -317,7 +319,7 @@ const review2 = await llm.operate(code2);
317
319
 
318
320
  ```bash
319
321
  ANTHROPIC_API_KEY # Required for Anthropic
320
- GOOGLE_API_KEY # Required for Gemini
322
+ GOOGLE_API_KEY # Required for Google (Gemini models)
321
323
  OPENAI_API_KEY # Required for OpenAI
322
324
  OPENROUTER_API_KEY # Required for OpenRouter
323
325
  XAI_API_KEY # Required for xAI (Grok)
package/skills/logs.md CHANGED
@@ -30,17 +30,19 @@ log.fatal("Fatal error"); // only used internally in jaypie
30
30
 
31
31
  ## Logging Data
32
32
 
33
- DO NOT use multiple parameters when logging:
34
- <BAD>
33
+ A trailing object becomes the structured `data` field; preceding scalars join into `message`:
34
+
35
35
  ```typescript
36
- log.info("Processing", { id: "my-id" });
36
+ log.warn("Processing failed", { id: "my-id" });
37
+ // => { "message": "Processing failed", "data": { "id": "my-id" } }
37
38
  ```
38
- </BAD>
39
39
 
40
- Use `log.var` to log single-key objects that parse in Datadog:
40
+ This only splits when the object is last and everything before it is scalar. An object mid-call, multiple objects, or a non-serializable object (e.g., `Error`) falls back to space-joined stringification — keep objects last and singular.
41
+
42
+ Prefer `log.var` to log single-key objects that parse in Datadog:
41
43
  <GOOD>
42
44
  ```typescript
43
- log.trace("Processing", { id: "my-id" });
45
+ log.trace("Processing");
44
46
  log.var({ id: "my-id" });
45
47
  ```
46
48
  </GOOD>