@danypops/vehicle-core 0.18.4 → 0.18.5
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.
|
@@ -4,8 +4,10 @@ export declare const VEHICLE_CREDENTIAL_FIELD_NAMES: readonly ["password", "toke
|
|
|
4
4
|
export declare function isVehicleCredentialFieldName(name: string): boolean;
|
|
5
5
|
/**
|
|
6
6
|
* JSON Schema property annotation consumed by human-facing Vehicle adapters.
|
|
7
|
-
* `omit` hides the field; `summarize` may show shape/size but never its value
|
|
7
|
+
* `omit` hides the field; `summarize` may show shape/size but never its value;
|
|
8
|
+
* `stream` exposes a string through a bounded, tail-following call preview while
|
|
9
|
+
* the host receives partial tool arguments, then collapses it to a size summary.
|
|
8
10
|
* Standard `writeOnly: true` and `format: "password"` always imply omission.
|
|
9
11
|
*/
|
|
10
12
|
export declare const VEHICLE_SCHEMA_PRESENTATION_EXTENSION: "x-vehicle-presentation";
|
|
11
|
-
export type VehicleSchemaPresentation = "omit" | "summarize";
|
|
13
|
+
export type VehicleSchemaPresentation = "omit" | "summarize" | "stream";
|
|
@@ -16,7 +16,9 @@ export function isVehicleCredentialFieldName(name) {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* JSON Schema property annotation consumed by human-facing Vehicle adapters.
|
|
19
|
-
* `omit` hides the field; `summarize` may show shape/size but never its value
|
|
19
|
+
* `omit` hides the field; `summarize` may show shape/size but never its value;
|
|
20
|
+
* `stream` exposes a string through a bounded, tail-following call preview while
|
|
21
|
+
* the host receives partial tool arguments, then collapses it to a size summary.
|
|
20
22
|
* Standard `writeOnly: true` and `format: "password"` always imply omission.
|
|
21
23
|
*/
|
|
22
24
|
export const VEHICLE_SCHEMA_PRESENTATION_EXTENSION = "x-vehicle-presentation";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danypops/vehicle-core",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.5",
|
|
4
4
|
"description": "Vehicle's runtime-neutral wire contract: operation descriptors, schema codecs, failure shapes. Zero runtime dependencies, zero Bun-specific code -- the one thing every Vehicle client and server package depends on.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,8 +21,10 @@ export function isVehicleCredentialFieldName(name: string): boolean {
|
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* JSON Schema property annotation consumed by human-facing Vehicle adapters.
|
|
24
|
-
* `omit` hides the field; `summarize` may show shape/size but never its value
|
|
24
|
+
* `omit` hides the field; `summarize` may show shape/size but never its value;
|
|
25
|
+
* `stream` exposes a string through a bounded, tail-following call preview while
|
|
26
|
+
* the host receives partial tool arguments, then collapses it to a size summary.
|
|
25
27
|
* Standard `writeOnly: true` and `format: "password"` always imply omission.
|
|
26
28
|
*/
|
|
27
29
|
export const VEHICLE_SCHEMA_PRESENTATION_EXTENSION = "x-vehicle-presentation" as const;
|
|
28
|
-
export type VehicleSchemaPresentation = "omit" | "summarize";
|
|
30
|
+
export type VehicleSchemaPresentation = "omit" | "summarize" | "stream";
|