blender-motion-state-inspection
AFaffaan-m/ECC317k近 7 天新增 4,721 个 star
Create or revise editable 3D assets and interactive scenes from the current Session's conversation, figures, data, and Notebook results.
Start with the visible request, corrections and attachments. For earlier evidence, use the Host SDK in repl_execute. If the invoking Frame IDs are missing, inspect the Frame catalog:
if ((await host.capabilities()).frames) {
console.log(await host.frames.list({ rootsOnly: false }))
}
Match the Session and Frame to the visible conversation. For more results, pass nextCursor as cursor. If the match is ambiguous, stay with the visible evidence. Substitute the confirmed IDs below. The first read defaults to the Frame's active Branch. Pass the invoking branchId when known.
const sessionId = '<confirmed Session ID>'
const frameId = '<confirmed Frame ID>'
const page = await host.frames.get(frameId, { sessionId })
console.log(page.transcript)
const before = page.transcript.previousCursor
if (before) {
const branchId = page.branch.branchId
console.log((await host.frames.get(frameId, { sessionId, branchId, before })).transcript)
}
Use the Artifact versionId referenced on that branch. Filenames can recur across Versions. For a text input such as CSV:
if ((await host.capabilities()).artifacts) {
const versionId = '<Version ID from the selected conversation path>'
const sourcePath = await host.artifactPath(versionId)
console.log(await require('node:fs').promises.readFile(sourcePath, 'utf8'))
}
Use images visible in the conversation directly. For an image with a confirmed Artifact Version or workspace path, use host.viewImage({ versionId }) or host.viewImage({ path }) with await in a foreground repl_execute when available. An earlier embedded image may expose only an attachmentId. If its pixels are unavailable, identify the missing reference and limit visual comparisons to images you can inspect.
Use Scene production for scale, geometry, materials, lighting and camera placement. When revising a scene, start from its editable source and match its reference views.
For exhibits that let the viewer inspect figures, tables, papers or Notebook results, use Research readers to connect each exhibit to its source.
For a scene intended for 3D Film, implement the Film frame protocol before publishing. Keep the scene usable on its own.
Build the offline preview as one self-contained HTML file. Inline its scripts and styles, and embed any models, textures, fonts or reader content it loads. write_artifact_file publishes one file per call, including when given a local path.
For a small, self-contained scene, pass the complete HTML to write_artifact_file:
{
"filename": "scene.html",
"mimeType": "text/html",
"source": { "kind": "inline", "content": "<complete scene HTML>" }
}
For a scene assembled on disk, pass source: { kind: 'localPath', path: scenePath } and the producing run's ID as producerRunId.
If the editable source is separate from the preview, deliver it as an additional Artifact. Apply the acceptance checks to the published preview and its requested interactions.
AFaffaan-m/ECC317k近 7 天新增 4,721 个 star
ANanthropics/skills204k近 7 天新增 2,876 个 star
HAharry0703/MoneyPrinterTurbo148k近 7 天新增 1,558 个 star
SHShubhamsaboo/awesome-llm-apps147k近 7 天新增 921 个 star
GAgarrytan/gstack143k