clearotron 0.3.0-beta.3 → 0.3.0-beta.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/INSTALL.md +15 -6
- package/bin/connect.mjs +68 -25
- package/bin/disconnect.mjs +16 -11
- package/bin/onboard.mjs +42 -10
- package/bin/start.mjs +56 -16
- package/build-info.json +2 -2
- package/driver/CHANGELOG.md +35 -10
- package/driver/engine/openai-agent.mjs +52 -2
- package/driver/package.json +1 -1
- package/driver/portal-upstream.mjs +9 -0
- package/driver/suite-census.json +35 -11
- package/mcp-server/CHANGELOG.md +12 -2
- package/mcp-server/lib/options.mjs +4 -1
- package/mcp-server/package.json +1 -1
- package/package.json +1 -1
- package/portal-ui/dist/assets/{index-CsCuPshD.css → index-Cv-E_agg.css} +199 -86
- package/portal-ui/dist/assets/{index-C1gpdkyH.js → index-DBUVdQT-.js} +506 -375
- package/portal-ui/dist/index.html +2 -2
- package/portal-ui/package.json +1 -1
- package/providers/oauth-mcp-bridge/CHANGELOG.md +8 -0
- package/providers/oauth-mcp-bridge/package.json +1 -1
- package/scripts/engine-probe.mjs +2 -2
- package/shared/connect-clients.mjs +282 -321
- package/shared/names-in-force.mjs +1 -0
- package/shared/stdio-connect.mjs +63 -0
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
-->
|
|
50
50
|
<link rel="preconnect" href="https://api.fontshare.com" crossorigin />
|
|
51
51
|
<link href="https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,900&display=swap" rel="stylesheet" />
|
|
52
|
-
<script type="module" crossorigin src="/portal/assets/index-
|
|
53
|
-
<link rel="stylesheet" crossorigin href="/portal/assets/index-
|
|
52
|
+
<script type="module" crossorigin src="/portal/assets/index-DBUVdQT-.js"></script>
|
|
53
|
+
<link rel="stylesheet" crossorigin href="/portal/assets/index-Cv-E_agg.css">
|
|
54
54
|
</head>
|
|
55
55
|
<body>
|
|
56
56
|
<div id="root"></div>
|
package/portal-ui/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "portal-ui",
|
|
3
3
|
"private": true,
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.3.0-beta.
|
|
5
|
+
"version": "0.3.0-beta.5",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"description": "The unified trademark portal UI. One address, one login: who you are decides what you see. Built as a static bundle, served by driver/portal-service.mjs — the browser never reaches profile-service or recipe-service.",
|
|
8
8
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trademark-oauth-mcp-bridge",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
3
|
+
"version": "0.3.0-beta.5",
|
|
4
4
|
"license": "AGPL-3.0-only",
|
|
5
5
|
"private": true,
|
|
6
6
|
"description": "OAuth 2.1 MCP stdio bridge used by the engine's case-law gather stage (courtlistener / legaldatahunter).",
|
package/scripts/engine-probe.mjs
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
// env at module top — and every static import evaluates before this file's own body runs, so applying the
|
|
36
36
|
// aliases in the body would be too late for the capture it is meant to fix.
|
|
37
37
|
import "../shared/env-local.mjs";
|
|
38
|
-
import { probeEngineTurn, probeFailureText,
|
|
38
|
+
import { probeEngineTurn, probeFailureText, PROBE_TIMEOUT_SEC } from "../driver/engine/probe.mjs";
|
|
39
39
|
import { isEntrypoint } from "../shared/is-entrypoint.mjs"; // — realpath both sides, or a symlinked invocation exits 0 silently
|
|
40
40
|
|
|
41
41
|
const argv = process.argv.slice(2);
|
|
@@ -62,7 +62,7 @@ if (isEntrypoint(import.meta.url)) {
|
|
|
62
62
|
const env = engine ? { ...process.env, CLEAROTRON_AI: engine } : process.env;
|
|
63
63
|
const asJson = argv.includes("--json");
|
|
64
64
|
if (!asJson) {
|
|
65
|
-
console.error(`engine-probe: one
|
|
65
|
+
console.error(`engine-probe: one turn on the engine's cheapest model, up to ${PROBE_TIMEOUT_SEC}s, on this box's own `
|
|
66
66
|
+ `credential — real, and it costs whatever one cheap turn costs.`);
|
|
67
67
|
}
|
|
68
68
|
const verdict = await probeEngineTurn({ env });
|