@s-berdia/opencode-router 1.0.0 → 1.0.1
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/USAGE.md +1 -1
- package/dist/bin.js +2 -1
- package/dist/bin.js.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/USAGE.md
CHANGED
|
@@ -466,7 +466,7 @@ Do not commit the `router/` folder. It contains your usage data.
|
|
|
466
466
|
|
|
467
467
|
## 11. Known limits
|
|
468
468
|
|
|
469
|
-
These are the limits of version 1.0.
|
|
469
|
+
These are the limits of version 1.0.1.
|
|
470
470
|
|
|
471
471
|
1. The router sets the model of the `plan`, `build`, `general`, and `explore` agents at
|
|
472
472
|
each message. If you select a different model by hand, the router replaces it. To
|
package/dist/bin.js
CHANGED
|
@@ -2544,6 +2544,7 @@ var SLASH_COMMANDS = [
|
|
|
2544
2544
|
{ name: "routing-plan", description: "Switch the routing plan (go | go-plus | free) and rebuild", args: "plan $1" },
|
|
2545
2545
|
{ name: "routing-eval", description: "Run the router scoring stress test", args: "eval" }
|
|
2546
2546
|
];
|
|
2547
|
+
var OUTPUT_BEGIN = "---BEGIN ROUTER OUTPUT---";
|
|
2547
2548
|
function cliScriptPath() {
|
|
2548
2549
|
return fileURLToPath(new URL("./bin.js", import.meta.url)).replace(/\\/g, "/");
|
|
2549
2550
|
}
|
|
@@ -2556,7 +2557,7 @@ function commandTemplate(args) {
|
|
|
2556
2557
|
"2. Present the text between the markers to the user exactly as written.",
|
|
2557
2558
|
"3. Do not summarize, reformat, shorten, or reorganize it.",
|
|
2558
2559
|
"",
|
|
2559
|
-
|
|
2560
|
+
OUTPUT_BEGIN,
|
|
2560
2561
|
`!\`node "${cliScriptPath()}" ${args} --scope global\``,
|
|
2561
2562
|
"---END ROUTER OUTPUT---"
|
|
2562
2563
|
].join("\n");
|