@jutge.org/toolkit 4.4.45 → 4.4.48
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/assets/prompts/io/creators/create-solution.tpl.txt +2 -0
- package/assets/prompts/io/proglangs/cc.md +3 -1
- package/assets/prompts/io/proglangs/py.md +6 -0
- package/dist/index.js +585 -580
- package/docs/getting-started-guide.md +1 -1
- package/docs/jutge-ai.md +5 -6
- package/docs/reference.md +1 -1
- package/package.json +1 -1
- package/toolkit/about.ts +1 -1
- package/toolkit/index.ts +1 -1
|
@@ -50,7 +50,7 @@ Before we dive into configuration, it's important to know how to get help:
|
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
jtk ask "How to create a new problem?"
|
|
53
|
-
jtk ask "Com puc crear un problema nou?" --model "openai/gpt-
|
|
53
|
+
jtk ask "Com puc crear un problema nou?" --model "openai/gpt-6-luna"
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
For this to work, you need to have set up an AI API key (see your platform-specific installation guide).
|
package/docs/jutge-ai.md
CHANGED
|
@@ -43,8 +43,9 @@ Google Gemini is fast and free for UPC users but its rate limits are so low it i
|
|
|
43
43
|
|
|
44
44
|
Available models:
|
|
45
45
|
|
|
46
|
-
- google/gemini-2.5-flash
|
|
47
46
|
- google/gemini-2.5-flash-lite
|
|
47
|
+
- google/gemini-2.5-flash
|
|
48
|
+
- google/gemini-2.5-pro
|
|
48
49
|
|
|
49
50
|
### OpenAI GPT
|
|
50
51
|
|
|
@@ -52,16 +53,14 @@ OpenAI is slower but more reliable and has a higher rate limit. However, it is n
|
|
|
52
53
|
|
|
53
54
|
Available models:
|
|
54
55
|
|
|
55
|
-
- openai/gpt-
|
|
56
|
-
- openai/gpt-
|
|
57
|
-
- openai/gpt-4.1-nano
|
|
58
|
-
- openai/gpt-4.1-mini
|
|
56
|
+
- openai/gpt-6-luna
|
|
57
|
+
- openai/gpt-6-sol
|
|
59
58
|
|
|
60
59
|
See https://platform.openai.com/docs/pricing for the pricing of the OpenAI models.
|
|
61
60
|
|
|
62
61
|
### Recommendation
|
|
63
62
|
|
|
64
|
-
|
|
63
|
+
Do not use Gemini with UPC key. Try to use `gpt-6-luna` for the quickest (and cheaper!) results. If you need more power, use `gpt-6-sol`.
|
|
65
64
|
|
|
66
65
|
# Jutge<sup>AI</sup> costs
|
|
67
66
|
|
package/docs/reference.md
CHANGED
|
@@ -31,7 +31,7 @@ Global options on the main program:
|
|
|
31
31
|
- **`-V`, `--version`** — Print the toolkit version and exit.
|
|
32
32
|
- **`-h`, `--help`** — Show help.
|
|
33
33
|
|
|
34
|
-
More documentation: [toolkit docs on GitHub](https://github.com/jutge-org/
|
|
34
|
+
More documentation: [toolkit docs on GitHub](https://github.com/jutge-org/jutge-toolkit/tree/main/docs).
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
package/package.json
CHANGED
package/toolkit/about.ts
CHANGED
|
@@ -23,7 +23,7 @@ export const aboutCmd = new Command('about')
|
|
|
23
23
|
}
|
|
24
24
|
tui.print('')
|
|
25
25
|
tui.print('Documentation:')
|
|
26
|
-
tui.url('https://github.com/jutge-org/
|
|
26
|
+
tui.url('https://github.com/jutge-org/jutge-toolkit/tree/main/docs')
|
|
27
27
|
})
|
|
28
28
|
|
|
29
29
|
function showPerson(person: string | { name: string; email?: string; url?: string }) {
|
package/toolkit/index.ts
CHANGED
|
@@ -34,7 +34,7 @@ program.alias(Object.keys(packageJson.bin as Record<string, string>)[1] as strin
|
|
|
34
34
|
program.version(packageJson.version)
|
|
35
35
|
program.description(packageJson.description!)
|
|
36
36
|
program.helpCommand('help [command]', 'Display help for command') // To get the message with uppercase :-)
|
|
37
|
-
program.addHelpText('after', '\nMore documentation:\n https://github.com/jutge-org/
|
|
37
|
+
program.addHelpText('after', '\nMore documentation:\n https://github.com/jutge-org/jutge-toolkit/tree/main/docs')
|
|
38
38
|
|
|
39
39
|
program.addCommand(makeCmd)
|
|
40
40
|
program.addCommand(uploadCmd)
|