pullfrog 0.1.40 → 0.1.41
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/dist/cli.mjs +1001 -209
- package/dist/index.js +992 -200
- package/dist/utils/openCodeModels.d.ts +9 -0
- package/package.json +3 -3
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Why the last `opencode models` came back empty, in opencode's own words.
|
|
3
|
+
*
|
|
4
|
+
* An unloadable repo config (`opencode.json`, `.opencode/**`) is the common cause
|
|
5
|
+
* and is fatal — opencode's schema is strict, so every later invocation fails the
|
|
6
|
+
* same way. Without this the empty set reaches `validateAgentApiKey` and the run
|
|
7
|
+
* dies telling the user to go add provider secrets, which is a false lead.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getModelsFailure(): string | undefined;
|
|
1
10
|
/** Snapshot the set of models OpenCode can serve from the current env, BEFORE
|
|
2
11
|
* Pullfrog-stored credentials are merged in. Call once early in `main.ts`. */
|
|
3
12
|
export declare function captureBaselineModels(cliPath: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pullfrog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"pullfrog": "dist/cli.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@ark/util": "0.56.0",
|
|
32
32
|
"@clack/prompts": "^1.2.0",
|
|
33
33
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
34
|
-
"@opencode-ai/sdk": "1.
|
|
34
|
+
"@opencode-ai/sdk": "1.18.5",
|
|
35
35
|
"@octokit/plugin-throttling": "^11.0.3",
|
|
36
36
|
"@octokit/rest": "^22.0.0",
|
|
37
37
|
"@octokit/webhooks-types": "^7.6.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"husky": "^9.0.0",
|
|
55
55
|
"lru-cache": "^11.0.0",
|
|
56
56
|
"object-hash": "^3.0.0",
|
|
57
|
-
"opencode-ai": "1.
|
|
57
|
+
"opencode-ai": "1.18.5",
|
|
58
58
|
"package-manager-detector": "^1.6.0",
|
|
59
59
|
"picocolors": "^1.1.1",
|
|
60
60
|
"semver": "^7.7.3",
|