@robota-sdk/agent-command 3.0.0-beta.93 → 3.0.0-beta.95

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/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @robota-sdk/agent-command
2
2
 
3
+ ## 3.0.0-beta.95
4
+ ### Patch Changes
5
+
6
+ - 02053ec: Leave unregistered DeepSeek model costs unknown instead of applying unrelated legacy model prices.
7
+ - Updated dependencies [60f3965]
8
+ - Updated dependencies [115e104]
9
+ - Updated dependencies [04719a9]
10
+ - Updated dependencies [04a6de4]
11
+ - Updated dependencies [0ba247b]
12
+ - Updated dependencies [02053ec]
13
+ - @robota-sdk/agent-interface-session@3.0.0-beta.95
14
+ - @robota-sdk/agent-framework@3.0.0-beta.95
15
+ - @robota-sdk/agent-core@3.0.0-beta.95
16
+ - @robota-sdk/agent-preset@3.0.0-beta.95
17
+ - @robota-sdk/agent-interface-command@3.0.0-beta.95
18
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.95
19
+
20
+ ## 3.0.0-beta.94
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [e079992]
24
+ - Updated dependencies [e706b43]
25
+ - @robota-sdk/agent-framework@3.0.0-beta.94
26
+ - @robota-sdk/agent-preset@3.0.0-beta.94
27
+ - @robota-sdk/agent-interface-session@3.0.0-beta.94
28
+ - @robota-sdk/agent-core@3.0.0-beta.94
29
+ - @robota-sdk/agent-interface-command@3.0.0-beta.94
30
+ - @robota-sdk/agent-interface-execution@3.0.0-beta.94
31
+
3
32
  ## 3.0.0-beta.93
4
33
  ### Patch Changes
5
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/agent-command",
3
- "version": "3.0.0-beta.93",
3
+ "version": "3.0.0-beta.95",
4
4
  "description": "Slash-command modules for Robota SDK sessions (/help, /permissions, /mcp, /rewind, …)",
5
5
  "type": "module",
6
6
  "main": "dist/node/index.js",
@@ -40,12 +40,12 @@
40
40
  "CHANGELOG.md"
41
41
  ],
42
42
  "dependencies": {
43
- "@robota-sdk/agent-core": "3.0.0-beta.93",
44
- "@robota-sdk/agent-framework": "3.0.0-beta.93",
45
- "@robota-sdk/agent-interface-execution": "3.0.0-beta.93",
46
- "@robota-sdk/agent-interface-command": "3.0.0-beta.93",
47
- "@robota-sdk/agent-interface-session": "3.0.0-beta.93",
48
- "@robota-sdk/agent-preset": "3.0.0-beta.93"
43
+ "@robota-sdk/agent-framework": "3.0.0-beta.95",
44
+ "@robota-sdk/agent-interface-execution": "3.0.0-beta.95",
45
+ "@robota-sdk/agent-interface-session": "3.0.0-beta.95",
46
+ "@robota-sdk/agent-preset": "3.0.0-beta.95",
47
+ "@robota-sdk/agent-core": "3.0.0-beta.95",
48
+ "@robota-sdk/agent-interface-command": "3.0.0-beta.95"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^22.19.21",
@@ -23,10 +23,12 @@ describe('calculateCost', () => {
23
23
  expect(cost).toBeCloseTo(3, 5);
24
24
  });
25
25
 
26
- it('falls back to pattern matching for deepseek variant', () => {
27
- const cost = calculateCost('deepseek-v3-turbo', 1_000_000, 0);
28
- expect(cost).toBeDefined();
29
- });
26
+ it.each(['deepseek-v3-turbo', 'deepseek/deepseek-v4.1-flash-1017'])(
27
+ 'leaves the cost of unregistered model %s unknown',
28
+ (model) => {
29
+ expect(calculateCost(model, 1_000_000, 0)).toBeUndefined();
30
+ },
31
+ );
30
32
 
31
33
  it('returns undefined for completely unknown model', () => {
32
34
  const cost = calculateCost('unknown-model-xyz-123', 1_000, 1_000);