forgecommandline 0.8.0__tar.gz → 0.8.1__tar.gz
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.
- forgecommandline-0.8.1/LICENSE +190 -0
- forgecommandline-0.8.1/NOTICE +19 -0
- forgecommandline-0.8.1/PKG-INFO +420 -0
- forgecommandline-0.8.1/README.md +401 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/__init__.py +1 -1
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/ads.py +33 -13
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/cli.py +79 -7
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/ui.py +15 -2
- forgecommandline-0.8.1/forgecli/update.py +138 -0
- forgecommandline-0.8.1/forgecommandline.egg-info/PKG-INFO +420 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecommandline.egg-info/SOURCES.txt +6 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/pyproject.toml +9 -1
- forgecommandline-0.8.1/skills/skill-inspector/LICENSE +190 -0
- forgecommandline-0.8.1/skills/skill-inspector/NOTICE +4 -0
- forgecommandline-0.8.1/skills/skill-inspector/SKILL.md +91 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/tests/test_failover.py +3 -0
- forgecommandline-0.8.0/PKG-INFO +0 -357
- forgecommandline-0.8.0/README.md +0 -346
- forgecommandline-0.8.0/forgecommandline.egg-info/PKG-INFO +0 -357
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/agent.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/art.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/attach.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/brief.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/browsercheck.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/checkpoints.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/city.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/config.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/courier.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/courier_data.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/courier_hd.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/courier_hd_data.bin +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/courier_hd_data.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/ghlogin.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/github.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/guards.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/hooks.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/httpapi.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/images.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/keys.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/keyvault.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/mcp.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/memory.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/openapi.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/parallel.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/prices.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/procs.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/providers.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/quality.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/repomap.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/roster.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/safety.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/sandbox.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/sessions.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/skills.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/tools.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecli/worktrees.py +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecommandline.egg-info/dependency_links.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecommandline.egg-info/entry_points.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecommandline.egg-info/requires.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/forgecommandline.egg-info/top_level.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/setup.cfg +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/commit/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/debug/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/explain/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/init/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/LICENSES/agent-skills-MIT.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/LICENSES/wondelai-MIT.txt +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/README.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/accessibility-checklist.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/definition-of-done.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/observability-checklist.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/orchestration-patterns.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/performance-checklist.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/security-checklist.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/_references/testing-patterns.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/api-and-interface-design/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/architecture-optimization/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/architecture-optimization/references/artifact-templates.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/architecture-optimization/references/methods.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/awwwards-tier-web-application/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/browser-testing-with-devtools/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/ci-cd-and-automation/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/code-review-and-quality/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/code-simplification/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/constraint-driven-development/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/constraint-driven-development/references/floor-guard.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/context-engineering/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/debugging-and-error-recovery/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/deprecation-and-migration/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/documentation-and-adrs/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/doubt-driven-development/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/frontend-ui-engineering/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/git-workflow-and-versioning/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/idea-refine/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/idea-refine/examples.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/idea-refine/frameworks.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/idea-refine/refinement-criteria.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/idea-refine/scripts/idea-refine.sh +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/improve-code-quality/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/improve-code-quality/references/artifact-templates.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/incremental-implementation/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/interview-me/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/observability-and-instrumentation/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/performance-optimization/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/performance-optimization/references/optimization-patterns.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/planning-and-task-breakdown/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/remove-technical-debt/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/remove-technical-debt/references/artifact-templates.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/security-and-hardening/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/security-and-hardening/references/hardening-patterns.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/shipping-and-launch/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/source-driven-development/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/spec-driven-development/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/building-blocks.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/common-designs.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/database-scaling.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/estimation-numbers.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/four-step-process.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/system-design/references/reliability-operations.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/test-driven-development/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/library/using-agent-skills/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/review/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/run/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/security-review/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/simplify/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/test/SKILL.md +0 -0
- {forgecommandline-0.8.0 → forgecommandline-0.8.1}/skills/web-build/SKILL.md +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to the Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by the Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding any notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
HK Labs © 2026 Harry Sigei
|
|
179
|
+
|
|
180
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
|
+
you may not use this file except in compliance with the License.
|
|
182
|
+
You may obtain a copy of the License at
|
|
183
|
+
|
|
184
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
185
|
+
|
|
186
|
+
Unless required by applicable law or agreed to in writing, software
|
|
187
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
188
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
189
|
+
See the License for the specific language governing permissions and
|
|
190
|
+
limitations under the License.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Forge (forgecommandline)
|
|
2
|
+
HK Labs © 2026 Harry Sigei
|
|
3
|
+
|
|
4
|
+
This product is licensed under the Apache License, Version 2.0 (see LICENSE).
|
|
5
|
+
Use of Forge is also subject to TERMS.md, DISCLAIMER.md and PRIVACY.md.
|
|
6
|
+
|
|
7
|
+
"Forge", "HK Labs", the Forge tiger mascot and the Forge courier character are
|
|
8
|
+
not licensed under the Apache License. See TRADEMARKS.md.
|
|
9
|
+
|
|
10
|
+
This product includes third-party material under its own licences:
|
|
11
|
+
|
|
12
|
+
- skills/skill-inspector: adapted from NVIDIA SkillSpector
|
|
13
|
+
(https://github.com/NVIDIA/SkillSpector), Copyright 2026 NVIDIA CORPORATION &
|
|
14
|
+
AFFILIATES, Apache License 2.0. See skills/skill-inspector/LICENSE and NOTICE.
|
|
15
|
+
- skills/library: third-party skill packs under the MIT licence.
|
|
16
|
+
See skills/library/LICENSES/.
|
|
17
|
+
|
|
18
|
+
Python dependencies installed alongside Forge (rich, prompt_toolkit, PyYAML,
|
|
19
|
+
keyring and others) are distributed under their own licences by their authors.
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: forgecommandline
|
|
3
|
+
Version: 0.8.1
|
|
4
|
+
Summary: A terminal coding agent with provider failover
|
|
5
|
+
Author: Harry Sigei (HK Labs)
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://forgecli.pages.dev
|
|
8
|
+
Project-URL: Source, https://github.com/HSigei/forgeCLI
|
|
9
|
+
Project-URL: Issues, https://github.com/HSigei/forgeCLI/issues
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Requires-Dist: rich>=13.7
|
|
15
|
+
Requires-Dist: prompt_toolkit>=3.0.40
|
|
16
|
+
Requires-Dist: PyYAML>=6.0
|
|
17
|
+
Requires-Dist: keyring>=25.0
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
<div align="center">
|
|
21
|
+
|
|
22
|
+
<img src="docs/media/banner.png" alt="Forge: a pixel-art tiger cub beside a neon FORGE sign over a night city" width="100%">
|
|
23
|
+
|
|
24
|
+
**A coding agent for your terminal that never stops at a rate limit.**<br>
|
|
25
|
+
Forge reads and edits your files and runs commands. Bring your own API keys from as many
|
|
26
|
+
providers as you like; when one is busy, the next one picks up the same conversation.
|
|
27
|
+
|
|
28
|
+
[](https://pypi.org/project/forgecommandline/)
|
|
29
|
+

|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
```powershell
|
|
33
|
+
pipx install forgecommandline
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[**Website**](https://forgecli.pages.dev) · [Releases](https://github.com/HSigei/forgeCLI/releases/latest) · [Security](SECURITY.md)
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## What it looks like
|
|
43
|
+
|
|
44
|
+
These are real screenshots from Windows Terminal. Run `forge` in any project folder:
|
|
45
|
+
|
|
46
|
+
<img src="docs/media/startup.png" alt="Forge start screen: pixel-art banner, then a panel with the model, failover route, folder, approval mode and last conversation" width="100%">
|
|
47
|
+
|
|
48
|
+
While it works, a courier pushes a wheelbarrow of parcels along the status line instead of a
|
|
49
|
+
spinner. Skills it picks, questions it asks and its replies all appear in the chat:
|
|
50
|
+
|
|
51
|
+
<img src="docs/media/working.png" alt="Forge mid-turn: two skills picked, a 'Forge asks' box with numbered options, the courier sprite and a Thinking line" width="100%">
|
|
52
|
+
|
|
53
|
+
<p align="center"><img src="docs/media/courier.gif" alt="The courier: a kid in headphones pushing a purple wheelbarrow" width="220"></p>
|
|
54
|
+
|
|
55
|
+
With `/city on`, a pixel city sits above the message box and its workers act out the same
|
|
56
|
+
events; a green DONE sign lights up when a turn finishes:
|
|
57
|
+
|
|
58
|
+
<img src="docs/media/chat.png" alt="Forge chat: two short replies with provider, model, time and token counts, and the pixel city with a DONE sign" width="100%">
|
|
59
|
+
|
|
60
|
+
| What you see | Meaning |
|
|
61
|
+
|---|---|
|
|
62
|
+
| `● Skill web-build · picked automatically` | Forge matched your request to a skill locally (no model call) and loaded its instructions |
|
|
63
|
+
| `● Write` · `● Update` · `● Shell` | every file change and command, with a preview, a coloured diff, or the first lines of output |
|
|
64
|
+
| `◆` | Forge's reply, followed by who answered, how long it took and how many tokens it used |
|
|
65
|
+
| `? Forge asks` | a question with numbered answers; type a number or your own answer |
|
|
66
|
+
| `⚠ … → trying the next one` | a provider failed; the next one continues the same turn, nothing is lost |
|
|
67
|
+
| `Thinking… 2s · ~6.3k context · ovh · …` | what is running right now; type to queue your next message |
|
|
68
|
+
| bottom bar | current model, context size, approval mode, conversation title |
|
|
69
|
+
|
|
70
|
+
In a terminal without sixel graphics (anything older than Windows Terminal 1.22, or not
|
|
71
|
+
WezTerm), the art is drawn with half-block characters instead.
|
|
72
|
+
|
|
73
|
+
When a step is risky, Forge stops and asks:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
┌─ ? Delete C:\Users\you\projects\site\old ─────────────────────────────────┐
|
|
77
|
+
│ needs your OK: deletes files │
|
|
78
|
+
└───────────────────────────────────────────────────────────────────────────┘
|
|
79
|
+
Allow? yes · always for this kind · no ›
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`/exit` prints how to get back: `forge -c` continues the conversation in that folder, and
|
|
83
|
+
`forge -r <id>` opens it from anywhere.
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Install
|
|
88
|
+
|
|
89
|
+
| Way | Command |
|
|
90
|
+
|---|---|
|
|
91
|
+
| pipx (recommended) | `pipx install forgecommandline` |
|
|
92
|
+
| pip | `python -m pip install forgecommandline` |
|
|
93
|
+
| Windows exe, no Python | download `forge-vX.Y.Z-windows-x64.zip` from Releases, unzip, put `forge.exe` on your PATH |
|
|
94
|
+
| From source | `python -m pip install .` in this folder, or run `forge.cmd` directly |
|
|
95
|
+
|
|
96
|
+
The command is `forge` whichever way you install it.
|
|
97
|
+
|
|
98
|
+
**Updates.** Forge checks PyPI once a day in the background and shows `update 0.8.1 → 0.9.0 is out`
|
|
99
|
+
on the start screen when there's a newer version. Nothing installs by itself: type `/update`
|
|
100
|
+
(or run `forge --update`) to install it — it picks `pipx upgrade` or `pip install --upgrade` to match
|
|
101
|
+
how you installed. On Windows Forge closes and the update finishes in a new window; your conversation
|
|
102
|
+
is saved, so `forge -c` picks it up. `/update check` only checks. The `.exe` build points you to the
|
|
103
|
+
new zip on Releases. Turn the daily check off with `FORGE_UPDATE_CHECK=0`.
|
|
104
|
+
|
|
105
|
+
## First run
|
|
106
|
+
|
|
107
|
+
```powershell
|
|
108
|
+
forge
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
The first interactive launch opens `/setup`, which adds a provider key. You can also paste a
|
|
112
|
+
key straight into the chat (Forge recognises it, files it under the right provider and redacts
|
|
113
|
+
it before anything is sent or saved) or use `/keys add`.
|
|
114
|
+
|
|
115
|
+
Forge doesn't come with keys of its own: it runs on yours. Free-tier keys from Groq, NVIDIA,
|
|
116
|
+
OpenRouter, Cerebras or Gemini are enough to start, and every extra key or provider you add is
|
|
117
|
+
one more place to fail over to. (A few public keyless gateways, kilo, llm7 and ovh, sit at the
|
|
118
|
+
very end of the chain as a last resort; they are slow and rate limited, so don't rely on them.)
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
forge chat in the current folder
|
|
122
|
+
forge -c continue the last conversation here
|
|
123
|
+
forge -r [#|id] pick a saved conversation, or jump to one
|
|
124
|
+
forge "fix the failing test" one prompt, then exit
|
|
125
|
+
forge -m qwen/qwen3-32b use a model for this run (or -m groq:qwen/qwen3-32b)
|
|
126
|
+
forge -p openrouter use only one provider for this run
|
|
127
|
+
forge -t start in team mode
|
|
128
|
+
forge -y auto-approve everything (careful)
|
|
129
|
+
forge -v show the key rotation and failover log
|
|
130
|
+
forge --status | --sessions | --version
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## At the prompt
|
|
134
|
+
|
|
135
|
+
| Keys | |
|
|
136
|
+
|---|---|
|
|
137
|
+
| <kbd>Enter</kbd> | send |
|
|
138
|
+
| <kbd>Ctrl</kbd>+<kbd>J</kbd> · <kbd>Alt</kbd>+<kbd>Enter</kbd> · line ending in `\` | new line |
|
|
139
|
+
| <kbd>Ctrl</kbd>+<kbd>V</kbd> | paste text |
|
|
140
|
+
| <kbd>Alt</kbd>+<kbd>V</kbd> | paste an image, file or path from the clipboard as an attachment |
|
|
141
|
+
| <kbd>Tab</kbd> | complete commands, models, skills, session numbers |
|
|
142
|
+
| <kbd>↑</kbd> <kbd>↓</kbd> | history |
|
|
143
|
+
| <kbd>Esc</kbd> · <kbd>Ctrl</kbd>+<kbd>C</kbd> | stop a reply |
|
|
144
|
+
| <kbd>Ctrl</kbd>+<kbd>D</kbd> | quit |
|
|
145
|
+
|
|
146
|
+
The message box stays open while Forge works, so you can type the next request; it is sent
|
|
147
|
+
when the current one finishes. Images go only to a model that can see them.
|
|
148
|
+
|
|
149
|
+
| Commands | |
|
|
150
|
+
|---|---|
|
|
151
|
+
| `/model` · `/model <provider> <model>` · `/models [provider] [filter]` | see, switch, list models |
|
|
152
|
+
| `/provider <name>` · `/provider auto` | pin one provider, or back to failover |
|
|
153
|
+
| `/sessions` · `/resume` · `/rename` · `/delete` · `/new` | saved conversations |
|
|
154
|
+
| `/undo` · `/plan <request>` | undo the last change · explore read-only, then do it |
|
|
155
|
+
| `/skills [words]` · `/skill <name> [request]` · `/<name>` | find and run skills |
|
|
156
|
+
| `/approve smart\|ask\|auto` · `/yes` | approval mode |
|
|
157
|
+
| `/parallel …` · `/team on` · `/roster` | several agents at once, coordinator mode, who's on the team |
|
|
158
|
+
| `/status` · `/balance` · `/cost` · `/doctor` | keys and rests, limits left, money spent, health |
|
|
159
|
+
| `/keys [add\|test\|remove]` · `/setup` | manage keys |
|
|
160
|
+
| `/github login\|status\|logout` · `/review` | GitHub sign-in · review the current diff |
|
|
161
|
+
| `/memory` · `/commands` · `/city` · `/ads` · `/update` · `/help` · `/exit` | |
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## How failover works
|
|
166
|
+
|
|
167
|
+
```text
|
|
168
|
+
your request
|
|
169
|
+
│
|
|
170
|
+
▼
|
|
171
|
+
┌─────────┐ 429 ┌─────────┐ timeout ┌────────────┐ ┌──────────────────┐
|
|
172
|
+
│ groq │─────▶│ nvidia │────────▶│ openrouter │─ … ─▶│ kilo · llm7 · ovh│
|
|
173
|
+
└─────────┘ └─────────┘ └────────────┘ └──────────────────┘
|
|
174
|
+
up to 4 keys each, the strongest available model first
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
- Providers are tried in `FORGE_PROVIDERS` order, up to 4 keys each.
|
|
178
|
+
- A rate limit rests only **that model on that key** (60 s for per-minute limits, until UTC
|
|
179
|
+
midnight for daily ones, 1 h for 401/403). The same key keeps serving the provider's other models.
|
|
180
|
+
- A provider silent for 30 s (`FORGE_TIMEOUT`) is skipped and avoided for a while.
|
|
181
|
+
- Empty, junk or moderation replies count as failures; replies cut off at the token limit are continued.
|
|
182
|
+
- The model that starts a task keeps it. If it has to hand over, the next model gets a note
|
|
183
|
+
saying what is done and what is still open.
|
|
184
|
+
- If every model is resting, Forge waits for the first one back (up to `FORGE_MAX_WAIT`, 150 s)
|
|
185
|
+
instead of giving up.
|
|
186
|
+
- A model that says the conversation is too large is remembered; Forge stops sending it
|
|
187
|
+
conversations that big and trims old tool output if nothing else fits.
|
|
188
|
+
|
|
189
|
+
Models are ranked by a 1–10 capability score worked out automatically from the model's name, a
|
|
190
|
+
quick background check and its track record. `/roster` shows each score and why.
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## Features
|
|
195
|
+
|
|
196
|
+
<details>
|
|
197
|
+
<summary><b>Approvals</b> — what runs on its own and what asks</summary>
|
|
198
|
+
|
|
199
|
+
| Mode | Behaviour |
|
|
200
|
+
|---|---|
|
|
201
|
+
| `smart` (default) | edits inside the folder and ordinary commands run; deleting, moving, `git push`/`reset`, global installs, registry, killing processes, admin, piping downloads into a shell and writing outside the folder ask |
|
|
202
|
+
| `ask` | every change asks |
|
|
203
|
+
| `auto` | nothing asks (`forge -y`) |
|
|
204
|
+
|
|
205
|
+
`FORGE_DENY_TOOLS` (comma-separated names or globs) and `FORGE_DENY_COMMANDS`
|
|
206
|
+
(semicolon-separated regexes) block actions even in `auto` mode.
|
|
207
|
+
</details>
|
|
208
|
+
|
|
209
|
+
<details>
|
|
210
|
+
<summary><b>Skills</b> — 10 built in, 30 in the library, plus any Claude Code skills you have</summary>
|
|
211
|
+
|
|
212
|
+
A skill is a Markdown file of instructions:
|
|
213
|
+
|
|
214
|
+
```text
|
|
215
|
+
~/.forge/skills/<name>/SKILL.md yours, every project
|
|
216
|
+
./.forge/skills/<name>/SKILL.md this project only
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
```markdown
|
|
220
|
+
---
|
|
221
|
+
name: lint
|
|
222
|
+
description: Run the linter and fix what it reports
|
|
223
|
+
---
|
|
224
|
+
Run `ruff check .`, fix each issue, and run it again until it passes.
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
- Built in: commit, debug, explain, init, review, run, security-review, simplify, skill-inspector, test, web-build. `skill-inspector` is adapted from [NVIDIA SkillSpector](https://github.com/NVIDIA/SkillSpector) (Apache-2.0): it scans a skill with `skillspector scan --no-llm` when that is installed, reads the source, and gives an APPROVE / CAUTION / REJECT verdict before you install it.
|
|
228
|
+
- `skills/library`: 30 engineering skills (TDD, debugging, code review, planning, API design,
|
|
229
|
+
security, CI/CD, performance, system design…). Third-party skills are MIT-licensed; see
|
|
230
|
+
`skills/library/LICENSES`.
|
|
231
|
+
- If Claude Code is installed, its skills are copied once into `~/.forge/library`; `/skills sync`
|
|
232
|
+
refreshes the copy.
|
|
233
|
+
- Only Forge's own skills are listed to the model. It finds the rest with `find_skill`, so each
|
|
234
|
+
request stays small. `/skill new <name>` creates one.
|
|
235
|
+
</details>
|
|
236
|
+
|
|
237
|
+
<details>
|
|
238
|
+
<summary><b>Parallel agents and team mode</b></summary>
|
|
239
|
+
|
|
240
|
+
```text
|
|
241
|
+
/parallel fix the test in api/ || write docs for utils.py || list every TODO in src/
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
Each task gets its own agent with a copy of the conversation, starting at a different provider.
|
|
245
|
+
Reports come back into the main conversation. `/parallel on` lets Forge split work by itself;
|
|
246
|
+
at most `FORGE_MAX_AGENTS` (5) run at once. With `FORGE_WORKTREES=1` each agent works in its own
|
|
247
|
+
git worktree under `.forge/worktrees/` on a `forge/agent-N-<time>` branch; merge what you want.
|
|
248
|
+
|
|
249
|
+
`/team on` (or `forge -t`) adds a coordinator: it does small requests itself and splits bigger
|
|
250
|
+
ones between the models that suit each part, then gives you one answer saying who did what.
|
|
251
|
+
`/roster bench` measures every model; `/team lead <worker>` picks the coordinator.
|
|
252
|
+
</details>
|
|
253
|
+
|
|
254
|
+
<details>
|
|
255
|
+
<summary><b>Docker sandbox</b></summary>
|
|
256
|
+
|
|
257
|
+
`FORGE_SANDBOX=docker` runs the model's shell commands in a container that only sees the project
|
|
258
|
+
folder (mounted at `/work`). Dev-server ports are published on `127.0.0.1` only.
|
|
259
|
+
`FORGE_SANDBOX_NET=none` cuts the network; `FORGE_SANDBOX_IMAGE` picks the image (default
|
|
260
|
+
`node:22-bookworm`). Needs Docker Desktop running. Approval rules still apply.
|
|
261
|
+
</details>
|
|
262
|
+
|
|
263
|
+
<details>
|
|
264
|
+
<summary><b>GitHub</b></summary>
|
|
265
|
+
|
|
266
|
+
- `/github login` shows a code to enter at github.com/login/device and keeps the token in your
|
|
267
|
+
key store; `/github logout` removes it. `gh auth login` or a token added with `/keys` also work.
|
|
268
|
+
- The `github_request` tool covers repos, branches, issues, pull requests, Actions and releases.
|
|
269
|
+
Reads are automatic, writes follow the approval mode, destructive operations always ask.
|
|
270
|
+
- `.github/workflows/forge-issue.yml`: comment `/forge` on an issue (owner, members and
|
|
271
|
+
collaborators only) and Forge works on a branch and opens a pull request.
|
|
272
|
+
</details>
|
|
273
|
+
|
|
274
|
+
<details>
|
|
275
|
+
<summary><b>MCP servers and HTTP APIs</b></summary>
|
|
276
|
+
|
|
277
|
+
Forge reads MCP servers from `~/.claude.json` (read-only), `~/.forge/mcp.json` and the project's
|
|
278
|
+
`.mcp.json`. Servers start only when a request needs them; tools load on demand with
|
|
279
|
+
`mcp_search`. Stdio and streamable HTTP are supported.
|
|
280
|
+
|
|
281
|
+
```json
|
|
282
|
+
{
|
|
283
|
+
"mcpServers": {
|
|
284
|
+
"my-service": {
|
|
285
|
+
"type": "streamable-http",
|
|
286
|
+
"url": "https://api.example.test/mcp",
|
|
287
|
+
"headers": {"Authorization": "Bearer {{env:MY_SERVICE_TOKEN}}"}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
`http_request` handles methods, headers, JSON/form bodies, uploads, downloads and pagination.
|
|
294
|
+
Credentials written as `{{env:NAME}}` are filled in at send time and redacted from replies.
|
|
295
|
+
`openapi_import` loads an OpenAPI 3 spec; `openapi_search` pulls in only the operations needed.
|
|
296
|
+
</details>
|
|
297
|
+
|
|
298
|
+
<details>
|
|
299
|
+
<summary><b>Checks after every edit</b></summary>
|
|
300
|
+
|
|
301
|
+
`.py`, `.json` and JavaScript (including inline page scripts) are syntax-checked right after a
|
|
302
|
+
write; a failure goes straight back to the model. `browser_check` opens a localhost page,
|
|
303
|
+
reports console errors and saves a screenshot to `~/.forge/screenshots`. When a turn builds a
|
|
304
|
+
page or starts a server, Forge opens it in your browser (`FORGE_AUTO_OPEN=0` to stop).
|
|
305
|
+
</details>
|
|
306
|
+
|
|
307
|
+
<details>
|
|
308
|
+
<summary><b>Memory, hooks and project commands</b></summary>
|
|
309
|
+
|
|
310
|
+
- `FORGE.md`, `CLAUDE.md` or `AGENTS.md` in the project are read automatically; `/skill init` writes one.
|
|
311
|
+
- Notes saved with `memory` live in `~/.forge/memory/`, per project or shared; `/memory` shows them.
|
|
312
|
+
- `.forge/commands/<name>.md` becomes `/<name>`, with `$ARGUMENTS` for what you type after it.
|
|
313
|
+
- Hooks live only in `~/.forge/hooks.json` (never in a repo): `pre_tool` hooks get JSON on stdin
|
|
314
|
+
and can block a tool with a non-zero exit; `post_tool` hooks run after. Argv arrays, no shell,
|
|
315
|
+
5-second timeout.
|
|
316
|
+
</details>
|
|
317
|
+
|
|
318
|
+
<details>
|
|
319
|
+
<summary><b>Cost and limits</b></summary>
|
|
320
|
+
|
|
321
|
+
`/cost` shows what this session's tokens would cost per model; free tiers show as free and
|
|
322
|
+
unknown prices say so. Correct prices in `~/.forge/prices.json`:
|
|
323
|
+
`{"openai:gpt-4o-mini": [0.15, 0.6]}` (dollars per million input, output tokens).
|
|
324
|
+
`/balance` shows requests and tokens left per provider, and OpenRouter credits.
|
|
325
|
+
</details>
|
|
326
|
+
|
|
327
|
+
<details>
|
|
328
|
+
<summary><b>The courier and the pixel city</b></summary>
|
|
329
|
+
|
|
330
|
+
Instead of a spinner, a pixel-art courier pushes a wheelbarrow of parcels along the status line,
|
|
331
|
+
following real events: loading while the model thinks, waiting at the glowing door while a tool
|
|
332
|
+
runs, dimmed during rate limits, a green door when done, spilled parcels when it fails. In sixel
|
|
333
|
+
terminals (Windows Terminal 1.22+, WezTerm) it is drawn in real pixels; elsewhere in half-blocks.
|
|
334
|
+
|
|
335
|
+
`/city on` (or `FORGE_SCENE=city`) adds a pixel city above the message box where tiger-cub
|
|
336
|
+
workers act out the same events. `/city calm` stills the motion, `/city off` hides it.
|
|
337
|
+
`FORGE_COURIER=off`, `FORGE_MOTION=reduce`, `FORGE_GRAPHICS=sixel|blocks|plain`.
|
|
338
|
+
</details>
|
|
339
|
+
|
|
340
|
+
<details>
|
|
341
|
+
<summary><b>Sponsor line</b> — off unless a server is configured</summary>
|
|
342
|
+
|
|
343
|
+
One optional faint line under the working status, shown only after a task has run a few seconds — this is how Forge stays free. It is never shown in
|
|
344
|
+
the first 7 days, in CI, for one-shot prompts, or when output is piped. The request carries only
|
|
345
|
+
the Forge version, a random install id (`/ads reset` makes a new one) and which line was last
|
|
346
|
+
shown — no prompts, code, file names or keys. It also counts the install as used that day,
|
|
347
|
+
including in the first week (no line is shown then). Lines are signed by the server and stripped
|
|
348
|
+
of escape codes; links go through the server so clicks are counted. `/ads off` or `FORGE_ADS=0`
|
|
349
|
+
turns all of it off; Forge works the same either way. Details in [PRIVACY.md](PRIVACY.md).
|
|
350
|
+
</details>
|
|
351
|
+
|
|
352
|
+
<details>
|
|
353
|
+
<summary><b>Keys, privacy and where things are stored</b></summary>
|
|
354
|
+
|
|
355
|
+
- Keys are read only from Forge's own `.env`, `~/.forge/.env` or its key store, never from the
|
|
356
|
+
project you are working in. The OS keychain is used when available (`FORGE_KEYRING=0` to opt out).
|
|
357
|
+
- Pasted keys are redacted before the model call, the saved session and input history. Logs show
|
|
358
|
+
only the last 4 characters.
|
|
359
|
+
|
|
360
|
+
| Path | Holds |
|
|
361
|
+
|---|---|
|
|
362
|
+
| `~/.forge/sessions/` | conversations, saved after every turn |
|
|
363
|
+
| `~/.forge/config.json` | chosen models and provider |
|
|
364
|
+
| `~/.forge/keys.json` | keys when no keychain is available |
|
|
365
|
+
| `~/.forge/state.json` · `usage.json` | key rests and health, keyed by one-way hashes |
|
|
366
|
+
| `~/.forge/library/` | Forge's copy of Claude Code skills |
|
|
367
|
+
| `~/.forge/history` | your typed input, keys redacted |
|
|
368
|
+
|
|
369
|
+
You are responsible for following each provider's terms for the keys you add.
|
|
370
|
+
</details>
|
|
371
|
+
|
|
372
|
+
<details>
|
|
373
|
+
<summary><b>Environment variables</b></summary>
|
|
374
|
+
|
|
375
|
+
| Variable | Default | |
|
|
376
|
+
|---|---|---|
|
|
377
|
+
| `<NAME>_API_KEYS` | | comma-separated keys, e.g. `GROQ_API_KEYS=gsk_…,gsk_…` |
|
|
378
|
+
| `<NAME>_MODELS` | | extra models per provider for the roster |
|
|
379
|
+
| `FORGE_PROVIDERS` | | failover order |
|
|
380
|
+
| `FORGE_APPROVAL` | `smart` | `smart` · `ask` · `auto` |
|
|
381
|
+
| `FORGE_TIMEOUT` | `30` | seconds of silence before a provider is skipped |
|
|
382
|
+
| `FORGE_MAX_WAIT` | `150` | seconds to wait when every model is resting |
|
|
383
|
+
| `FORGE_ROUTING` | | `speed` for fastest-first instead of strongest-first |
|
|
384
|
+
| `FORGE_KEYLESS` | `1` | `0` drops kilo, llm7 and ovh |
|
|
385
|
+
| `FORGE_TEAM` · `FORGE_COORDINATOR` | | start in team mode · fix the coordinator |
|
|
386
|
+
| `FORGE_MAX_AGENTS` · `FORGE_WORKTREES` | `5` · `0` | parallel agents |
|
|
387
|
+
| `FORGE_SANDBOX` · `_NET` · `_IMAGE` | | Docker sandbox |
|
|
388
|
+
| `FORGE_AUTO_SKILL` · `FORGE_AUTO_OPEN` · `FORGE_AUTO_BENCH` | `1` | automatic behaviours |
|
|
389
|
+
| `FORGE_SCENE` · `FORGE_MOTION` · `FORGE_GRAPHICS` · `FORGE_COURIER` | | visuals |
|
|
390
|
+
| `FORGE_ADS` | | `0` turns the sponsor line off |
|
|
391
|
+
| `FORGE_GITHUB_CLIENT_ID` | | OAuth App for `/github login` |
|
|
392
|
+
|
|
393
|
+
See `.env.example` for the full list.
|
|
394
|
+
</details>
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
## Development
|
|
399
|
+
|
|
400
|
+
```powershell
|
|
401
|
+
python -m pip install -r requirements.txt
|
|
402
|
+
python tests/test_failover.py # offline, against fake servers; ends with ALL TESTS PASSED
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
GitHub Actions runs the suite on every push. A `v*` tag runs it again, publishes to PyPI with
|
|
406
|
+
trusted publishing (no token stored) and attaches a standalone `forge.exe` to a GitHub Release.
|
|
407
|
+
`packaging/` has the Scoop manifest and winget and Homebrew notes.
|
|
408
|
+
|
|
409
|
+
## Licence and terms
|
|
410
|
+
|
|
411
|
+
Forge's source code is licensed under the [Apache License 2.0](LICENSE). Using Forge also means
|
|
412
|
+
accepting the [Terms of Use](TERMS.md), the [Disclaimer](DISCLAIMER.md) and the
|
|
413
|
+
[Privacy Policy](PRIVACY.md). The Forge name, tiger mascot, courier and artwork are not covered
|
|
414
|
+
by the licence; see [TRADEMARKS.md](TRADEMARKS.md). Report security issues as described in
|
|
415
|
+
[SECURITY.md](SECURITY.md).
|
|
416
|
+
|
|
417
|
+
Forge is provided "as is", without warranty of any kind. It acts on your computer using AI output
|
|
418
|
+
that can be wrong: review what it does, use version control and keep backups.
|
|
419
|
+
|
|
420
|
+
<p align="center"><sub>HK Labs © 2026 Harry Sigei</sub></p>
|