symposium 2.3.11 → 2.3.13
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/.claude/settings.local.json +76 -0
- package/Agent.js +4 -2
- package/Models/GrokModel.js +8 -3
- package/package.json +2 -2
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"SessionStart": [
|
|
4
|
+
{
|
|
5
|
+
"matcher": "*",
|
|
6
|
+
"hooks": [
|
|
7
|
+
{
|
|
8
|
+
"type": "command",
|
|
9
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
10
|
+
"async": true
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"UserPromptSubmit": [
|
|
16
|
+
{
|
|
17
|
+
"matcher": "*",
|
|
18
|
+
"hooks": [
|
|
19
|
+
{
|
|
20
|
+
"type": "command",
|
|
21
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
22
|
+
"async": true
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"PreToolUse": [
|
|
28
|
+
{
|
|
29
|
+
"matcher": "*",
|
|
30
|
+
"hooks": [
|
|
31
|
+
{
|
|
32
|
+
"type": "command",
|
|
33
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
34
|
+
"async": true
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"Notification": [
|
|
40
|
+
{
|
|
41
|
+
"matcher": "*",
|
|
42
|
+
"hooks": [
|
|
43
|
+
{
|
|
44
|
+
"type": "command",
|
|
45
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
46
|
+
"async": true
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"Stop": [
|
|
52
|
+
{
|
|
53
|
+
"matcher": "*",
|
|
54
|
+
"hooks": [
|
|
55
|
+
{
|
|
56
|
+
"type": "command",
|
|
57
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
58
|
+
"async": true
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"SessionEnd": [
|
|
64
|
+
{
|
|
65
|
+
"matcher": "*",
|
|
66
|
+
"hooks": [
|
|
67
|
+
{
|
|
68
|
+
"type": "command",
|
|
69
|
+
"command": "node \"C:/Users/zorin/.octavius/hooks/claude-status-hook.mjs\"",
|
|
70
|
+
"async": true
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
package/Agent.js
CHANGED
|
@@ -118,13 +118,15 @@ export default class Agent {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
if (context_texts.length) {
|
|
121
|
-
let context_string = context_texts.join('\n');
|
|
121
|
+
let context_string = context_texts.join('\n\n');
|
|
122
122
|
if (is_there_on_request) {
|
|
123
123
|
context_string = '<important>Some of the context files are available to you immediately here, while longer texts may be available only on request; you are provided with a title and a description of these files. If you think it may be useful for your current task, you can request the text via the get_context tool - IMPORTANT: use the title of the file verbatim as it is provided</important>' + context_string;
|
|
124
124
|
if (!this.tools.has('get_context'))
|
|
125
125
|
await this.addTool(new GetContextTool(this));
|
|
126
126
|
}
|
|
127
|
-
context_string =
|
|
127
|
+
context_string = `<context_info>
|
|
128
|
+
${context_string}
|
|
129
|
+
</context_info>`;
|
|
128
130
|
|
|
129
131
|
let system_message_found = null;
|
|
130
132
|
for (let messages of thread.messages) {
|
package/Models/GrokModel.js
CHANGED
|
@@ -4,9 +4,14 @@ import OpenAI from "openai";
|
|
|
4
4
|
export default class GrokModel extends LegacyOpenAIModel {
|
|
5
5
|
async getModels() {
|
|
6
6
|
return new Map([
|
|
7
|
-
['grok-4', {
|
|
8
|
-
name: 'grok-4',
|
|
9
|
-
tokens:
|
|
7
|
+
['grok-4-1-fast-reasoning', {
|
|
8
|
+
name: 'grok-4-1-fast-reasoning',
|
|
9
|
+
tokens: 2000000,
|
|
10
|
+
tools: true,
|
|
11
|
+
}],
|
|
12
|
+
['grok-4-1-fast-non-reasoning', {
|
|
13
|
+
name: 'grok-4-1-fast-non-reasoning',
|
|
14
|
+
tokens: 2000000,
|
|
10
15
|
tools: true,
|
|
11
16
|
}],
|
|
12
17
|
]);
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "symposium",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.13",
|
|
5
5
|
"description": "Agents",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"author": "Domenico Giambra",
|
|
8
8
|
"license": "ISC",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@anthropic-ai/sdk": "^0.
|
|
10
|
+
"@anthropic-ai/sdk": "^0.78.0",
|
|
11
11
|
"groq-sdk": "^0.37.0",
|
|
12
12
|
"ollama": "^0.6.0",
|
|
13
13
|
"openai": "^6.0.0",
|