@runfusion/fusion 0.20.0 → 0.21.0

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.
Files changed (28) hide show
  1. package/dist/bin.js +30 -3
  2. package/dist/client/assets/{AgentDetailView-C6BG7O7i.js → AgentDetailView-Dg7Qa1rG.js} +1 -1
  3. package/dist/client/assets/{ChatView-DeXUYwSY.js → ChatView-ODq-kBk6.js} +1 -1
  4. package/dist/client/assets/{DevServerView-Dariyxt_.js → DevServerView-6PS9Lvl7.js} +1 -1
  5. package/dist/client/assets/{DirectoryPicker-SchiK-Aq.js → DirectoryPicker-B3dza2Dq.js} +1 -1
  6. package/dist/client/assets/{DocumentsView-C6v-tBhG.js → DocumentsView-Bu9YYlki.js} +1 -1
  7. package/dist/client/assets/{InsightsView-Cqim12az.js → InsightsView-CqDethVs.js} +1 -1
  8. package/dist/client/assets/{MemoryView-CakLoJtY.js → MemoryView-BLIm9Vr7.js} +1 -1
  9. package/dist/client/assets/{NodesView-BxGm3poT.js → NodesView-DEXvp3WT.js} +1 -1
  10. package/dist/client/assets/{PiExtensionsManager-lJbmskyZ.js → PiExtensionsManager-C2YjI9o2.js} +1 -1
  11. package/dist/client/assets/{PluginManager-BZjNNf9m.js → PluginManager-Dnf-LhYw.js} +1 -1
  12. package/dist/client/assets/{ResearchView-Bzsr9V0y.js → ResearchView-Z0TZ7WGo.js} +1 -1
  13. package/dist/client/assets/{RoadmapsView-CeKks_OI.js → RoadmapsView-DPcfX5MS.js} +1 -1
  14. package/dist/client/assets/{SettingsModal-D-9CLguN.js → SettingsModal-B6RN9VYe.js} +3 -3
  15. package/dist/client/assets/{SettingsModal-YdeVPhRJ.js → SettingsModal-BRNAPR1u.js} +1 -1
  16. package/dist/client/assets/{SetupWizardModal-DAC04LlA.js → SetupWizardModal-BFc3xID2.js} +1 -1
  17. package/dist/client/assets/{SkillsView-CClC_5RN.js → SkillsView-CipGahOR.js} +1 -1
  18. package/dist/client/assets/index-NFptaeUQ.js +1222 -0
  19. package/dist/client/assets/{star-DxVRh9VT.js → star-B314SwLA.js} +1 -1
  20. package/dist/client/assets/{users-3SD3oNMQ.js → users-Bu_ltePs.js} +1 -1
  21. package/dist/client/index.html +1 -1
  22. package/dist/client/version.json +1 -1
  23. package/dist/droid-cli/package.json +1 -1
  24. package/dist/extension.js +18 -0
  25. package/dist/pi-claude-cli/package.json +1 -1
  26. package/dist/plugins/fusion-plugin-dependency-graph/package.json +1 -1
  27. package/package.json +2 -1
  28. package/dist/client/assets/index-CrHLf3pB.js +0 -1222
