@aliceshimada/mica 1.0.4 → 1.0.5
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,9 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 1.0.
|
|
3
|
+
## 1.0.5 - 2026-06-09
|
|
4
|
+
|
|
5
|
+
- Fix abort disconnection: give control evaluator a separate kernel via `LinkLaunch` instead of cloning `"Local"`.
|
|
6
|
+
|
|
7
|
+
## 1.0.4 - 2026-06-07
|
|
4
8
|
|
|
5
9
|
- Remove legacy dead code from npm package (bridge, legacy tools, stop command, runtimeOptions, types).
|
|
6
10
|
- Tighten `files` field to only include active runtime directories.
|
|
11
|
+
- Fix `mica install` failing after npm install: `validateBridgeRoot` now checks `dist/src/bun/index.js` instead of removed `src/bun/index.ts`.
|
|
12
|
+
- Increase Wolfram HTTP timeout from 10s to 30s to prevent large notebook loading timeouts.
|
|
7
13
|
|
|
8
14
|
## 1.0.3 - 2026-06-06
|
|
9
15
|
|
|
@@ -3,7 +3,7 @@ import http from "node:http";
|
|
|
3
3
|
import { executeBackendMcpTool } from "../mcp/backendTools.js";
|
|
4
4
|
import { renderDashboard } from "./dashboard.js";
|
|
5
5
|
const JSON_BODY_LIMIT_BYTES = 1024 * 1024;
|
|
6
|
-
const DEFAULT_VERSION = "1.0.
|
|
6
|
+
const DEFAULT_VERSION = "1.0.5";
|
|
7
7
|
export async function createBunHttpApp({ state, host = "127.0.0.1", port, authToken, version = DEFAULT_VERSION }) {
|
|
8
8
|
const runtimeInfo = {
|
|
9
9
|
host,
|
package/dist/src/bun/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { loadRuntimeConfig } from "../runtime/config.js";
|
|
|
8
8
|
import { writeSessionFile } from "../runtime/session.js";
|
|
9
9
|
import { createBunHttpApp } from "./httpServer.js";
|
|
10
10
|
const MCP_SERVER_NAME = "mica-bun";
|
|
11
|
-
const MICA_PACKAGE_VERSION = "1.0.
|
|
11
|
+
const MICA_PACKAGE_VERSION = "1.0.5";
|
|
12
12
|
export async function startBunRuntime(deps = {}) {
|
|
13
13
|
const config = deps.runtimeConfig ?? loadRuntimeConfig();
|
|
14
14
|
const bridgeOnly = deps.bridgeOnly ?? config.bridgeOnly;
|
package/dist/src/mcp/prompts.js
CHANGED
|
@@ -33,7 +33,7 @@ export const MICA_AGENT_INSTRUCTIONS = [
|
|
|
33
33
|
"Tools:",
|
|
34
34
|
...TOOL_GUIDE.map(([name, description]) => `- ${name}: ${description}`),
|
|
35
35
|
].join("\n");
|
|
36
|
-
export function createMicaMcpServer(name, version = "1.0.
|
|
36
|
+
export function createMicaMcpServer(name, version = "1.0.5") {
|
|
37
37
|
return new McpServer({ name, version }, { instructions: MICA_AGENT_INSTRUCTIONS });
|
|
38
38
|
}
|
|
39
39
|
export function registerMicaPrompts(server) {
|
package/package.json
CHANGED
|
@@ -1651,15 +1651,18 @@ StopMMAAgentControlKernel[] := Module[{nb = $ControlAgentNotebook},
|
|
|
1651
1651
|
<|"status" -> "closed"|>
|
|
1652
1652
|
];
|
|
1653
1653
|
|
|
1654
|
-
EnsureControlEvaluator[evaluatorName_String] := Module[{before, beforeAssoc,
|
|
1654
|
+
EnsureControlEvaluator[evaluatorName_String] := Module[{before, beforeAssoc, controlSpec, afterAssoc, kernelCommand},
|
|
1655
1655
|
before = Quiet @ Check[CurrentValue[$FrontEnd, EvaluatorNames], $Failed];
|
|
1656
1656
|
If[before === $Failed, Return[BridgeFailure["EVALUATOR_CONFIG_FAILED", "Could not read FrontEnd evaluator configuration."]]];
|
|
1657
1657
|
beforeAssoc = Association[before];
|
|
1658
1658
|
If[KeyExistsQ[beforeAssoc, evaluatorName],
|
|
1659
1659
|
Return[<|"status" -> "exists", "evaluatorName" -> evaluatorName, "spec" -> Lookup[beforeAssoc, evaluatorName]|>]
|
|
1660
1660
|
];
|
|
1661
|
-
|
|
1662
|
-
controlSpec =
|
|
1661
|
+
kernelCommand = First[$CommandLine] <> " -wstp -noicon";
|
|
1662
|
+
controlSpec = {
|
|
1663
|
+
"AutoStartOnLaunch" -> False,
|
|
1664
|
+
"Kernel" -> LinkLaunch[kernelCommand]
|
|
1665
|
+
};
|
|
1663
1666
|
Quiet @ Check[
|
|
1664
1667
|
CurrentValue[$FrontEnd, {EvaluatorNames, evaluatorName}] = controlSpec,
|
|
1665
1668
|
Return[BridgeFailure["EVALUATOR_CONFIG_FAILED", "Failed to configure the control evaluator."]]
|