tokensafe 4.7.13 → 4.7.14

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.7.13",
2
+ "version": "4.7.14",
3
3
  "name": "tokensafe",
4
4
  "description": "Your AI agent is smart enough to code all day. Now it actually can. Local runtime firewall & zero-loss context optimizer for AI coding agents.",
5
5
  "author": {
package/kimi.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tokensafe",
3
- "version": "4.7.13",
3
+ "version": "4.7.14",
4
4
  "description": "Your AI agent is smart enough to code all day. Now it actually can. Local runtime firewall & zero-loss context optimizer for AI coding agents.",
5
5
  "homepage": "https://tokensafe.dev",
6
6
  "license": "Apache-2.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tokensafe",
3
3
  "mcpName": "dev.tokensafe/tokensafe",
4
- "version": "4.7.13",
4
+ "version": "4.7.14",
5
5
  "description": "Your AI agent is smart enough to code all day. Now it actually can. Local runtime firewall & zero-loss context optimizer for AI coding agents.",
6
6
  "main": "bin/tokensafe.js",
7
7
  "bin": {
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tokensafe",
3
3
  "displayName": "TokenSafe",
4
- "version": "4.7.13",
4
+ "version": "4.7.14",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Your AI agent is smart enough to code all day. Now it actually can. Local runtime firewall & zero-loss context optimizer for AI coding agents.",
7
7
  "logo": "assets/logo.png",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "dev.tokensafe/tokensafe",
4
4
  "title": "TokenSafe",
5
5
  "description": "Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.",
6
- "version": "4.7.13",
6
+ "version": "4.7.14",
7
7
  "websiteUrl": "https://tokensafe.dev",
8
8
  "repository": {
9
9
  "url": "https://github.com/tokensafe-dev/tokensafe",
@@ -23,7 +23,7 @@
23
23
  "registryType": "npm",
24
24
  "registryBaseUrl": "https://registry.npmjs.org",
25
25
  "identifier": "tokensafe",
26
- "version": "4.7.13",
26
+ "version": "4.7.14",
27
27
  "runtimeHint": "npx",
28
28
  "transport": {
29
29
  "type": "stdio"
@@ -39,7 +39,7 @@
39
39
  "registryType": "pypi",
40
40
  "registryBaseUrl": "https://pypi.org",
41
41
  "identifier": "tokensafe",
42
- "version": "4.7.13",
42
+ "version": "4.7.14",
43
43
  "runtimeHint": "uvx",
44
44
  "transport": {
45
45
  "type": "stdio"
@@ -796,7 +796,7 @@ def _sidecar_cache_dir() -> str:
796
796
  _DOTNET_MARK_BEGIN = "// tokensafe:oumv:begin"
797
797
  _DOTNET_MARK_END = "// tokensafe:oumv:end"
798
798
  _DOTNET_PACKAGE = "TokenSafe.Oumv.AspNetCore"
799
- _DOTNET_PACKAGE_VERSION = "0.2.0"
799
+ _DOTNET_PACKAGE_VERSION = "0.3.0"
800
800
 
801
801
 
802
802
 
package/src/mcp_server.py CHANGED
@@ -44,7 +44,7 @@ from src.session_context import current_root, current_session_id
44
44
 
45
45
  SERVER_INFO = {
46
46
  "name": "tokensafe-mcp",
47
- "version": "4.7.13"
47
+ "version": "4.7.14"
48
48
  }
49
49
 
50
50
  # MCP client attribution: the initialize handshake carries clientInfo, which
package/src/retrofit.py CHANGED
@@ -711,7 +711,7 @@ def get_adapters_catalog() -> List[Dict[str, Any]]:
711
711
  "repo": "tokensafe-backend/dotnet",
712
712
  "mode": "hybrid",
713
713
  "status": "ready",
714
- "description": "In-process endpoint dispatch for minimal APIs and controllers, Roslyn syntax pre-flight, and verify.sandboxRollback that rolls every auto-discovered EF Core DbContext back",
714
+ "description": "In-process endpoint dispatch for minimal APIs and controllers, Roslyn syntax pre-flight, the full wire 1.6.0 surface (previewEdit, index, query, build, cancel), and verify.sandboxRollback that rolls every auto-discovered EF Core DbContext back",
715
715
  "technology": {
716
716
  "language": "csharp",
717
717
  "framework": "aspnetcore",
@@ -726,6 +726,11 @@ def get_adapters_catalog() -> List[Dict[str, Any]]:
726
726
  {"name": "observe.runtime_state", "constraints": {"readOnly": True, "developmentOnly": False}},
727
727
  {"name": "understand.causality", "constraints": {"readOnly": True, "developmentOnly": False, "limitations": ["requires observed request traces (UseTokensafe middleware or oumv/verify)"]}},
728
728
  {"name": "mutate.source", "constraints": {"readOnly": False, "developmentOnly": False, "requiresPermission": "permissions.mutate != false"}},
729
+ {"name": "mutate.preview", "constraints": {"readOnly": True, "developmentOnly": True, "requiresPermission": "permissions.mutate != false", "limitations": ["dry run of applyEdit's guard chain; nothing is written"]}},
730
+ {"name": "index.symbols", "constraints": {"readOnly": True, "developmentOnly": True}},
731
+ {"name": "observe.query", "constraints": {"readOnly": True, "developmentOnly": True, "limitations": ["read-only SQL over the discovered DbContext; writes answer -32003"]}},
732
+ {"name": "verify.build", "constraints": {"readOnly": True, "developmentOnly": True, "limitations": ["OumvOptions.BuildCommand or params.command; honest skipped without one"]}},
733
+ {"name": "sessions.cancel", "constraints": {"readOnly": True, "developmentOnly": False}},
729
734
  {"name": "verify.runtime_behavior", "constraints": {"readOnly": True, "developmentOnly": False}},
730
735
  ],
731
736
  },
@@ -311,7 +311,7 @@ class TelemetrySync:
311
311
  current_last_id = last_id
312
312
  headers = {
313
313
  "Content-Type": "application/json",
314
- "User-Agent": "TokenSafe-Sync/4.7.13"
314
+ "User-Agent": "TokenSafe-Sync/4.7.14"
315
315
  }
316
316
  if active_key:
317
317
  headers["Authorization"] = f"Bearer {active_key}"
@@ -17,7 +17,7 @@ import urllib.request
17
17
  import urllib.error
18
18
  from typing import Dict, Any, Optional, Tuple
19
19
 
20
- CURRENT_VERSION = "4.7.13"
20
+ CURRENT_VERSION = "4.7.14"
21
21
  CACHE_TTL = 86400 # 24 hours
22
22
  # When the cloud is unreachable we must NOT cache the synthesized "up to date"
23
23
  # answer for a full day — otherwise an update released right after an outage