@miadi/ncp-story-studio 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.
Files changed (126) hide show
  1. package/LICENSE +21 -0
  2. package/PHASES.md +160 -0
  3. package/README.md +140 -0
  4. package/assets/PROVENANCE.json +5 -0
  5. package/assets/examples/PROVENANCE.json +26 -0
  6. package/assets/examples/anora.json +228 -0
  7. package/assets/examples/example-story.json +112 -0
  8. package/assets/examples/the-shawshank-redemption.json +2068 -0
  9. package/assets/examples/weaver_of_words__the_catalyst_of_change_251101.json +1132 -0
  10. package/assets/ncp-schema.json +794 -0
  11. package/assets/terminology.json +2919 -0
  12. package/dist/agents/adapter.d.ts +60 -0
  13. package/dist/agents/adapter.d.ts.map +1 -0
  14. package/dist/agents/adapter.js +69 -0
  15. package/dist/agents/adapter.js.map +1 -0
  16. package/dist/agents/context.d.ts +19 -0
  17. package/dist/agents/context.d.ts.map +1 -0
  18. package/dist/agents/context.js +49 -0
  19. package/dist/agents/context.js.map +1 -0
  20. package/dist/agents/index.d.ts +5 -0
  21. package/dist/agents/index.d.ts.map +1 -0
  22. package/dist/agents/index.js +7 -0
  23. package/dist/agents/index.js.map +1 -0
  24. package/dist/agents/links.d.ts +41 -0
  25. package/dist/agents/links.d.ts.map +1 -0
  26. package/dist/agents/links.js +76 -0
  27. package/dist/agents/links.js.map +1 -0
  28. package/dist/agents/personas.d.ts +16 -0
  29. package/dist/agents/personas.d.ts.map +1 -0
  30. package/dist/agents/personas.js +34 -0
  31. package/dist/agents/personas.js.map +1 -0
  32. package/dist/fixtures/index.d.ts +27 -0
  33. package/dist/fixtures/index.d.ts.map +1 -0
  34. package/dist/fixtures/index.js +69 -0
  35. package/dist/fixtures/index.js.map +1 -0
  36. package/dist/graph/index.d.ts +60 -0
  37. package/dist/graph/index.d.ts.map +1 -0
  38. package/dist/graph/index.js +97 -0
  39. package/dist/graph/index.js.map +1 -0
  40. package/dist/graph/react/index.d.ts +2 -0
  41. package/dist/graph/react/index.d.ts.map +1 -0
  42. package/dist/graph/react/index.js +5 -0
  43. package/dist/graph/react/index.js.map +1 -0
  44. package/dist/graph/react/story-graph.d.ts +17 -0
  45. package/dist/graph/react/story-graph.d.ts.map +1 -0
  46. package/dist/graph/react/story-graph.js +26 -0
  47. package/dist/graph/react/story-graph.js.map +1 -0
  48. package/dist/graph/tones.d.ts +36 -0
  49. package/dist/graph/tones.d.ts.map +1 -0
  50. package/dist/graph/tones.js +38 -0
  51. package/dist/graph/tones.js.map +1 -0
  52. package/dist/index.d.ts +33 -0
  53. package/dist/index.d.ts.map +1 -0
  54. package/dist/index.js +24 -0
  55. package/dist/index.js.map +1 -0
  56. package/dist/schema/constants.d.ts +3 -0
  57. package/dist/schema/constants.d.ts.map +1 -0
  58. package/dist/schema/constants.js +3 -0
  59. package/dist/schema/constants.js.map +1 -0
  60. package/dist/schema/extensions.d.ts +14 -0
  61. package/dist/schema/extensions.d.ts.map +1 -0
  62. package/dist/schema/extensions.js +61 -0
  63. package/dist/schema/extensions.js.map +1 -0
  64. package/dist/schema/generated-terms.d.ts +7 -0
  65. package/dist/schema/generated-terms.d.ts.map +1 -0
  66. package/dist/schema/generated-terms.js +518 -0
  67. package/dist/schema/generated-terms.js.map +1 -0
  68. package/dist/schema/generated.d.ts +64 -0
  69. package/dist/schema/generated.d.ts.map +1 -0
  70. package/dist/schema/generated.js +497 -0
  71. package/dist/schema/generated.js.map +1 -0
  72. package/dist/schema/index.d.ts +48 -0
  73. package/dist/schema/index.d.ts.map +1 -0
  74. package/dist/schema/index.js +92 -0
  75. package/dist/schema/index.js.map +1 -0
  76. package/dist/schema/normalize.d.ts +20 -0
  77. package/dist/schema/normalize.d.ts.map +1 -0
  78. package/dist/schema/normalize.js +88 -0
  79. package/dist/schema/normalize.js.map +1 -0
  80. package/dist/schema/read.d.ts +31 -0
  81. package/dist/schema/read.d.ts.map +1 -0
  82. package/dist/schema/read.js +640 -0
  83. package/dist/schema/read.js.map +1 -0
  84. package/dist/schema/terms.d.ts +11 -0
  85. package/dist/schema/terms.d.ts.map +1 -0
  86. package/dist/schema/terms.js +80 -0
  87. package/dist/schema/terms.js.map +1 -0
  88. package/dist/schema/types.d.ts +140 -0
  89. package/dist/schema/types.d.ts.map +1 -0
  90. package/dist/schema/types.js +2 -0
  91. package/dist/schema/types.js.map +1 -0
  92. package/dist/schema/validate.d.ts +54 -0
  93. package/dist/schema/validate.d.ts.map +1 -0
  94. package/dist/schema/validate.js +490 -0
  95. package/dist/schema/validate.js.map +1 -0
  96. package/dist/store/index.d.ts +76 -0
  97. package/dist/store/index.d.ts.map +1 -0
  98. package/dist/store/index.js +96 -0
  99. package/dist/store/index.js.map +1 -0
  100. package/dist/store/json.d.ts +35 -0
  101. package/dist/store/json.d.ts.map +1 -0
  102. package/dist/store/json.js +192 -0
  103. package/dist/store/json.js.map +1 -0
  104. package/dist/store/mutations.d.ts +45 -0
  105. package/dist/store/mutations.d.ts.map +1 -0
  106. package/dist/store/mutations.js +181 -0
  107. package/dist/store/mutations.js.map +1 -0
  108. package/dist/store/neon.d.ts +42 -0
  109. package/dist/store/neon.d.ts.map +1 -0
  110. package/dist/store/neon.js +167 -0
  111. package/dist/store/neon.js.map +1 -0
  112. package/dist/terminology/generated.d.ts +3 -0
  113. package/dist/terminology/generated.d.ts.map +1 -0
  114. package/dist/terminology/generated.js +2923 -0
  115. package/dist/terminology/generated.js.map +1 -0
  116. package/dist/terminology/index.d.ts +20 -0
  117. package/dist/terminology/index.d.ts.map +1 -0
  118. package/dist/terminology/index.js +71 -0
  119. package/dist/terminology/index.js.map +1 -0
  120. package/dist/terminology/types.d.ts +25 -0
  121. package/dist/terminology/types.d.ts.map +1 -0
  122. package/dist/terminology/types.js +2 -0
  123. package/dist/terminology/types.js.map +1 -0
  124. package/package.json +117 -0
  125. package/rispecs/README.rise.md +5 -0
  126. package/rispecs/RISPEC.md +9 -0
