@silverprotocol/google-adk 0.7.1 → 0.7.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -97,7 +97,7 @@ agEvents.push(...n.flush()); // seal anything still open
97
97
 
98
98
  > **Errors the runtime throws (spec §8.0 host obligation 1).** When ADK throws instead of ending the stream (for example its LLM-call limit), catch it and push `{ type: "__host_error__", code, message, usage?, invocationId? }` (exported as `ADK_HOST_ERROR_TYPE`) before `flush()`: the open turn closes `turn.error` with that code and message, and with no turn open a fresh terminal turn carries it. That turn is named from the invoke's own `invocationId`, so it stays unique across the invokes a host folds together; for an error before any event, pass `invocationId` if you have it (otherwise a per-instance stem is used). The sentinel may be the caught Error itself with `type` and `code` assigned; its message is kept.
99
99
 
100
- > **Credential material (spec §8.0 item 28).** ADK credential material is the one exception to the compatibility table's "carried losslessly". In an `adk_request_credential` call and its reply, the facet carries only the auth-config members it knows to be non-secret. In `state.delta` it omits every entry that holds an ADK credential object, and every `temp:` entry. Inside a `provider-raw` carry it reduces each ADK credential object, and each response to `adk_request_credential`, to its non-secret members; when that reduces a node's output, the text part ADK renders from that output is skipped too. A credential an application keeps in a shape of its own is not recognised, and rides unchanged.
100
+ > **Credential material (spec §8.0 item 28).** ADK credential material is the one exception to the compatibility table's "carried losslessly". In an `adk_request_credential` call and its reply, the facet carries only the auth-config members it knows to be non-secret. In `state.delta` it omits every entry that holds an ADK credential object, and every `temp:` entry. A patch that is itself an ADK credential object is emitted as `{}`. Inside a `provider-raw` carry it reduces each ADK credential object, and each response to `adk_request_credential`, to its non-secret members; when that reduces a node's output, the text part ADK renders from that output is skipped too. A credential an application keeps in a shape of its own is not recognised, and rides unchanged.
101
101
 
102
102
  Then fold the resulting `AgEvent`s into messages and turns with
103
103
  `@silverprotocol/core`'s `reduce()` — the same client code regardless of which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silverprotocol/google-adk",
3
- "version": "0.7.1",
3
+ "version": "0.7.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.7.1"
34
+ "@silverprotocol/core": "0.7.2"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@google/adk": ">=1.0.0 <3"