forgecode 0.99.1 → 0.100.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 +3 -4
- package/forge.js +8 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -294,7 +294,6 @@ model: deepseek-r1-distill-llama-70b
|
|
|
294
294
|
To use Amazon Bedrock models with Forge, you'll need to first set up the [Bedrock Access Gateway](https://github.com/aws-samples/bedrock-access-gateway):
|
|
295
295
|
|
|
296
296
|
1. **Set up Bedrock Access Gateway**:
|
|
297
|
-
|
|
298
297
|
- Follow the deployment steps in the [Bedrock Access Gateway repo](https://github.com/aws-samples/bedrock-access-gateway)
|
|
299
298
|
- Create your own API key in Secrets Manager
|
|
300
299
|
- Deploy the CloudFormation stack
|
|
@@ -457,6 +456,7 @@ MCP tools can be used as part of multi-agent workflows, allowing specialized age
|
|
|
457
456
|
For comprehensive documentation on all features and capabilities, please visit the [documentation site](https://forgecode.dev/docs).
|
|
458
457
|
|
|
459
458
|
---
|
|
459
|
+
|
|
460
460
|
## Troubleshooting
|
|
461
461
|
|
|
462
462
|
### Linux glibc Compatibility Issues
|
|
@@ -470,6 +470,7 @@ If you encounter errors like:
|
|
|
470
470
|
This means the binary requires a newer version of glibc than what's available on your system. You can use one of these solutions:
|
|
471
471
|
|
|
472
472
|
1. **Force using the musl binary** (recommended for environments like Codespaces):
|
|
473
|
+
|
|
473
474
|
```bash
|
|
474
475
|
# Set environment variable to force musl before installing
|
|
475
476
|
export FORCE_MUSL=1
|
|
@@ -480,8 +481,7 @@ This means the binary requires a newer version of glibc than what's available on
|
|
|
480
481
|
|
|
481
482
|
3. **Use a Docker container with a newer Linux distribution**
|
|
482
483
|
|
|
483
|
-
The musl binary has fewer system dependencies and should work on most Linux systems regardless of glibc version.
|
|
484
|
-
---
|
|
484
|
+
## The musl binary has fewer system dependencies and should work on most Linux systems regardless of glibc version.
|
|
485
485
|
|
|
486
486
|
## Community
|
|
487
487
|
|
|
@@ -500,7 +500,6 @@ Your support drives Forge's continued evolution! By starring our GitHub reposito
|
|
|
500
500
|
- Enable us to prioritize new features 🛠️
|
|
501
501
|
- Strengthen our open-source community 🌱
|
|
502
502
|
|
|
503
|
-
|
|
504
503
|
## License
|
|
505
504
|
|
|
506
505
|
MIT
|
package/forge.js
CHANGED
|
@@ -15,16 +15,19 @@ const forgeBinaryPath = join(__dirname, 'forge' + getBinaryExtension());
|
|
|
15
15
|
// Check if the binary exists
|
|
16
16
|
if (!existsSync(forgeBinaryPath)) {
|
|
17
17
|
console.error(`❌ Forge binary not found at: ${forgeBinaryPath}`);
|
|
18
|
-
console.error('Please try reinstalling the package with: npm install -g
|
|
18
|
+
console.error('Please try reinstalling the package with: npm install -g forgecode');
|
|
19
19
|
console.error(`System information: ${process.platform} (${process.arch})`);
|
|
20
20
|
process.exit(1);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// Execute the binary with the same arguments
|
|
24
|
-
const forgeProcess = spawn(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
const forgeProcess = spawn(
|
|
25
|
+
process.platform === 'win32' ? `"${forgeBinaryPath}"` : forgeBinaryPath,
|
|
26
|
+
process.argv.slice(2),
|
|
27
|
+
{
|
|
28
|
+
stdio: 'inherit',
|
|
29
|
+
shell: process.platform === 'win32' // Use shell on Windows
|
|
30
|
+
});
|
|
28
31
|
|
|
29
32
|
// Pass through SIGINT signals to the child process
|
|
30
33
|
process.on('SIGINT', () => {
|