@h-ai/serv 1.0.0-beta.20 → 1.0.0-beta.21
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/dist/features/ai.d.ts +4 -4
- package/package.json +16 -16
package/dist/features/ai.d.ts
CHANGED
|
@@ -323,11 +323,11 @@ declare function createAiProcedures(deps: AiProcedureDeps): {
|
|
|
323
323
|
query: zod.ZodString;
|
|
324
324
|
topK: zod.ZodOptional<zod.ZodNumber>;
|
|
325
325
|
types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
326
|
-
instruction: "instruction";
|
|
327
326
|
fact: "fact";
|
|
328
327
|
preference: "preference";
|
|
329
328
|
event: "event";
|
|
330
329
|
entity: "entity";
|
|
330
|
+
instruction: "instruction";
|
|
331
331
|
}>>>;
|
|
332
332
|
minImportance: zod.ZodOptional<zod.ZodNumber>;
|
|
333
333
|
objectId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -338,11 +338,11 @@ declare function createAiProcedures(deps: AiProcedureDeps): {
|
|
|
338
338
|
id: zod.ZodString;
|
|
339
339
|
content: zod.ZodString;
|
|
340
340
|
type: zod.ZodEnum<{
|
|
341
|
-
instruction: "instruction";
|
|
342
341
|
fact: "fact";
|
|
343
342
|
preference: "preference";
|
|
344
343
|
event: "event";
|
|
345
344
|
entity: "entity";
|
|
345
|
+
instruction: "instruction";
|
|
346
346
|
}>;
|
|
347
347
|
importance: zod.ZodNumber;
|
|
348
348
|
objectId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -368,11 +368,11 @@ declare function createAiProcedures(deps: AiProcedureDeps): {
|
|
|
368
368
|
}, zod_v4_core.$strip>], "success">, Record<never, never>, Record<never, never>>;
|
|
369
369
|
list: _orpc_server.Procedure<ServContext & {}, any, zod.ZodObject<{
|
|
370
370
|
types: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
371
|
-
instruction: "instruction";
|
|
372
371
|
fact: "fact";
|
|
373
372
|
preference: "preference";
|
|
374
373
|
event: "event";
|
|
375
374
|
entity: "entity";
|
|
375
|
+
instruction: "instruction";
|
|
376
376
|
}>>>;
|
|
377
377
|
objectId: zod.ZodOptional<zod.ZodString>;
|
|
378
378
|
offset: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -384,11 +384,11 @@ declare function createAiProcedures(deps: AiProcedureDeps): {
|
|
|
384
384
|
id: zod.ZodString;
|
|
385
385
|
content: zod.ZodString;
|
|
386
386
|
type: zod.ZodEnum<{
|
|
387
|
-
instruction: "instruction";
|
|
388
387
|
fact: "fact";
|
|
389
388
|
preference: "preference";
|
|
390
389
|
event: "event";
|
|
391
390
|
entity: "entity";
|
|
391
|
+
instruction: "instruction";
|
|
392
392
|
}>;
|
|
393
393
|
importance: zod.ZodNumber;
|
|
394
394
|
objectId: zod.ZodOptional<zod.ZodString>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h-ai/serv",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.21",
|
|
5
5
|
"description": "Hai Framework service runtime powered by Hono and oRPC.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"exports": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"node": "^22.23.4 || ^24.22.1 || ^26.12.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@h-ai/ai": "1.0.0-beta.
|
|
43
|
-
"@h-ai/feedback": "1.0.0-beta.
|
|
44
|
-
"@h-ai/iam": "1.0.0-beta.
|
|
45
|
-
"@h-ai/storage": "1.0.0-beta.
|
|
42
|
+
"@h-ai/ai": "1.0.0-beta.21",
|
|
43
|
+
"@h-ai/feedback": "1.0.0-beta.21",
|
|
44
|
+
"@h-ai/iam": "1.0.0-beta.21",
|
|
45
|
+
"@h-ai/storage": "1.0.0-beta.21"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@h-ai/ai": {
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@h-ai/api-contract": "1.0.0-beta.
|
|
63
|
-
"@h-ai/audit": "1.0.0-beta.
|
|
64
|
-
"@h-ai/core": "1.0.0-beta.
|
|
65
|
-
"@h-ai/crypto": "1.0.0-beta.
|
|
62
|
+
"@h-ai/api-contract": "1.0.0-beta.21",
|
|
63
|
+
"@h-ai/audit": "1.0.0-beta.21",
|
|
64
|
+
"@h-ai/core": "1.0.0-beta.21",
|
|
65
|
+
"@h-ai/crypto": "1.0.0-beta.21",
|
|
66
66
|
"@hono/node-server": "^2.1.6",
|
|
67
67
|
"@orpc/openapi": "^1.16.2",
|
|
68
68
|
"@orpc/server": "^1.16.2",
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
"zod": "^4.6.7"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@h-ai/ai": "1.0.0-beta.
|
|
77
|
-
"@h-ai/api-client": "1.0.0-beta.
|
|
78
|
-
"@h-ai/cache": "1.0.0-beta.
|
|
79
|
-
"@h-ai/feedback": "1.0.0-beta.
|
|
80
|
-
"@h-ai/iam": "1.0.0-beta.
|
|
81
|
-
"@h-ai/reldb": "1.0.0-beta.
|
|
82
|
-
"@h-ai/storage": "1.0.0-beta.
|
|
76
|
+
"@h-ai/ai": "1.0.0-beta.21",
|
|
77
|
+
"@h-ai/api-client": "1.0.0-beta.21",
|
|
78
|
+
"@h-ai/cache": "1.0.0-beta.21",
|
|
79
|
+
"@h-ai/feedback": "1.0.0-beta.21",
|
|
80
|
+
"@h-ai/iam": "1.0.0-beta.21",
|
|
81
|
+
"@h-ai/reldb": "1.0.0-beta.21",
|
|
82
|
+
"@h-ai/storage": "1.0.0-beta.21",
|
|
83
83
|
"@types/node": "^26.6.6",
|
|
84
84
|
"@types/ws": "^8.18.2",
|
|
85
85
|
"altcha": "^3.5.0",
|