@morphist/aspects 0.1.0 → 0.1.2

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 (3) hide show
  1. package/README.md +74 -49
  2. package/dist/cli.js +2873 -704
  3. package/package.json +10 -4
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  ```text
2
- █████╗ ███████╗██████╗ ███████╗ ██████╗████████╗███████╗
3
- ██╔══██╗ ██╔════╝██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔════╝
4
- ███████║ ███████╗██████╔╝█████╗ ██║ ██║ ███████╗
5
- ██╔══██║ ╚════██║██╔═══╝ ██╔══╝ ██║ ██║ ╚════██║
6
- ██║ ██║ ███████║██║ ███████╗╚██████╗ ██║ ███████║
7
- ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚══════╝
2
+ █████╗ ███████╗██████╗ ███████╗ ██████╗████████╗███████╗
3
+ ██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔════╝
4
+ ███████║███████╗██████╔╝█████╗ ██║ ██║ ███████╗
5
+ ██╔══██║╚════██║██╔═══╝ ██╔══╝ ██║ ██║ ╚════██║
6
+ ██║ ██║███████║██║ ███████╗╚██████╗ ██║ ███████║
7
+ ╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚══════╝
8
8
  ```
9
9
 
10
10
  > **Community Aspects Registry** — Personality modules for AI agents.
@@ -26,12 +26,39 @@ Each aspect is a JSON file containing:
26
26
 
27
27
  ## Quick Start
28
28
 
29
- Browse and install aspects directly in the [Morphist app](https://morphist.ai):
29
+ ```bash
30
+ npx @morphist/aspects add alaric
31
+ ```
30
32
 
31
- 1. Open the **Aspects** tab in settings
32
- 2. Browse community aspects
33
- 3. Tap **Install** on any aspect you like
34
- 4. Switch between aspects anytime
33
+ That's it. The aspect is now installed to your project.
34
+
35
+ ```bash
36
+ # Search the registry
37
+ npx @morphist/aspects search wizard
38
+
39
+ # Create a new aspect
40
+ npx @morphist/aspects create
41
+
42
+ # List installed aspects
43
+ npx @morphist/aspects list
44
+ ```
45
+
46
+ ### Installation Scope
47
+
48
+ | Flag | Scope | Location |
49
+ |------|-------|----------|
50
+ | (default) | Project | `./.aspects/` |
51
+ | `-g` | Global | `~/.aspects/` |
52
+
53
+ ```bash
54
+ # Install to project (default if .aspects/ exists)
55
+ npx @morphist/aspects add alaric
56
+
57
+ # Install globally
58
+ npx @morphist/aspects add -g alaric
59
+ ```
60
+
61
+ See [CLI Documentation](./docs/CLI.md) for full reference.
35
62
 
36
63
  ## Registry Structure
37
64
 
@@ -149,7 +176,7 @@ The standard way to contribute:
149
176
 
150
177
  ```bash
151
178
  # With CLI (recommended)
152
- npx @aspect/cli create
179
+ npx @morphist/aspects create
153
180
 
154
181
  # Or manually create the files:
155
182
  mkdir -p registry/aspects/my-aspect
@@ -254,49 +281,36 @@ console.log(aspect.voiceHints); // Voice configuration
254
281
  The Aspects CLI helps you create and manage aspects.
255
282
 
256
283
  ```bash
257
- # Install (npm coming soon, for now clone the repo)
258
- git clone https://github.com/aimorphist/aspects
259
- cd aspects && bun install
260
-
261
- # Create a new aspect
262
- bun run dev create
263
-
264
- # Install aspects
265
- bun run dev add alaric gandalf
284
+ # Install globally
285
+ npm install -g @morphist/aspects
266
286
 
267
- # Search
268
- bun run dev search wizard
269
-
270
- # Publish to registry
271
- bun run dev publish
287
+ # Or use directly with npx
288
+ npx @morphist/aspects <command>
272
289
  ```
273
290
 
274
291
  ### Commands
275
292
 
276
- | Command | Description |
277
- |---------|-------------|
278
- | `create` | Interactive aspect wizard |
279
- | `add` | Install aspects |
280
- | `list` | List installed aspects |
281
- | `search` | Search registry |
282
- | `info` | Show aspect details |
283
- | `remove` | Uninstall aspect |
284
- | `validate` | Validate aspect.json |
285
- | `publish` | Submit to registry |
293
+ | Command | Aliases | Description |
294
+ | ---------- | ------- | ------------------------- |
295
+ | `create` | `c`, `new`, `n` | Interactive aspect wizard |
296
+ | `add` | `install`, `i`, `a` | Install aspects |
297
+ | `list` | `ls` | List installed aspects |
298
+ | `search` | | Search registry |
299
+ | `info` | | Show aspect details |
300
+ | `remove` | `rm` | Uninstall aspect |
301
+ | `validate` | | Validate aspect.json |
302
+ | `publish` | | Submit to registry |
303
+ | `login` | | Authenticate with registry |
304
+
305
+ ### Options
306
+
307
+ | Flag | Description |
308
+ |------|-------------|
309
+ | `-g, --global` | Use global scope (~/.aspects) |
310
+ | `--force` | Overwrite existing installation |
286
311
 
287
312
  See [CLI Documentation](./docs/CLI.md) for full reference.
288
313
 
289
- ### Roadmap
290
-
291
- Planned features:
292
-
293
- - **`find`** — Advanced search with boolean operators (`-n wizard --not -t evil`)
294
- - **`edit`** — Edit existing aspects with prepopulated wizard
295
- - **`set`** — Manage collections of aspects
296
- - **`generate`** — AI-powered aspect creation
297
-
298
- See [CLI Roadmap](./docs/CLI-ROADMAP.md) for details.
299
-
300
314
  ## Development
301
315
 
302
316
  ```bash
@@ -315,10 +329,21 @@ bun run scan
315
329
 
316
330
  ## Links
317
331
 
318
- - **Website:** [getaspects.com](https://getaspects.com) _(coming soon)_
332
+ - **Website:** [aspects.sh](https://aspects.sh) _(coming soon)_
319
333
  - **Registry:** [github.com/aimorphist/aspects](https://github.com/aimorphist/aspects)
320
334
  - **Morphist App:** [morphist.ai](https://morphist.ai)
321
335
 
322
336
  ## License
323
337
 
324
- MIT © [Aspects](https://getaspects.com)
338
+ MIT © [Aspects](https://aspects.sh)
339
+
340
+ ---
341
+
342
+ ## Morphist App
343
+
344
+ Browse and install aspects directly in the [Morphist app](https://morphist.ai):
345
+
346
+ 1. Open the **Aspects** tab in settings
347
+ 2. Browse community aspects
348
+ 3. Tap **Install** on any aspect you like
349
+ 4. Switch between aspects anytime