@alphafox/cli 0.3.4 → 0.3.5
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/LICENSE +1 -1
- package/README.md +24 -6
- package/dist/auth/loopback-callback.js +3 -3
- package/dist/commands/run.js +17 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -1
- package/dist/install/types.d.ts +8 -1
- package/dist/install/types.js +1 -0
- package/dist/install/wizard.js +91 -53
- package/dist/keychain/windows-credential.d.ts +1 -1
- package/dist/keychain/windows-credential.js +1 -1
- package/dist/skills/manager.d.ts +96 -0
- package/dist/skills/manager.js +445 -0
- package/dist/skills/run-command.d.ts +22 -0
- package/dist/skills/run-command.js +143 -0
- package/dist/skills-manifest.json +141 -0
- package/dist/update/run-command.d.ts +41 -0
- package/dist/update/run-command.js +204 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/agents/issue-tracker.md +2 -2
- package/docs/agents/triage-labels.md +1 -1
- package/docs/alphafox-cli-installation-guide.md +15 -16
- package/docs/index.html +11 -11
- package/docs/release-supply-chain.md +11 -6
- package/package.json +2 -2
- package/skills/account/SKILL.md +1 -1
- package/skills/admin/SKILL.md +1 -1
- package/skills/alphafox/SKILL.md +4 -4
- package/skills/alphafox-shared/SKILL.md +16 -4
- package/skills/auth/SKILL.md +2 -2
- package/skills/engine-backtest/SKILL.md +1 -1
- package/skills/exchange/SKILL.md +1 -1
- package/skills/market/SKILL.md +1 -1
- package/skills/notification/SKILL.md +1 -1
- package/skills/strategy/SKILL.md +1 -1
- package/skills/trading/SKILL.md +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: alphafox-shared
|
|
3
|
-
description: Shared
|
|
4
|
-
version: 0.3.
|
|
3
|
+
description: Shared AlphaFox CLI rules for Agents — auth, profiles, envelopes, risk gates, and public operationIds only.
|
|
4
|
+
version: 0.3.5
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# AlphaFox shared Agent contract
|
|
8
8
|
|
|
9
9
|
User-facing entry is skill `alphafox` (router). This file is the shared CLI contract every domain skill assumes.
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ Co-versioned with `@alphafox/cli`. Query compatibility with `alphafox version --
|
|
|
14
14
|
|
|
15
15
|
Prefer the wizard (CLI + Agent Skills) or the Agent install guide. Do not treat
|
|
16
16
|
`npm install -g @alphafox/cli` as enough for Agents — Skills must be registered
|
|
17
|
-
with `
|
|
17
|
+
with `alphafox skills sync`.
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npx @alphafox/cli@latest install
|
|
@@ -24,6 +24,18 @@ npx @alphafox/cli version --format json --no-input
|
|
|
24
24
|
npx @alphafox/cli doctor --format json --no-input
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
Update checks are read-only. A real update keeps CLI and Skills co-versioned:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
alphafox update --check --format json --no-input
|
|
31
|
+
alphafox update --format json --no-input
|
|
32
|
+
alphafox skills status --format json --no-input
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Never update AlphaFox Skills independently from GitHub. If `skills status`
|
|
36
|
+
reports local modifications, stop and ask before using
|
|
37
|
+
`alphafox skills sync --force --yes`; the CLI backs up replaced files.
|
|
38
|
+
|
|
27
39
|
- Default profile: `production`. Use `--profile staging|local` explicitly.
|
|
28
40
|
- Tokens: OS keychain only (macOS Keychain, Linux Secret Service, Windows Credential Manager). Never pass `--token`. Never read tokens from config JSON.
|
|
29
41
|
- Automation tokens are **not supported in v1** (interactive Device Flow / PKCE only).
|
package/skills/auth/SKILL.md
CHANGED
package/skills/exchange/SKILL.md
CHANGED
package/skills/market/SKILL.md
CHANGED
package/skills/strategy/SKILL.md
CHANGED