@cat-factory/server 0.11.0 → 0.11.1
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenericSchema } from 'valibot';
|
|
2
|
-
export declare function jsonBody<T extends GenericSchema>(schema: T): import("hono").
|
|
2
|
+
export declare function jsonBody<T extends GenericSchema>(schema: T): import("hono").Handler<import("hono").Env, string, {
|
|
3
3
|
in: (undefined extends import("valibot").InferInput<T> ? true : false) extends true ? {
|
|
4
4
|
json?: (import("valibot").InferInput<T> extends infer T_1 ? T_1 extends import("valibot").InferInput<T> ? T_1 extends any ? T_1 : { [K2 in keyof T_1]?: any; } : never : never) | undefined;
|
|
5
5
|
} : {
|
|
@@ -8,5 +8,14 @@ export declare function jsonBody<T extends GenericSchema>(schema: T): import("ho
|
|
|
8
8
|
out: {
|
|
9
9
|
json: import("valibot").InferOutput<T>;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}, Response & import("hono").TypedResponse<{
|
|
12
|
+
error: {
|
|
13
|
+
code: string;
|
|
14
|
+
message: string;
|
|
15
|
+
issues: {
|
|
16
|
+
path: string | undefined;
|
|
17
|
+
message: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
}, 400, "json">>;
|
|
12
21
|
//# sourceMappingURL=validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/http/validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,wBAAgB,QAAQ,CAAC,CAAC,SAAS,aAAa,EAAE,MAAM,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/http/validation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAK5C,wBAAgB,QAAQ,CAAC,CAAC,SAAS,aAAa,EAAE,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;iBAkB1D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/server",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Runtime-neutral HTTP layer for the Agent Architecture Board: the Hono controllers, middleware (auth/authz/CORS/error), request helpers and the gateway seams shared by every deployment facade (Cloudflare Worker, Node service).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@hono/valibot-validator": "^0.
|
|
28
|
-
"hono": "^4.12.
|
|
29
|
-
"pino": "^
|
|
27
|
+
"@hono/valibot-validator": "^0.6.1",
|
|
28
|
+
"hono": "^4.12.27",
|
|
29
|
+
"pino": "^10.3.1",
|
|
30
30
|
"valibot": "^1.4.1",
|
|
31
|
-
"@cat-factory/agents": "0.10.
|
|
31
|
+
"@cat-factory/agents": "0.10.1",
|
|
32
32
|
"@cat-factory/contracts": "0.11.0",
|
|
33
|
-
"@cat-factory/integrations": "0.8.
|
|
34
|
-
"@cat-factory/kernel": "0.11.
|
|
35
|
-
"@cat-factory/orchestration": "0.8.
|
|
33
|
+
"@cat-factory/integrations": "0.8.3",
|
|
34
|
+
"@cat-factory/kernel": "0.11.1",
|
|
35
|
+
"@cat-factory/orchestration": "0.8.1",
|
|
36
36
|
"@cat-factory/prompt-fragments": "0.7.6",
|
|
37
|
-
"@cat-factory/spend": "0.8.
|
|
37
|
+
"@cat-factory/spend": "0.8.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"typescript": "7.0.1-rc",
|