@agimon-ai/po-space 0.0.1-alpha.3 → 0.0.1-alpha.4

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 +2 -2
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Spaces where Po keeps files beyond one session. Session files stay in `@agimon-ai/po-artifact`; a person moves one into a space when they want to keep it.
4
4
 
5
- - **Personal** is always there while this package is selected. On a computer it is the existing Artifacts shelf: `PO_HOST_ARTIFACTS_DIR` when the host admits an absolute path, otherwise `<agent dir>/po-host-artifacts`. Nothing moves on disk.
5
+ - **Personal** is always offered while this package is selected. The host owner, or a caller without a principal, keeps the existing Artifacts shelf: an admitted absolute `PO_HOST_ARTIFACTS_DIR`, otherwise `<agent dir>/po-host-artifacts`. Other authenticated people get separate folders under `<agent dir>/po-space/users`, keyed by a hash of issuer and subject. This folder routing does not isolate users who share an operating-system account.
6
6
  - **Other spaces** come from auth plugins, for example an organization's **Shared** space. po-space knows nothing about accounts or memberships; the plugin that adds a space decides who may use it.
7
7
 
8
8
  ## The `po/space` service
@@ -15,7 +15,7 @@ const choices = await space?.spaces(caller, signal); // Personal first
15
15
  const where = await space?.resolve(caller, 'personal', signal); // { root, key? } or undefined
16
16
  ```
17
17
 
18
- `caller` comes from a verified request or session identity, never from input.
18
+ `caller` comes from a verified request or session identity, never from input. Move a session artifact only when the person chooses to keep it. Moves refuse name collisions rather than overwriting a saved file; cancellation after a committed move does not undo it.
19
19
 
20
20
  ## Adding a space from an auth plugin
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-space",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.1-alpha.4",
4
4
  "description": "Personal and provider-added spaces where Po keeps files beyond one session",
5
5
  "keywords": [
6
6
  "ai",
@@ -64,18 +64,18 @@
64
64
  "registry": "https://registry.npmjs.org/"
65
65
  },
66
66
  "dependencies": {
67
- "@agimon-ai/po-artifact": "0.0.0-alpha.159",
68
- "@agimon-ai/po-core": "0.0.0-alpha.160",
69
- "@agimon-ai/po-web-components": "0.0.0-alpha.160",
70
- "@agimon-ai/po-web-security": "0.0.0-alpha.160",
67
+ "@agimon-ai/po-artifact": "0.0.0-alpha.160",
68
+ "@agimon-ai/po-core": "0.0.0-alpha.161",
69
+ "@agimon-ai/po-web-components": "0.0.0-alpha.161",
70
+ "@agimon-ai/po-web-security": "0.0.0-alpha.161",
71
71
  "@deepseek-ai/cordis": "4.0.5",
72
72
  "hono": "4.13.13",
73
73
  "typebox": "1.4.2"
74
74
  },
75
75
  "devDependencies": {
76
- "@agimon-ai/po-build": "0.0.0-alpha.160",
77
- "@agimon-ai/po-native-components": "0.0.0-alpha.160",
78
- "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.160",
76
+ "@agimon-ai/po-build": "0.0.0-alpha.161",
77
+ "@agimon-ai/po-native-components": "0.0.0-alpha.161",
78
+ "@agimon-ai/vibe-lint-plugin-po-extension": "0.0.0-alpha.161",
79
79
  "@earendil-works/pi-coding-agent": "1.5.1",
80
80
  "@tanstack/react-store": "0.11.2",
81
81
  "@tanstack/store": "0.11.2",
@@ -92,7 +92,7 @@
92
92
  "vitest": "5.0.4"
93
93
  },
94
94
  "peerDependencies": {
95
- "@agimon-ai/po-native-components": "0.0.0-alpha.160",
95
+ "@agimon-ai/po-native-components": "0.0.0-alpha.161",
96
96
  "@earendil-works/pi-coding-agent": "1.5.1",
97
97
  "react-native": "0.88.1",
98
98
  "react-native-unistyles": "^3.5.3"