@knowsuchagency/fulcrum 4.11.0 → 4.11.1

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/bin/fulcrum.js CHANGED
@@ -47176,7 +47176,7 @@ async function runMcpServer(urlOverride, portOverride) {
47176
47176
  const client = new FulcrumClient(urlOverride, portOverride);
47177
47177
  const server = new McpServer({
47178
47178
  name: "fulcrum",
47179
- version: "4.11.0"
47179
+ version: "4.11.1"
47180
47180
  });
47181
47181
  registerTools(server, client);
47182
47182
  const transport = new StdioServerTransport;
@@ -49534,7 +49534,7 @@ var marketplace_default = `{
49534
49534
  "name": "fulcrum",
49535
49535
  "source": "./",
49536
49536
  "description": "Task orchestration for Claude Code",
49537
- "version": "4.11.0",
49537
+ "version": "4.11.1",
49538
49538
  "skills": [
49539
49539
  "./skills/fulcrum"
49540
49540
  ],
@@ -49557,7 +49557,7 @@ var marketplace_default = `{
49557
49557
  var plugin_default = `{
49558
49558
  "name": "fulcrum",
49559
49559
  "description": "Fulcrum task orchestration for Claude Code",
49560
- "version": "4.11.0",
49560
+ "version": "4.11.1",
49561
49561
  "author": {
49562
49562
  "name": "Fulcrum"
49563
49563
  },
@@ -50609,7 +50609,7 @@ function compareVersions(v1, v2) {
50609
50609
  var package_default = {
50610
50610
  name: "@knowsuchagency/fulcrum",
50611
50611
  private: true,
50612
- version: "4.11.0",
50612
+ version: "4.11.1",
50613
50613
  description: "Harness Attention. Orchestrate Agents. Ship.",
50614
50614
  license: "PolyForm-Perimeter-1.0.0",
50615
50615
  type: "module",
@@ -50625,7 +50625,7 @@ var package_default = {
50625
50625
  "db:studio": "drizzle-kit studio"
50626
50626
  },
50627
50627
  dependencies: {
50628
- "@anthropic-ai/claude-agent-sdk": "0.2.89",
50628
+ "@anthropic-ai/claude-agent-sdk": "0.2.90",
50629
50629
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
50630
50630
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
50631
50631
  "@azurity/pure-nerd-font": "^3.0.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowsuchagency/fulcrum",
3
- "version": "4.11.0",
3
+ "version": "4.11.1",
4
4
  "description": "Harness Attention. Orchestrate Agents. Ship.",
5
5
  "license": "PolyForm-Perimeter-1.0.0",
6
6
  "repository": {
package/server/index.js CHANGED
@@ -1138563,7 +1138563,7 @@ function fF() {
1138563
1138563
  $ = J.normalize("NFC");
1138564
1138564
  }
1138565
1138565
  }
1138566
- return { originalCwd: $, projectRoot: $, totalCostUSD: 0, totalAPIDuration: 0, totalAPIDurationWithoutRetries: 0, totalToolDuration: 0, turnHookDurationMs: 0, turnToolDurationMs: 0, turnClassifierDurationMs: 0, turnToolCount: 0, turnHookCount: 0, turnClassifierCount: 0, startTime: Date.now(), lastInteractionTime: Date.now(), totalLinesAdded: 0, totalLinesRemoved: 0, hasUnknownModelCost: false, cwd: $, modelUsage: {}, mainLoopModelOverride: undefined, initialMainLoopModel: null, modelStrings: null, isInteractive: false, kairosActive: false, strictToolResultPairing: false, sdkAgentProgressSummariesEnabled: false, userMsgOptIn: false, clientType: "cli", sessionSource: undefined, questionPreviewFormat: undefined, sessionIngressToken: undefined, oauthTokenFromFd: undefined, apiKeyFromFd: undefined, flagSettingsPath: undefined, flagSettingsInline: null, allowedSettingSources: ["userSettings", "projectSettings", "localSettings", "flagSettings", "policySettings"], meter: null, sessionCounter: null, locCounter: null, prCounter: null, commitCounter: null, costCounter: null, tokenCounter: null, codeEditToolDecisionCounter: null, activeTimeCounter: null, statsStore: null, sessionId: PJ(), parentSessionId: undefined, loggerProvider: null, eventLogger: null, meterProvider: null, tracerProvider: null, agentColorMap: new Map, agentColorIndex: 0, lastAPIRequest: null, lastAPIRequestMessages: null, lastClassifierRequests: null, cachedClaudeMdContent: null, inMemoryErrorLog: [], inlinePlugins: [], chromeFlagOverride: undefined, useCoworkPlugins: false, sessionBypassPermissionsMode: false, scheduledTasksEnabled: false, sessionCronTasks: [], sessionCreatedTeams: new Set, sessionTrustAccepted: false, sessionPersistenceDisabled: false, hasExitedPlanMode: false, needsPlanModeExitAttachment: false, needsAutoModeExitAttachment: false, lspRecommendationShownThisSession: false, initJsonSchema: null, registeredHooks: null, planSlugCache: new Map, teleportedSessionInfo: null, invokedSkills: new Map, slowOperations: [], sdkBetas: undefined, mainThreadAgentType: undefined, isRemoteMode: false, ...{}, directConnectServerUrl: undefined, systemPromptSectionCache: new Map, lastEmittedDate: null, additionalDirectoriesForClaudeMd: [], allowedChannels: [], hasDevChannels: false, sessionProjectDir: null, promptCache1hAllowlist: null, promptCache1hEligible: null, afkModeHeaderLatched: null, fastModeHeaderLatched: null, cacheEditingHeaderLatched: null, thinkingClearLatched: null, promptId: null, lastMainRequestId: undefined, lastApiCompletionTimestamp: null, pendingPostCompaction: false };
1138566
+ return { originalCwd: $, projectRoot: $, totalCostUSD: 0, totalAPIDuration: 0, totalAPIDurationWithoutRetries: 0, totalToolDuration: 0, turnHookDurationMs: 0, turnToolDurationMs: 0, turnClassifierDurationMs: 0, turnToolCount: 0, turnHookCount: 0, turnClassifierCount: 0, startTime: Date.now(), lastInteractionTime: Date.now(), totalLinesAdded: 0, totalLinesRemoved: 0, hasUnknownModelCost: false, cwd: $, modelUsage: {}, mainLoopModelOverride: undefined, initialMainLoopModel: null, modelStrings: null, isInteractive: false, kairosActive: false, strictToolResultPairing: false, memoryToggledOff: false, sdkAgentProgressSummariesEnabled: false, userMsgOptIn: false, clientType: "cli", sessionSource: undefined, questionPreviewFormat: undefined, sessionIngressToken: undefined, oauthTokenFromFd: undefined, apiKeyFromFd: undefined, flagSettingsPath: undefined, flagSettingsInline: null, allowedSettingSources: ["userSettings", "projectSettings", "localSettings", "flagSettings", "policySettings"], meter: null, sessionCounter: null, locCounter: null, prCounter: null, commitCounter: null, costCounter: null, tokenCounter: null, codeEditToolDecisionCounter: null, activeTimeCounter: null, statsStore: null, sessionId: PJ(), parentSessionId: undefined, loggerProvider: null, eventLogger: null, meterProvider: null, tracerProvider: null, agentColorMap: new Map, agentColorIndex: 0, lastAPIRequest: null, lastAPIRequestMessages: null, lastClassifierRequests: null, cachedClaudeMdContent: null, inMemoryErrorLog: [], inlinePlugins: [], chromeFlagOverride: undefined, useCoworkPlugins: false, sessionBypassPermissionsMode: false, scheduledTasksEnabled: false, sessionCronTasks: [], sessionCreatedTeams: new Set, sessionTrustAccepted: false, sessionPersistenceDisabled: false, hasExitedPlanMode: false, needsPlanModeExitAttachment: false, needsAutoModeExitAttachment: false, lspRecommendationShownThisSession: false, initJsonSchema: null, registeredHooks: null, planSlugCache: new Map, teleportedSessionInfo: null, invokedSkills: new Map, slowOperations: [], sdkBetas: undefined, mainThreadAgentType: undefined, isRemoteMode: false, ...false, directConnectServerUrl: undefined, systemPromptSectionCache: new Map, lastEmittedDate: null, additionalDirectoriesForClaudeMd: [], allowedChannels: [], hasDevChannels: false, sessionProjectDir: null, promptCache1hAllowlist: null, afkModeHeaderLatched: null, fastModeHeaderLatched: null, cacheEditingHeaderLatched: null, thinkingClearLatched: null, promptId: null, lastMainRequestId: undefined, lastApiCompletionTimestamp: null, pendingPostCompaction: false };
1138567
1138567
  }
1138568
1138568
  function wK() {
1138569
1138569
  return gF.sessionId;
@@ -1141476,7 +1141476,7 @@ class WL {
1141476
1141476
  readyResolve;
1141477
1141477
  readyReject;
1141478
1141478
  abortHandler;
1141479
- partialLine = "";
1141479
+ partialChunks = [];
1141480
1141480
  constructor($) {
1141481
1141481
  this.options = $;
1141482
1141482
  this.abortController = $.abortController ?? new AbortController, this.readyPromise = new Promise((X, J) => {
@@ -1141528,20 +1141528,30 @@ class WL {
1141528
1141528
  J.addEventListener("open", () => {
1141529
1141529
  clearTimeout(Q), this.readyState = true, s$(`[DirectConnectTransport] Connected to ${this.options.serverUrl}, session=${this.sessionId}`), this.readyResolve?.();
1141530
1141530
  }), J.addEventListener("message", (Y) => {
1141531
- let z = typeof Y.data === "string" ? Y.data : "", G = (this.partialLine + z).split(`
1141532
- `);
1141533
- this.partialLine = G.pop() ?? "";
1141534
- for (let U of G) {
1141535
- if (!U)
1141531
+ let z = typeof Y.data === "string" ? Y.data : "";
1141532
+ if (z.indexOf(`
1141533
+ `) === -1) {
1141534
+ if (z)
1141535
+ this.partialChunks.push(z);
1141536
+ return;
1141537
+ }
1141538
+ let W = this.partialChunks.join("") + z;
1141539
+ this.partialChunks.length = 0;
1141540
+ let G = W.split(`
1141541
+ `), U = G.pop() ?? "";
1141542
+ if (U)
1141543
+ this.partialChunks.push(U);
1141544
+ for (let H of G) {
1141545
+ if (!H)
1141536
1141546
  continue;
1141537
- let H;
1141547
+ let K;
1141538
1141548
  try {
1141539
- H = L6(U);
1141540
- } catch (K) {
1141541
- s$(`DirectConnect: dropped malformed JSON line (${U.length} bytes): ${K}`);
1141549
+ K = L6(H);
1141550
+ } catch (V) {
1141551
+ s$(`DirectConnect: dropped malformed JSON line (${H.length} bytes): ${V}`);
1141542
1141552
  continue;
1141543
1141553
  }
1141544
- this.messages.enqueue(H);
1141554
+ this.messages.enqueue(K);
1141545
1141555
  }
1141546
1141556
  }), J.addEventListener("error", () => {
1141547
1141557
  clearTimeout(Q);
@@ -1141633,7 +1141643,7 @@ function UL($, X) {
1141633
1141643
  let r9 = gx(import.meta.url), T1 = GL(r9, "..");
1141634
1141644
  H = GL(T1, "cli.js");
1141635
1141645
  }
1141636
- process.env.CLAUDE_AGENT_SDK_VERSION = "0.2.89";
1141646
+ process.env.CLAUDE_AGENT_SDK_VERSION = "0.2.90";
1141637
1141647
  let { abortController: K = y1(), additionalDirectories: V = [], agent: O, agents: N, allowedTools: w = [], betas: B, canUseTool: L, continue: j, cwd: I, debug: b, debugFile: x, disallowedTools: h = [], tools: B$, env: x$, executable: G6 = f1() ? "bun" : "node", executableArgs: o6 = [], extraArgs: h6 = {}, fallbackModel: a4, enableFileCheckpointing: _1, toolConfig: t6, forkSession: r0, hooks: p, includeHookEvents: n9, includePartialMessages: aQ, onElicitation: o0, persistSession: t0, thinking: s4, effort: d9, maxThinkingTokens: x1, maxTurns: p$, maxBudgetUsd: j4, taskBudget: a0, mcpServers: kU, model: KL, outputFormat: _U, permissionMode: NL = "default", allowDangerouslySkipPermissions: VL = false, permissionPromptToolName: OL, plugins: wL, workload: xU, resume: BL, resumeSessionAt: qL, sessionId: DL, stderr: LL, strictMcpConfig: jL } = W, TU = _U?.type === "json_schema" ? _U.schema : undefined, e4 = x$;
1141638
1141648
  if (!e4)
1141639
1141649
  e4 = { ...process.env };
@@ -1151318,8 +1151328,6 @@ Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resour
1151318
1151328
  continue;
1151319
1151329
  } else if ($.type === "keep_alive")
1151320
1151330
  continue;
1151321
- if ($.type === "streamlined_text" || $.type === "streamlined_tool_use_summary")
1151322
- continue;
1151323
1151331
  if ($.type === "system" && $.subtype === "post_turn_summary")
1151324
1151332
  continue;
1151325
1151333
  if ($.type === "result") {
@@ -1264883,7 +1264891,7 @@ mcpRoutes.all("/", async (c) => {
1264883
1264891
  });
1264884
1264892
  const server2 = new McpServer({
1264885
1264893
  name: "fulcrum",
1264886
- version: "4.11.0"
1264894
+ version: "4.11.1"
1264887
1264895
  });
1264888
1264896
  const client3 = new FulcrumClient(`http://localhost:${port}`);
1264889
1264897
  registerTools(server2, client3);