@@ -0,0 +1,112 @@
1
+ {
2
+ "schema_version": "1.1.0",
3
+ "story": {
4
+ "id": "story_123e4567-e89b-12d3-a456-426614174000",
5
+ "title": "Echoes of the Past",
6
+ "genre": "Mystery Thriller",
7
+ "logline": "A hardened detective uncovers clues linking a cold case to his own haunting history.",
8
+ "created_at": "2025-12-01T12:34:56Z",
9
+ "narratives": [
10
+ {
11
+ "id": "narrative_001",
12
+ "title": "Central Narrative",
13
+ "subtext": {
14
+ "perspectives": [
15
+ {
16
+ "id": "perspective_12345678-1234-1234-1234-123456789012",
17
+ "throughline": "Main Character",
18
+ "summary": "John Marlowe",
19
+ "storytelling": "John is a seasoned detective whose past is as mysterious as the cases he solves."
20
+ }
21
+ ],
22
+ "players": [
23
+ {
24
+ "id": "player_abcdef12-3456-7890-abcd-ef1234567890",
25
+ "name": "Detective John Marlowe",
26
+ "role": "Main Character",
27
+ "summary": "A dedicated detective haunted by unresolved cases.",
28
+ "storytelling": "John exudes a stoic demeanor, masking the inner turmoil of his past.",
29
+ "perspective": {
30
+ "throughline": "Objective Story",
31
+ "perspective_id": "perspective_12345678-1234-1234-1234-123456789012"
32
+ },
33
+ "motivations": [
34
+ {
35
+ "narrative_function": "Determination",
36
+ "illustration": "John relentlessly pursues leads despite personal risks.",
37
+ "storytelling": "His unwavering resolve is evident in every case he tackles."
38
+ }
39
+ ]
40
+ }
41
+ ],
42
+ "dynamics": [
43
+ {
44
+ "id": "dynamic_00112233-4455-6677-8899-aabbccddeeff",
45
+ "dynamic": "Story Outcome",
46
+ "vector": "Success",
47
+ "summary": "The case concludes with John uncovering the truth.",
48
+ "storytelling": "A climactic moment of revelation that ties together past and present.",
49
+ "perspective_id": "perspective_12345678-1234-1234-1234-123456789012"
50
+ }
51
+ ],
52
+ "storypoints": [
53
+ {
54
+ "id": "storypoint_11223344-5566-7788-99aa-bbccddeeff00",
55
+ "perspective": {
56
+ "throughline": "Main Character",
57
+ "perspective_id": "perspective_12345678-1234-1234-1234-123456789012"
58
+ },
59
+ "appreciation": "Main Character Symptom",
60
+ "narrative_function": "Consider",
61
+ "illustration": "John ponders over a crucial piece of evidence.",
62
+ "summary": "A turning point in the investigation where personal history intersects with the case.",
63
+ "storytelling": "The discovery of an old photograph sparks memories and hidden truths."
64
+ }
65
+ ],
66
+ "storybeats": [
67
+ {
68
+ "id": "storybeat_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
69
+ "perspective": {
70
+ "throughline": "Main Character",
71
+ "perspective_id": "perspective_12345678-1234-1234-1234-123456789012"
72
+ },
73
+ "appreciation": "Signpost",
74
+ "sequence": 2,
75
+ "narrative_function": "Preconscious",
76
+ "illustration": "John experiences a flashback triggered by a familiar scent.",
77
+ "summary": "A moment where the past resurfaces, influencing his current investigation.",
78
+ "storytelling": "A blend of present-day tension and haunting memories creates a surreal experience.",
79
+ "tones": {
80
+ "abstraction": "situation",
81
+ "spatial": "resistance",
82
+ "temporal": "expression"
83
+ }
84
+ }
85
+ ]
86
+ },
87
+ "storytelling": {
88
+ "overviews": [
89
+ {
90
+ "id": "overview_001",
91
+ "summary": "A dark and atmospheric mystery unfolds in a rain-soaked city.",
92
+ "storytelling": "The narrative juxtaposes gritty realism with introspective flashbacks."
93
+ }
94
+ ],
95
+ "moments": [
96
+ {
97
+ "id": "moment_001",
98
+ "summary": "The inciting discovery",
99
+ "synopsis": "John uncovers an old case file that hints at deeper connections to his own past.",
100
+ "storybeats": [
101
+ {
102
+ "order": 0,
103
+ "storybeat_id": "storybeat_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
104
+ }
105
+ ]
106
+ }
107
+ ]
108
+ }
109
+ }
110
+ ]
111
+ }
112
+ }