@h-ai/serv 0.1.0-alpha.73 → 0.1.0-alpha.74

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.
@@ -195,6 +195,8 @@ interface ServContext {
195
195
  readonly locale: string;
196
196
  readonly ip?: string;
197
197
  readonly userAgent?: string;
198
+ /** 客户端终端类别;仅作服务端允许的会话分组,不是硬件身份认证。 */
199
+ readonly terminalType?: 'web' | 'app' | 'desktop' | 'api';
198
200
  readonly accessToken?: string;
199
201
  readonly session?: ServSession;
200
202
  readonly request: Request;
@@ -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-B-AxU8hj.js';
3
+ import { S as ServContext } from './serv-context-DE1JH5bd.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.73",
4
+ "version": "0.1.0-alpha.74",
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": "0.1.0-alpha.73",
43
- "@h-ai/feedback": "0.1.0-alpha.73",
44
- "@h-ai/iam": "0.1.0-alpha.73",
45
- "@h-ai/storage": "0.1.0-alpha.73"
42
+ "@h-ai/ai": "0.1.0-alpha.74",
43
+ "@h-ai/feedback": "0.1.0-alpha.74",
44
+ "@h-ai/iam": "0.1.0-alpha.74",
45
+ "@h-ai/storage": "0.1.0-alpha.74"
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": "0.1.0-alpha.73",
63
- "@h-ai/audit": "0.1.0-alpha.73",
64
- "@h-ai/core": "0.1.0-alpha.73",
65
- "@h-ai/crypto": "0.1.0-alpha.73",
62
+ "@h-ai/api-contract": "0.1.0-alpha.74",
63
+ "@h-ai/audit": "0.1.0-alpha.74",
64
+ "@h-ai/core": "0.1.0-alpha.74",
65
+ "@h-ai/crypto": "0.1.0-alpha.74",
66
66
  "@hono/node-server": "^2.1.4",
67
67
  "@orpc/openapi": "^1.15.5",
68
68
  "@orpc/server": "^1.15.5",
@@ -73,13 +73,13 @@
73
73
  "zod": "^4.6.5"
74
74
  },
75
75
  "devDependencies": {
76
- "@h-ai/ai": "0.1.0-alpha.73",
77
- "@h-ai/api-client": "0.1.0-alpha.73",
78
- "@h-ai/cache": "0.1.0-alpha.73",
79
- "@h-ai/feedback": "0.1.0-alpha.73",
80
- "@h-ai/iam": "0.1.0-alpha.73",
81
- "@h-ai/reldb": "0.1.0-alpha.73",
82
- "@h-ai/storage": "0.1.0-alpha.73",
76
+ "@h-ai/ai": "0.1.0-alpha.74",
77
+ "@h-ai/api-client": "0.1.0-alpha.74",
78
+ "@h-ai/cache": "0.1.0-alpha.74",
79
+ "@h-ai/feedback": "0.1.0-alpha.74",
80
+ "@h-ai/iam": "0.1.0-alpha.74",
81
+ "@h-ai/reldb": "0.1.0-alpha.74",
82
+ "@h-ai/storage": "0.1.0-alpha.74",
83
83
  "@types/node": "^26.6.5",
84
84
  "@types/ws": "^8.18.2",
85
85
  "altcha": "^3.5.0",