@funnycode/myclaude 0.1.267 → 0.1.268

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/myclaude.js CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.267",
8
- BUILD_TIME: "2026-08-17T03:07:47.420Z",
7
+ VERSION: "0.1.268",
8
+ BUILD_TIME: "2026-08-17T03:36:55.543Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117147,7 +117147,7 @@ var package_default;
117147
117147
  var init_package = __esm(() => {
117148
117148
  package_default = {
117149
117149
  name: "@funnycode/myclaude",
117150
- version: "0.1.267",
117150
+ version: "0.1.268",
117151
117151
  private: false,
117152
117152
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117153
117153
  license: "MIT",
@@ -468801,12 +468801,18 @@ async function executeFlow(flow, context2, onStepStart, onStepComplete, onStepFa
468801
468801
  return state;
468802
468802
  }
468803
468803
  async function executeCommand(command6, context2) {
468804
- console.log(`Executing command: ${command6}`);
468805
- throw new Error("executeCommand is not implemented yet. Please connect it to the bridge API.");
468804
+ if (context2?.bridge?.runCommand) {
468805
+ await context2.bridge.runCommand(command6);
468806
+ return;
468807
+ }
468808
+ throw new Error("No bridge.runCommand available to execute: " + command6);
468806
468809
  }
468807
468810
  async function executeFileOperation(file2, context2) {
468808
- console.log(`Executing file operation: ${file2}`);
468809
- throw new Error("executeFileOperation is not implemented yet. Please connect it to the bridge API.");
468811
+ if (context2?.bridge?.editFile) {
468812
+ await context2.bridge.editFile(file2);
468813
+ return;
468814
+ }
468815
+ throw new Error("No bridge.editFile available to edit: " + file2);
468810
468816
  }
468811
468817
  async function shouldContinueOnError(error49, step) {
468812
468818
  const errorMessages2 = [
package/dist/myclaude.mjs CHANGED
@@ -4,8 +4,8 @@
4
4
  // MACRO - build-time constants (injected by build.ts)
5
5
  // MACRO injected by build script
6
6
  globalThis.MACRO = {
7
- VERSION: "0.1.267",
8
- BUILD_TIME: "2026-08-17T03:07:47.420Z",
7
+ VERSION: "0.1.268",
8
+ BUILD_TIME: "2026-08-17T03:36:55.543Z",
9
9
  PACKAGE_URL: "@funnycode/myclaude",
10
10
  NATIVE_PACKAGE_URL: "@funnycode/myclaude",
11
11
  VERSION_CHANGELOG: '',
@@ -117147,7 +117147,7 @@ var package_default;
117147
117147
  var init_package = __esm(() => {
117148
117148
  package_default = {
117149
117149
  name: "@funnycode/myclaude",
117150
- version: "0.1.267",
117150
+ version: "0.1.268",
117151
117151
  private: false,
117152
117152
  description: "An open-source AI coding assistant in your terminal - powered by Claude",
117153
117153
  license: "MIT",
@@ -468801,12 +468801,18 @@ async function executeFlow(flow, context2, onStepStart, onStepComplete, onStepFa
468801
468801
  return state;
468802
468802
  }
468803
468803
  async function executeCommand(command6, context2) {
468804
- console.log(`Executing command: ${command6}`);
468805
- throw new Error("executeCommand is not implemented yet. Please connect it to the bridge API.");
468804
+ if (context2?.bridge?.runCommand) {
468805
+ await context2.bridge.runCommand(command6);
468806
+ return;
468807
+ }
468808
+ throw new Error("No bridge.runCommand available to execute: " + command6);
468806
468809
  }
468807
468810
  async function executeFileOperation(file2, context2) {
468808
- console.log(`Executing file operation: ${file2}`);
468809
- throw new Error("executeFileOperation is not implemented yet. Please connect it to the bridge API.");
468811
+ if (context2?.bridge?.editFile) {
468812
+ await context2.bridge.editFile(file2);
468813
+ return;
468814
+ }
468815
+ throw new Error("No bridge.editFile available to edit: " + file2);
468810
468816
  }
468811
468817
  async function shouldContinueOnError(error49, step) {
468812
468818
  const errorMessages2 = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnycode/myclaude",
3
- "version": "0.1.267",
3
+ "version": "0.1.268",
4
4
  "private": false,
5
5
  "description": "An open-source AI coding assistant in your terminal - powered by Claude",
6
6
  "license": "MIT",