@phreshos/cli 0.1.50 → 0.1.51

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.
@@ -1,9 +1,20 @@
1
1
  # Phresh Program
2
2
 
3
- The official minimal starter Program generated by `phresh create`.
3
+ The minimal starter Program generated by `phresh create`.
4
4
 
5
- It demonstrates one Client and one Server communicating directly through the
6
- standard PhreshOS Endpoint contracts.
5
+ [First Program](https://docs.phreshos.com/first-program) ·
6
+ [Program authoring](https://docs.phreshos.com/sdks/core#program-configuration) ·
7
+ [Source](https://github.com/PhreshOS/phresh-program)
8
+
9
+ ## Role
10
+
11
+ Phresh Program demonstrates one Client Endpoint and one Server Endpoint
12
+ communicating through their standard contracts. The Server owns a counter, and
13
+ the Client renders it.
14
+
15
+ The repository is a complete ordinary Program and the source of the starter
16
+ bundled by the CLI. It deliberately adds no application hierarchy, registered
17
+ Service, or generator-specific model.
7
18
 
8
19
  ## Create a Program
9
20
 
@@ -11,27 +22,9 @@ standard PhreshOS Endpoint contracts.
11
22
  phresh create
12
23
  ```
13
24
 
14
- The CLI bundles a verified release of this repository and creates the new
15
- project without requiring a live template checkout.
16
-
17
- ## Structure
18
-
19
- ```text
20
- phresh.config.ts
21
- client/
22
- ├── app.tsx
23
- ├── index.html
24
- ├── main.tsx
25
- └── style.css
26
- server/
27
- └── main.ts
28
- scripts/
29
- └── build.ts
30
- ```
31
-
32
- The Server owns the counter. The Client renders it and communicates with its
33
- paired Server. The example deliberately has no additional MVC hierarchy and no
34
- registered Service.
25
+ The CLI creates a project from a verified bundled release without requiring a
26
+ template checkout. Follow [First Program](https://docs.phreshos.com/first-program)
27
+ to inspect, develop, and run the result.
35
28
 
36
29
  ## Development
37
30
 
@@ -41,7 +34,7 @@ bun run verify
41
34
  bun run dev
42
35
  ```
43
36
 
44
- Build, attach the production definition, or package the Program with:
37
+ Build, run the production definition, or package the Program with:
45
38
 
46
39
  ```sh
47
40
  bun run build
@@ -52,11 +45,19 @@ bun run pack
52
45
  `verify` checks the source, builds both Endpoints, and validates the packaged
53
46
  Program shape.
54
47
 
55
- ## Repository boundary
48
+ ## Related repositories
49
+
50
+ - [`@phreshos/cli`](https://github.com/PhreshOS/cli) bundles this repository for
51
+ `phresh create` and owns the project command interface.
52
+ - [`@phreshos/core`](https://github.com/PhreshOS/core) owns the Program and
53
+ Endpoint contracts demonstrated here.
54
+ - [`@phreshos/client`](https://github.com/PhreshOS/client) and
55
+ [`@phreshos/server`](https://github.com/PhreshOS/server) provide the two
56
+ runtime adapters used by the Program.
57
+ - [PhreshOS System](https://github.com/PhreshOS/system) runs the resulting
58
+ Program.
56
59
 
57
- This repository owns the starter source distributed by the CLI. It remains a
58
- complete ordinary Program rather than a second template model or generator-only
59
- fixture.
60
+ ## Contributing
60
61
 
61
62
  See [CONTRIBUTING.md](CONTRIBUTING.md) for the repository workflow and
62
63
  [SECURITY.md](SECURITY.md) for private vulnerability reporting.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "phresh",
3
3
  "private": true,
4
- "version": "0.1.29",
4
+ "version": "0.1.30",
5
5
  "description": "The official PhreshOS starter Program.",
6
6
  "type": "module",
7
7
  "scripts": {
@@ -14,15 +14,15 @@
14
14
  "starter"
15
15
  ],
16
16
  "dependencies": {
17
- "@phreshos/client": "^0.1.33",
18
- "@phreshos/core": "^0.1.37",
17
+ "@phreshos/client": "^0.1.36",
18
+ "@phreshos/core": "^0.1.40",
19
19
  "@phreshos/react": "^0.1.19",
20
- "@phreshos/server": "^0.1.37",
20
+ "@phreshos/server": "^0.1.40",
21
21
  "react": "^19.2.8",
22
22
  "react-dom": "^19.2.8"
23
23
  },
24
24
  "devDependencies": {
25
- "@phreshos/cli": "^0.1.50",
25
+ "@phreshos/cli": "^0.1.51",
26
26
  "@types/node": "^26.4.0",
27
27
  "@types/react": "^19.2.18",
28
28
  "@types/react-dom": "^19.2.5",
@@ -4,7 +4,7 @@ export default defineConfig({
4
4
  identity: "phresh",
5
5
  name: "Phresh Program",
6
6
  description: "A minimal counter with direct Client and Server endpoints.",
7
- version: "0.1.29",
7
+ version: "0.1.30",
8
8
  icon: "icon.png",
9
9
  categories: ["Development"],
10
10
  keywords: ["example", "counter", "client", "server"],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "repository": "PhreshOS/phresh-program",
3
- "version": "0.1.29",
4
- "sha256": "af18a08633faeb6b824c8d5233403d7c9d412aeaac1c456ee2a9e30925852113",
3
+ "version": "0.1.30",
4
+ "sha256": "80d4648ce8a846633c11fdf7df455bd770fde47b99fda45c05c457e8551c0592",
5
5
  "development": true
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@phreshos/cli",
3
3
  "type": "module",
4
- "version": "0.1.50",
4
+ "version": "0.1.51",
5
5
  "description": "The Phresh command-line interface for Program projects and system management.",
6
6
  "engines": {
7
7
  "node": ">=20.10"
@@ -49,8 +49,8 @@
49
49
  "packageManager": "bun@1.3.14",
50
50
  "dependencies": {
51
51
  "@clack/prompts": "^1.7.0",
52
- "@phreshos/core": "^0.1.39",
53
- "@phreshos/node": "^0.1.14",
52
+ "@phreshos/core": "^0.1.40",
53
+ "@phreshos/node": "^0.1.15",
54
54
  "adm-zip": "^0.6.0",
55
55
  "commander": "^15.0.0",
56
56
  "picocolors": "^1.1.1"