@scanton/phase2s 0.23.0 → 0.24.0

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 +3 -1
  2. package/package.json +8 -2
package/README.md CHANGED
@@ -124,6 +124,7 @@ phase2s skills
124
124
 
125
125
  ## Docs
126
126
 
127
+ - [GitHub Actions](docs/github-action.md) — `uses: scanton/phase2s@v1` reference, inputs, outputs, examples
127
128
  - [Getting started](docs/getting-started.md) — full setup walkthrough, first session, first skill call
128
129
  - [Skills reference](docs/skills.md) — all 29 skills with examples and arguments
129
130
  - [Workflows](docs/workflows.md) — real development sessions: feature, debug, review, weekly rhythm
@@ -142,7 +143,7 @@ phase2s skills
142
143
  - [x] SKILL.md compatibility with `~/.codex/skills/`
143
144
  - [x] Smart skill argument parsing (file paths vs. context strings)
144
145
  - [x] File sandbox: tools reject paths outside the project directory, including symlink escapes
145
- - [x] 341 tests covering all tools, core modules, and agent integration (`npm test`)
146
+ - [x] 365 tests covering all tools, core modules, agent integration, and the GitHub Action (`npm test`)
146
147
  - [x] CI: runs `npm test` on every push and PR (GitHub Actions, Node.js 22)
147
148
  - [x] Direct OpenAI API provider with live tool calling
148
149
  - [x] Anthropic API provider — Claude 3.5 Sonnet and family, all 29 skills
@@ -169,6 +170,7 @@ phase2s skills
169
170
  - [x] Shell completion — `eval "$(phase2s completion bash)"` for tab-complete in bash/zsh
170
171
  - [x] Tool allow/deny — `tools:` and `deny:` in `.phase2s.yaml` restrict agent tool access
171
172
  - [x] Headless browser tool — navigate, click, type, screenshot, evaluate JS via Playwright (opt-in: `browser: true`)
173
+ - [x] GitHub Action — `uses: scanton/phase2s@v1` runs any skill in CI, posts results as PR comments and Step Summaries
172
174
  - [ ] Real Codex streaming (JSONL stdout parsing)
173
175
 
174
176
  ---
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@scanton/phase2s",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "AI programming harness with multi-model support",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/",
8
+ "!dist/action/",
8
9
  ".phase2s/",
9
10
  "README.md",
10
11
  "LICENSE"
@@ -19,7 +20,8 @@
19
20
  "start": "node dist/bin/phase2s.js",
20
21
  "lint": "tsc --noEmit",
21
22
  "test": "vitest run",
22
- "test:watch": "vitest"
23
+ "test:watch": "vitest",
24
+ "build:action": "ncc build src/action/index.ts -o dist/action --license licenses.txt"
23
25
  },
24
26
  "test": {
25
27
  "include": [
@@ -50,7 +52,11 @@
50
52
  "zod": "^3.23.0"
51
53
  },
52
54
  "devDependencies": {
55
+ "@actions/core": "^1.11.1",
56
+ "@actions/exec": "^1.1.1",
57
+ "@actions/github": "^6.0.1",
53
58
  "@types/node": "^22.9.0",
59
+ "@vercel/ncc": "^0.38.4",
54
60
  "playwright": ">=1.40.0",
55
61
  "typescript": "^5.7.0",
56
62
  "vitest": "^4.1.2"