@runfusion/fusion 0.34.0 → 0.36.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 (65) hide show
  1. package/dist/bin.js +2790 -633
  2. package/dist/client/.vite/manifest.json +56 -56
  3. package/dist/client/assets/{AgentDetailView-CzqwIIpv.js → AgentDetailView-CGycokdR.js} +1 -1
  4. package/dist/client/assets/{AgentPermissionPolicyEditor-2eoM2XQH.js → AgentPermissionPolicyEditor-BoD6come.js} +1 -1
  5. package/dist/client/assets/{AgentsView-BrtAvhJl.js → AgentsView-B_afRRfc.js} +3 -3
  6. package/dist/client/assets/ChatView-IjNrSZSf.js +6 -0
  7. package/dist/client/assets/{DevServerView-CF6FPLRb.js → DevServerView-Dd613aZ5.js} +1 -1
  8. package/dist/client/assets/{DirectoryPicker-BpvHQxhu.js → DirectoryPicker-H-fUl2dF.js} +1 -1
  9. package/dist/client/assets/{DocumentsView-RMWZBJ-y.js → DocumentsView-Dshc9e5K.js} +1 -1
  10. package/dist/client/assets/{EvalsView-DtVxpc4T.js → EvalsView-50W0K5h7.js} +1 -1
  11. package/dist/client/assets/{ExperimentalAgentOnboardingModal-fzJmb-yG.js → ExperimentalAgentOnboardingModal-BXBljPFj.js} +1 -1
  12. package/dist/client/assets/{GoalsView-BAchggxo.js → GoalsView-Dh508Z2s.js} +1 -1
  13. package/dist/client/assets/{InsightsView-B8892IbG.js → InsightsView-sVbGRKTl.js} +1 -1
  14. package/dist/client/assets/{MemoryView-Cfp1WmAm.js → MemoryView-006a_sB0.js} +1 -1
  15. package/dist/client/assets/{NodesView-Dt26DSEQ.js → NodesView-CiRPqgVx.js} +1 -1
  16. package/dist/client/assets/{PiExtensionsManager-xHU56SMh.js → PiExtensionsManager-Y1ETuTxf.js} +1 -1
  17. package/dist/client/assets/{PluginManager-37WUEOmp.js → PluginManager-Df_KHiXn.js} +1 -1
  18. package/dist/client/assets/{ResearchView-pu88M5xL.js → ResearchView-DU_QuS_-.js} +1 -1
  19. package/dist/client/assets/{SecretsView-BT7ofJLN.js → SecretsView-D61Jvysn.js} +1 -1
  20. package/dist/client/assets/{SettingsModal-DxYXsn08.js → SettingsModal-BarzmqNb.js} +1 -1
  21. package/dist/client/assets/SettingsModal-Cpur3WpT.js +31 -0
  22. package/dist/client/assets/{SetupWizardModal-yWTk3Cac.js → SetupWizardModal-BF3iRNq9.js} +1 -1
  23. package/dist/client/assets/{SkillsView-CWNfKNTs.js → SkillsView-tCKOFw3j.js} +1 -1
  24. package/dist/client/assets/{StashRecoveryView-D0t4IIX-.js → StashRecoveryView-nGtypd10.js} +1 -1
  25. package/dist/client/assets/{TodoView-B4W1Lhy6.js → TodoView-IyGPV6AO.js} +1 -1
  26. package/dist/client/assets/{dashboard-view-4OCJIthP.js → dashboard-view-DiA5-hnb.js} +1 -1
  27. package/dist/client/assets/{folder-open-BTdhwFQ5.js → folder-open-Byqfi_N-.js} +1 -1
  28. package/dist/client/assets/index-B9Ro_NwC.js +742 -0
  29. package/dist/client/assets/index-DVFBXjGT.css +1 -0
  30. package/dist/client/assets/{upload-kESyjow_.js → upload-D6_BjqVi.js} +1 -1
  31. package/dist/client/assets/{users-DNXMrdcp.js → users-CERYgInO.js} +1 -1
  32. package/dist/client/index.html +2 -2
  33. package/dist/client/version.json +1 -1
  34. package/dist/droid-cli/index.ts +1 -1
  35. package/dist/droid-cli/package.json +3 -3
  36. package/dist/droid-cli/src/__tests__/thinking-config.test.ts +1 -1
  37. package/dist/extension.js +1959 -310
  38. package/dist/pi-claude-cli/index.ts +3 -3
  39. package/dist/pi-claude-cli/package.json +3 -3
  40. package/dist/pi-claude-cli/src/__tests__/event-bridge.test.ts +3 -3
  41. package/dist/pi-claude-cli/src/__tests__/provider.test.ts +3 -3
  42. package/dist/pi-claude-cli/src/__tests__/thinking-config.test.ts +1 -1
  43. package/dist/pi-claude-cli/src/event-bridge.ts +2 -2
  44. package/dist/pi-claude-cli/src/provider.ts +1 -1
  45. package/dist/pi-claude-cli/src/thinking-config.ts +1 -1
  46. package/dist/plugins/fusion-plugin-cli-printing-press/package.json +1 -1
  47. package/dist/plugins/fusion-plugin-cursor-runtime/package.json +1 -1
  48. package/dist/plugins/fusion-plugin-dependency-graph/package.json +1 -1
  49. package/dist/plugins/fusion-plugin-droid-runtime/bundled.js +34607 -33421
  50. package/dist/plugins/fusion-plugin-droid-runtime/package.json +1 -1
  51. package/dist/plugins/fusion-plugin-hermes-runtime/package.json +1 -1
  52. package/dist/plugins/fusion-plugin-openclaw-runtime/package.json +1 -1
  53. package/dist/plugins/fusion-plugin-paperclip-runtime/package.json +1 -1
  54. package/dist/plugins/fusion-plugin-reports/package.json +1 -1
  55. package/dist/plugins/fusion-plugin-roadmap/package.json +1 -1
  56. package/dist/plugins/fusion-plugin-whatsapp-chat/package.json +1 -1
  57. package/package.json +7 -7
  58. package/skill/fusion/SKILL.md +1 -0
  59. package/skill/fusion/references/cli-commands.md +3 -0
  60. package/skill/fusion/references/extension-tools.md +27 -0
  61. package/skill/fusion/references/fusion-capabilities.md +3 -0
  62. package/dist/client/assets/ChatView-BuIe4MhL.js +0 -6
  63. package/dist/client/assets/SettingsModal-Cz9MHNGg.js +0 -31
  64. package/dist/client/assets/index-D4nQgFjo.js +0 -742
  65. package/dist/client/assets/index-k4s0JWir.css +0 -1
