@auxiora/runtime 1.3.1 → 1.10.0

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.
Files changed (105) hide show
  1. package/dist/enrichment/__tests__/architect-stage.test.d.ts +2 -0
  2. package/dist/enrichment/__tests__/architect-stage.test.d.ts.map +1 -0
  3. package/dist/enrichment/__tests__/architect-stage.test.js +189 -0
  4. package/dist/enrichment/__tests__/architect-stage.test.js.map +1 -0
  5. package/dist/enrichment/__tests__/integration.test.d.ts +2 -0
  6. package/dist/enrichment/__tests__/integration.test.d.ts.map +1 -0
  7. package/dist/enrichment/__tests__/integration.test.js +79 -0
  8. package/dist/enrichment/__tests__/integration.test.js.map +1 -0
  9. package/dist/enrichment/__tests__/memory-stage.test.d.ts +2 -0
  10. package/dist/enrichment/__tests__/memory-stage.test.d.ts.map +1 -0
  11. package/dist/enrichment/__tests__/memory-stage.test.js +43 -0
  12. package/dist/enrichment/__tests__/memory-stage.test.js.map +1 -0
  13. package/dist/enrichment/__tests__/mode-stage.test.d.ts +2 -0
  14. package/dist/enrichment/__tests__/mode-stage.test.d.ts.map +1 -0
  15. package/dist/enrichment/__tests__/mode-stage.test.js +139 -0
  16. package/dist/enrichment/__tests__/mode-stage.test.js.map +1 -0
  17. package/dist/enrichment/__tests__/model-identity-stage.test.d.ts +2 -0
  18. package/dist/enrichment/__tests__/model-identity-stage.test.d.ts.map +1 -0
  19. package/dist/enrichment/__tests__/model-identity-stage.test.js +74 -0
  20. package/dist/enrichment/__tests__/model-identity-stage.test.js.map +1 -0
  21. package/dist/enrichment/__tests__/pipeline.test.d.ts +2 -0
  22. package/dist/enrichment/__tests__/pipeline.test.d.ts.map +1 -0
  23. package/dist/enrichment/__tests__/pipeline.test.js +78 -0
  24. package/dist/enrichment/__tests__/pipeline.test.js.map +1 -0
  25. package/dist/enrichment/__tests__/self-awareness-stage.test.d.ts +2 -0
  26. package/dist/enrichment/__tests__/self-awareness-stage.test.d.ts.map +1 -0
  27. package/dist/enrichment/__tests__/self-awareness-stage.test.js +71 -0
  28. package/dist/enrichment/__tests__/self-awareness-stage.test.js.map +1 -0
  29. package/dist/enrichment/__tests__/types.test.d.ts +2 -0
  30. package/dist/enrichment/__tests__/types.test.d.ts.map +1 -0
  31. package/dist/enrichment/__tests__/types.test.js +31 -0
  32. package/dist/enrichment/__tests__/types.test.js.map +1 -0
  33. package/dist/enrichment/index.d.ts +8 -0
  34. package/dist/enrichment/index.d.ts.map +1 -0
  35. package/dist/enrichment/index.js +7 -0
  36. package/dist/enrichment/index.js.map +1 -0
  37. package/dist/enrichment/pipeline.d.ts +7 -0
  38. package/dist/enrichment/pipeline.d.ts.map +1 -0
  39. package/dist/enrichment/pipeline.js +29 -0
  40. package/dist/enrichment/pipeline.js.map +1 -0
  41. package/dist/enrichment/stages/architect-stage.d.ts +57 -0
  42. package/dist/enrichment/stages/architect-stage.d.ts.map +1 -0
  43. package/dist/enrichment/stages/architect-stage.js +112 -0
  44. package/dist/enrichment/stages/architect-stage.js.map +1 -0
  45. package/dist/enrichment/stages/memory-stage.d.ts +15 -0
  46. package/dist/enrichment/stages/memory-stage.d.ts.map +1 -0
  47. package/dist/enrichment/stages/memory-stage.js +19 -0
  48. package/dist/enrichment/stages/memory-stage.js.map +1 -0
  49. package/dist/enrichment/stages/mode-stage.d.ts +49 -0
  50. package/dist/enrichment/stages/mode-stage.d.ts.map +1 -0
  51. package/dist/enrichment/stages/mode-stage.js +60 -0
  52. package/dist/enrichment/stages/mode-stage.js.map +1 -0
  53. package/dist/enrichment/stages/model-identity-stage.d.ts +24 -0
  54. package/dist/enrichment/stages/model-identity-stage.d.ts.map +1 -0
  55. package/dist/enrichment/stages/model-identity-stage.js +23 -0
  56. package/dist/enrichment/stages/model-identity-stage.js.map +1 -0
  57. package/dist/enrichment/stages/self-awareness-stage.d.ts +23 -0
  58. package/dist/enrichment/stages/self-awareness-stage.d.ts.map +1 -0
  59. package/dist/enrichment/stages/self-awareness-stage.js +24 -0
  60. package/dist/enrichment/stages/self-awareness-stage.js.map +1 -0
  61. package/dist/enrichment/types.d.ts +45 -0
  62. package/dist/enrichment/types.d.ts.map +1 -0
  63. package/dist/enrichment/types.js +2 -0
  64. package/dist/enrichment/types.js.map +1 -0
  65. package/dist/index.d.ts +77 -4
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +3233 -230
  68. package/dist/index.js.map +1 -1
  69. package/dist/transparency/__tests__/collector.test.d.ts +2 -0
  70. package/dist/transparency/__tests__/collector.test.d.ts.map +1 -0
  71. package/dist/transparency/__tests__/collector.test.js +133 -0
  72. package/dist/transparency/__tests__/collector.test.js.map +1 -0
  73. package/dist/transparency/__tests__/confidence-scorer.test.d.ts +2 -0
  74. package/dist/transparency/__tests__/confidence-scorer.test.d.ts.map +1 -0
  75. package/dist/transparency/__tests__/confidence-scorer.test.js +118 -0
  76. package/dist/transparency/__tests__/confidence-scorer.test.js.map +1 -0
  77. package/dist/transparency/__tests__/source-attributor.test.d.ts +2 -0
  78. package/dist/transparency/__tests__/source-attributor.test.d.ts.map +1 -0
  79. package/dist/transparency/__tests__/source-attributor.test.js +47 -0
  80. package/dist/transparency/__tests__/source-attributor.test.js.map +1 -0
  81. package/dist/transparency/__tests__/types.test.d.ts +2 -0
  82. package/dist/transparency/__tests__/types.test.d.ts.map +1 -0
  83. package/dist/transparency/__tests__/types.test.js +62 -0
  84. package/dist/transparency/__tests__/types.test.js.map +1 -0
  85. package/dist/transparency/collector.d.ts +30 -0
  86. package/dist/transparency/collector.d.ts.map +1 -0
  87. package/dist/transparency/collector.js +79 -0
  88. package/dist/transparency/collector.js.map +1 -0
  89. package/dist/transparency/confidence-scorer.d.ts +17 -0
  90. package/dist/transparency/confidence-scorer.d.ts.map +1 -0
  91. package/dist/transparency/confidence-scorer.js +66 -0
  92. package/dist/transparency/confidence-scorer.js.map +1 -0
  93. package/dist/transparency/index.d.ts +8 -0
  94. package/dist/transparency/index.d.ts.map +1 -0
  95. package/dist/transparency/index.js +4 -0
  96. package/dist/transparency/index.js.map +1 -0
  97. package/dist/transparency/source-attributor.d.ts +10 -0
  98. package/dist/transparency/source-attributor.d.ts.map +1 -0
  99. package/dist/transparency/source-attributor.js +42 -0
  100. package/dist/transparency/source-attributor.js.map +1 -0
  101. package/dist/transparency/types.d.ts +53 -0
  102. package/dist/transparency/types.d.ts.map +1 -0
  103. package/dist/transparency/types.js +2 -0
  104. package/dist/transparency/types.js.map +1 -0
  105. package/package.json +74 -50
