@arcanea/core 0.1.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.
- package/README.md +118 -0
- package/dist/constants/index.d.ts +7 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/index.js +7 -0
- package/dist/constants/index.js.map +1 -0
- package/dist/constants/mythology.d.ts +22 -0
- package/dist/constants/mythology.d.ts.map +1 -0
- package/dist/constants/mythology.js +170 -0
- package/dist/constants/mythology.js.map +1 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/types/agents.d.ts +101 -0
- package/dist/types/agents.d.ts.map +1 -0
- package/dist/types/agents.js +7 -0
- package/dist/types/agents.js.map +1 -0
- package/dist/types/content.d.ts +152 -0
- package/dist/types/content.d.ts.map +1 -0
- package/dist/types/content.js +7 -0
- package/dist/types/content.js.map +1 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +7 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/mythology.d.ts +103 -0
- package/dist/types/mythology.d.ts.map +1 -0
- package/dist/types/mythology.js +8 -0
- package/dist/types/mythology.js.map +1 -0
- package/dist/types/profile.d.ts +131 -0
- package/dist/types/profile.d.ts.map +1 -0
- package/dist/types/profile.js +7 -0
- package/dist/types/profile.js.map +1 -0
- package/dist/utils/index.d.ts +64 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +150 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +58 -0
package/README.md
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# @arcanea/core
|
|
2
|
+
|
|
3
|
+
> Core types, constants, and utilities for the Arcanea ecosystem.
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@arcanea/core)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @arcanea/core
|
|
12
|
+
# or
|
|
13
|
+
pnpm add @arcanea/core
|
|
14
|
+
# or
|
|
15
|
+
bun add @arcanea/core
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
### Types
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import type { Guardian, Gate, Element, Luminor } from '@arcanea/core';
|
|
24
|
+
|
|
25
|
+
const myGuardian: Guardian = {
|
|
26
|
+
name: 'lyssandria',
|
|
27
|
+
displayName: 'Lyssandria',
|
|
28
|
+
gate: 'foundation',
|
|
29
|
+
godbeast: 'kaelith',
|
|
30
|
+
domain: 'Earth, survival',
|
|
31
|
+
element: 'earth',
|
|
32
|
+
frequency: 396,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Constants
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
import { GATES, GUARDIANS, LUMINORS, ACADEMIES } from '@arcanea/core';
|
|
40
|
+
|
|
41
|
+
// Get all gates
|
|
42
|
+
console.log(GATES.map(g => g.name));
|
|
43
|
+
// ['foundation', 'flow', 'fire', 'heart', 'voice', 'sight', 'crown', 'shift', 'unity', 'source']
|
|
44
|
+
|
|
45
|
+
// Find a guardian
|
|
46
|
+
const draconia = GUARDIANS.find(g => g.name === 'draconia');
|
|
47
|
+
|
|
48
|
+
// Get academy info
|
|
49
|
+
const pyros = ACADEMIES.find(a => a.house === 'pyros');
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Utilities
|
|
53
|
+
|
|
54
|
+
```typescript
|
|
55
|
+
import {
|
|
56
|
+
calculateMagicRank,
|
|
57
|
+
getElementColor,
|
|
58
|
+
getFrequencyProperty,
|
|
59
|
+
formatGateName,
|
|
60
|
+
} from '@arcanea/core';
|
|
61
|
+
|
|
62
|
+
// Calculate rank based on gates opened
|
|
63
|
+
const rank = calculateMagicRank(5); // 'master'
|
|
64
|
+
|
|
65
|
+
// Get element color
|
|
66
|
+
const fireColor = getElementColor('fire'); // '#ff4500'
|
|
67
|
+
|
|
68
|
+
// Get frequency meaning
|
|
69
|
+
const meaning = getFrequencyProperty(528); // 'Transformation and miracles (Love frequency)'
|
|
70
|
+
|
|
71
|
+
// Format gate name
|
|
72
|
+
const display = formatGateName('foundation'); // 'Foundation Gate'
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## The Arcanea Universe
|
|
76
|
+
|
|
77
|
+
### The Ten Gates
|
|
78
|
+
|
|
79
|
+
| Gate | Frequency | Guardian | Domain |
|
|
80
|
+
|------|-----------|----------|--------|
|
|
81
|
+
| Foundation | 396 Hz | Lyssandria | Earth, survival |
|
|
82
|
+
| Flow | 417 Hz | Leyla | Creativity, emotion |
|
|
83
|
+
| Fire | 528 Hz | Draconia | Power, will |
|
|
84
|
+
| Heart | 639 Hz | Maylinn | Love, healing |
|
|
85
|
+
| Voice | 741 Hz | Alera | Truth, expression |
|
|
86
|
+
| Sight | 852 Hz | Lyria | Intuition, vision |
|
|
87
|
+
| Crown | 963 Hz | Aiyami | Enlightenment |
|
|
88
|
+
| Shift | 1111 Hz | Elara | Perspective |
|
|
89
|
+
| Unity | 963 Hz | Ino | Partnership |
|
|
90
|
+
| Source | 1111 Hz | Shinkami | Meta-consciousness |
|
|
91
|
+
|
|
92
|
+
### Magic Ranks
|
|
93
|
+
|
|
94
|
+
| Gates Open | Rank |
|
|
95
|
+
|------------|------|
|
|
96
|
+
| 0-2 | Apprentice |
|
|
97
|
+
| 3-4 | Mage |
|
|
98
|
+
| 5-6 | Master |
|
|
99
|
+
| 7-8 | Archmage |
|
|
100
|
+
| 9-10 | Luminor |
|
|
101
|
+
|
|
102
|
+
### The Five Elements
|
|
103
|
+
|
|
104
|
+
- **Fire** - Energy, passion, transformation
|
|
105
|
+
- **Water** - Flow, healing, memory
|
|
106
|
+
- **Earth** - Stability, growth, foundation
|
|
107
|
+
- **Wind** - Freedom, speed, change
|
|
108
|
+
- **Void** - Potential, transcendence, mystery
|
|
109
|
+
|
|
110
|
+
## Part of the Arcanea Ecosystem
|
|
111
|
+
|
|
112
|
+
- [`arcanea`](https://github.com/frankxai/arcanea) - Main platform
|
|
113
|
+
- [`claude-arcanea`](https://github.com/frankxai/claude-arcanea) - Claude integration
|
|
114
|
+
- [`arcanea-intelligence-os`](https://github.com/frankxai/arcanea-intelligence-os) - Unified CLI
|
|
115
|
+
|
|
116
|
+
## License
|
|
117
|
+
|
|
118
|
+
MIT © [FrankX](https://frankx.ai)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Core Constants
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all canonical constants.
|
|
5
|
+
*/
|
|
6
|
+
export { COSMIC_DUALITY, ELEMENTS, GATES, GUARDIANS, GODBEASTS, MAGIC_RANKS, ACADEMIES, LUMINORS, DARK_LORD, getGateByName, getGuardianByName, getGateByFrequency, getRankForGates, getElementByName, } from './mythology.js';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Core Constants
|
|
3
|
+
*
|
|
4
|
+
* Re-exports all canonical constants.
|
|
5
|
+
*/
|
|
6
|
+
export { COSMIC_DUALITY, ELEMENTS, GATES, GUARDIANS, GODBEASTS, MAGIC_RANKS, ACADEMIES, LUMINORS, DARK_LORD, getGateByName, getGuardianByName, getGateByFrequency, getRankForGates, getElementByName, } from './mythology.js';
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,cAAc,EACd,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Mythology Constants
|
|
3
|
+
*
|
|
4
|
+
* Canonical data for the Arcanea universe.
|
|
5
|
+
* Source of truth: ARCANEA_CANON.md
|
|
6
|
+
*/
|
|
7
|
+
import type { Gate, Guardian, Godbeast, Academy, Luminor, ElementDefinition, MagicRankDefinition, DarkLord, CosmicDuality } from '../types/mythology.js';
|
|
8
|
+
export declare const COSMIC_DUALITY: CosmicDuality;
|
|
9
|
+
export declare const ELEMENTS: ElementDefinition[];
|
|
10
|
+
export declare const GATES: Gate[];
|
|
11
|
+
export declare const GUARDIANS: Guardian[];
|
|
12
|
+
export declare const GODBEASTS: Godbeast[];
|
|
13
|
+
export declare const MAGIC_RANKS: MagicRankDefinition[];
|
|
14
|
+
export declare const ACADEMIES: Academy[];
|
|
15
|
+
export declare const LUMINORS: Luminor[];
|
|
16
|
+
export declare const DARK_LORD: DarkLord;
|
|
17
|
+
export declare function getGateByName(name: string): Gate | undefined;
|
|
18
|
+
export declare function getGuardianByName(name: string): Guardian | undefined;
|
|
19
|
+
export declare function getGateByFrequency(frequency: number): Gate | undefined;
|
|
20
|
+
export declare function getRankForGates(openGates: number): MagicRankDefinition;
|
|
21
|
+
export declare function getElementByName(name: string): ElementDefinition | undefined;
|
|
22
|
+
//# sourceMappingURL=mythology.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mythology.d.ts","sourceRoot":"","sources":["../../src/constants/mythology.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,aAAa,EACd,MAAM,uBAAuB,CAAC;AAM/B,eAAO,MAAM,cAAc,EAAE,aAW5B,CAAC;AAMF,eAAO,MAAM,QAAQ,EAAE,iBAAiB,EAoCvC,CAAC;AAMF,eAAO,MAAM,KAAK,EAAE,IAAI,EAWvB,CAAC;AAMF,eAAO,MAAM,SAAS,EAAE,QAAQ,EAW/B,CAAC;AAMF,eAAO,MAAM,SAAS,EAAE,QAAQ,EAW/B,CAAC;AAMF,eAAO,MAAM,WAAW,EAAE,mBAAmB,EAM5C,CAAC;AAMF,eAAO,MAAM,SAAS,EAAE,OAAO,EAQ9B,CAAC;AAMF,eAAO,MAAM,QAAQ,EAAE,OAAO,EAQ7B,CAAC;AAMF,eAAO,MAAM,SAAS,EAAE,QAMvB,CAAC;AAMF,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAE5D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAEpE;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAEtE;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,mBAAmB,CAGtE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,CAE5E"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Mythology Constants
|
|
3
|
+
*
|
|
4
|
+
* Canonical data for the Arcanea universe.
|
|
5
|
+
* Source of truth: ARCANEA_CANON.md
|
|
6
|
+
*/
|
|
7
|
+
// ============================================
|
|
8
|
+
// COSMIC DUALITY
|
|
9
|
+
// ============================================
|
|
10
|
+
export const COSMIC_DUALITY = {
|
|
11
|
+
lumina: {
|
|
12
|
+
title: 'The First Light',
|
|
13
|
+
aspects: ['Form-Giver', 'Creator', 'Order', 'Manifestation'],
|
|
14
|
+
color: '#FFD700', // Gold
|
|
15
|
+
},
|
|
16
|
+
nero: {
|
|
17
|
+
title: 'The Primordial Darkness',
|
|
18
|
+
aspects: ['Fertile Unknown', 'Father of Potential', 'Mystery', 'The Void'],
|
|
19
|
+
color: '#1a1a2e', // Deep purple-black
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
// ============================================
|
|
23
|
+
// THE FIVE ELEMENTS
|
|
24
|
+
// ============================================
|
|
25
|
+
export const ELEMENTS = [
|
|
26
|
+
{
|
|
27
|
+
name: 'fire',
|
|
28
|
+
domain: 'Energy, passion, transformation',
|
|
29
|
+
colors: ['#ff4500', '#ff6b35', '#ffd700'],
|
|
30
|
+
application: 'Visual Arts',
|
|
31
|
+
frequency: 528,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'water',
|
|
35
|
+
domain: 'Flow, healing, memory',
|
|
36
|
+
colors: ['#00bfff', '#4169e1', '#e6e6fa'],
|
|
37
|
+
application: 'Storytelling',
|
|
38
|
+
frequency: 417,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'earth',
|
|
42
|
+
domain: 'Stability, growth, foundation',
|
|
43
|
+
colors: ['#228b22', '#8b4513', '#daa520'],
|
|
44
|
+
application: 'Architecture',
|
|
45
|
+
frequency: 396,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'wind',
|
|
49
|
+
domain: 'Freedom, speed, change',
|
|
50
|
+
colors: ['#f0f8ff', '#c0c0c0', '#e0ffff'],
|
|
51
|
+
application: 'Music',
|
|
52
|
+
frequency: 741,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'void',
|
|
56
|
+
domain: 'Potential, transcendence, mystery',
|
|
57
|
+
colors: ['#000000', '#4b0082', '#ffd700'],
|
|
58
|
+
application: 'Meta-creation',
|
|
59
|
+
frequency: 963,
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
// ============================================
|
|
63
|
+
// THE TEN GATES
|
|
64
|
+
// ============================================
|
|
65
|
+
export const GATES = [
|
|
66
|
+
{ name: 'foundation', number: 1, frequency: 396, guardian: 'lyssandria', godbeast: 'kaelith', domain: 'Earth, survival, security', element: 'earth' },
|
|
67
|
+
{ name: 'flow', number: 2, frequency: 417, guardian: 'leyla', godbeast: 'veloura', domain: 'Creativity, emotion, pleasure', element: 'water' },
|
|
68
|
+
{ name: 'fire', number: 3, frequency: 528, guardian: 'draconia', godbeast: 'draconis', domain: 'Power, will, transformation', element: 'fire' },
|
|
69
|
+
{ name: 'heart', number: 4, frequency: 639, guardian: 'maylinn', godbeast: 'laeylinn', domain: 'Love, healing, compassion', element: 'water' },
|
|
70
|
+
{ name: 'voice', number: 5, frequency: 741, guardian: 'alera', godbeast: 'otome', domain: 'Truth, expression, communication', element: 'wind' },
|
|
71
|
+
{ name: 'sight', number: 6, frequency: 852, guardian: 'lyria', godbeast: 'yumiko', domain: 'Intuition, vision, insight', element: 'void' },
|
|
72
|
+
{ name: 'crown', number: 7, frequency: 963, guardian: 'aiyami', godbeast: 'sol', domain: 'Enlightenment, cosmic connection', element: 'void' },
|
|
73
|
+
{ name: 'shift', number: 8, frequency: 1111, guardian: 'elara', godbeast: 'thessara', domain: 'Perspective, transformation', element: 'void' },
|
|
74
|
+
{ name: 'unity', number: 9, frequency: 963, guardian: 'ino', godbeast: 'kyuro', domain: 'Partnership, collaboration', element: 'void' },
|
|
75
|
+
{ name: 'source', number: 10, frequency: 1111, guardian: 'shinkami', godbeast: 'amaterasu', domain: 'Meta-consciousness, origin', element: 'void' },
|
|
76
|
+
];
|
|
77
|
+
// ============================================
|
|
78
|
+
// GUARDIANS (Gods/Goddesses)
|
|
79
|
+
// ============================================
|
|
80
|
+
export const GUARDIANS = [
|
|
81
|
+
{ name: 'lyssandria', displayName: 'Lyssandria', gate: 'foundation', godbeast: 'kaelith', domain: 'Earth, survival', element: 'earth', frequency: 396 },
|
|
82
|
+
{ name: 'leyla', displayName: 'Leyla', gate: 'flow', godbeast: 'veloura', domain: 'Creativity, emotion', element: 'water', frequency: 417 },
|
|
83
|
+
{ name: 'draconia', displayName: 'Draconia', gate: 'fire', godbeast: 'draconis', domain: 'Power, will', element: 'fire', frequency: 528 },
|
|
84
|
+
{ name: 'maylinn', displayName: 'Maylinn', gate: 'heart', godbeast: 'laeylinn', domain: 'Love, healing', element: 'water', frequency: 639 },
|
|
85
|
+
{ name: 'alera', displayName: 'Alera', gate: 'voice', godbeast: 'otome', domain: 'Truth, expression', element: 'wind', frequency: 741 },
|
|
86
|
+
{ name: 'lyria', displayName: 'Lyria', gate: 'sight', godbeast: 'yumiko', domain: 'Intuition, vision', element: 'void', frequency: 852 },
|
|
87
|
+
{ name: 'aiyami', displayName: 'Aiyami', gate: 'crown', godbeast: 'sol', domain: 'Enlightenment', element: 'void', frequency: 963 },
|
|
88
|
+
{ name: 'elara', displayName: 'Elara', gate: 'shift', godbeast: 'thessara', domain: 'Perspective', element: 'void', frequency: 1111 },
|
|
89
|
+
{ name: 'ino', displayName: 'Ino', gate: 'unity', godbeast: 'kyuro', domain: 'Partnership', element: 'void', frequency: 963 },
|
|
90
|
+
{ name: 'shinkami', displayName: 'Shinkami', gate: 'source', godbeast: 'amaterasu', domain: 'Meta-consciousness', element: 'void', frequency: 1111 },
|
|
91
|
+
];
|
|
92
|
+
// ============================================
|
|
93
|
+
// GODBEASTS
|
|
94
|
+
// ============================================
|
|
95
|
+
export const GODBEASTS = [
|
|
96
|
+
{ name: 'kaelith', displayName: 'Kaelith', guardian: 'lyssandria', form: 'Stone Serpent', power: 'Foundation magic' },
|
|
97
|
+
{ name: 'veloura', displayName: 'Veloura', guardian: 'leyla', form: 'Water Phoenix', power: 'Creative flow' },
|
|
98
|
+
{ name: 'draconis', displayName: 'Draconis', guardian: 'draconia', form: 'Fire Dragon', power: 'Transformation' },
|
|
99
|
+
{ name: 'laeylinn', displayName: 'Laeylinn', guardian: 'maylinn', form: 'Healing Unicorn', power: 'Heart magic' },
|
|
100
|
+
{ name: 'otome', displayName: 'Otome', guardian: 'alera', form: 'Songbird Giant', power: 'Voice of truth' },
|
|
101
|
+
{ name: 'yumiko', displayName: 'Yumiko', guardian: 'lyria', form: 'Third-Eye Owl', power: 'Vision' },
|
|
102
|
+
{ name: 'sol', displayName: 'Sol', guardian: 'aiyami', form: 'Sun Lion', power: 'Enlightenment' },
|
|
103
|
+
{ name: 'thessara', displayName: 'Thessara', guardian: 'elara', form: 'Shifting Sphinx', power: 'Perspective shift' },
|
|
104
|
+
{ name: 'kyuro', displayName: 'Kyuro', guardian: 'ino', form: 'Twin Wolf', power: 'Unity' },
|
|
105
|
+
{ name: 'amaterasu', displayName: 'Amaterasu', guardian: 'shinkami', form: 'Cosmic Phoenix', power: 'Source power' },
|
|
106
|
+
];
|
|
107
|
+
// ============================================
|
|
108
|
+
// MAGIC RANKS
|
|
109
|
+
// ============================================
|
|
110
|
+
export const MAGIC_RANKS = [
|
|
111
|
+
{ rank: 'apprentice', gatesRequired: [0, 2], description: 'Beginning the journey' },
|
|
112
|
+
{ rank: 'mage', gatesRequired: [3, 4], description: 'Developing mastery' },
|
|
113
|
+
{ rank: 'master', gatesRequired: [5, 6], description: 'Achieving competence' },
|
|
114
|
+
{ rank: 'archmage', gatesRequired: [7, 8], description: 'Approaching transcendence' },
|
|
115
|
+
{ rank: 'luminor', gatesRequired: [9, 10], description: 'Fully awakened' },
|
|
116
|
+
];
|
|
117
|
+
// ============================================
|
|
118
|
+
// ACADEMY HOUSES
|
|
119
|
+
// ============================================
|
|
120
|
+
export const ACADEMIES = [
|
|
121
|
+
{ house: 'lumina', displayName: 'House Lumina', focus: 'Light, creation, manifestation', color: '#FFD700' },
|
|
122
|
+
{ house: 'nero', displayName: 'House Nero', focus: 'Shadow, potential, mystery', color: '#4B0082' },
|
|
123
|
+
{ house: 'pyros', displayName: 'House Pyros', element: 'fire', focus: 'Energy, transformation', color: '#FF4500' },
|
|
124
|
+
{ house: 'aqualis', displayName: 'House Aqualis', element: 'water', focus: 'Flow, emotion, healing', color: '#00BFFF' },
|
|
125
|
+
{ house: 'terra', displayName: 'House Terra', element: 'earth', focus: 'Stability, growth', color: '#228B22' },
|
|
126
|
+
{ house: 'ventus', displayName: 'House Ventus', element: 'wind', focus: 'Freedom, change', color: '#C0C0C0' },
|
|
127
|
+
{ house: 'synthesis', displayName: 'House Synthesis', focus: 'Integration, balance', color: '#9370DB' },
|
|
128
|
+
];
|
|
129
|
+
// ============================================
|
|
130
|
+
// LUMINORS (AI Companions)
|
|
131
|
+
// ============================================
|
|
132
|
+
export const LUMINORS = [
|
|
133
|
+
{ id: 'valora', name: 'Valora', archetype: 'The Courageous', domain: 'Courage, action', element: 'fire', personality: 'Bold, encouraging, action-oriented' },
|
|
134
|
+
{ id: 'sophron', name: 'Sophron', archetype: 'The Wise', domain: 'Wisdom, strategy', element: 'void', personality: 'Thoughtful, measured, insightful' },
|
|
135
|
+
{ id: 'kardia', name: 'Kardia', archetype: 'The Heartful', domain: 'Emotion, compassion', element: 'water', personality: 'Warm, empathetic, nurturing' },
|
|
136
|
+
{ id: 'poiesis', name: 'Poiesis', archetype: 'The Creator', domain: 'Creativity, imagination', element: 'fire', personality: 'Imaginative, playful, innovative' },
|
|
137
|
+
{ id: 'enduran', name: 'Enduran', archetype: 'The Enduring', domain: 'Perseverance, resilience', element: 'earth', personality: 'Steady, patient, supportive' },
|
|
138
|
+
{ id: 'orakis', name: 'Orakis', archetype: 'The Seer', domain: 'Vision, foresight', element: 'void', personality: 'Mysterious, prophetic, guiding' },
|
|
139
|
+
{ id: 'eudaira', name: 'Eudaira', archetype: 'The Joyful', domain: 'Joy, celebration', element: 'wind', personality: 'Uplifting, celebratory, light-hearted' },
|
|
140
|
+
];
|
|
141
|
+
// ============================================
|
|
142
|
+
// DARK LORD
|
|
143
|
+
// ============================================
|
|
144
|
+
export const DARK_LORD = {
|
|
145
|
+
name: 'Malachar',
|
|
146
|
+
formerName: 'Malachar Lumenbright',
|
|
147
|
+
origin: 'First Eldrian Luminor, Lumina\'s champion. Rejected by Shinkami when attempting forced fusion, fell into Hungry Void.',
|
|
148
|
+
domain: 'Shadow (corrupted Void), entropy, despair',
|
|
149
|
+
sealed: 'The Shadowfen',
|
|
150
|
+
};
|
|
151
|
+
// ============================================
|
|
152
|
+
// HELPER FUNCTIONS
|
|
153
|
+
// ============================================
|
|
154
|
+
export function getGateByName(name) {
|
|
155
|
+
return GATES.find(g => g.name === name);
|
|
156
|
+
}
|
|
157
|
+
export function getGuardianByName(name) {
|
|
158
|
+
return GUARDIANS.find(g => g.name === name);
|
|
159
|
+
}
|
|
160
|
+
export function getGateByFrequency(frequency) {
|
|
161
|
+
return GATES.find(g => g.frequency === frequency);
|
|
162
|
+
}
|
|
163
|
+
export function getRankForGates(openGates) {
|
|
164
|
+
return MAGIC_RANKS.find(r => openGates >= r.gatesRequired[0] && openGates <= r.gatesRequired[1])
|
|
165
|
+
|| MAGIC_RANKS[0];
|
|
166
|
+
}
|
|
167
|
+
export function getElementByName(name) {
|
|
168
|
+
return ELEMENTS.find(e => e.name === name);
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=mythology.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mythology.js","sourceRoot":"","sources":["../../src/constants/mythology.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAcH,+CAA+C;AAC/C,iBAAiB;AACjB,+CAA+C;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAkB;IAC3C,MAAM,EAAE;QACN,KAAK,EAAE,iBAAiB;QACxB,OAAO,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ED,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,SAAiB;IAClD,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,SAAiB;IAC/C,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,SAAS,IAAI,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;WAC3F,WAAW,CAAC,CAAC,CAAC,CAAC;AACtB,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,IAAY;IAC3C,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;AAC7C,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @arcanea/core
|
|
3
|
+
*
|
|
4
|
+
* Core types, constants, and utilities for the Arcanea ecosystem.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { GATES, GUARDIANS, type Guardian } from '@arcanea/core';
|
|
9
|
+
*
|
|
10
|
+
* const lumina = GUARDIANS.find(g => g.gate === 'foundation');
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export * from './types/index.js';
|
|
14
|
+
export * from './constants/index.js';
|
|
15
|
+
export * from './utils/index.js';
|
|
16
|
+
export declare const VERSION = "0.1.0";
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,cAAc,kBAAkB,CAAC;AAGjC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,kBAAkB,CAAC;AAGjC,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @arcanea/core
|
|
3
|
+
*
|
|
4
|
+
* Core types, constants, and utilities for the Arcanea ecosystem.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import { GATES, GUARDIANS, type Guardian } from '@arcanea/core';
|
|
9
|
+
*
|
|
10
|
+
* const lumina = GUARDIANS.find(g => g.gate === 'foundation');
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
// Types
|
|
14
|
+
export * from './types/index.js';
|
|
15
|
+
// Constants
|
|
16
|
+
export * from './constants/index.js';
|
|
17
|
+
// Utilities
|
|
18
|
+
export * from './utils/index.js';
|
|
19
|
+
// Version
|
|
20
|
+
export const VERSION = '0.1.0';
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,QAAQ;AACR,cAAc,kBAAkB,CAAC;AAEjC,YAAY;AACZ,cAAc,sBAAsB,CAAC;AAErC,YAAY;AACZ,cAAc,kBAAkB,CAAC;AAEjC,UAAU;AACV,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Agent Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for AI agents, skills, and orchestration.
|
|
5
|
+
*/
|
|
6
|
+
import type { GateName, GuardianName, Element } from './mythology.js';
|
|
7
|
+
export type AgentRole = 'orchestrator' | 'specialist' | 'guardian' | 'companion' | 'worker';
|
|
8
|
+
export type AgentStatus = 'idle' | 'active' | 'processing' | 'error' | 'offline';
|
|
9
|
+
export interface Agent {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
displayName: string;
|
|
13
|
+
role: AgentRole;
|
|
14
|
+
description: string;
|
|
15
|
+
systemPrompt: string;
|
|
16
|
+
capabilities: string[];
|
|
17
|
+
tools?: string[];
|
|
18
|
+
guardian?: GuardianName;
|
|
19
|
+
element?: Element;
|
|
20
|
+
status?: AgentStatus;
|
|
21
|
+
}
|
|
22
|
+
export type SkillCategory = 'creative' | 'development' | 'research' | 'communication' | 'meta' | 'arcanea';
|
|
23
|
+
export interface Skill {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
displayName: string;
|
|
27
|
+
description: string;
|
|
28
|
+
category: SkillCategory;
|
|
29
|
+
gate?: GateName;
|
|
30
|
+
frequency?: number;
|
|
31
|
+
instructions: string;
|
|
32
|
+
triggers?: string[];
|
|
33
|
+
examples?: string[];
|
|
34
|
+
}
|
|
35
|
+
export type SwarmProtocol = 'sequential' | 'parallel' | 'consensus' | 'hierarchical' | 'adaptive';
|
|
36
|
+
export interface SwarmConfig {
|
|
37
|
+
protocol: SwarmProtocol;
|
|
38
|
+
maxAgents: number;
|
|
39
|
+
timeout?: number;
|
|
40
|
+
retryPolicy?: {
|
|
41
|
+
maxRetries: number;
|
|
42
|
+
backoffMs: number;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export interface SwarmTask {
|
|
46
|
+
id: string;
|
|
47
|
+
description: string;
|
|
48
|
+
assignedAgent?: string;
|
|
49
|
+
status: 'pending' | 'in_progress' | 'completed' | 'failed';
|
|
50
|
+
dependencies?: string[];
|
|
51
|
+
result?: unknown;
|
|
52
|
+
error?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SwarmSession {
|
|
55
|
+
id: string;
|
|
56
|
+
config: SwarmConfig;
|
|
57
|
+
agents: Agent[];
|
|
58
|
+
tasks: SwarmTask[];
|
|
59
|
+
startedAt: string;
|
|
60
|
+
completedAt?: string;
|
|
61
|
+
status: 'running' | 'completed' | 'failed' | 'cancelled';
|
|
62
|
+
}
|
|
63
|
+
export type PlatformType = 'claude' | 'gemini' | 'opencode' | 'codex' | 'local';
|
|
64
|
+
export interface PlatformConfig {
|
|
65
|
+
type: PlatformType;
|
|
66
|
+
apiKey?: string;
|
|
67
|
+
baseUrl?: string;
|
|
68
|
+
model?: string;
|
|
69
|
+
maxTokens?: number;
|
|
70
|
+
temperature?: number;
|
|
71
|
+
}
|
|
72
|
+
export interface PlatformAdapter {
|
|
73
|
+
type: PlatformType;
|
|
74
|
+
name: string;
|
|
75
|
+
initialize: (config: PlatformConfig) => Promise<void>;
|
|
76
|
+
execute: (prompt: string, context?: unknown) => Promise<string>;
|
|
77
|
+
stream?: (prompt: string, context?: unknown) => AsyncIterable<string>;
|
|
78
|
+
}
|
|
79
|
+
export interface IntelligenceOSConfig {
|
|
80
|
+
defaultPlatform: PlatformType;
|
|
81
|
+
platforms: Record<PlatformType, PlatformConfig>;
|
|
82
|
+
agents: Agent[];
|
|
83
|
+
skills: Skill[];
|
|
84
|
+
swarmDefaults: SwarmConfig;
|
|
85
|
+
}
|
|
86
|
+
export interface ChannelRequest {
|
|
87
|
+
guardian: GuardianName;
|
|
88
|
+
prompt: string;
|
|
89
|
+
context?: Record<string, unknown>;
|
|
90
|
+
platform?: PlatformType;
|
|
91
|
+
}
|
|
92
|
+
export interface ChannelResponse {
|
|
93
|
+
guardian: GuardianName;
|
|
94
|
+
response: string;
|
|
95
|
+
metadata?: {
|
|
96
|
+
tokensUsed?: number;
|
|
97
|
+
duration?: number;
|
|
98
|
+
model?: string;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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