@h-ai/serv 0.1.0-alpha.68 → 0.1.0-alpha.69
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.en.md +33 -1
- package/README.ja.md +33 -1
- package/README.md +33 -1
- package/dist/features/ai.d.ts +2 -2
- package/dist/features/feedback.d.ts +688 -0
- package/dist/features/feedback.js +82 -0
- package/dist/features/feedback.js.map +1 -0
- package/dist/features/iam.d.ts +1 -1
- package/dist/features/storage.d.ts +2 -2
- package/dist/index.d.ts +11 -4
- package/dist/index.js +27 -8
- package/dist/index.js.map +1 -1
- package/dist/{serv-context-C48WdBcd.d.ts → serv-context-B-AxU8hj.d.ts} +2 -0
- package/dist/{serv-router-BX8hgYxo.d.ts → serv-router-C8dSz2k-.d.ts} +1 -1
- package/package.json +23 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HaiResult } from '@h-ai/core';
|
|
2
2
|
import { ContractRouter, Meta, Context, ContractProcedure, InferSchemaInput, ProcedureHandler, InferSchemaOutput, UnlaziedRouter, Router } from '@orpc/server';
|
|
3
|
-
import { S as ServContext } from './serv-context-
|
|
3
|
+
import { S as ServContext } from './serv-context-B-AxU8hj.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @h-ai/serv — contract-first 链式 procedure 实现器
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h-ai/serv",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.0-alpha.
|
|
4
|
+
"version": "0.1.0-alpha.69",
|
|
5
5
|
"description": "Hai Framework service runtime powered by Hono and oRPC.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"exports": {
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"types": "./dist/features/storage.d.ts",
|
|
19
19
|
"import": "./dist/features/storage.js"
|
|
20
20
|
},
|
|
21
|
+
"./features/feedback": {
|
|
22
|
+
"types": "./dist/features/feedback.d.ts",
|
|
23
|
+
"import": "./dist/features/feedback.js"
|
|
24
|
+
},
|
|
21
25
|
"./features/ai": {
|
|
22
26
|
"types": "./dist/features/ai.d.ts",
|
|
23
27
|
"import": "./dist/features/ai.js"
|
|
@@ -32,17 +36,21 @@
|
|
|
32
36
|
"access": "public"
|
|
33
37
|
},
|
|
34
38
|
"engines": {
|
|
35
|
-
"node": "^22.
|
|
39
|
+
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
|
|
36
40
|
},
|
|
37
41
|
"peerDependencies": {
|
|
38
|
-
"@h-ai/ai": "0.1.0-alpha.
|
|
39
|
-
"@h-ai/
|
|
40
|
-
"@h-ai/
|
|
42
|
+
"@h-ai/ai": "0.1.0-alpha.69",
|
|
43
|
+
"@h-ai/feedback": "0.1.0-alpha.69",
|
|
44
|
+
"@h-ai/iam": "0.1.0-alpha.69",
|
|
45
|
+
"@h-ai/storage": "0.1.0-alpha.69"
|
|
41
46
|
},
|
|
42
47
|
"peerDependenciesMeta": {
|
|
43
48
|
"@h-ai/ai": {
|
|
44
49
|
"optional": true
|
|
45
50
|
},
|
|
51
|
+
"@h-ai/feedback": {
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
46
54
|
"@h-ai/iam": {
|
|
47
55
|
"optional": true
|
|
48
56
|
},
|
|
@@ -51,9 +59,9 @@
|
|
|
51
59
|
}
|
|
52
60
|
},
|
|
53
61
|
"dependencies": {
|
|
54
|
-
"@h-ai/api-contract": "0.1.0-alpha.
|
|
55
|
-
"@h-ai/core": "0.1.0-alpha.
|
|
56
|
-
"@h-ai/crypto": "0.1.0-alpha.
|
|
62
|
+
"@h-ai/api-contract": "0.1.0-alpha.69",
|
|
63
|
+
"@h-ai/core": "0.1.0-alpha.69",
|
|
64
|
+
"@h-ai/crypto": "0.1.0-alpha.69",
|
|
57
65
|
"@hono/node-server": "^2.1.4",
|
|
58
66
|
"@orpc/openapi": "^1.15.5",
|
|
59
67
|
"@orpc/server": "^1.15.5",
|
|
@@ -64,12 +72,13 @@
|
|
|
64
72
|
"zod": "^4.6.5"
|
|
65
73
|
},
|
|
66
74
|
"devDependencies": {
|
|
67
|
-
"@h-ai/ai": "0.1.0-alpha.
|
|
68
|
-
"@h-ai/api-client": "0.1.0-alpha.
|
|
69
|
-
"@h-ai/cache": "0.1.0-alpha.
|
|
70
|
-
"@h-ai/
|
|
71
|
-
"@h-ai/
|
|
72
|
-
"@h-ai/
|
|
75
|
+
"@h-ai/ai": "0.1.0-alpha.69",
|
|
76
|
+
"@h-ai/api-client": "0.1.0-alpha.69",
|
|
77
|
+
"@h-ai/cache": "0.1.0-alpha.69",
|
|
78
|
+
"@h-ai/feedback": "0.1.0-alpha.69",
|
|
79
|
+
"@h-ai/iam": "0.1.0-alpha.69",
|
|
80
|
+
"@h-ai/reldb": "0.1.0-alpha.69",
|
|
81
|
+
"@h-ai/storage": "0.1.0-alpha.69",
|
|
73
82
|
"@types/node": "^26.6.5",
|
|
74
83
|
"@types/ws": "^8.18.2",
|
|
75
84
|
"rimraf": "^6.1.3",
|