@jennie-shawn/starwork 0.1.0-alpha.0 → 0.1.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/README.md CHANGED
@@ -1,18 +1,153 @@
1
- # product
1
+ # StarWork
2
2
 
3
- `product/` StarWork 的正式产品事实源。
3
+ StarWork is an AI workspace protocol and toolkit for keeping long-running work organized across agents, projects, and sessions.
4
4
 
5
- 凡是会进入 StarWork 产品、版本、协议、CLI、Pack、适配器、正式文档或发布物的内容,都放在这里。
5
+ It provides:
6
6
 
7
- 过程材料、调研笔记、临时草稿先放到 `matters/`,成熟后再晋升到本目录。
7
+ - **Core**: workspace structures, roles, health checks, and project-state conventions.
8
+ - **CLI**: commands for creating, checking, adapting, extending, and spawning workspaces.
9
+ - **Packs**: scenario templates for common workflows.
10
+ - **Skills**: Agent workflows that help Codex and other agents design StarWork workspaces.
8
11
 
9
- ## 目录
12
+ StarWork is currently in early A-test. The current package is intended for installation testing, workflow validation, and product feedback.
10
13
 
11
- - `core/`:Core 协议、Kit、Profile、Capability 和 Preset。
12
- - `cli/`:StarWork CLI 源码、命令规格和命令级文档。
13
- - `packs/`:正式场景 Pack。
14
- - `skills/`:StarWork 自研 Agent skill。
15
- - `adapters/`:不同 Agent 的适配规则和实现。
16
- - `schemas/`:结构化 schema。
17
- - `examples/`:正式示例工作区或示例片段。
18
- - `docs/`:产品文档、路线图、规格说明和对外说明。
14
+ ## Install
15
+
16
+ Install the CLI globally:
17
+
18
+ ```bash
19
+ npm install -g @jennie-shawn/starwork
20
+ starwork --help
21
+ ```
22
+
23
+ Or run it without global installation:
24
+
25
+ ```bash
26
+ npx @jennie-shawn/starwork --help
27
+ ```
28
+
29
+ ## Install Skills
30
+
31
+ StarWork skills are distributed through the `skills` CLI from the GitHub repository.
32
+
33
+ Install all StarWork skills for Codex:
34
+
35
+ ```bash
36
+ npx skills add jennie-shawn/starwork --skill '*' -g -a codex -y
37
+ ```
38
+
39
+ Install individual skills:
40
+
41
+ ```bash
42
+ npx skills add jennie-shawn/starwork --skill starworkInit -g -a codex -y
43
+ npx skills add jennie-shawn/starwork --skill starworkSpawn -g -a codex -y
44
+ ```
45
+
46
+ Available skills:
47
+
48
+ - `starworkInit`: helps an agent design a friendly `starwork init` plan for a new workspace.
49
+ - `starworkSpawn`: helps an agent design a `starwork spawn --blueprint` plan for a satellite workspace.
50
+
51
+ ## Quick Start
52
+
53
+ Create a single-project workspace:
54
+
55
+ ```bash
56
+ starwork init \
57
+ --type single-matter \
58
+ --pack general \
59
+ --name "StarWork A Test" \
60
+ --target ~/Desktop/starwork-a-test \
61
+ --yes
62
+ ```
63
+
64
+ Check the workspace:
65
+
66
+ ```bash
67
+ starwork doctor --target ~/Desktop/starwork-a-test
68
+ ```
69
+
70
+ Create a multi-project Hub:
71
+
72
+ ```bash
73
+ starwork init \
74
+ --type hub \
75
+ --name "StarWork Hub A Test" \
76
+ --target ~/Desktop/starwork-hub-a-test \
77
+ --yes
78
+ ```
79
+
80
+ Spawn a project from the Hub:
81
+
82
+ ```bash
83
+ starwork spawn \
84
+ --hub ~/Desktop/starwork-hub-a-test \
85
+ --name "Alpha Project" \
86
+ --target ~/Desktop/starwork-alpha-project \
87
+ --mode matter \
88
+ --yes
89
+ ```
90
+
91
+ Check the spawned project:
92
+
93
+ ```bash
94
+ starwork doctor --target ~/Desktop/starwork-alpha-project
95
+ ```
96
+
97
+ ## CLI Commands
98
+
99
+ ```text
100
+ starwork init
101
+ starwork doctor
102
+ starwork spawn
103
+ starwork adapt
104
+ starwork pack install
105
+ ```
106
+
107
+ Current capabilities:
108
+
109
+ - `init`: creates a local starter workspace, local matter workspace, or multi-project Hub.
110
+ - `doctor`: checks workspace health, required files, Pack installation, and blueprint customization.
111
+ - `spawn`: creates and registers a satellite project from an existing Hub.
112
+ - `adapt`: generates Agent-specific adapter files for Claude Code, Cursor, and related tools.
113
+ - `pack install`: installs supported Packs into compatible workspaces.
114
+
115
+ ## Repository Structure
116
+
117
+ ```text
118
+ .
119
+ ├── core/ # StarWork Core protocol, kits, profiles, and presets
120
+ ├── cli/ # CLI implementation and command specifications
121
+ ├── packs/ # Scenario Packs
122
+ ├── skills/ # Agent skills
123
+ ├── schemas/ # Structured schemas
124
+ ├── adapters/ # Agent adapter rules
125
+ ├── examples/ # Examples and sample snippets
126
+ └── docs/ # Product documentation and A-test guides
127
+ ```
128
+
129
+ ## A-test Notes
130
+
131
+ This release is intended for early testers. Please focus feedback on:
132
+
133
+ - whether the CLI installs and runs cleanly;
134
+ - whether generated workspace structures are easy to understand;
135
+ - whether `doctor` explains problems clearly;
136
+ - whether Hub + Satellite workflows feel natural;
137
+ - whether `starworkInit` and `starworkSpawn` can be discovered and used by Codex.
138
+
139
+ For a fuller test script, see [docs/alpha-test-guide.md](docs/alpha-test-guide.md).
140
+
141
+ ## Development
142
+
143
+ Run the test suite:
144
+
145
+ ```bash
146
+ npm test
147
+ ```
148
+
149
+ Preview the npm package contents:
150
+
151
+ ```bash
152
+ npm pack --dry-run
153
+ ```
@@ -6,21 +6,21 @@
6
6
  - GitHub repository:`jennie-shawn/starwork`
7
7
  - npm package:`@jennie-shawn/starwork`
8
8
  - CLI command:`starwork`
9
- - A 测 tag:`alpha`
9
+ - A 测 tag:`latest`
10
10
 
11
11
  ## A 测用户安装 CLI
12
12
 
13
13
  全局安装:
14
14
 
15
15
  ```bash
16
- npm install -g @jennie-shawn/starwork@alpha
16
+ npm install -g @jennie-shawn/starwork
17
17
  starwork --help
18
18
  ```
19
19
 
20
20
  不全局安装:
21
21
 
22
22
  ```bash
23
- npx @jennie-shawn/starwork@alpha --help
23
+ npx @jennie-shawn/starwork --help
24
24
  ```
25
25
 
26
26
  ## A 测用户安装 Skills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jennie-shawn/starwork",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-alpha.1",
4
4
  "description": "StarWork Core, CLI, Packs, and Agent skills for AI workspaces.",
5
5
  "type": "commonjs",
6
6
  "bin": {
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public",
26
- "tag": "alpha"
26
+ "tag": "latest"
27
27
  },
28
28
  "scripts": {
29
29
  "starwork": "node cli/bin/starwork.js",