poe-code 3.0.145 → 3.0.147

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.
@@ -12,6 +12,22 @@ jobs:
12
12
  pull-requests: write
13
13
  security-events: read
14
14
  steps:
15
+ - name: Preflight
16
+ env:
17
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
18
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
19
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
20
+ run: |
21
+ missing=()
22
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
23
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
24
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
25
+ if [ ${#missing[@]} -gt 0 ]; then
26
+ for name in "${missing[@]}"; do
27
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
28
+ done
29
+ exit 1
30
+ fi
15
31
  - uses: actions/create-github-app-token@v1
16
32
  id: app-token
17
33
  with:
@@ -18,6 +18,22 @@ jobs:
18
18
  permissions:
19
19
  contents: read
20
20
  steps:
21
+ - name: Preflight
22
+ env:
23
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
24
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
25
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
26
+ run: |
27
+ missing=()
28
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
29
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
30
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
31
+ if [ ${#missing[@]} -gt 0 ]; then
32
+ for name in "${missing[@]}"; do
33
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
34
+ done
35
+ exit 1
36
+ fi
21
37
  - uses: actions/create-github-app-token@v1
22
38
  id: app-token
23
39
  with:
@@ -61,6 +77,22 @@ jobs:
61
77
  issues: write
62
78
  pull-requests: write
63
79
  steps:
80
+ - name: Preflight
81
+ env:
82
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
83
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
84
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
85
+ run: |
86
+ missing=()
87
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
88
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
89
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
90
+ if [ ${#missing[@]} -gt 0 ]; then
91
+ for name in "${missing[@]}"; do
92
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
93
+ done
94
+ exit 1
95
+ fi
64
96
  - uses: actions/create-github-app-token@v1
65
97
  id: app-token
66
98
  with:
@@ -15,6 +15,22 @@ jobs:
15
15
  issues: write
16
16
  pull-requests: write
17
17
  steps:
18
+ - name: Preflight
19
+ env:
20
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
21
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
22
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
23
+ run: |
24
+ missing=()
25
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
26
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
27
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
28
+ if [ ${#missing[@]} -gt 0 ]; then
29
+ for name in "${missing[@]}"; do
30
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
31
+ done
32
+ exit 1
33
+ fi
18
34
  - uses: actions/create-github-app-token@v1
19
35
  id: app-token
20
36
  with:
@@ -10,6 +10,22 @@ jobs:
10
10
  contents: read
11
11
  pull-requests: write
12
12
  steps:
13
+ - name: Preflight
14
+ env:
15
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
16
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
17
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
18
+ run: |
19
+ missing=()
20
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
21
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
22
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
23
+ if [ ${#missing[@]} -gt 0 ]; then
24
+ for name in "${missing[@]}"; do
25
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
26
+ done
27
+ exit 1
28
+ fi
13
29
  - uses: actions/create-github-app-token@v1
14
30
  id: app-token
15
31
  with:
@@ -10,6 +10,22 @@ jobs:
10
10
  contents: read
11
11
  pull-requests: write
12
12
  steps:
13
+ - name: Preflight
14
+ env:
15
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
16
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
17
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
18
+ run: |
19
+ missing=()
20
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
21
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
22
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
23
+ if [ ${#missing[@]} -gt 0 ]; then
24
+ for name in "${missing[@]}"; do
25
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
26
+ done
27
+ exit 1
28
+ fi
13
29
  - uses: actions/create-github-app-token@v1
14
30
  id: app-token
15
31
  with:
@@ -11,6 +11,22 @@ jobs:
11
11
  contents: write
12
12
  pull-requests: write
13
13
  steps:
14
+ - name: Preflight
15
+ env:
16
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
17
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
18
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
19
+ run: |
20
+ missing=()
21
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
22
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
23
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
24
+ if [ ${#missing[@]} -gt 0 ]; then
25
+ for name in "${missing[@]}"; do
26
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
27
+ done
28
+ exit 1
29
+ fi
14
30
  - uses: actions/create-github-app-token@v1
15
31
  id: app-token
16
32
  with:
@@ -11,6 +11,22 @@ jobs:
11
11
  contents: write
12
12
  pull-requests: write
13
13
  steps:
14
+ - name: Preflight
15
+ env:
16
+ POE_CODE_AGENT_APP_ID: ${{ secrets.POE_CODE_AGENT_APP_ID }}
17
+ POE_CODE_AGENT_PRIVATE_KEY: ${{ secrets.POE_CODE_AGENT_PRIVATE_KEY }}
18
+ POE_API_KEY: ${{ secrets.POE_API_KEY }}
19
+ run: |
20
+ missing=()
21
+ [ -z "$POE_CODE_AGENT_APP_ID" ] && missing+=("POE_CODE_AGENT_APP_ID")
22
+ [ -z "$POE_CODE_AGENT_PRIVATE_KEY" ] && missing+=("POE_CODE_AGENT_PRIVATE_KEY")
23
+ [ -z "$POE_API_KEY" ] && missing+=("POE_API_KEY")
24
+ if [ ${#missing[@]} -gt 0 ]; then
25
+ for name in "${missing[@]}"; do
26
+ echo "::error::Missing required secret: $name — add it in Settings → Secrets and variables → Actions"
27
+ done
28
+ exit 1
29
+ fi
14
30
  - uses: actions/create-github-app-token@v1
15
31
  id: app-token
16
32
  with:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "3.0.145",
3
+ "version": "3.0.147",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",