@asyra/selection 0.5.0 → 0.5.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 (2) hide show
  1. package/README.md +41 -4
  2. package/package.json +10 -4
package/README.md CHANGED
@@ -1,12 +1,49 @@
1
1
  # `@asyra/selection`
2
2
 
3
- Named selection channels and their canonical selection state.
3
+ Canonical named selection-channel state and explicit selection queries and operations.
4
+
5
+ ## Requirements
6
+
7
+ - Node.js 24.x
8
+ - Yarn 4.3.1 for this repository's maintained workflows
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ npm install @asyra/selection
14
+ ```
4
15
 
5
16
  ```ts
6
17
  import selection from '@asyra/selection'
7
18
  ```
8
19
 
9
- ## Release support
20
+ Use only the package root and the explicitly documented public subpaths.
21
+
22
+ ## Owns
23
+
24
+ - selected entity ids per registered channel plus deterministic replace, add, remove, clear, and query semantics
25
+
26
+ ## Does not own
27
+
28
+ - tool decisions, App eligibility, render overlays, entity mutation, UI state, or automatic builtin channel registrations
29
+
30
+ ## Start here
31
+
32
+ Register the selection channels your product needs, or use the optional official defaults installed by Preset.
33
+
34
+ ## Lifecycle and composition
35
+
36
+ Registration creates stable channel metadata. Selection operations update only that channel; duplicate or unknown registration and invalid input fail explicitly. Removing projection packages does not transfer selection ownership to UI state.
37
+
38
+ ## Learn more
39
+
40
+ - [Complete package guide](https://github.com/karote00/asyra/blob/main/docs/public/reference/packages/selection.md)
41
+ - [Framework release support](https://github.com/karote00/asyra/blob/main/docs/ai/framework/RELEASE_SUPPORT.md)
42
+
43
+ ## Support and policy
10
44
 
11
- The `0.2.5` ESM artifact supports Node.js 24.x. Use only package-root exports.
12
- See the [Framework release support contract](../../docs/ai/framework/RELEASE_SUPPORT.md).
45
+ This repository does not accept external issues or contributions. You may use,
46
+ inspect, and fork the package under the [MIT License](https://github.com/karote00/asyra/blob/main/LICENSE).
47
+ Follow the [security policy](https://github.com/karote00/asyra/blob/main/SECURITY.md) for
48
+ security-sensitive reports and the [root policy](https://github.com/karote00/asyra) for the
49
+ current support boundary.
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@asyra/selection",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "A selection management library for handling element, vertex, edge, or any other selectable entities in a scene graph.",
5
5
  "author": "Asa Tsai",
6
6
  "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/karote00/asyra.git",
10
+ "directory": "packages/selection"
11
+ },
12
+ "homepage": "https://asyra-framework.vercel.app",
7
13
  "type": "module",
8
14
  "engines": {
9
15
  "node": "24.x"
@@ -36,11 +42,11 @@
36
42
  "test:ci": "yarn has:test && vitest run --coverage --reporter=default --reporter=junit || echo 'No test files found. Skipping test:ci.'"
37
43
  },
38
44
  "devDependencies": {
39
- "@vitest/coverage-v8": "^2.1.8",
45
+ "@vitest/coverage-v8": "^3.2.6",
40
46
  "typescript": "^5.7.2",
41
- "vitest": "^2.1.8"
47
+ "vitest": "^3.2.6"
42
48
  },
43
49
  "dependencies": {
44
- "@asyra/utils": "0.5.0"
50
+ "@asyra/utils": "0.5.1"
45
51
  }
46
52
  }