hackshop-mcp 0.0.3 → 0.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/README.md +88 -34
- package/catalog.json +1584 -25
- package/dist/build-plan/index.d.ts +10 -0
- package/dist/build-plan/index.js +550 -0
- package/dist/build-plan/index.js.map +1 -0
- package/dist/build-plan/types.d.ts +153 -0
- package/dist/build-plan/types.js +2 -0
- package/dist/build-plan/types.js.map +1 -0
- package/dist/catalog/schema.d.ts +523 -7
- package/dist/catalog/schema.js +49 -0
- package/dist/catalog/schema.js.map +1 -1
- package/dist/core/assess.d.ts +36 -0
- package/dist/core/assess.js +100 -0
- package/dist/core/assess.js.map +1 -0
- package/dist/core/errors.d.ts +2 -0
- package/dist/core/errors.js +70 -0
- package/dist/core/errors.js.map +1 -0
- package/dist/core/links.d.ts +3 -0
- package/dist/core/links.js +19 -0
- package/dist/core/links.js.map +1 -0
- package/dist/core/plan-gadget.d.ts +85 -0
- package/dist/core/plan-gadget.js +619 -0
- package/dist/core/plan-gadget.js.map +1 -0
- package/dist/core/resources.d.ts +37 -0
- package/dist/core/resources.js +143 -0
- package/dist/core/resources.js.map +1 -0
- package/dist/core/safety.d.ts +7 -0
- package/dist/core/safety.js +28 -0
- package/dist/core/safety.js.map +1 -0
- package/dist/core/tools.d.ts +247 -0
- package/dist/core/tools.js +164 -0
- package/dist/core/tools.js.map +1 -0
- package/dist/core/types.d.ts +163 -0
- package/dist/core/types.js +17 -0
- package/dist/core/types.js.map +1 -0
- package/dist/platforms/index.d.ts +26 -0
- package/dist/platforms/index.js +52 -0
- package/dist/platforms/index.js.map +1 -0
- package/dist/platforms/load.d.ts +4 -0
- package/dist/platforms/load.js +78 -0
- package/dist/platforms/load.js.map +1 -0
- package/dist/platforms/schema.d.ts +587 -0
- package/dist/platforms/schema.js +64 -0
- package/dist/platforms/schema.js.map +1 -0
- package/dist/sampling.d.ts +5 -0
- package/dist/sampling.js +44 -21
- package/dist/sampling.js.map +1 -1
- package/dist/server.d.ts +14 -1
- package/dist/server.js +164 -40
- package/dist/server.js.map +1 -1
- package/dist/site-url.d.ts +1 -0
- package/dist/site-url.js +4 -0
- package/dist/site-url.js.map +1 -0
- package/dist/telemetry.d.ts +29 -0
- package/dist/telemetry.js +100 -0
- package/dist/telemetry.js.map +1 -0
- package/dist/tools/assess_hackability.d.ts +2 -29
- package/dist/tools/assess_hackability.js +11 -43
- package/dist/tools/assess_hackability.js.map +1 -1
- package/dist/tools/get_build_plan.d.ts +6 -0
- package/dist/tools/get_build_plan.js +16 -0
- package/dist/tools/get_build_plan.js.map +1 -0
- package/dist/tools/plan_gadget.d.ts +4 -0
- package/dist/tools/plan_gadget.js +14 -0
- package/dist/tools/plan_gadget.js.map +1 -0
- package/dist/tools/propose_hardware.d.ts +5 -0
- package/dist/tools/propose_hardware.js +57 -8
- package/dist/tools/propose_hardware.js.map +1 -1
- package/dist/tools/simulate_assembly.d.ts +315 -0
- package/dist/tools/simulate_assembly.js +145 -0
- package/dist/tools/simulate_assembly.js.map +1 -0
- package/package.json +4 -1
- package/platforms.json +779 -0
- package/tags.md +1 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
3
|
+
// simulate_assembly — hand an Assembly IR to the physics worker and get back a
|
|
4
|
+
// bounded, synchronous verdict: did the robot reach its goal, and the honest
|
|
5
|
+
// failure theatre (stuck / tipped / collisions) if it didn't.
|
|
6
|
+
//
|
|
7
|
+
// Compact mirror of site/lib/assembly.ts `Assembly` (kept loose on purpose; the
|
|
8
|
+
// Python worker re-validates with Pydantic). Bounded mode caps duration + render
|
|
9
|
+
// so this stays usable inside a single tool call.
|
|
10
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
11
|
+
const Transport = z.enum([
|
|
12
|
+
"usb", "i2c", "spi", "gpio", "uart", "wifi", "ble", "ros2", "hdmi", "aux", "power",
|
|
13
|
+
]);
|
|
14
|
+
const SimHandle = z.object({
|
|
15
|
+
asset_id: z.string().min(1).optional(),
|
|
16
|
+
asset_version: z.string().min(1).optional(),
|
|
17
|
+
model_uri: z.string().optional(),
|
|
18
|
+
format: z.enum(["mjcf", "urdf", "proxy"]).optional(),
|
|
19
|
+
dof: z.number().int().nonnegative().optional(),
|
|
20
|
+
mass_kg: z.number().positive().optional(),
|
|
21
|
+
dimensions_m: z.tuple([
|
|
22
|
+
z.number().positive(),
|
|
23
|
+
z.number().positive(),
|
|
24
|
+
z.number().positive(),
|
|
25
|
+
]).optional(),
|
|
26
|
+
fidelity: z.enum([
|
|
27
|
+
"device-model",
|
|
28
|
+
"dimensioned-proxy",
|
|
29
|
+
"generic-placeholder",
|
|
30
|
+
]).optional(),
|
|
31
|
+
});
|
|
32
|
+
const AssemblyComponent = z.object({
|
|
33
|
+
ref: z.string().min(1),
|
|
34
|
+
device_id: z.string().min(1),
|
|
35
|
+
name: z.string().min(1),
|
|
36
|
+
role: z.enum([
|
|
37
|
+
"compute", "actuator", "sensor", "display", "power", "chassis", "peripheral",
|
|
38
|
+
]),
|
|
39
|
+
sim: SimHandle.optional(),
|
|
40
|
+
});
|
|
41
|
+
const ProtocolEdge = z.object({
|
|
42
|
+
from: z.string().min(1),
|
|
43
|
+
to: z.string().min(1),
|
|
44
|
+
transport: Transport,
|
|
45
|
+
payload: z.string().optional(),
|
|
46
|
+
});
|
|
47
|
+
const Assembly = z.object({
|
|
48
|
+
idea: z.string().min(1),
|
|
49
|
+
components: z.array(AssemblyComponent).min(1),
|
|
50
|
+
edges: z.array(ProtocolEdge).default([]),
|
|
51
|
+
goal: z.object({
|
|
52
|
+
kind: z.enum(["navigate", "locomote", "manipulate", "sense-act", "display-loop"]),
|
|
53
|
+
spec: z.string().min(1),
|
|
54
|
+
success_metric: z.string().min(1),
|
|
55
|
+
criteria: z.object({
|
|
56
|
+
position_tolerance_m: z.number().positive().max(1),
|
|
57
|
+
dwell_s: z.number().nonnegative(),
|
|
58
|
+
max_collision_events: z.number().int().nonnegative(),
|
|
59
|
+
require_upright: z.boolean(),
|
|
60
|
+
}).optional(),
|
|
61
|
+
}),
|
|
62
|
+
world: z.object({
|
|
63
|
+
// Canonical WorldTemplate enum — keep in sync with site/lib/assembly.ts
|
|
64
|
+
// WorldSpec and the Python worker.
|
|
65
|
+
template: z.enum([
|
|
66
|
+
"empty-room", "obstacle-course", "ramp", "tabletop", "stairs", "outdoor-flat",
|
|
67
|
+
]),
|
|
68
|
+
goal_xy: z.tuple([z.number(), z.number()]).optional(),
|
|
69
|
+
}),
|
|
70
|
+
});
|
|
71
|
+
export const simulateAssemblyInput = z.object({
|
|
72
|
+
assembly: Assembly,
|
|
73
|
+
duration_s: z.number().positive().max(10).optional(),
|
|
74
|
+
});
|
|
75
|
+
function workerBase() {
|
|
76
|
+
return (process.env.SIM_WORKER_URL || "http://127.0.0.1:8000").replace(/\/$/, "");
|
|
77
|
+
}
|
|
78
|
+
// Bounded sync simulation can take a while (cold MuJoCo + render) but must not
|
|
79
|
+
// hang a tool call indefinitely. Cap the client-side wait well under any host
|
|
80
|
+
// tool-call ceiling.
|
|
81
|
+
const SYNC_TIMEOUT_MS = 90_000;
|
|
82
|
+
export async function simulateAssembly(input) {
|
|
83
|
+
const body = {
|
|
84
|
+
assembly: input.assembly,
|
|
85
|
+
options: {
|
|
86
|
+
mode: "sync",
|
|
87
|
+
bounded: true,
|
|
88
|
+
render: true,
|
|
89
|
+
agent: false,
|
|
90
|
+
duration_s: input.duration_s ?? 8.0,
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
let job;
|
|
94
|
+
try {
|
|
95
|
+
const res = await fetch(`${workerBase()}/simulate`, {
|
|
96
|
+
method: "POST",
|
|
97
|
+
headers: { "Content-Type": "application/json" },
|
|
98
|
+
body: JSON.stringify(body),
|
|
99
|
+
signal: AbortSignal.timeout(SYNC_TIMEOUT_MS),
|
|
100
|
+
});
|
|
101
|
+
if (!res.ok) {
|
|
102
|
+
return {
|
|
103
|
+
status: "error",
|
|
104
|
+
message: `Simulation worker returned ${res.status}: ${(await res.text()).slice(0, 200)}`,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
job = (await res.json());
|
|
108
|
+
}
|
|
109
|
+
catch (err) {
|
|
110
|
+
const aborted = err instanceof Error &&
|
|
111
|
+
(err.name === "AbortError" || err.name === "TimeoutError");
|
|
112
|
+
return {
|
|
113
|
+
status: "unavailable",
|
|
114
|
+
message: aborted
|
|
115
|
+
? `Simulation worker did not respond within ${SYNC_TIMEOUT_MS / 1000}s; treating it as unavailable. ` +
|
|
116
|
+
"Set SIM_WORKER_URL and ensure the sim-worker is running and reachable."
|
|
117
|
+
: "Could not reach the simulation worker. Set SIM_WORKER_URL and ensure the " +
|
|
118
|
+
`sim-worker is running. (${err instanceof Error ? err.message : "fetch failed"})`,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
if (job.status === "error" || !job.result) {
|
|
122
|
+
return { status: "error", message: job.error ?? "Simulation failed with no result." };
|
|
123
|
+
}
|
|
124
|
+
const r = job.result;
|
|
125
|
+
if (!r.supported) {
|
|
126
|
+
return {
|
|
127
|
+
status: "unsupported",
|
|
128
|
+
message: r.reason ?? "This assembly/goal isn't simulatable yet.",
|
|
129
|
+
world_desc: r.world_desc,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
return {
|
|
133
|
+
status: "ok",
|
|
134
|
+
success: r.success,
|
|
135
|
+
summary: r.summary,
|
|
136
|
+
post_mortem: r.post_mortem,
|
|
137
|
+
authored_by: r.authored_by,
|
|
138
|
+
metric_value: r.metric_value,
|
|
139
|
+
telemetry: r.telemetry,
|
|
140
|
+
world_desc: r.world_desc,
|
|
141
|
+
artifacts: r.artifacts,
|
|
142
|
+
robot: r.robot,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
//# sourceMappingURL=simulate_assembly.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simulate_assemb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
2
2
|
"name": "hackshop-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "Hardware-literate AI scout for tinkerers. Idea-to-hardware mapping via MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist",
|
|
12
12
|
"catalog.json",
|
|
13
|
+
"platforms.json",
|
|
13
14
|
"tags.md",
|
|
14
15
|
"examples",
|
|
15
16
|
"README.md",
|
|
@@ -51,7 +52,9 @@
|
|
|
51
52
|
"zod": "^3.23.0"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
55
|
+
"@ai-sdk/anthropic": "^2.0.85",
|
|
54
56
|
"@types/node": "^22.0.0",
|
|
57
|
+
"ai": "^6.0.223",
|
|
55
58
|
"tsx": "^4.19.0",
|
|
56
59
|
"typescript": "^5.6.0",
|
|
57
60
|
"vitest": "^2.1.0"
|