alpic 1.154.1 → 1.156.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.
- package/README.md +14 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -61,6 +61,20 @@ alpic whoami
|
|
|
61
61
|
alpic deploy
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
To exercise the **published** staging build against the staging environment, inline the same vars in front of `npx alpic@staging`. The `@staging` tag only pins the CLI binary — the API endpoint still defaults to production (`https://api.alpic.ai`), so without these vars the command hits prod:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
ALPIC_GLOBAL_CONFIG_DIR=~/.alpic-staging \
|
|
68
|
+
ALPIC_API_BASE_URL=https://api.staging.alpic.ai \
|
|
69
|
+
ALPIC_COGNITO_CLIENT_ID=2ab4khb8voo489m8qe2lj0u2lp \
|
|
70
|
+
ALPIC_GITHUB_APP_NAME=staging-alpic-ai \
|
|
71
|
+
npx alpic@staging login # then whoami / link / deploy with the same vars inlined
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
`ALPIC_GLOBAL_CONFIG_DIR` is important: credentials are otherwise stored in a single shared file, so `login` reuses your production token and reports "Already logged in" without ever authenticating against staging (it only checks token expiry, not the target endpoint). Pointing staging at its own config dir keeps the two sessions separate and avoids clobbering your production credentials.
|
|
75
|
+
|
|
76
|
+
`ALPIC_GITHUB_APP_NAME=staging-alpic-ai` is required for `git connect`: it defaults to the production app (`alpic-ai`), so without the override the printed GitHub App installation URL points at the wrong app and staging can't fetch the repo.
|
|
77
|
+
|
|
64
78
|
## Development Guidelines
|
|
65
79
|
|
|
66
80
|
**Tests**: The CLI is heavily tested. Any change should be covered by the existing test suite, or you should add or extend tests so behavior stays protected.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alpic",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.156.0",
|
|
4
4
|
"description": "The command-line interface for Alpic",
|
|
5
5
|
"homepage": "https://alpic.ai",
|
|
6
6
|
"preferGlobal": true,
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@clack/prompts": "^1.7.0",
|
|
29
29
|
"@oclif/core": "^4.11.14",
|
|
30
|
-
"@orpc/client": "^1.14.
|
|
31
|
-
"@orpc/contract": "^1.14.
|
|
32
|
-
"@orpc/openapi-client": "^1.14.
|
|
33
|
-
"@sentry/node": "^10.
|
|
30
|
+
"@orpc/client": "^1.14.8",
|
|
31
|
+
"@orpc/contract": "^1.14.8",
|
|
32
|
+
"@orpc/openapi-client": "^1.14.8",
|
|
33
|
+
"@sentry/node": "^10.66.0",
|
|
34
34
|
"@t3-oss/env-core": "^0.13.11",
|
|
35
35
|
"@vercel/detect-agent": "^1.2.3",
|
|
36
36
|
"chalk": "^5.6.2",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"envfile": "^7.1.0",
|
|
39
39
|
"jwt-decode": "^4.0.0",
|
|
40
40
|
"open": "^11.0.0",
|
|
41
|
-
"posthog-node": "^5.
|
|
41
|
+
"posthog-node": "^5.45.2",
|
|
42
42
|
"semver": "^7.8.5",
|
|
43
43
|
"undici": "^6.27.0",
|
|
44
44
|
"zod": "^4.4.3",
|
|
45
|
-
"@alpic-ai/api": "1.
|
|
46
|
-
"@alpic-ai/sdk": "1.
|
|
45
|
+
"@alpic-ai/api": "1.156.0",
|
|
46
|
+
"@alpic-ai/sdk": "1.156.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@orpc/openapi": "^1.14.
|
|
50
|
-
"@orpc/server": "^1.14.
|
|
51
|
-
"@orpc/zod": "^1.14.
|
|
49
|
+
"@orpc/openapi": "^1.14.8",
|
|
50
|
+
"@orpc/server": "^1.14.8",
|
|
51
|
+
"@orpc/zod": "^1.14.8",
|
|
52
52
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
53
53
|
"@types/express": "^5.0.6",
|
|
54
54
|
"@types/node": "^25.9.5",
|