@sharpee/if-domain 1.0.8 → 1.1.1
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 +20 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Core domain model and contracts for the Sharpee Interactive Fiction Platform.
|
|
4
4
|
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @sharpee/if-domain
|
|
9
|
+
```
|
|
10
|
+
|
|
5
11
|
## Overview
|
|
6
12
|
|
|
7
13
|
This package contains the shared domain types, events, and contracts that define the Interactive Fiction domain model. It serves as the single source of truth for domain concepts used across the Sharpee platform.
|
|
@@ -34,6 +40,16 @@ This package contains the shared domain types, events, and contracts that define
|
|
|
34
40
|
- `SequencedEvent` - Event with sequence information
|
|
35
41
|
- `EventSequencer` - Interface for event sequencing
|
|
36
42
|
|
|
43
|
+
### Language & Parser Contracts
|
|
44
|
+
- `LanguageProvider`, `ParserLanguageProvider` - Language provider interfaces
|
|
45
|
+
- Parser contracts (`Parser`, `ParserFactory`, `BaseParser`, `Token`, …) and the grammar system (ADR-087)
|
|
46
|
+
- Vocabulary contracts (`VocabularyEntry`, `PartOfSpeech`, `vocabularyRegistry`, …)
|
|
47
|
+
|
|
48
|
+
### Other Contracts
|
|
49
|
+
- Prompt types (ADR-137)
|
|
50
|
+
- Channel-I/O type contracts (ADR-163) — the universal UI surface
|
|
51
|
+
- Spatial sound propagation contracts (ADR-172)
|
|
52
|
+
|
|
37
53
|
## Usage
|
|
38
54
|
|
|
39
55
|
```typescript
|
|
@@ -69,3 +85,7 @@ This package must be built after `core` but before:
|
|
|
69
85
|
- `event-processor`
|
|
70
86
|
- `engine`
|
|
71
87
|
- `stdlib`
|
|
88
|
+
|
|
89
|
+
## License
|
|
90
|
+
|
|
91
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sharpee/if-domain",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Core domain model and contracts for Sharpee Interactive Fiction Platform",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@sharpee/core": "^1.
|
|
16
|
-
"@sharpee/text-blocks": "^1.
|
|
15
|
+
"@sharpee/core": "^1.1.1",
|
|
16
|
+
"@sharpee/text-blocks": "^1.1.1"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"interactive-fiction",
|