@ancatag/n-r 0.2.18 → 0.2.19
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/chat.d.ts +5 -5
- package/dist/chat.d.ts.map +1 -1
- package/dist/chat.js +19 -9
- package/dist/chat.js.map +1 -1
- package/dist/client.d.ts +0 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -7
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +5 -5
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +16 -7
- package/dist/models.js.map +1 -1
- package/dist/proto/engine.proto +431 -0
- package/dist/proto/generated/engine.d.ts +440 -0
- package/dist/proto/generated/engine.d.ts.map +1 -0
- package/dist/proto/generated/engine.js +39 -0
- package/dist/proto/generated/engine.js.map +1 -0
- package/dist/proto/generated/google/protobuf/duration.d.ts +80 -0
- package/dist/proto/generated/google/protobuf/duration.d.ts.map +1 -0
- package/dist/proto/generated/google/protobuf/duration.js +9 -0
- package/dist/proto/generated/google/protobuf/duration.js.map +1 -0
- package/dist/proto/generated/google/protobuf/timestamp.d.ts +110 -0
- package/dist/proto/generated/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/proto/generated/google/protobuf/timestamp.js +9 -0
- package/dist/proto/generated/google/protobuf/timestamp.js.map +1 -0
- package/dist/proto/generated/nova-service.d.ts +478 -0
- package/dist/proto/generated/nova-service.d.ts.map +1 -0
- package/dist/proto/generated/nova-service.js +122 -0
- package/dist/proto/generated/nova-service.js.map +1 -0
- package/dist/proto/nova-service.proto +472 -0
- package/package.json +17 -7
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export declare const protobufPackage = "google.protobuf";
|
|
2
|
+
/**
|
|
3
|
+
* A Timestamp represents a point in time independent of any time zone or local
|
|
4
|
+
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
5
|
+
* nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
|
6
|
+
* January 1, 1970, in the proleptic Gregorian calendar which extends the
|
|
7
|
+
* Gregorian calendar backwards to year one.
|
|
8
|
+
*
|
|
9
|
+
* All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
|
10
|
+
* second table is needed for interpretation, using a [24-hour linear
|
|
11
|
+
* smear](https://developers.google.com/time/smear).
|
|
12
|
+
*
|
|
13
|
+
* The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
|
14
|
+
* restricting to that range, we ensure that we can convert to and from [RFC
|
|
15
|
+
* 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
|
16
|
+
*
|
|
17
|
+
* # Examples
|
|
18
|
+
*
|
|
19
|
+
* Example 1: Compute Timestamp from POSIX `time()`.
|
|
20
|
+
*
|
|
21
|
+
* Timestamp timestamp;
|
|
22
|
+
* timestamp.set_seconds(time(NULL));
|
|
23
|
+
* timestamp.set_nanos(0);
|
|
24
|
+
*
|
|
25
|
+
* Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
|
26
|
+
*
|
|
27
|
+
* struct timeval tv;
|
|
28
|
+
* gettimeofday(&tv, NULL);
|
|
29
|
+
*
|
|
30
|
+
* Timestamp timestamp;
|
|
31
|
+
* timestamp.set_seconds(tv.tv_sec);
|
|
32
|
+
* timestamp.set_nanos(tv.tv_usec * 1000);
|
|
33
|
+
*
|
|
34
|
+
* Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
|
35
|
+
*
|
|
36
|
+
* FILETIME ft;
|
|
37
|
+
* GetSystemTimeAsFileTime(&ft);
|
|
38
|
+
* UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
|
|
39
|
+
*
|
|
40
|
+
* // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
|
|
41
|
+
* // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
|
|
42
|
+
* Timestamp timestamp;
|
|
43
|
+
* timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
|
44
|
+
* timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
|
45
|
+
*
|
|
46
|
+
* Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
|
47
|
+
*
|
|
48
|
+
* long millis = System.currentTimeMillis();
|
|
49
|
+
*
|
|
50
|
+
* Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
|
51
|
+
* .setNanos((int) ((millis % 1000) * 1000000)).build();
|
|
52
|
+
*
|
|
53
|
+
* Example 5: Compute Timestamp from Java `Instant.now()`.
|
|
54
|
+
*
|
|
55
|
+
* Instant now = Instant.now();
|
|
56
|
+
*
|
|
57
|
+
* Timestamp timestamp =
|
|
58
|
+
* Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
|
59
|
+
* .setNanos(now.getNano()).build();
|
|
60
|
+
*
|
|
61
|
+
* Example 6: Compute Timestamp from current time in Python.
|
|
62
|
+
*
|
|
63
|
+
* timestamp = Timestamp()
|
|
64
|
+
* timestamp.GetCurrentTime()
|
|
65
|
+
*
|
|
66
|
+
* # JSON Mapping
|
|
67
|
+
*
|
|
68
|
+
* In JSON format, the Timestamp type is encoded as a string in the
|
|
69
|
+
* [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
|
|
70
|
+
* format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
|
|
71
|
+
* where {year} is always expressed using four digits while {month}, {day},
|
|
72
|
+
* {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
|
|
73
|
+
* seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
|
|
74
|
+
* are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
|
|
75
|
+
* is required. A proto3 JSON serializer should always use UTC (as indicated by
|
|
76
|
+
* "Z") when printing the Timestamp type and a proto3 JSON parser should be
|
|
77
|
+
* able to accept both UTC and other timezones (as indicated by an offset).
|
|
78
|
+
*
|
|
79
|
+
* For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
|
|
80
|
+
* 01:30 UTC on January 15, 2017.
|
|
81
|
+
*
|
|
82
|
+
* In JavaScript, one can convert a Date object to this format using the
|
|
83
|
+
* standard
|
|
84
|
+
* [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
|
85
|
+
* method. In Python, a standard `datetime.datetime` object can be converted
|
|
86
|
+
* to this format using
|
|
87
|
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
|
88
|
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
|
89
|
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
|
90
|
+
* http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
|
91
|
+
* ) to obtain a formatter capable of generating timestamps in this format.
|
|
92
|
+
*/
|
|
93
|
+
export interface Timestamp {
|
|
94
|
+
/**
|
|
95
|
+
* Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
96
|
+
* be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
97
|
+
* 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
98
|
+
*/
|
|
99
|
+
seconds: number;
|
|
100
|
+
/**
|
|
101
|
+
* Non-negative fractions of a second at nanosecond resolution. This field is
|
|
102
|
+
* the nanosecond portion of the duration, not an alternative to seconds.
|
|
103
|
+
* Negative second values with fractions must still have non-negative nanos
|
|
104
|
+
* values that count forward in time. Must be between 0 and 999,999,999
|
|
105
|
+
* inclusive.
|
|
106
|
+
*/
|
|
107
|
+
nanos: number;
|
|
108
|
+
}
|
|
109
|
+
export declare const GOOGLE_PROTOBUF_PACKAGE_NAME = "google.protobuf";
|
|
110
|
+
//# sourceMappingURL=timestamp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timestamp.d.ts","sourceRoot":"","sources":["../../../../../src/proto/generated/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,4BAA4B,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.11.2
|
|
4
|
+
// protoc v6.33.4
|
|
5
|
+
// source: google/protobuf/timestamp.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
export const protobufPackage = "google.protobuf";
|
|
8
|
+
export const GOOGLE_PROTOBUF_PACKAGE_NAME = "google.protobuf";
|
|
9
|
+
//# sourceMappingURL=timestamp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../../../src/proto/generated/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,0CAA0C;AAE1C,oBAAoB;AAEpB,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AA8GjD,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
import type { Metadata } from "@grpc/grpc-js";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { Duration } from "./google/protobuf/duration";
|
|
4
|
+
import { Timestamp } from "./google/protobuf/timestamp";
|
|
5
|
+
export declare const protobufPackage = "nova.service";
|
|
6
|
+
export declare enum GenerationType {
|
|
7
|
+
GENERATION_TYPE_UNSPECIFIED = 0,
|
|
8
|
+
GENERATION_TYPE_TEXT = 1,
|
|
9
|
+
GENERATION_TYPE_IMAGE = 2,
|
|
10
|
+
GENERATION_TYPE_VIDEO = 3,
|
|
11
|
+
GENERATION_TYPE_AUDIO = 4,
|
|
12
|
+
UNRECOGNIZED = -1
|
|
13
|
+
}
|
|
14
|
+
export declare enum StreamingMode {
|
|
15
|
+
STREAMING_MODE_NONE = 0,
|
|
16
|
+
/** STREAMING_MODE_TOKEN - Stream token by token */
|
|
17
|
+
STREAMING_MODE_TOKEN = 1,
|
|
18
|
+
/** STREAMING_MODE_CHUNK - Stream in chunks */
|
|
19
|
+
STREAMING_MODE_CHUNK = 2,
|
|
20
|
+
UNRECOGNIZED = -1
|
|
21
|
+
}
|
|
22
|
+
export declare enum ErrorCode {
|
|
23
|
+
ERROR_CODE_UNSPECIFIED = 0,
|
|
24
|
+
ERROR_CODE_SUCCESS = 1,
|
|
25
|
+
ERROR_CODE_INVALID_REQUEST = 2,
|
|
26
|
+
ERROR_CODE_AUTHENTICATION_FAILED = 3,
|
|
27
|
+
ERROR_CODE_ACCESS_DENIED = 4,
|
|
28
|
+
ERROR_CODE_MODEL_NOT_FOUND = 5,
|
|
29
|
+
ERROR_CODE_PROVIDER_UNAVAILABLE = 6,
|
|
30
|
+
ERROR_CODE_RATE_LIMIT_EXCEEDED = 7,
|
|
31
|
+
ERROR_CODE_QUOTA_EXCEEDED = 8,
|
|
32
|
+
ERROR_CODE_PROMPT_TOO_LONG = 9,
|
|
33
|
+
ERROR_CODE_PARAMETER_ERROR = 10,
|
|
34
|
+
ERROR_CODE_GENERATION_FAILED = 11,
|
|
35
|
+
ERROR_CODE_TIMEOUT = 12,
|
|
36
|
+
ERROR_CODE_INTERNAL_ERROR = 13,
|
|
37
|
+
ERROR_CODE_SERVICE_UNAVAILABLE = 14,
|
|
38
|
+
ERROR_CODE_NOT_IMPLEMENTED = 15,
|
|
39
|
+
ERROR_CODE_DATABASE_ERROR = 16,
|
|
40
|
+
ERROR_CODE_CACHE_ERROR = 17,
|
|
41
|
+
ERROR_CODE_VECTOR_DB_ERROR = 18,
|
|
42
|
+
ERROR_CODE_PROVIDER_TIMEOUT = 19,
|
|
43
|
+
ERROR_CODE_PROVIDER_RATE_LIMIT = 20,
|
|
44
|
+
ERROR_CODE_PROVIDER_AUTH_ERROR = 21,
|
|
45
|
+
ERROR_CODE_PROVIDER_QUOTA_EXCEEDED = 22,
|
|
46
|
+
ERROR_CODE_PROVIDER_INVALID_REQUEST = 23,
|
|
47
|
+
ERROR_CODE_PROVIDER_GENERATION_FAILED = 24,
|
|
48
|
+
ERROR_CODE_MAINTENANCE_MODE = 25,
|
|
49
|
+
ERROR_CODE_DEPRECATED_MODEL = 26,
|
|
50
|
+
UNRECOGNIZED = -1
|
|
51
|
+
}
|
|
52
|
+
export declare enum ErrorCategory {
|
|
53
|
+
ERROR_CATEGORY_UNSPECIFIED = 0,
|
|
54
|
+
/** ERROR_CATEGORY_CLIENT - Client error (4xx) */
|
|
55
|
+
ERROR_CATEGORY_CLIENT = 1,
|
|
56
|
+
/** ERROR_CATEGORY_SERVER - Server error (5xx) */
|
|
57
|
+
ERROR_CATEGORY_SERVER = 2,
|
|
58
|
+
/** ERROR_CATEGORY_PROVIDER - Provider error */
|
|
59
|
+
ERROR_CATEGORY_PROVIDER = 3,
|
|
60
|
+
/** ERROR_CATEGORY_RATE_LIMIT - Rate limiting */
|
|
61
|
+
ERROR_CATEGORY_RATE_LIMIT = 4,
|
|
62
|
+
/** ERROR_CATEGORY_AUTHENTICATION - Auth related */
|
|
63
|
+
ERROR_CATEGORY_AUTHENTICATION = 5,
|
|
64
|
+
/** ERROR_CATEGORY_AUTHORIZATION - Permission related */
|
|
65
|
+
ERROR_CATEGORY_AUTHORIZATION = 6,
|
|
66
|
+
/** ERROR_CATEGORY_VALIDATION - Input validation */
|
|
67
|
+
ERROR_CATEGORY_VALIDATION = 7,
|
|
68
|
+
/** ERROR_CATEGORY_QUOTA - Quota/limit exceeded */
|
|
69
|
+
ERROR_CATEGORY_QUOTA = 8,
|
|
70
|
+
/** ERROR_CATEGORY_NOT_FOUND - Resource not found */
|
|
71
|
+
ERROR_CATEGORY_NOT_FOUND = 9,
|
|
72
|
+
/** ERROR_CATEGORY_NOT_IMPLEMENTED - Feature not implemented */
|
|
73
|
+
ERROR_CATEGORY_NOT_IMPLEMENTED = 10,
|
|
74
|
+
/** ERROR_CATEGORY_MAINTENANCE - Service maintenance */
|
|
75
|
+
ERROR_CATEGORY_MAINTENANCE = 11,
|
|
76
|
+
/** ERROR_CATEGORY_TEMPORARY - Temporary error, retry later */
|
|
77
|
+
ERROR_CATEGORY_TEMPORARY = 12,
|
|
78
|
+
/** ERROR_CATEGORY_PERMANENT - Permanent error, no retry */
|
|
79
|
+
ERROR_CATEGORY_PERMANENT = 13,
|
|
80
|
+
UNRECOGNIZED = -1
|
|
81
|
+
}
|
|
82
|
+
export declare enum StatusCode {
|
|
83
|
+
STATUS_CODE_HEALTHY = 0,
|
|
84
|
+
STATUS_CODE_DEGRADED = 1,
|
|
85
|
+
STATUS_CODE_UNHEALTHY = 2,
|
|
86
|
+
STATUS_CODE_MAINTENANCE = 3,
|
|
87
|
+
STATUS_CODE_UNKNOWN = 4,
|
|
88
|
+
UNRECOGNIZED = -1
|
|
89
|
+
}
|
|
90
|
+
export interface ModelSelection {
|
|
91
|
+
/** Option 1: Use a preset ID (RECOMMENDED) */
|
|
92
|
+
presetId?: string | undefined;
|
|
93
|
+
/** Option 2: Specify exact model UUID */
|
|
94
|
+
modelId?: string | undefined;
|
|
95
|
+
/** Option 3: Provider + Generation Type + Parameters */
|
|
96
|
+
providerSelection?: ProviderSelection | undefined;
|
|
97
|
+
/** Option 4: Auto-select best model for generation type */
|
|
98
|
+
autoSelect?: GenerationType | undefined;
|
|
99
|
+
}
|
|
100
|
+
export interface ProviderSelection {
|
|
101
|
+
/** ProviderIntegration.id */
|
|
102
|
+
providerId: string;
|
|
103
|
+
/** Text, Image, Video, Audio */
|
|
104
|
+
type: GenerationType;
|
|
105
|
+
/** Provider-specific params */
|
|
106
|
+
parameters: {
|
|
107
|
+
[key: string]: string;
|
|
108
|
+
};
|
|
109
|
+
/** Selection priority */
|
|
110
|
+
priority: number;
|
|
111
|
+
}
|
|
112
|
+
export interface ProviderSelection_ParametersEntry {
|
|
113
|
+
key: string;
|
|
114
|
+
value: string;
|
|
115
|
+
}
|
|
116
|
+
export interface GenerateTextRequest {
|
|
117
|
+
prompt: string;
|
|
118
|
+
context: GenerationContext | undefined;
|
|
119
|
+
modelSelection: ModelSelection | undefined;
|
|
120
|
+
/** Generation parameters */
|
|
121
|
+
maxTokens: number;
|
|
122
|
+
temperature: number;
|
|
123
|
+
topP: number;
|
|
124
|
+
topK: number;
|
|
125
|
+
stopSequences: string;
|
|
126
|
+
includeContext: boolean;
|
|
127
|
+
/** Streaming */
|
|
128
|
+
streamingMode: StreamingMode;
|
|
129
|
+
enableStreaming: boolean;
|
|
130
|
+
/** Request metadata */
|
|
131
|
+
requestId: string;
|
|
132
|
+
clientId: string;
|
|
133
|
+
characterId: string;
|
|
134
|
+
userId: string;
|
|
135
|
+
timeout: Duration | undefined;
|
|
136
|
+
/** Generation options */
|
|
137
|
+
enableCache: boolean;
|
|
138
|
+
enableSemanticCache: boolean;
|
|
139
|
+
retryOnFailure: boolean;
|
|
140
|
+
maxRetries: number;
|
|
141
|
+
}
|
|
142
|
+
export interface GenerateTextResponse {
|
|
143
|
+
result: GenerationResult | undefined;
|
|
144
|
+
usedModel: ModelInfo | undefined;
|
|
145
|
+
usage: UsageStats | undefined;
|
|
146
|
+
processingTime: Duration | undefined;
|
|
147
|
+
cached: boolean;
|
|
148
|
+
semanticCacheHit: boolean;
|
|
149
|
+
}
|
|
150
|
+
export interface GenerateTextStreamResponse {
|
|
151
|
+
token: string;
|
|
152
|
+
tokenIndex: number;
|
|
153
|
+
usedModel: ModelInfo | undefined;
|
|
154
|
+
error: GenerationError | undefined;
|
|
155
|
+
completed: boolean;
|
|
156
|
+
usage: UsageStats | undefined;
|
|
157
|
+
}
|
|
158
|
+
export interface GenerateImageRequest {
|
|
159
|
+
prompt: string;
|
|
160
|
+
context: GenerationContext | undefined;
|
|
161
|
+
modelSelection: ModelSelection | undefined;
|
|
162
|
+
/** Image parameters */
|
|
163
|
+
width: number;
|
|
164
|
+
height: number;
|
|
165
|
+
style: string;
|
|
166
|
+
numImages: number;
|
|
167
|
+
negativePrompt: string;
|
|
168
|
+
/** Request metadata */
|
|
169
|
+
requestId: string;
|
|
170
|
+
clientId: string;
|
|
171
|
+
characterId: string;
|
|
172
|
+
userId: string;
|
|
173
|
+
timeout: Duration | undefined;
|
|
174
|
+
/** Generation options */
|
|
175
|
+
enableCache: boolean;
|
|
176
|
+
retryOnFailure: boolean;
|
|
177
|
+
}
|
|
178
|
+
export interface GenerateImageResponse {
|
|
179
|
+
/** NULL IMPLEMENTATION - Coming Soon */
|
|
180
|
+
error: GenerationError | undefined;
|
|
181
|
+
/** "Image generation coming soon" */
|
|
182
|
+
message: string;
|
|
183
|
+
result: GenerationResult | undefined;
|
|
184
|
+
usedModel: ModelInfo | undefined;
|
|
185
|
+
}
|
|
186
|
+
export interface GenerateAudioRequest {
|
|
187
|
+
text: string;
|
|
188
|
+
context: GenerationContext | undefined;
|
|
189
|
+
modelSelection: ModelSelection | undefined;
|
|
190
|
+
/** Audio parameters */
|
|
191
|
+
voice: string;
|
|
192
|
+
speed: number;
|
|
193
|
+
pitch: number;
|
|
194
|
+
format: string;
|
|
195
|
+
/** Request metadata */
|
|
196
|
+
requestId: string;
|
|
197
|
+
clientId: string;
|
|
198
|
+
characterId: string;
|
|
199
|
+
userId: string;
|
|
200
|
+
timeout: Duration | undefined;
|
|
201
|
+
/** Generation options */
|
|
202
|
+
enableCache: boolean;
|
|
203
|
+
retryOnFailure: boolean;
|
|
204
|
+
}
|
|
205
|
+
export interface GenerateAudioResponse {
|
|
206
|
+
/** NULL IMPLEMENTATION - Coming Soon */
|
|
207
|
+
error: GenerationError | undefined;
|
|
208
|
+
/** "Audio generation coming soon" */
|
|
209
|
+
message: string;
|
|
210
|
+
result: GenerationResult | undefined;
|
|
211
|
+
usedModel: ModelInfo | undefined;
|
|
212
|
+
}
|
|
213
|
+
export interface GenerateVideoRequest {
|
|
214
|
+
prompt: string;
|
|
215
|
+
context: GenerationContext | undefined;
|
|
216
|
+
modelSelection: ModelSelection | undefined;
|
|
217
|
+
/** Video parameters */
|
|
218
|
+
duration: number;
|
|
219
|
+
width: number;
|
|
220
|
+
height: number;
|
|
221
|
+
fps: number;
|
|
222
|
+
style: string;
|
|
223
|
+
/** Request metadata */
|
|
224
|
+
requestId: string;
|
|
225
|
+
clientId: string;
|
|
226
|
+
characterId: string;
|
|
227
|
+
userId: string;
|
|
228
|
+
timeout: Duration | undefined;
|
|
229
|
+
/** Generation options */
|
|
230
|
+
enableCache: boolean;
|
|
231
|
+
retryOnFailure: boolean;
|
|
232
|
+
}
|
|
233
|
+
export interface GenerateVideoResponse {
|
|
234
|
+
/** NULL IMPLEMENTATION - Coming Soon */
|
|
235
|
+
error: GenerationError | undefined;
|
|
236
|
+
/** "Video generation coming soon" */
|
|
237
|
+
message: string;
|
|
238
|
+
result: GenerationResult | undefined;
|
|
239
|
+
usedModel: ModelInfo | undefined;
|
|
240
|
+
}
|
|
241
|
+
export interface GenerationContext {
|
|
242
|
+
/** Character context */
|
|
243
|
+
characterId: string;
|
|
244
|
+
personality: CharacterPersonality | undefined;
|
|
245
|
+
/** Conversation history (for context) */
|
|
246
|
+
conversationHistory: Message[];
|
|
247
|
+
/** User preferences */
|
|
248
|
+
userPreferences: {
|
|
249
|
+
[key: string]: string;
|
|
250
|
+
};
|
|
251
|
+
/** Session information */
|
|
252
|
+
sessionId: string;
|
|
253
|
+
sessionStart: Timestamp | undefined;
|
|
254
|
+
/** Custom metadata */
|
|
255
|
+
metadata: {
|
|
256
|
+
[key: string]: string;
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
export interface GenerationContext_UserPreferencesEntry {
|
|
260
|
+
key: string;
|
|
261
|
+
value: string;
|
|
262
|
+
}
|
|
263
|
+
export interface GenerationContext_MetadataEntry {
|
|
264
|
+
key: string;
|
|
265
|
+
value: string;
|
|
266
|
+
}
|
|
267
|
+
export interface CharacterPersonality {
|
|
268
|
+
name: string;
|
|
269
|
+
description: string;
|
|
270
|
+
traits: string[];
|
|
271
|
+
background: string;
|
|
272
|
+
interests: string[];
|
|
273
|
+
speakingStyle: string;
|
|
274
|
+
customFields: {
|
|
275
|
+
[key: string]: string;
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
export interface CharacterPersonality_CustomFieldsEntry {
|
|
279
|
+
key: string;
|
|
280
|
+
value: string;
|
|
281
|
+
}
|
|
282
|
+
export interface Message {
|
|
283
|
+
/** "user", "assistant", "system" */
|
|
284
|
+
role: string;
|
|
285
|
+
content: string;
|
|
286
|
+
timestamp: Timestamp | undefined;
|
|
287
|
+
metadata: {
|
|
288
|
+
[key: string]: string;
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
export interface Message_MetadataEntry {
|
|
292
|
+
key: string;
|
|
293
|
+
value: string;
|
|
294
|
+
}
|
|
295
|
+
export interface GenerationResult {
|
|
296
|
+
/** Main result (text, URL, etc.) */
|
|
297
|
+
result: string;
|
|
298
|
+
/** Extra information */
|
|
299
|
+
additionalData: string[];
|
|
300
|
+
/** Generation metadata */
|
|
301
|
+
metadata: {
|
|
302
|
+
[key: string]: string;
|
|
303
|
+
};
|
|
304
|
+
/** "text", "image_url", "audio_url", etc. */
|
|
305
|
+
contentType: string;
|
|
306
|
+
generatedAt: Timestamp | undefined;
|
|
307
|
+
}
|
|
308
|
+
export interface GenerationResult_MetadataEntry {
|
|
309
|
+
key: string;
|
|
310
|
+
value: string;
|
|
311
|
+
}
|
|
312
|
+
export interface ModelInfo {
|
|
313
|
+
modelId: string;
|
|
314
|
+
modelName: string;
|
|
315
|
+
providerId: string;
|
|
316
|
+
providerName: string;
|
|
317
|
+
generationType: GenerationType;
|
|
318
|
+
configuration: {
|
|
319
|
+
[key: string]: string;
|
|
320
|
+
};
|
|
321
|
+
version: string;
|
|
322
|
+
}
|
|
323
|
+
export interface ModelInfo_ConfigurationEntry {
|
|
324
|
+
key: string;
|
|
325
|
+
value: string;
|
|
326
|
+
}
|
|
327
|
+
export interface UsageStats {
|
|
328
|
+
inputTokens: number;
|
|
329
|
+
outputTokens: number;
|
|
330
|
+
totalTokens: number;
|
|
331
|
+
costEstimate: number;
|
|
332
|
+
requestsMade: number;
|
|
333
|
+
cacheHits: number;
|
|
334
|
+
semanticCacheHits: number;
|
|
335
|
+
}
|
|
336
|
+
export interface GenerationError {
|
|
337
|
+
errorCode: ErrorCode;
|
|
338
|
+
errorMessage: string;
|
|
339
|
+
errorDetails: string;
|
|
340
|
+
retryable: boolean;
|
|
341
|
+
retryAfterSeconds: number;
|
|
342
|
+
category: ErrorCategory;
|
|
343
|
+
/** Context about the error */
|
|
344
|
+
providerId: string;
|
|
345
|
+
modelId: string;
|
|
346
|
+
requestId: string;
|
|
347
|
+
/** Debug information */
|
|
348
|
+
debugInfo: {
|
|
349
|
+
[key: string]: string;
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
export interface GenerationError_DebugInfoEntry {
|
|
353
|
+
key: string;
|
|
354
|
+
value: string;
|
|
355
|
+
}
|
|
356
|
+
export interface HealthCheckRequest {
|
|
357
|
+
includeDetails: boolean;
|
|
358
|
+
checkProviders: boolean;
|
|
359
|
+
checkCache: boolean;
|
|
360
|
+
checkDatabase: boolean;
|
|
361
|
+
}
|
|
362
|
+
export interface HealthCheckResponse {
|
|
363
|
+
status: ServiceStatus | undefined;
|
|
364
|
+
message: string;
|
|
365
|
+
timestamp: Timestamp | undefined;
|
|
366
|
+
providerHealth: ProviderHealth[];
|
|
367
|
+
metrics: SystemMetrics | undefined;
|
|
368
|
+
}
|
|
369
|
+
export interface ServiceStatus {
|
|
370
|
+
status: StatusCode;
|
|
371
|
+
uptimeSeconds: number;
|
|
372
|
+
totalRequests: number;
|
|
373
|
+
activeRequests: number;
|
|
374
|
+
cpuUsage: number;
|
|
375
|
+
memoryUsage: number;
|
|
376
|
+
cacheHitRate: number;
|
|
377
|
+
semanticCacheHitRate: number;
|
|
378
|
+
}
|
|
379
|
+
export interface ProviderHealth {
|
|
380
|
+
providerId: string;
|
|
381
|
+
providerName: string;
|
|
382
|
+
isHealthy: boolean;
|
|
383
|
+
responseTimeMs: number;
|
|
384
|
+
supportedTypes: GenerationType[];
|
|
385
|
+
errorMessage: string;
|
|
386
|
+
lastCheck: Timestamp | undefined;
|
|
387
|
+
}
|
|
388
|
+
export interface SystemMetrics {
|
|
389
|
+
totalProviders: number;
|
|
390
|
+
activeProviders: number;
|
|
391
|
+
totalModels: number;
|
|
392
|
+
activeModels: number;
|
|
393
|
+
totalPresets: number;
|
|
394
|
+
activeClients: number;
|
|
395
|
+
cacheSize: number;
|
|
396
|
+
vectorCacheSize: number;
|
|
397
|
+
}
|
|
398
|
+
export interface ListModelsRequest {
|
|
399
|
+
type: GenerationType;
|
|
400
|
+
activeOnly: boolean;
|
|
401
|
+
providerId: string;
|
|
402
|
+
includeInactive: boolean;
|
|
403
|
+
}
|
|
404
|
+
export interface ListModelsResponse {
|
|
405
|
+
models: ModelInfo[];
|
|
406
|
+
totalCount: number;
|
|
407
|
+
activeCount: number;
|
|
408
|
+
}
|
|
409
|
+
export interface ListPresetsRequest {
|
|
410
|
+
type: GenerationType;
|
|
411
|
+
/** "free", "basic", "premium", "unlimited" */
|
|
412
|
+
tier: string;
|
|
413
|
+
activeOnly: boolean;
|
|
414
|
+
}
|
|
415
|
+
export interface ModelPreset {
|
|
416
|
+
presetId: string;
|
|
417
|
+
name: string;
|
|
418
|
+
description: string;
|
|
419
|
+
tier: string;
|
|
420
|
+
type: GenerationType;
|
|
421
|
+
modelId: string;
|
|
422
|
+
modelInfo: ModelInfo | undefined;
|
|
423
|
+
parameters: {
|
|
424
|
+
[key: string]: string;
|
|
425
|
+
};
|
|
426
|
+
isDefault: boolean;
|
|
427
|
+
isActive: boolean;
|
|
428
|
+
features: {
|
|
429
|
+
[key: string]: string;
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
export interface ModelPreset_ParametersEntry {
|
|
433
|
+
key: string;
|
|
434
|
+
value: string;
|
|
435
|
+
}
|
|
436
|
+
export interface ModelPreset_FeaturesEntry {
|
|
437
|
+
key: string;
|
|
438
|
+
value: string;
|
|
439
|
+
}
|
|
440
|
+
export interface ListPresetsResponse {
|
|
441
|
+
presets: ModelPreset[];
|
|
442
|
+
totalCount: number;
|
|
443
|
+
activeCount: number;
|
|
444
|
+
}
|
|
445
|
+
export declare const NOVA_SERVICE_PACKAGE_NAME = "nova.service";
|
|
446
|
+
export interface NovaServiceClient {
|
|
447
|
+
/** Text Generation (FULLY IMPLEMENTED with Ollama) */
|
|
448
|
+
generateText(request: GenerateTextRequest, metadata?: Metadata): Observable<GenerateTextResponse>;
|
|
449
|
+
streamText(request: GenerateTextRequest, metadata?: Metadata): Observable<GenerateTextStreamResponse>;
|
|
450
|
+
/** Image Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
451
|
+
generateImage(request: GenerateImageRequest, metadata?: Metadata): Observable<GenerateImageResponse>;
|
|
452
|
+
/** Audio Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
453
|
+
generateAudio(request: GenerateAudioRequest, metadata?: Metadata): Observable<GenerateAudioResponse>;
|
|
454
|
+
/** Video Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
455
|
+
generateVideo(request: GenerateVideoRequest, metadata?: Metadata): Observable<GenerateVideoResponse>;
|
|
456
|
+
/** Administrative & Management */
|
|
457
|
+
healthCheck(request: HealthCheckRequest, metadata?: Metadata): Observable<HealthCheckResponse>;
|
|
458
|
+
listModels(request: ListModelsRequest, metadata?: Metadata): Observable<ListModelsResponse>;
|
|
459
|
+
listPresets(request: ListPresetsRequest, metadata?: Metadata): Observable<ListPresetsResponse>;
|
|
460
|
+
}
|
|
461
|
+
export interface NovaServiceController {
|
|
462
|
+
/** Text Generation (FULLY IMPLEMENTED with Ollama) */
|
|
463
|
+
generateText(request: GenerateTextRequest, metadata?: Metadata): Promise<GenerateTextResponse> | Observable<GenerateTextResponse> | GenerateTextResponse;
|
|
464
|
+
streamText(request: GenerateTextRequest, metadata?: Metadata): Observable<GenerateTextStreamResponse>;
|
|
465
|
+
/** Image Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
466
|
+
generateImage(request: GenerateImageRequest, metadata?: Metadata): Promise<GenerateImageResponse> | Observable<GenerateImageResponse> | GenerateImageResponse;
|
|
467
|
+
/** Audio Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
468
|
+
generateAudio(request: GenerateAudioRequest, metadata?: Metadata): Promise<GenerateAudioResponse> | Observable<GenerateAudioResponse> | GenerateAudioResponse;
|
|
469
|
+
/** Video Generation (NULL IMPLEMENTATION - Coming Soon) */
|
|
470
|
+
generateVideo(request: GenerateVideoRequest, metadata?: Metadata): Promise<GenerateVideoResponse> | Observable<GenerateVideoResponse> | GenerateVideoResponse;
|
|
471
|
+
/** Administrative & Management */
|
|
472
|
+
healthCheck(request: HealthCheckRequest, metadata?: Metadata): Promise<HealthCheckResponse> | Observable<HealthCheckResponse> | HealthCheckResponse;
|
|
473
|
+
listModels(request: ListModelsRequest, metadata?: Metadata): Promise<ListModelsResponse> | Observable<ListModelsResponse> | ListModelsResponse;
|
|
474
|
+
listPresets(request: ListPresetsRequest, metadata?: Metadata): Promise<ListPresetsResponse> | Observable<ListPresetsResponse> | ListPresetsResponse;
|
|
475
|
+
}
|
|
476
|
+
export declare function NovaServiceControllerMethods(): (constructor: Function) => void;
|
|
477
|
+
export declare const NOVA_SERVICE_NAME = "NovaService";
|
|
478
|
+
//# sourceMappingURL=nova-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nova-service.d.ts","sourceRoot":"","sources":["../../../src/proto/generated/nova-service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,oBAAY,cAAc;IACxB,2BAA2B,IAAI;IAC/B,oBAAoB,IAAI;IACxB,qBAAqB,IAAI;IACzB,qBAAqB,IAAI;IACzB,qBAAqB,IAAI;IACzB,YAAY,KAAK;CAClB;AAED,oBAAY,aAAa;IACvB,mBAAmB,IAAI;IACvB,mDAAmD;IACnD,oBAAoB,IAAI;IACxB,8CAA8C;IAC9C,oBAAoB,IAAI;IACxB,YAAY,KAAK;CAClB;AAED,oBAAY,SAAS;IACnB,sBAAsB,IAAI;IAC1B,kBAAkB,IAAI;IACtB,0BAA0B,IAAI;IAC9B,gCAAgC,IAAI;IACpC,wBAAwB,IAAI;IAC5B,0BAA0B,IAAI;IAC9B,+BAA+B,IAAI;IACnC,8BAA8B,IAAI;IAClC,yBAAyB,IAAI;IAC7B,0BAA0B,IAAI;IAC9B,0BAA0B,KAAK;IAC/B,4BAA4B,KAAK;IACjC,kBAAkB,KAAK;IACvB,yBAAyB,KAAK;IAC9B,8BAA8B,KAAK;IACnC,0BAA0B,KAAK;IAC/B,yBAAyB,KAAK;IAC9B,sBAAsB,KAAK;IAC3B,0BAA0B,KAAK;IAC/B,2BAA2B,KAAK;IAChC,8BAA8B,KAAK;IACnC,8BAA8B,KAAK;IACnC,kCAAkC,KAAK;IACvC,mCAAmC,KAAK;IACxC,qCAAqC,KAAK;IAC1C,2BAA2B,KAAK;IA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