@silverprotocol/google-adk 0.6.0 → 0.6.2
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/README.md +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ facet's per-field dispositions, including its disclosed `silently-dropped` gaps)
|
|
|
33
33
|
|
|
34
34
|
| `@google/adk` | verified | with | evidence |
|
|
35
35
|
| --- | --- | --- | --- |
|
|
36
|
+
| `2.0.0` | 2026-09-15 | 0.6.2 | @google/adk unchanged at 2.0.0 (still npm latest, still declaring @google/genai ^2.9.0 as a regular dependency); @google/genai 2.21.0->2.22.0 studied by tarball d.ts diff - SIXTEEN lines, three hunks, and NONE of them touches a type this facet consumes: a file-level @ts-ignore, an optional from_environment added to an environment type, and one REMOVAL - the required call_id on the internal Live-API type FunctionResultDelta (a `declare type`, reachable only through the Live/streaming session surface this facet does not drive). Recorded explicitly because a removal is breaking drift in general, just not here: Part, Content, Candidate, FinishReason, GenerateContentResponseUsageMetadata, ThinkingConfig/ThinkingLevel, FunctionCall/FunctionResponse, Transcription and MediaProcessing are all block-identical, and every runtime bundle differs only in the SDK_VERSION constant. The draft.3 thoughtsTokenCount fold, the gemini-3.8-flash seed trio and the '>=1.0.0 <3' peer range therefore all stand unchanged, and no capture refresh was warranted. Single-copy lockfile resolution re-verified: exactly one @google/genai 2.x (2.22.0) workspace-wide, plus the expected legacy 1.52.0 under @google-cloud/vertexai. SECURITY: adm-zip reaches the tree ONLY through @google/adk's skills loader, which nothing on this facet's code path imports; the workspace override was nevertheless moved to a bare-key '^0.6.1' floor (see the cohort's security note) because @google/adk 2.0.0 still pins ^0.5.17 (google/adk-js#601 still OPEN). No facet code change. |
|
|
37
|
+
| `2.0.0` | 2026-09-05 | 0.6.1 | @google/adk unchanged at 2.0.0; @google/genai 2.20.0->2.21.0 studied by tarball d.ts diff (20 lines / 2 hunks): the internal Model_2 literal union gains 'gemini-3.8-flash' and one JSDoc reword - Part (16), Content, Candidate, FinishReason (18), GenerateContentResponseUsageMetadata, ThinkingConfig/ThinkingLevel, FunctionCall/FunctionResponse, Transcription, MediaProcessing IDENTICAL; runtime delta = SDK_VERSION constant + the same comment. adk's genai hop deduped so ONE 2.21.0 resolves workspace-wide (plus the legacy 1.52.0 under @google-cloud/vertexai). MODEL RELEASE: gemini-3.8-flash (GA 2026-09-02; thinking on by default with levels low/medium/high - 'minimal' rejected; 1,048,576 in / 65,536 out; pricing identical to 3.7 with output 'including thinking tokens', corroborating spec draft.3) captured live as the trio echo-gemini38 / app-spec-gemini38 / thinking-gemini38 through the unchanged capture agent (THINKING_LEVELS map, thinkingConfig) - census ZERO drops / ZERO new fields on all three; thinking-gemini38 yields thought:true parts + thoughtSignatures with the total identity holding (112 + 21 + 156 = 289; 479 + 8 + 24 = 511) and the draft.3 fold giving outputTokens 209. DEFAULT_MODEL.adk moved gemini-3.7-flash -> gemini-3.8-flash (same price, newest live-verified seed). No facet code change. |
|
|
36
38
|
| `2.0.0` | 2026-09-02 | 0.6.0 | Spec 1.0.0-draft.3 (reasoning-inclusive outputTokens, SPEC.md section 4 note + section 8.0 item 24) — the ONLY facet whose emitted VALUES change: mapUsage now folds Gemini's sibling thoughtsTokenCount into outputTokens (candidates + thoughts) behind the total-identity guard (prompt + candidates + toolUsePrompt == total with thoughts present => already inclusive, carry as-is; LiteLLM precedent). Verified against every live cassette: 20/20 live usage-bearing events (24/24 distinct across all 12 seeds after the section 8.3 re-send dedup) satisfy prompt + candidates + thoughts == total (exclusive), so 10 of 12 adk goldens move in exactly one number (turn.done.usage.outputTokens += thoughts: echo-gemini35 31->156, tool-error 35->212, thinking-gemini37 29->152, ...) and inputTokens + outputTokens == totalTokens now holds on all 12 (previously failed on 10); inputTokens/reasoningTokens/totalTokens byte-identical; the two thoughts-free hand-authored seeds unchanged. Same @google/adk 2.0.0 / genai 2.20.0 pins — no upstream change. Known gap recorded: the Interactions-API route (useInteractionsApi) synthesizes usageMetadata without thoughts (dist/esm/models/interactions_utils.js: candidates = total_output_tokens, total = in + out), so outputTokens is exclusive and reasoningTokens absent there; upstream issue drafted for google/adk-js. Four unit tests (fold, negative control, guard, thoughts-only) + the e2e replay usage identity invariant added. |
|
|
37
39
|
| `2.0.0` | 2026-09-02 | 0.5.4 | @google/adk 1.6.0->2.0.0 MAJOR (npm 2026-08-21; nightly [peer-drift] typescript-sdk#22) + @google/genai 2.17.1->2.20.0 - tarball d.ts audit independently re-derived: every listed breaking change (LLMAgentWrapper removal, InvocationContext.agent optional, BaseAgent extends BaseNode, Sequential/Parallel/Loop deprecation, rerunOnResume, workflow engine #588) lives on the new workflow/node plane; LlmResponse byte-identical; Event gains four optional workflow-plane fields (output/route/nodeInfo/isolationScope, stamped only by workflow/*.js and vertex_ai_session_service round-trips - never on a plain LlmAgent runAsync stream) -> carried into the event-level provider-raw ledger (CompactedEvent/interactionId precedent); EventActions gains agentState (object; contract widened string->JsonValue, JsonValue.parse'd) + endOfAgent (already carried); genai Part gains ONE field, mediaProcessing (request-side media hint; MEDIA_PROCESSING_UNSPECIFIED\|STATIC\|AGENTIC) -> unconditional top-of-part carry beside mediaResolution/videoMetadata; FinishReason (18), Content, Candidate, ThinkingConfig/ThinkingLevel, UsageMetadata, FunctionCall/FunctionResponse IDENTICAL. Dependency shape: @modelcontextprotocol/sdk and the five @mikro-orm drivers + @google-cloud/storage + GCP OTel exporters became OPTIONAL peers loaded lazily (591->172 packages) - consumers using MCPToolset must install @modelcontextprotocol/sdk themselves; the lockfile's mikro-orm/sqlite3/tar subtree left (17 dev-only dependabot alerts closed); adm-zip stays ^0.5.17 (google/adk-js#601; workspace override to ^0.6.0) and the 0.205.0 otlp-http exporters still exact-pin @opentelemetry/core 2.1.0 (override ^2.8.0). Capture agent (InMemoryRunner/LlmAgent/MCPToolset/runAsync) typechecks and runs unchanged. LIVE: the standing gemini-3.7-flash trio RE-CAPTURED at 2.0.0/2.20.0 (echo/app-spec/thinking; app-spec first - it drives MCPToolset through the new optional-peer loader): census ZERO drops / ZERO new fields on all three, thinking-gemini37 still yields thought:true parts + signatures. Peer range widened >=1.0.0 <2 -> <3 (floor kept: 1.x and 2.x Event shapes normalize through one facet; vercel-ai's two-major range is the precedent); e2e pins adk 2.0.0 + genai 2.20.0 exact; stale exclusions pruned. Nightly leg 'force @google/adk@2.0.0' was already green (run 33564341176). Consumers compiling with skipLibCheck:false against adk 2.0.0 should know its root barrel type-imports the now-optional @google-cloud/storage (TS2307) - upstream shape, not ours. |
|
|
38
40
|
| `1.6.0` | 2026-08-19 | 0.5.1 | gemini-3.7-flash day-6 LIVE validation trio (GA 2026-08-13): echo + app-spec (MCP structuredContent/_meta.ui carry re-attested) + thinking (FIRST real Gemini thought:true capture — thinkingLevel scenario knob -> thinkingConfig.includeThoughts, 2 thought parts + signatures -> reasoning.start/delta/end + reasoning.opaque). All three enrolled as replay seeds at capture time; census clean after [*].content.parts[*].thought triage (structurally-consumed flag, [*].partial precedent). New finish-reason mappings (UNEXPECTED_TOOL_CALL, TOO_MANY_TOOL_CALLS + lossy message.metadata raw carry) ship in the same cohort. |
|
|
@@ -62,7 +64,7 @@ import { createAdkNormalizer } from "@silverprotocol/google-adk";
|
|
|
62
64
|
// Build your ADK agent + runner as usual — this package normalizes what it emits.
|
|
63
65
|
const agent = new LlmAgent({
|
|
64
66
|
name: "assistant",
|
|
65
|
-
model: "gemini-3.
|
|
67
|
+
model: "gemini-3.8-flash",
|
|
66
68
|
instruction: "Use the echo tool.",
|
|
67
69
|
});
|
|
68
70
|
const runner = new InMemoryRunner({ agent });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silverprotocol/google-adk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "AgJSON normalizer for the official Google Agent Development Kit — @google/adk (ADK Event / Gemini Content.parts[] → AgEvent[]).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"!dist/**/*.test.*"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@silverprotocol/core": "0.6.
|
|
34
|
+
"@silverprotocol/core": "0.6.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@google/adk": ">=1.0.0 <3"
|