@@ -0,0 +1 @@
1
+ {"version":3,"file":"confidence-scorer.js","sourceRoot":"","sources":["../../src/transparency/confidence-scorer.ts"],"names":[],"mappings":"AAkBA,MAAM,UAAU,GAAG,GAAG,CAAC;AACvB,MAAM,eAAe,GAAG,CAAC,CAAC;AAE1B,MAAM,UAAU,eAAe,CAAC,KAAsB;IACpD,IAAI,KAAK,GAAG,UAAU,CAAC;IACvB,MAAM,OAAO,GAAuB,EAAE,CAAC;IAEvC,2BAA2B;IAC3B,IAAI,KAAK,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC/B,KAAK,IAAI,IAAI,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,wBAAwB,KAAK,CAAC,SAAS,CAAC,MAAM,iBAAiB,EAAE,CAAC,CAAC;IACzI,CAAC;IAED,0BAA0B;IAC1B,IAAI,KAAK,CAAC,eAAe,EAAE,CAAC;QAC1B,KAAK,IAAI,IAAI,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,6CAA6C,EAAE,CAAC,CAAC;IACvH,CAAC;IAED,sBAAsB;IACtB,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;QACtB,KAAK,IAAI,IAAI,CAAC;QACd,OAAO,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,oBAAo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js';
2
+ export { scoreConfidence } from './confidence-scorer.js';
3
+ export type { ConfidenceInput, ConfidenceResult } from './confidence-scorer.js';
4
+ export { attributeSources, countHedgePhrases } from './source-attributor.js';
5
+ export type { SourceInput } from './source-attributor.js';
6
+ export { collectTransparencyMeta } from './collector.js';
7
+ export type { CollectorInput } from './collector.js';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transparency/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,UAAU,GACX,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC7E,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { scoreConfidence } from './confidence-scorer.js';
2
+ export { attributeSources, countHedgePhrases } from './source-attributor.js';
3
+ export { collectTransparencyMeta } from './collector.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transparency/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SourceAttribution } from './types.js';
2
+ export interface SourceInput {
3
+ readonly toolsUsed: readonly string[];
4
+ readonly hasMemoryRecall: boolean;
5
+ readonly hasKnowledgeGraph: boolean;
6
+ readonly hasUserData: boolean;
7
+ }
8
+ export declare function attributeSources(input: SourceInput): SourceAttribution[];
9
+ export declare function countHedgePhrases(text: string): number;
10
+ //# sourceMappingURL=source-attributor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-attributor.d.ts","sourceRoot":"","sources":["../../src/transparency/source-attributor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAEpD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAQD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,iBAAiB,EAAE,CA2BxE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAYtD"}
@@ -0,0 +1,42 @@
1
+ const HEDGE_PHRASES = [
2
+ 'i think', 'i believe', "i'm not sure", "i'm not entirely sure",
3
+ 'it might be', 'it could be', 'probably', 'possibly', 'if i recall',
4
+ 'i may be wrong', 'not certain',
5
+ ];
6
+ export function attributeSources(input) {
7
+ const sources = [];
8
+ for (const tool of input.toolsUsed) {
9
+ sources.push({ type: 'tool_result', label: `Tool: ${tool}`, confidence: 0.95 });
10
+ }
11
+ if (input.hasMemoryRecall) {
12
+ sources.push({ type: 'memory_recall', label: 'Similar past conversation', confidence: 0.72 });
13
+ }
14
+ if (input.hasKnowledgeGraph) {
15
+ sources.push({ type: 'knowledge_graph', label: 'Knowledge graph lookup', confidence: 0.85 });
16
+ }
17
+ if (input.hasUserData) {
18
+ sources.push({ type: 'user_data', label: 'User preferences and history', confidence: 0.80 });
19
+ }
20
+ // Always add model generation as the base source
21
+ sources.push({
22
+ type: 'model_generation',
23
+ label: sources.length > 0 ? 'Synthesized from above sources' : 'Generated by model',
24
+ confidence: 0.7,
25
+ });
26
+ return sources;
27
+ }
28
+ export function countHedgePhrases(text) {
29
+ if (!text)
30
+ return 0;
31
+ const lower = text.toLowerCase();
32
+ let count = 0;
33
+ for (const phrase of HEDGE_PHRASES) {
34
+ let idx = 0;
35
+ while ((idx = lower.indexOf(phrase, idx)) !== -1) {
36
+ count++;
37
+ idx += phrase.length;
38
+ }
39
+ }
40
+ return count;
41
+ }
42
+ //# sourceMappingURL=source-attributor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source-attributor.js","sourceRoot":"","sources":["../../src/transparency/source-attributor.ts"],"names":[],"mappings":"AASA,MAAM,aAAa,GAAG;IACpB,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,uBAAuB;IAC/D,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa;IACnE,gBAAgB,EAAE,aAAa;CAChC,CAAC;AAEF,MAAM,UAAU,gBAAgB,CAAC,KAAkB;IACjD,MAAM,OAAO,GAAwB,EAAE,CAAC;IAExC,KAAK,MAAM,IAAI,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;QACnC,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,SAAS,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;IAClF,CAAC;IAED,IAAI,KAAK,CAAC,eAAe,EAAE,CAAC;QAC1B,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,2BAA2B,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;IAChG,CAAC;IAED,IAAI,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC5B,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,wBAAwB,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;QACtB,OAAO,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,8BAA8B,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/F,CAAC;IAED,iDAAiD;IACjD,OAAO,CAAC,IAAI,CAAC;QACX,IAAI,EAAE,kBAAkB;QACxB,KAAK,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,oBAAoB;QACnF,UAAU,EAAE,GAAG;KAChB,CAAC,CAAC;IAEH,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,IAAI,CAAC,IAAI;QAAE,OAAO,CAAC,CAAC;IACpB,MAAM,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACjC,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,MAAM,IAAI,aAAa,EAAE,CAAC;QACnC,IAAI,GAAG,GAAG,CAAC,CAAC;QACZ,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YACjD,KAAK,EAAE,CAAC;YACR,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC;QACvB,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
@@ -0,0 +1,53 @@
1
+ export type ConfidenceLevel = 'high' | 'medium' | 'low';
2
+ export type SourceType = 'tool_result' | 'memory_recall' | 'knowledge_graph' | 'user_data' | 'model_generation';
3
+ export interface ConfidenceFactor {
4
+ readonly signal: string;
5
+ readonly impact: 'positive' | 'negative';
6
+ readonly detail: string;
7
+ }
8
+ export interface SourceAttribution {
9
+ readonly type: SourceType;
10
+ readonly label: string;
11
+ readonly confidence: number;
12
+ }
13
+ export interface TransparencyMeta {
14
+ readonly confidence: {
15
+ readonly level: ConfidenceLevel;
16
+ readonly score: number;
17
+ readonly factors: readonly ConfidenceFactor[];
18
+ };
19
+ readonly sources: readonly SourceAttribution[];
20
+ readonly model: {
21
+ readonly provider: string;
22
+ readonly model: string;
23
+ readonly tokens: {
24
+ readonly input: number;
25
+ readonly output: number;
26
+ };
27
+ readonly cost: {
28
+ readonly input: number;
29
+ readonly output: number;
30
+ readonly total: number;
31
+ };
32
+ readonly finishReason: string;
33
+ readonly latencyMs: number;
34
+ };
35
+ readonly personality: {
36
+ readonly domain: string;
37
+ readonly emotionalRegister: string;
38
+ readonly activeTraits: ReadonlyArray<{
39
+ readonly name: string;
40
+ readonly weight: number;
41
+ }>;
42
+ readonly knowledgeBoundary?: {
43
+ readonly topic: string;
44
+ readonly corrections: number;
45
+ };
46
+ };
47
+ readonly trace: {
48
+ readonly enrichmentStages: readonly string[];
49
+ readonly toolsUsed: readonly string[];
50
+ readonly processingMs: number;
51
+ };
52
+ }
53
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/transparency/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAExD,MAAM,MAAM,UAAU,GAClB,aAAa,GACb,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,kBAAkB,CAAC;AAEvB,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ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ACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;SAC9B,CAAC;KACH,CAAC;IACF,QAAQ,CAAC,KAAK,EAAE;QACd,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;QAC7C,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;QACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;KAC/B,CAAC;CACH"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/transparency/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auxiora/runtime",
3
- "version": "1.3.1",
3
+ "version": "1.10.0",
4
4
  "description": "Runtime that connects all Auxiora components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,57 +13,81 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "express": "^5.1.0",
16
- "@auxiora/audit": "1.3.1",
17
- "@auxiora/logger": "1.3.1",
18
- "@auxiora/autonomy": "1.3.1",
19
- "@auxiora/browser": "1.3.1",
20
- "@auxiora/stt": "1.3.1",
21
- "@auxiora/calendar-intelligence": "1.3.1",
22
- "@auxiora/behaviors": "1.3.1",
23
- "@auxiora/intent": "1.3.1",
24
- "@auxiora/tts": "1.3.1",
25
- "@auxiora/compose": "1.3.1",
26
- "@auxiora/contacts": "1.3.1",
27
- "@auxiora/channels": "1.3.1",
28
- "@auxiora/voice": "1.3.1",
29
- "@auxiora/media": "1.3.1",
30
- "@auxiora/config": "1.3.1",
31
- "@auxiora/core": "1.3.1",
32
- "@auxiora/providers": "1.3.1",
33
- "@auxiora/research": "1.3.1",
34
- "@auxiora/sessions": "1.3.1",
35
- "@auxiora/tools": "1.3.1",
36
- "@auxiora/dashboard": "1.3.1",
37
- "@auxiora/email-intelligence": "1.3.1",
38
- "@auxiora/vault": "1.3.1",
39
- "@auxiora/webhooks": "1.3.1",
40
- "@auxiora/gateway": "1.3.1",
41
- "@auxiora/os-bridge": "1.3.1",
42
- "@auxiora/memory": "1.3.1",
43
- "@auxiora/orchestrator": "1.3.1",
44
- "@auxiora/social": "1.3.1",
45
- "@auxiora/plugins": "1.3.1",
46
- "@auxiora/personality": "1.3.1",
47
- "@auxiora/workflows": "1.3.1",
48
- "@auxiora/agent-protocol": "1.3.1",
49
- "@auxiora/connector-google-workspace": "1.3.1",
50
- "@auxiora/connectors": "1.3.1",
51
- "@auxiora/connector-github": "1.3.1",
52
- "@auxiora/connector-homeassistant": "1.3.1",
53
- "@auxiora/connector-linear": "1.3.1",
54
- "@auxiora/connector-notion": "1.3.1",
55
- "@auxiora/connector-microsoft": "1.3.1",
56
- "@auxiora/connector-social": "1.3.1",
57
- "@auxiora/introspection": "1.3.1",
58
- "@auxiora/ambient": "1.3.1",
59
- "@auxiora/screen": "1.3.1",
60
- "@auxiora/notification-hub": "1.3.1",
61
- "@auxiora/router": "1.3.1",
62
- "@auxiora/self-awareness": "1.3.1",
63
- "@auxiora/conversation": "1.3.1"
16
+ "@auxiora/agent-protocol": "1.10.0",
17
+ "@auxiora/ambient": "1.10.0",
18
+ "@auxiora/approval-queue": "^1.10.0",
19
+ "@auxiora/audit": "1.10.0",
20
+ "@auxiora/a2a": "^1.10.0",
21
+ "@auxiora/autonomy": "1.10.0",
22
+ "@auxiora/backup": "^1.10.0",
23
+ "@auxiora/browser": "1.10.0",
24
+ "@auxiora/calendar-intelligence": "1.10.0",
25
+ "@auxiora/canvas": "^1.10.0",
26
+ "@auxiora/channels": "1.10.0",
27
+ "@auxiora/code-interpreter": "^1.10.0",
28
+ "@auxiora/compose": "1.10.0",
29
+ "@auxiora/connector-google-workspace": "1.10.0",
30
+ "@auxiora/connector-github": "1.10.0",
31
+ "@auxiora/connector-homeassistant": "1.10.0",
32
+ "@auxiora/behaviors": "1.10.0",
33
+ "@auxiora/connector-linear": "1.10.0",
34
+ "@auxiora/config": "1.10.0",
35
+ "@auxiora/connector-notion": "1.10.0",
36
+ "@auxiora/connector-spotify": "1.10.0",
37
+ "@auxiora/connector-social": "1.10.0",
38
+ "@auxiora/connector-hue": "1.10.0",
39
+ "@auxiora/connector-obsidian": "1.10.0",
40
+ "@auxiora/connectors": "1.10.0",
41
+ "@auxiora/consciousness": "1.10.0",
42
+ "@auxiora/connector-microsoft": "1.10.0",
43
+ "@auxiora/contacts": "1.10.0",
44
+ "@auxiora/conversation": "1.10.0",
45
+ "@auxiora/dashboard": "1.10.0",
46
+ "@auxiora/conversation-branch": "^1.10.0",
47
+ "@auxiora/core": "1.10.0",
48
+ "@auxiora/email-intelligence": "1.10.0",
49
+ "@auxiora/gateway": "1.10.0",
50
+ "@auxiora/guardrails": "1.10.0",
51
+ "@auxiora/evaluation": "^1.10.0",
52
+ "@auxiora/intent": "1.10.0",
53
+ "@auxiora/introspection": "1.10.0",
54
+ "@auxiora/image-gen": "^1.10.0",
55
+ "@auxiora/knowledge-graph": "^1.10.0",
56
+ "@auxiora/logger": "1.10.0",
57
+ "@auxiora/mcp": "1.10.0",
58
+ "@auxiora/job-queue": "^1.10.0",
59
+ "@auxiora/memory": "1.10.0",
60
+ "@auxiora/media": "1.10.0",
61
+ "@auxiora/nl-automation": "^1.10.0",
62
+ "@auxiora/orchestrator": "1.10.0",
63
+ "@auxiora/os-bridge": "1.10.0",
64
+ "@auxiora/notification-hub": "1.10.0",
65
+ "@auxiora/personality": "1.10.0",
66
+ "@auxiora/plugins": "1.10.0",
67
+ "@auxiora/react-loop": "^1.10.0",
68
+ "@auxiora/research": "1.10.0",
69
+ "@auxiora/providers": "1.10.0",
70
+ "@auxiora/router": "1.10.0",
71
+ "@auxiora/screen": "1.10.0",
72
+ "@auxiora/sandbox": "^1.10.0",
73
+ "@auxiora/social": "1.10.0",
74
+ "@auxiora/rag": "^1.10.0",
75
+ "@auxiora/stt": "1.10.0",
76
+ "@auxiora/sessions": "1.10.0",
77
+ "@auxiora/tts": "1.10.0",
78
+ "@auxiora/tools": "1.10.0",
79
+ "@auxiora/updater": "1.10.0",
80
+ "@auxiora/vector-store": "^1.10.0",
81
+ "@auxiora/vault": "1.10.0",
82
+ "@auxiora/self-awareness": "1.10.0",
83
+ "@auxiora/webhooks": "1.10.0",
84
+ "@auxiora/workflows": "1.10.0",
85
+ "@auxiora/voice": "1.10.0"
64
86
  },
65
87
  "devDependencies": {
66
- "@types/express": "^5.0.0"
88
+ "@types/express": "^5.0.0",
89
+ "@types/supertest": "^6.0.0",
90
+ "supertest": "^7.1.0"
67
91
  },
68
92
  "engines": {
69
93
  "node": ">=22.0.0"