@iinm/plain-agent 1.10.25 → 1.10.26

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/README.md CHANGED
@@ -50,14 +50,9 @@ Configure what the agent can do automatically using a small DSL with regex match
50
50
  // Require --method to be explicit, so GET calls can be safely auto-approved
51
51
  {
52
52
  "toolName": "exec_command",
53
- "input": { "command": "gh", "args": ["api", "--method"] },
54
- "action": "ask"
55
- },
56
- {
57
- "toolName": "exec_command",
58
- "input": { "command": "gh", "args": ["api"] },
53
+ "input": { "command": "gh", "args": ["api", { "$not": { "$regex": "^--(method|help)" } }] },
59
54
  "action": "deny",
60
- "reason": "--method must be specified"
55
+ "reason": "--method must be specified right after 'api'"
61
56
  }
62
57
  ]
63
58
  }
@@ -139,18 +139,10 @@
139
139
  "toolName": "exec_command",
140
140
  "input": {
141
141
  "command": "gh",
142
- "args": ["api", "--method"]
143
- },
144
- "action": "ask"
145
- },
146
- {
147
- "toolName": "exec_command",
148
- "input": {
149
- "command": "gh",
150
- "args": ["api"]
142
+ "args": ["api", { "$not": { "$regex": "^--(method|help)" } }]
151
143
  },
152
144
  "action": "deny",
153
- "reason": "--method must be specified"
145
+ "reason": "--method must be specified right after 'api'"
154
146
  }
155
147
  ]
156
148
  },
@@ -1369,6 +1361,29 @@
1369
1361
  }
1370
1362
  }
1371
1363
  },
1364
+ {
1365
+ "name": "minimax-m3",
1366
+ "variant": "novita",
1367
+ "platform": {
1368
+ "name": "openai-compatible",
1369
+ "variant": "novita"
1370
+ },
1371
+ "model": {
1372
+ "format": "openai-messages",
1373
+ "config": {
1374
+ "model": "minimax/minimax-m3"
1375
+ }
1376
+ },
1377
+ "cost": {
1378
+ "currency": "USD",
1379
+ "unit": "1M",
1380
+ "costs": {
1381
+ "prompt_tokens": 0.3,
1382
+ "prompt_tokens_details.cached_tokens": -0.24,
1383
+ "completion_tokens": 1.2
1384
+ }
1385
+ }
1386
+ },
1372
1387
 
1373
1388
  {
1374
1389
  "name": "qwen3.6-plus",
@@ -1415,6 +1430,29 @@
1415
1430
  }
1416
1431
  }
1417
1432
  },
1433
+ {
1434
+ "name": "qwen3.7-max",
1435
+ "variant": "novita",
1436
+ "platform": {
1437
+ "name": "openai-compatible",
1438
+ "variant": "novita"
1439
+ },
1440
+ "model": {
1441
+ "format": "openai-messages",
1442
+ "config": {
1443
+ "model": "qwen/qwen3.7-max"
1444
+ }
1445
+ },
1446
+ "cost": {
1447
+ "currency": "USD",
1448
+ "unit": "1M",
1449
+ "costs": {
1450
+ "prompt_tokens": 1.5625,
1451
+ "prompt_tokens_details.cached_tokens": -1.4375,
1452
+ "completion_tokens": 3.75
1453
+ }
1454
+ }
1455
+ },
1418
1456
 
1419
1457
  {
1420
1458
  "name": "nova-2-lite",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iinm/plain-agent",
3
- "version": "1.10.25",
3
+ "version": "1.10.26",
4
4
  "description": "A lightweight terminal-based coding agent focused on safety and low token cost",
5
5
  "license": "MIT",
6
6
  "type": "module",