@agimon-ai/po-artifact 0.0.0-alpha.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/package.json ADDED
@@ -0,0 +1,152 @@
1
+ {
2
+ "name": "@agimon-ai/po-artifact",
3
+ "version": "0.0.0-alpha.1",
4
+ "description": "Durable session artifacts, prompt guidance, and web/native artifact views.",
5
+ "keywords": [
6
+ "ai",
7
+ "artifacts",
8
+ "coding-agent",
9
+ "developer-tools",
10
+ "pi-extension",
11
+ "po"
12
+ ],
13
+ "homepage": "https://agimon.ai",
14
+ "bugs": {
15
+ "url": "https://github.com/AgiFlow/po/issues"
16
+ },
17
+ "license": "MIT",
18
+ "author": "Vuong Ngo",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/AgiFlow/po.git",
22
+ "directory": "packages/foundations/po-artifact"
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "LICENSE",
27
+ "README.md"
28
+ ],
29
+ "type": "module",
30
+ "main": "./dist/index.cjs",
31
+ "module": "./dist/index.mjs",
32
+ "types": "./dist/index.d.mts",
33
+ "jsnext:main": "./dist/index.mjs",
34
+ "exports": {
35
+ ".": {
36
+ "types": "./dist/index.d.mts",
37
+ "import": "./dist/index.mjs",
38
+ "require": "./dist/index.cjs"
39
+ },
40
+ "./apiContracts": {
41
+ "types": "./dist/apiContracts.d.mts",
42
+ "import": "./dist/apiContracts.mjs",
43
+ "require": "./dist/apiContracts.cjs"
44
+ },
45
+ "./extensions/native": {
46
+ "import": "./dist/extensions/native.mjs"
47
+ },
48
+ "./extensions/server": {
49
+ "types": "./dist/extensions/server.d.mts",
50
+ "import": "./dist/extensions/server.mjs",
51
+ "require": "./dist/extensions/server.cjs"
52
+ },
53
+ "./extensions/web": {
54
+ "import": "./dist/extensions/web.mjs"
55
+ },
56
+ "./package.json": "./package.json"
57
+ },
58
+ "publishConfig": {
59
+ "access": "public",
60
+ "registry": "https://registry.npmjs.org/"
61
+ },
62
+ "dependencies": {
63
+ "@agimon-ai/po-core": "0.0.0-alpha.2",
64
+ "@agimon-ai/po-web-components": "0.0.0-alpha.2",
65
+ "@agimon-ai/po-web-security": "0.0.0-alpha.2",
66
+ "@deepseek-ai/cordis": "4.0.4",
67
+ "hono": "4.13.12",
68
+ "typebox": "1.3.34"
69
+ },
70
+ "devDependencies": {
71
+ "@agimon-ai/po-build": "0.0.0-alpha.2",
72
+ "@agimon-ai/po-native-components": "0.0.0-alpha.2",
73
+ "@agimon-ai/vibe-lint-plugin-doom-extension": "0.0.0-alpha.2",
74
+ "@earendil-works/pi-coding-agent": "1.2.0",
75
+ "@tanstack/react-store": "0.11.2",
76
+ "@tanstack/store": "0.11.2",
77
+ "@types/node": "25.9.9",
78
+ "@types/react": "19.3.0",
79
+ "@types/react-dom": "19.3.0",
80
+ "@vitest/coverage-v8": "5.0.3",
81
+ "react": "19.3.0",
82
+ "react-dom": "19.3.0",
83
+ "react-native": "0.86.3",
84
+ "react-native-unistyles": "3.5.2",
85
+ "tsdown": "0.23.1",
86
+ "typescript": "7.0.2",
87
+ "vitest": "5.0.3"
88
+ },
89
+ "peerDependencies": {
90
+ "@agimon-ai/po-native-components": "0.0.0-alpha.2",
91
+ "@earendil-works/pi-coding-agent": "1.2.0",
92
+ "react-native": "0.86.3",
93
+ "react-native-unistyles": "3.5.2"
94
+ },
95
+ "peerDependenciesMeta": {
96
+ "@earendil-works/pi-coding-agent": {
97
+ "optional": true
98
+ },
99
+ "@agimon-ai/po-native-components": {
100
+ "optional": true
101
+ },
102
+ "react-native": {
103
+ "optional": true
104
+ },
105
+ "react-native-unistyles": {
106
+ "optional": true
107
+ }
108
+ },
109
+ "engines": {
110
+ "node": ">=24"
111
+ },
112
+ "poNative": {
113
+ "pluginId": "artifacts",
114
+ "channels": [
115
+ "artifacts"
116
+ ],
117
+ "client": "./dist/extensions/native.mjs",
118
+ "scopes": [
119
+ "session"
120
+ ]
121
+ },
122
+ "poServer": {
123
+ "entry": "./generated/server.ts",
124
+ "dist": "./dist/extensions/server.mjs",
125
+ "scopes": [
126
+ "global",
127
+ "workspace",
128
+ "session"
129
+ ],
130
+ "contracts": {
131
+ "entry": "./src/exports/apiContracts.ts",
132
+ "dist": "./dist/apiContracts.mjs"
133
+ }
134
+ },
135
+ "poWeb": {
136
+ "pluginId": "artifacts",
137
+ "channels": [
138
+ "artifacts"
139
+ ],
140
+ "client": "./dist/extensions/web.mjs",
141
+ "scopes": [
142
+ "session"
143
+ ]
144
+ },
145
+ "scripts": {
146
+ "build": "tsdown",
147
+ "test": "vitest --run",
148
+ "typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.web.json && tsc --noEmit -p tsconfig.native.json",
149
+ "lint": "oxlint . && oxfmt . --check",
150
+ "fixcode": "oxlint . --fix && oxfmt ."
151
+ }
152
+ }