@ignix-social/creator 0.1.4 → 0.1.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/dist/cli.cjs CHANGED
@@ -23878,7 +23878,7 @@ ${rows}
23878
23878
  }
23879
23879
 
23880
23880
  // src/cli.ts
23881
- var VERSION = true ? "0.1.4" : "0.0.0-dev";
23881
+ var VERSION = true ? "0.1.5" : "0.0.0-dev";
23882
23882
  var HELP = `Ignix Creator ${VERSION} - generation tools for AI agents (ADR-0028/0029)
23883
23883
 
23884
23884
  ignix-creator login sign in to Ignix in your browser
package/dist/core.cjs CHANGED
@@ -56238,6 +56238,14 @@ function createVideoEngineService(deps) {
56238
56238
  if (!platform && !unsupported && !installing2) await refresh();
56239
56239
  return status();
56240
56240
  }
56241
+ async function downloadEstimate() {
56242
+ const p = platform ?? (unsupported ? null : await refresh());
56243
+ const artifact = p ? videoArtifactFor(recipe, p.os, p.arch) : null;
56244
+ if (!p || !artifact) return null;
56245
+ const engineBytes = installedRuntime() ? 0 : videoDownloadBytes(artifact);
56246
+ const editorBytes = editorFiles === "ready" ? 0 : editorDownloadBytes(deps.kitSourceDir, p.os, p.arch, kit.dataDir());
56247
+ return engineBytes + editorBytes;
56248
+ }
56241
56249
  async function prepare() {
56242
56250
  if (installing2) return status();
56243
56251
  error62 = null;
@@ -56423,6 +56431,7 @@ function createVideoEngineService(deps) {
56423
56431
  const speech = editorService(5 * 6e4);
56424
56432
  return {
56425
56433
  getStatus,
56434
+ downloadEstimate,
56426
56435
  prepare,
56427
56436
  install,
56428
56437
  cancel,
@@ -60728,15 +60737,17 @@ function createEngineService(deps) {
60728
60737
  switch (id) {
60729
60738
  case "production_tools": {
60730
60739
  const st = await hosts.video.getStatus();
60740
+ const dl = st.setup?.downloadBytes ?? await hosts.video.downloadEstimate?.().catch(() => null) ?? Math.round(1.2 * GB4);
60731
60741
  return {
60732
60742
  ...base,
60733
60743
  engine: "ignix-editor",
60734
60744
  state: phase(st.phase, queued, busy),
60735
60745
  progress: bytesFraction(st.progress),
60736
60746
  running: deps.editor.running(),
60737
- // Node + browser (~160 MB) and the Editor's tools and models (~1 GB).
60738
- downloadBytes: st.setup?.downloadBytes ?? Math.round(1.2 * GB4),
60739
- diskBytes: Math.round((st.setup?.downloadBytes ?? 1.2 * GB4) * 1.5)
60747
+ // Node + browser (~160 MB) and the Editor's tools and models (~1 GB, or
60748
+ // only what the person's own Ignix Editor does not have yet).
60749
+ downloadBytes: dl,
60750
+ diskBytes: Math.round(dl * 1.5)
60740
60751
  };
60741
60752
  }
60742
60753
  case "assistant": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignix-social/creator",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Ignix Creator: generation tools (presenters, photo → video, text → video, recast, dubbing) on this computer or Cloud Boost, driven by AI agents over MCP. Needs an active Ignix plan.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "commonjs",