@@ -5,8 +5,8 @@
5
5
  * subprocess using stream-json NDJSON protocol.
6
6
  */
7
7
 
8
- import { getModels } from "@mariozechner/pi-ai";
9
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
8
+ import { getModels } from "@earendil-works/pi-ai";
9
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
10
10
  import { streamViaCli } from "./src/provider.js";
11
11
  import {
12
12
  validateCliPresenceAsync,
@@ -156,7 +156,7 @@ export default function (pi: ExtensionAPI) {
156
156
  maxTokens: model.maxTokens,
157
157
  }));
158
158
 
159
- // Newer models released after the pinned @mariozechner/pi-ai catalog
159
+ // Newer models released after the pinned @earendil-works/pi-ai catalog
160
160
  // was generated. Dedupe by id so this list is harmless once the upstream
161
161
  // catalog catches up.
162
162
  // https://platform.claude.com/docs/en/about-claude/models/overview
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion/pi-claude-cli",
3
- "version": "0.34.0",
3
+ "version": "0.36.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,
@@ -20,8 +20,8 @@
20
20
  "directory": "packages/pi-claude-cli"
21
21
  },
22
22
  "peerDependencies": {
23
- "@mariozechner/pi-ai": "*",
24
- "@mariozechner/pi-coding-agent": "*"
23
+ "@earendil-works/pi-ai": "*",
24
+ "@earendil-works/pi-coding-agent": "*"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^22.0.0",
@@ -1,12 +1,12 @@
1
1
  import { describe, it, expect, vi, beforeEach } from "vitest";
2
2
 
3
- // Mock @mariozechner/pi-ai before importing event-bridge
4
- vi.mock("@mariozechner/pi-ai", () => ({
3
+ // Mock @earendil-works/pi-ai before importing event-bridge
4
+ vi.mock("@earendil-works/pi-ai", () => ({
5
5
  calculateCost: vi.fn(),
6
6
  }));
7
7
 
8
8
  import { createEventBridge } from "../event-bridge";
9
- import { calculateCost } from "@mariozechner/pi-ai";
9
+ import { calculateCost } from "@earendil-works/pi-ai";
10
10
 
11
11
  // Helper: create a mock stream that captures pushed events
12
12
  function createMockStream() {
@@ -23,7 +23,7 @@ vi.mock("node:child_process", () => ({
23
23
  execSync: vi.fn(() => Buffer.from("1.0.0")),
24
24
  }));
25
25
 
26
- // Mock @mariozechner/pi-ai
26
+ // Mock @earendil-works/pi-ai
27
27
  const mockModels = [
28
28
  {
29
29
  id: "claude-sonnet-4-5-20250929",
@@ -59,14 +59,14 @@ const { MockAssistantMessageEventStream } = vi.hoisted(() => {
59
59
  return { MockAssistantMessageEventStream };
60
60
  });
61
61
 
62
- vi.mock("@mariozechner/pi-ai", () => ({
62
+ vi.mock("@earendil-works/pi-ai", () => ({
63
63
  getModels: vi.fn(() => mockModels),
64
64
  AssistantMessageEventStream: MockAssistantMessageEventStream,
65
65
  calculateCost: vi.fn(),
66
66
  }));
67
67
 
68
68
  import { spawn } from "node:child_process";
69
- import { getModels } from "@mariozechner/pi-ai";
69
+ import { getModels } from "@earendil-works/pi-ai";
70
70
  import { streamViaCli } from "../provider";
71
71
 
72
72
  describe("provider registration (default export)", () => {
@@ -1,6 +1,6 @@
1
1
  import { describe, it, expect, vi, afterEach } from "vitest";
2
2
  import { mapThinkingEffort, isOpusModel } from "../thinking-config";
3
- import type { ThinkingBudgets } from "@mariozechner/pi-ai";
3
+ import type { ThinkingBudgets } from "@earendil-works/pi-ai";
4
4
 
5
5
  describe("isOpusModel", () => {
6
6
  it("returns true for claude-opus-4-6-20260301", () => {
@@ -1,5 +1,5 @@
1
1
  import type { ClaudeApiEvent, TrackedContentBlock } from "./types";
2
- import { calculateCost } from "@mariozechner/pi-ai";
2
+ import { calculateCost } from "@earendil-works/pi-ai";
3
3
  import type {
4
4
  Api,
5
5
  AssistantMessage,
@@ -8,7 +8,7 @@ import type {
8
8
  TextContent,
9
9
  ThinkingContent,
10
10
  ToolCall,
11
- } from "@mariozechner/pi-ai";
11
+ } from "@earendil-works/pi-ai";
12
12
  import {
13
13
  mapClaudeToolNameToPi,
14
14
  translateClaudeArgsToPi,
@@ -23,7 +23,7 @@ import {
23
23
  type TextContent,
24
24
  type ThinkingContent,
25
25
  type ToolCall,
26
- } from "@mariozechner/pi-ai";
26
+ } from "@earendil-works/pi-ai";
27
27
  import {
28
28
  buildPrompt,
29
29
  buildSystemPrompt,
@@ -8,7 +8,7 @@
8
8
  * IMPORTANT: The CLI does NOT support --thinking-budget. Only --effort is supported.
9
9
  */
10
10
 
11
- import type { ThinkingLevel, ThinkingBudgets } from "@mariozechner/pi-ai";
11
+ import type { ThinkingLevel, ThinkingBudgets } from "@earendil-works/pi-ai";
12
12
 
13
13
  /** CLI effort levels accepted by the --effort flag */
14
14
  export type CliEffortLevel = "low" | "medium" | "high" | "max";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion-plugin-examples/cli-printing-press",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "CLI Printing Press plugin package for Fusion",
6
6
  "private": true,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion-plugin-examples/cursor-runtime",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion-plugin-examples/dependency-graph",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {