@nextera.one/axis-server-sdk 2.2.0 → 2.2.2
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/axis-sensor-GBEI3Fab.d.mts +209 -0
- package/dist/axis-sensor-GBEI3Fab.d.ts +209 -0
- package/dist/cce/index.d.mts +162 -0
- package/dist/cce/index.d.ts +162 -0
- package/dist/cce/index.js +1502 -0
- package/dist/cce/index.js.map +1 -0
- package/dist/cce/index.mjs +1442 -0
- package/dist/cce/index.mjs.map +1 -0
- package/dist/cce-pipeline-B-zUBHo3.d.mts +294 -0
- package/dist/cce-pipeline-DbGBSsCG.d.ts +294 -0
- package/dist/core/index.d.mts +23 -2
- package/dist/core/index.d.ts +23 -2
- package/dist/idel/index.d.mts +24 -0
- package/dist/idel/index.d.ts +24 -0
- package/dist/idel/index.js +306 -0
- package/dist/idel/index.js.map +1 -0
- package/dist/idel/index.mjs +279 -0
- package/dist/idel/index.mjs.map +1 -0
- package/dist/idel.types-DuUAcOnQ.d.mts +83 -0
- package/dist/idel.types-DuUAcOnQ.d.ts +83 -0
- package/dist/index-B2G6cbRL.d.mts +824 -0
- package/dist/index-DbSxdR0f.d.ts +824 -0
- package/dist/index-_S4fmVUJ.d.mts +501 -0
- package/dist/index-l3Hhirqb.d.ts +501 -0
- package/dist/index.d.mts +91 -3501
- package/dist/index.d.ts +91 -3501
- package/dist/index.js +5052 -4618
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5018 -4597
- package/dist/index.mjs.map +1 -1
- package/dist/needle/index.d.mts +4 -0
- package/dist/needle/index.d.ts +4 -0
- package/dist/needle/index.js +3499 -0
- package/dist/needle/index.js.map +1 -0
- package/dist/needle/index.mjs +3528 -0
- package/dist/needle/index.mjs.map +1 -0
- package/dist/sensors/index.d.mts +5 -0
- package/dist/sensors/index.d.ts +5 -0
- package/dist/sensors/index.js +12860 -0
- package/dist/sensors/index.js.map +1 -0
- package/dist/sensors/index.mjs +12928 -0
- package/dist/sensors/index.mjs.map +1 -0
- package/dist/timeline/index.d.mts +54 -0
- package/dist/timeline/index.d.ts +54 -0
- package/dist/timeline/index.js +389 -0
- package/dist/timeline/index.js.map +1 -0
- package/dist/timeline/index.mjs +362 -0
- package/dist/timeline/index.mjs.map +1 -0
- package/dist/timeline.types-Cn0aqbUj.d.mts +125 -0
- package/dist/timeline.types-Cn0aqbUj.d.ts +125 -0
- package/package.json +28 -10
- package/dist/index-VxXqZPuH.d.mts +0 -51
- package/dist/index-VxXqZPuH.d.ts +0 -51
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
interface IntentProposal {
|
|
2
|
+
raw: string;
|
|
3
|
+
actor_id: string;
|
|
4
|
+
target?: string;
|
|
5
|
+
params?: Record<string, unknown>;
|
|
6
|
+
context?: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
interface CompiledIntent {
|
|
9
|
+
intent: string;
|
|
10
|
+
actor_id: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
constraints: IntentConstraint[];
|
|
14
|
+
confidence: number;
|
|
15
|
+
alternatives: AlternativeIntent[];
|
|
16
|
+
needs_clarification: boolean;
|
|
17
|
+
clarifications: ClarificationQuestion[];
|
|
18
|
+
expected_outcome?: string;
|
|
19
|
+
fallback?: string;
|
|
20
|
+
risk: IntentRisk;
|
|
21
|
+
metadata: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
type ConstraintKind = 'required_param' | 'type_check' | 'range' | 'pattern' | 'temporal' | 'spatial' | 'authority' | 'safety' | 'custom';
|
|
24
|
+
interface IntentConstraint {
|
|
25
|
+
kind: ConstraintKind;
|
|
26
|
+
field: string;
|
|
27
|
+
description: string;
|
|
28
|
+
satisfied: boolean;
|
|
29
|
+
value?: unknown;
|
|
30
|
+
expected?: unknown;
|
|
31
|
+
}
|
|
32
|
+
interface AlternativeIntent {
|
|
33
|
+
intent: string;
|
|
34
|
+
confidence: number;
|
|
35
|
+
reason: string;
|
|
36
|
+
}
|
|
37
|
+
interface ClarificationQuestion {
|
|
38
|
+
id: string;
|
|
39
|
+
question: string;
|
|
40
|
+
field: string;
|
|
41
|
+
options?: string[];
|
|
42
|
+
required: boolean;
|
|
43
|
+
}
|
|
44
|
+
type RiskLevel = 'none' | 'low' | 'medium' | 'high' | 'critical';
|
|
45
|
+
interface IntentRisk {
|
|
46
|
+
level: RiskLevel;
|
|
47
|
+
score: number;
|
|
48
|
+
factors: string[];
|
|
49
|
+
}
|
|
50
|
+
interface IntentParamSchema {
|
|
51
|
+
name: string;
|
|
52
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
53
|
+
required: boolean;
|
|
54
|
+
description?: string;
|
|
55
|
+
default?: unknown;
|
|
56
|
+
pattern?: string;
|
|
57
|
+
min?: number;
|
|
58
|
+
max?: number;
|
|
59
|
+
enum?: unknown[];
|
|
60
|
+
}
|
|
61
|
+
interface IntentSchema {
|
|
62
|
+
intent: string;
|
|
63
|
+
description: string;
|
|
64
|
+
params: IntentParamSchema[];
|
|
65
|
+
required_scopes?: string[];
|
|
66
|
+
risk_level: RiskLevel;
|
|
67
|
+
has_side_effects: boolean;
|
|
68
|
+
reversible: boolean;
|
|
69
|
+
related?: string[];
|
|
70
|
+
tags?: string[];
|
|
71
|
+
}
|
|
72
|
+
interface CompilationResult {
|
|
73
|
+
ok: boolean;
|
|
74
|
+
compiled?: CompiledIntent;
|
|
75
|
+
errors: CompilationError[];
|
|
76
|
+
}
|
|
77
|
+
interface CompilationError {
|
|
78
|
+
code: string;
|
|
79
|
+
message: string;
|
|
80
|
+
field?: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type { AlternativeIntent as A, ClarificationQuestion as C, IntentConstraint as I, RiskLevel as R, CompilationError as a, CompilationResult as b, CompiledIntent as c, ConstraintKind as d, IntentParamSchema as e, IntentProposal as f, IntentRisk as g, IntentSchema as h };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
interface IntentProposal {
|
|
2
|
+
raw: string;
|
|
3
|
+
actor_id: string;
|
|
4
|
+
target?: string;
|
|
5
|
+
params?: Record<string, unknown>;
|
|
6
|
+
context?: Record<string, unknown>;
|
|
7
|
+
}
|
|
8
|
+
interface CompiledIntent {
|
|
9
|
+
intent: string;
|
|
10
|
+
actor_id: string;
|
|
11
|
+
target?: string;
|
|
12
|
+
params: Record<string, unknown>;
|
|
13
|
+
constraints: IntentConstraint[];
|
|
14
|
+
confidence: number;
|
|
15
|
+
alternatives: AlternativeIntent[];
|
|
16
|
+
needs_clarification: boolean;
|
|
17
|
+
clarifications: ClarificationQuestion[];
|
|
18
|
+
expected_outcome?: string;
|
|
19
|
+
fallback?: string;
|
|
20
|
+
risk: IntentRisk;
|
|
21
|
+
metadata: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
type ConstraintKind = 'required_param' | 'type_check' | 'range' | 'pattern' | 'temporal' | 'spatial' | 'authority' | 'safety' | 'custom';
|
|
24
|
+
interface IntentConstraint {
|
|
25
|
+
kind: ConstraintKind;
|
|
26
|
+
field: string;
|
|
27
|
+
description: string;
|
|
28
|
+
satisfied: boolean;
|
|
29
|
+
value?: unknown;
|
|
30
|
+
expected?: unknown;
|
|
31
|
+
}
|
|
32
|
+
interface AlternativeIntent {
|
|
33
|
+
intent: string;
|
|
34
|
+
confidence: number;
|
|
35
|
+
reason: string;
|
|
36
|
+
}
|
|
37
|
+
interface ClarificationQuestion {
|
|
38
|
+
id: string;
|
|
39
|
+
question: string;
|
|
40
|
+
field: string;
|
|
41
|
+
options?: string[];
|
|
42
|
+
required: boolean;
|
|
43
|
+
}
|
|
44
|
+
type RiskLevel = 'none' | 'low' | 'medium' | 'high' | 'critical';
|
|
45
|
+
interface IntentRisk {
|
|
46
|
+
level: RiskLevel;
|
|
47
|
+
score: number;
|
|
48
|
+
factors: string[];
|
|
49
|
+
}
|
|
50
|
+
interface IntentParamSchema {
|
|
51
|
+
name: string;
|
|
52
|
+
type: 'string' | 'number' | 'boolean' | 'object' | 'array';
|
|
53
|
+
required: boolean;
|
|
54
|
+
description?: string;
|
|
55
|
+
default?: unknown;
|
|
56
|
+
pattern?: string;
|
|
57
|
+
min?: number;
|
|
58
|
+
max?: number;
|
|
59
|
+
enum?: unknown[];
|
|
60
|
+
}
|
|
61
|
+
interface IntentSchema {
|
|
62
|
+
intent: string;
|
|
63
|
+
description: string;
|
|
64
|
+
params: IntentParamSchema[];
|
|
65
|
+
required_scopes?: string[];
|
|
66
|
+
risk_level: RiskLevel;
|
|
67
|
+
has_side_effects: boolean;
|
|
68
|
+
reversible: boolean;
|
|
69
|
+
related?: string[];
|
|
70
|
+
tags?: string[];
|
|
71
|
+
}
|
|
72
|
+
interface CompilationResult {
|
|
73
|
+
ok: boolean;
|
|
74
|
+
compiled?: CompiledIntent;
|
|
75
|
+
errors: CompilationError[];
|
|
76
|
+
}
|
|
77
|
+
interface CompilationError {
|
|
78
|
+
code: string;
|
|
79
|
+
message: string;
|
|
80
|
+
field?: string;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type { AlternativeIntent as A, ClarificationQuestion as C, IntentConstraint as I, RiskLevel as R, CompilationError as a, CompilationResult as b, CompiledIntent as c, ConstraintKind as d, IntentParamSchema as e, IntentProposal as f, IntentRisk as g, IntentSchema as h };
|