@rool-dev/cli 0.1.13 → 0.2.0-dev.7bd1a43

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 CHANGED
@@ -124,7 +124,7 @@ On first use, the CLI opens your browser to authenticate. Credentials are stored
124
124
 
125
125
  ## Version
126
126
 
127
- Current version: `0.1.13`. Use `rool --version` to check your installed version.
127
+ Current version: `0.2.0`. Use `rool --version` to check your installed version.
128
128
 
129
129
  ## License
130
130
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rool-dev/cli",
3
- "version": "0.1.13",
3
+ "version": "0.2.0-dev.7bd1a43",
4
4
  "description": "Command-line interface for working with Rool Spaces",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "commander": "^14.0.3",
39
39
  "marked": "^15.0.12",
40
40
  "marked-terminal": "^7.3.0",
41
- "@rool-dev/sdk": "0.1.26"
41
+ "@rool-dev/sdk": "0.2.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/archiver": "^7.0.0",
@@ -20,15 +20,13 @@ node_modules/@rool-dev/sdk/README.md # The core SDK
20
20
 
21
21
  **RoolClient** - Authentication and space lifecycle. One per app.
22
22
 
23
- **ReactiveSpace** - The workspace. Contains objects, relations, and conversations.
23
+ **ReactiveSpace** - The workspace. Contains objects and conversations.
24
24
  - `space.collection({ where? })` - Reactive query returning `{ objects }`
25
25
  - `space.prompt(text)` - Invoke AI to create/modify objects
26
26
  - `space.checkpoint()` - Create undo point before mutations
27
27
  - `space.interactions` - Chat history for current conversation
28
28
 
29
- **Objects** - Key-value records with `id` field. Created via `space.createObject()` or AI.
30
-
31
- **Relations** - Directional links between objects via `space.link(source, relation, target)`.
29
+ **Objects** - Key-value records with `id` field. Created via `space.createObject()` or AI. References between objects are data fields whose values are object IDs.
32
30
 
33
31
  ## Key Patterns
34
32
 
@@ -19,15 +19,13 @@ node_modules/@rool-dev/sdk/README.md
19
19
 
20
20
  **RoolClient** - Authentication and space lifecycle. One per app.
21
21
 
22
- **RoolSpace** - The workspace. Contains objects, relations, and conversations.
22
+ **RoolSpace** - The workspace. Contains objects and conversations.
23
23
  - `space.prompt(text)` - Invoke AI to create/modify objects
24
24
  - `space.checkpoint()` - Create undo point before mutations
25
25
  - `space.on(event, handler)` - Subscribe to real-time events
26
26
  - `space.findObjects({ where? })` - Query objects
27
27
 
28
- **Objects** - Key-value records with `id` field. Created via `space.createObject()` or AI.
29
-
30
- **Relations** - Directional links between objects via `space.link(source, relation, target)`.
28
+ **Objects** - Key-value records with `id` field. Created via `space.createObject()` or AI. References between objects are data fields whose values are object IDs.
31
29
 
32
30
  ## Event-Driven Pattern
33
31
 
@@ -41,8 +39,6 @@ space.on('objectCreated', ({ objectId, object, source }) => {
41
39
 
42
40
  space.on('objectUpdated', ({ objectId, object }) => { ... });
43
41
  space.on('objectDeleted', ({ objectId }) => { ... });
44
- space.on('linked', ({ sourceId, relation, targetId }) => { ... });
45
- space.on('unlinked', ({ sourceId, relation, targetId }) => { ... });
46
42
  ```
47
43
 
48
44
  ## Key Pattern