Skip to content

Commit 33de1c5

Browse files
release: v1.2.47
1 parent 7d130af commit 33de1c5

4 files changed

Lines changed: 57 additions & 37 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@roxyapi/sdk",
3-
"version": "1.2.46",
3+
"version": "1.2.47",
44
"description": "TypeScript SDK for Roxy — the multi-domain spiritual intelligence API",
55
"type": "module",
66
"exports": {

specs/openapi.json

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10550,6 +10550,30 @@
1055010550
"imageUrl"
1055110551
]
1055210552
},
10553+
"ChangingLine": {
10554+
"type": "object",
10555+
"properties": {
10556+
"position": {
10557+
"type": "number",
10558+
"example": 1,
10559+
"description": "Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward."
10560+
},
10561+
"text": {
10562+
"type": "string",
10563+
"example": "The dragon is still hidden below the surface, so it does not act.",
10564+
"description": "The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition."
10565+
},
10566+
"meaning": {
10567+
"type": "string",
10568+
"example": "The first line is the beginning, still underground and unrecognized. Strength is present but untested, and showing it now invites resistance it cannot yet survive. Stay hidden and build.",
10569+
"description": "What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one."
10570+
}
10571+
},
10572+
"required": [
10573+
"position",
10574+
"text"
10575+
]
10576+
},
1055310577
"BasicHexagram": {
1055410578
"type": "object",
1055510579
"properties": {
@@ -10644,12 +10668,12 @@
1064410668
},
1064510669
"judgment": {
1064610670
"type": "string",
10647-
"example": "The Creative works sublime success, furthering through perseverance.",
10671+
"example": "Pure creative force is available and it runs from origin to completion without obstruction, so the situation rewards initiative that stays correct and does not slacken. Success here is built by sustained effort held to a straight line, not by a single burst.",
1064810672
"description": "The Judgment (Tuan) text, the primary oracle statement of the hexagram offering core guidance and outcome."
1064910673
},
1065010674
"image": {
1065110675
"type": "string",
10652-
"example": "The movement of heaven is full of power. Thus the superior man makes himself strong and untiring.",
10676+
"example": "Heaven above heaven: the same motion repeated without pause and without fatigue. Renew your own strength on your own schedule rather than waiting to be driven by circumstances.",
1065310677
"description": "The Image (Xiang) text, symbolic guidance derived from the trigram combination describing the ideal attitude and action."
1065410678
},
1065510679
"interpretation": {
@@ -10715,25 +10739,6 @@
1071510739
"advice"
1071610740
]
1071710741
},
10718-
"ChangingLine": {
10719-
"type": "object",
10720-
"properties": {
10721-
"position": {
10722-
"type": "number",
10723-
"example": 1,
10724-
"description": "Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward."
10725-
},
10726-
"text": {
10727-
"type": "string",
10728-
"example": "Hidden dragon. Do not act.",
10729-
"description": "Changing line interpretation text. Applies only when this specific line is a changing line (old yin or old yang) in a casting."
10730-
}
10731-
},
10732-
"required": [
10733-
"position",
10734-
"text"
10735-
]
10736-
},
1073710742
"BasicTrigram": {
1073810743
"type": "object",
1073910744
"properties": {
@@ -10789,7 +10794,7 @@
1078910794
"number": {
1079010795
"type": "number",
1079110796
"example": 1,
10792-
"description": "Trigram number (1-8) in the traditional I-Ching ordering."
10797+
"description": "Stable identifier for the trigram, 1 to 8. This is our lookup key, not a canonical sequence: the tradition has several orderings (King Wen, Fu Xi, Earlier and Later Heaven) and they disagree, so do not read ranking or precedence into it."
1079310798
},
1079410799
"symbol": {
1079510800
"type": "string",
@@ -63995,7 +64000,7 @@
6399564000
},
6399664001
"dailyMessage": {
6399764002
"type": "string",
63998-
"example": "Your hexagram for 2026-01-28: The Creative (乾). Supreme success through perseverance.",
64003+
"example": "Your hexagram for 2026-01-28: The Creative (乾). Be like the heavens: consistent, powerful, and untiring.",
6399964004
"description": "Concise daily message summarizing the hexagram guidance"
6400064005
}
6400164006
},
@@ -64414,6 +64419,13 @@
6441464419
],
6441564420
"description": "Positions of changing lines (1-6, bottom to top). These lines transform yin to yang or vice versa."
6441664421
},
64422+
"changingLines": {
64423+
"type": "array",
64424+
"items": {
64425+
"$ref": "#/components/schemas/ChangingLine"
64426+
},
64427+
"description": "The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them."
64428+
},
6441764429
"resultingHexagram": {
6441864430
"type": "object",
6441964431
"properties": {

src/types.gen.ts

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5459,6 +5459,21 @@ export type DrawnCard = {
54595459
imageUrl: string;
54605460
};
54615461

5462+
export type ChangingLine = {
5463+
/**
5464+
* Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
5465+
*/
5466+
position: number;
5467+
/**
5468+
* The oracle statement for this line. It applies when this specific line comes up changing (old yin or old yang) in a casting, and it speaks in the concrete imagery of the tradition.
5469+
*/
5470+
text: string;
5471+
/**
5472+
* What the line statement asks of the querent, read from its position in the hexagram (1 is the hidden beginning, 3 is the exposed threshold, 5 is the ruling line, 6 is past the peak) and from whether the line is yin or yang. This is the meaning behind the image, so a consuming agent does not have to invent one.
5473+
*/
5474+
meaning?: string;
5475+
};
5476+
54625477
export type BasicHexagram = {
54635478
/**
54645479
* Hexagram number in King Wen sequence (1-64).
@@ -5561,17 +5576,6 @@ export type Interpretation = {
55615576
advice: string;
55625577
};
55635578

5564-
export type ChangingLine = {
5565-
/**
5566-
* Line position (1-6, bottom to top). In I-Ching, each hexagram has six lines (yao) read from bottom upward.
5567-
*/
5568-
position: number;
5569-
/**
5570-
* Changing line interpretation text. Applies only when this specific line is a changing line (old yin or old yang) in a casting.
5571-
*/
5572-
text: string;
5573-
};
5574-
55755579
export type BasicTrigram = {
55765580
/**
55775581
* Trigram number (1-8)
@@ -5605,7 +5609,7 @@ export type BasicTrigram = {
56055609

56065610
export type Trigram = {
56075611
/**
5608-
* Trigram number (1-8) in the traditional I-Ching ordering.
5612+
* Stable identifier for the trigram, 1 to 8. This is our lookup key, not a canonical sequence: the tradition has several orderings (King Wen, Fu Xi, Earlier and Later Heaven) and they disagree, so do not read ranking or precedence into it.
56095613
*/
56105614
number: number;
56115615
/**
@@ -32134,6 +32138,10 @@ export type PostIchingDailyCastResponses = {
3213432138
* Positions of changing lines (1-6, bottom to top). These lines transform yin to yang or vice versa.
3213532139
*/
3213632140
changingLinePositions: Array<number>;
32141+
/**
32142+
* The oracle statement and meaning of each line that came up CHANGING, and only those. The changing lines are what the cast is actually about, so this saves a second call to read them and stops a consuming agent from having to invent them.
32143+
*/
32144+
changingLines?: Array<ChangingLine>;
3213732145
/**
3213832146
* Hexagram after transformation (if changing lines present)
3213932147
*/

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '1.2.46';
1+
export const VERSION = '1.2.47';

0 commit comments

Comments
 (0)