@@ -1,4 +1,4 @@
1
- import{h as a}from"./index-CrHLf3pB.js";/**
1
+ import{h as a}from"./index-NFptaeUQ.js";/**
2
2
  * @license lucide-react v1.7.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- import{h as e}from"./index-CrHLf3pB.js";/**
1
+ import{h as e}from"./index-NFptaeUQ.js";/**
2
2
  * @license lucide-react v1.7.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -92,7 +92,7 @@
92
92
  }
93
93
  })();
94
94
  </script>
95
- <script type="module" crossorigin src="/assets/index-CrHLf3pB.js"></script>
95
+ <script type="module" crossorigin src="/assets/index-NFptaeUQ.js"></script>
96
96
  <link rel="modulepreload" crossorigin href="/assets/vendor-react-K0fH_qHe.js">
97
97
  <link rel="modulepreload" crossorigin href="/assets/vendor-xterm-DzcZoU0P.js">
98
98
  <link rel="stylesheet" crossorigin href="/assets/vendor-xterm-LZoznX6r.css">
@@ -1 +1 @@
1
- {"version":"045f94b98-3f80056c"}
1
+ {"version":"035911409-3de41f72"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion/droid-cli",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "First-party Fusion pi extension that routes LLM calls through the Droid CLI subprocess.",
5
5
  "license": "MIT",
6
6
  "private": true,
package/dist/extension.js CHANGED
@@ -3813,6 +3813,7 @@ This means a caller passed a .fusion directory where a project root was expected
3813
3813
  );
3814
3814
  this.migrate();
3815
3815
  this.ensureRoutinesSchemaCompatibility();
3816
+ this.ensureInsightRunsSchemaCompatibility();
3816
3817
  const configNow = (/* @__PURE__ */ new Date()).toISOString();
3817
3818
  this.db.exec(
3818
3819
  `INSERT OR IGNORE INTO config (id, nextId, nextWorkflowStepId, settings, workflowSteps, updatedAt) VALUES (1, 1, 1, '${JSON.stringify(DEFAULT_PROJECT_SETTINGS)}', '[]', '${configNow}')`
@@ -3860,6 +3861,23 @@ This means a caller passed a .fusion directory where a project root was expected
3860
3861
  this.db.exec("CREATE INDEX IF NOT EXISTS idxRoutinesEnabled ON routines(enabled)");
3861
3862
  this.db.exec("CREATE INDEX IF NOT EXISTS idxRoutinesScope ON routines(scope)");
3862
3863
  }
3864
+ /**
3865
+ * Applies idempotent compatibility fixes for the project_insight_runs table.
3866
+ *
3867
+ * The `lifecycle` and `cancelledAt` columns were added to SCHEMA_SQL and
3868
+ * retroactively inserted into migration v33's CREATE TABLE, with a safety-net
3869
+ * in migration v59. However, databases that were already at v59+ when the
3870
+ * commit landed never re-run v59, leaving the columns missing. Running this
3871
+ * unconditionally on every init guarantees the columns exist.
3872
+ */
3873
+ ensureInsightRunsSchemaCompatibility() {
3874
+ if (!this.hasTable("project_insight_runs")) {
3875
+ return;
3876
+ }
3877
+ this.addColumnIfMissing("project_insight_runs", "lifecycle", "TEXT");
3878
+ this.addColumnIfMissing("project_insight_runs", "cancelledAt", "TEXT");
3879
+ this.db.exec(`CREATE INDEX IF NOT EXISTS idxInsightRunsProjectTriggerStatus ON project_insight_runs(projectId, trigger, status)`);
3880
+ }
3863
3881
  migrate() {
3864
3882
  const version = this.getSchemaVersion() || 1;
3865
3883
  if (version >= SCHEMA_VERSION) return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion/pi-claude-cli",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Fusion vendored fork: pi coding-agent extension that routes LLM calls through the Claude Code CLI. Forked from rchern/pi-claude-cli (MIT). See UPSTREAM.md.",
5
5
  "license": "MIT",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion-plugin-examples/dependency-graph",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "description": "Dependency graph dashboard view plugin for Fusion",
6
6
  "private": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runfusion/fusion",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "license": "MIT",
5
5
  "description": "Fusion CLI: HTTP API server, daemon, dashboard launcher, and task tooling for the Fusion AI coding agent.",
6
6
  "homepage": "https://github.com/Runfusion/Fusion#readme",
@@ -49,6 +49,7 @@
49
49
  "ink-text-input": "^6.0.0",
50
50
  "ioredis": "^5.6.0",
51
51
  "multer": "^2.1.1",
52
+ "node-pty": "npm:@homebridge/node-pty-prebuilt-multiarch@^0.13.1",
52
53
  "react": "^19.0.0"
53
54
  },
54
55
  "peerDependencies": {