@qlucent/fishi 0.14.8 → 0.15.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.
Files changed (2) hide show
  1. package/dist/index.js +28 -3
  2. package/package.json +64 -64
package/dist/index.js CHANGED
@@ -2565,9 +2565,14 @@ import {
2565
2565
  getAgentsMdTemplate,
2566
2566
  getSandboxPolicyTemplate,
2567
2567
  getMonitorEmitterScript,
2568
- getFileLockHookScript
2568
+ getFileLockHookScript,
2569
+ getSessionStartHook,
2570
+ getAutoCheckpointHook,
2571
+ getAgentCompleteHook,
2572
+ getGateManagerScript,
2573
+ getWorktreeManagerScript
2569
2574
  } from "@qlucent/fishi-core";
2570
- var CURRENT_VERSION = "0.14.4";
2575
+ var CURRENT_VERSION = "0.15.1";
2571
2576
  function fixHooksFormat(settings) {
2572
2577
  if (!settings.hooks) return false;
2573
2578
  let fixed = false;
@@ -2686,6 +2691,26 @@ async function upgradeCommand() {
2686
2691
  fs16.mkdirSync(researchPath, { recursive: true });
2687
2692
  created.push(".fishi/research/");
2688
2693
  }
2694
+ const hooksToRegenerate = [
2695
+ { name: "session-start.mjs", getter: getSessionStartHook },
2696
+ { name: "auto-checkpoint.mjs", getter: getAutoCheckpointHook },
2697
+ { name: "agent-complete.mjs", getter: getAgentCompleteHook },
2698
+ { name: "gate-manager.mjs", getter: getGateManagerScript },
2699
+ { name: "worktree-manager.mjs", getter: getWorktreeManagerScript },
2700
+ { name: "monitor-emitter.mjs", getter: getMonitorEmitterScript },
2701
+ { name: "file-lock-hook.mjs", getter: getFileLockHookScript }
2702
+ ];
2703
+ const scriptsDir = path16.join(targetDir, ".fishi", "scripts");
2704
+ if (fs16.existsSync(scriptsDir)) {
2705
+ for (const hook of hooksToRegenerate) {
2706
+ try {
2707
+ const scriptPath = path16.join(scriptsDir, hook.name);
2708
+ fs16.writeFileSync(scriptPath, hook.getter(), "utf-8");
2709
+ updated.push(`.fishi/scripts/${hook.name} (regenerated with monitoring)`);
2710
+ } catch {
2711
+ }
2712
+ }
2713
+ }
2689
2714
  spinner.succeed("Upgrade complete");
2690
2715
  console.log("");
2691
2716
  if (updated.length > 0) {
@@ -2710,7 +2735,7 @@ async function upgradeCommand() {
2710
2735
  var program = new Command();
2711
2736
  program.name("fishi").description(
2712
2737
  chalk15.cyan("\u{1F41F} FISHI") + " \u2014 AI-Powered Software Delivery Pipeline\n Autonomous AI development with human governance"
2713
- ).version("0.14.7");
2738
+ ).version("0.15.1");
2714
2739
  program.command("init").description("Initialize FISHI in the current directory").argument("[description]", "Project description (skip wizard with zero-config)").option("-l, --language <lang>", "Primary language (e.g., typescript, python)").option("-f, --framework <framework>", "Framework (e.g., nextjs, express, django)").option(
2715
2740
  "-c, --cost-mode <mode>",
2716
2741
  "Cost mode: performance | balanced | economy",
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "@qlucent/fishi",
3
- "version": "0.14.8",
4
- "description": "FISHI — Your AI Dev Team That Actually Ships. Autonomous agent framework for Claude Code.",
5
- "license": "MIT",
6
- "type": "module",
7
- "bin": {
8
- "fishi": "./dist/index.js"
9
- },
10
- "main": "./dist/index.js",
11
- "types": "./dist/index.d.ts",
12
- "scripts": {
13
- "build": "tsup src/index.ts --format esm --clean",
14
- "dev": "tsup src/index.ts --format esm --watch --onSuccess 'node dist/index.js'",
15
- "clean": "rm -rf dist",
16
- "test": "vitest run"
17
- },
18
- "dependencies": {
19
- "@qlucent/fishi-core": "*",
20
- "chalk": "^5.3.0",
21
- "commander": "^12.0.0",
22
- "fs-extra": "^11.2.0",
23
- "inquirer": "^9.2.0",
24
- "ora": "^8.0.0",
25
- "yaml": "^2.4.0"
26
- },
27
- "devDependencies": {
28
- "@types/fs-extra": "^11.0.0",
29
- "@types/node": "^20.0.0",
30
- "tsup": "^8.0.0",
31
- "typescript": "^5.4.0",
32
- "vitest": "^2.0.0"
33
- },
34
- "engines": {
35
- "node": ">=18.0.0"
36
- },
37
- "keywords": [
38
- "claude",
39
- "claude-code",
40
- "ai",
41
- "agent",
42
- "autonomous",
43
- "development",
44
- "framework",
45
- "multi-agent",
46
- "orchestration",
47
- "tdd",
48
- "worktree",
49
- "project-management"
50
- ],
51
- "repository": {
52
- "type": "git",
53
- "url": "https://github.com/kpkaranam/fishi"
54
- },
55
- "homepage": "https://github.com/kpkaranam/fishi#readme",
56
- "bugs": {
57
- "url": "https://github.com/kpkaranam/fishi/issues"
58
- },
59
- "files": [
60
- "dist",
61
- "README.md",
62
- "LICENSE"
63
- ]
64
- }
1
+ {
2
+ "name": "@qlucent/fishi",
3
+ "version": "0.15.1",
4
+ "description": "FISHI — Your AI Dev Team That Actually Ships. Autonomous agent framework for Claude Code.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "fishi": "./dist/index.js"
9
+ },
10
+ "main": "./dist/index.js",
11
+ "types": "./dist/index.d.ts",
12
+ "scripts": {
13
+ "build": "tsup src/index.ts --format esm --clean",
14
+ "dev": "tsup src/index.ts --format esm --watch --onSuccess 'node dist/index.js'",
15
+ "clean": "rm -rf dist",
16
+ "test": "vitest run"
17
+ },
18
+ "dependencies": {
19
+ "@qlucent/fishi-core": "*",
20
+ "chalk": "^5.3.0",
21
+ "commander": "^12.0.0",
22
+ "fs-extra": "^11.2.0",
23
+ "inquirer": "^9.2.0",
24
+ "ora": "^8.0.0",
25
+ "yaml": "^2.4.0"
26
+ },
27
+ "devDependencies": {
28
+ "@types/fs-extra": "^11.0.0",
29
+ "@types/node": "^20.0.0",
30
+ "tsup": "^8.0.0",
31
+ "typescript": "^5.4.0",
32
+ "vitest": "^2.0.0"
33
+ },
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ },
37
+ "keywords": [
38
+ "claude",
39
+ "claude-code",
40
+ "ai",
41
+ "agent",
42
+ "autonomous",
43
+ "development",
44
+ "framework",
45
+ "multi-agent",
46
+ "orchestration",
47
+ "tdd",
48
+ "worktree",
49
+ "project-management"
50
+ ],
51
+ "repository": {
52
+ "type": "git",
53
+ "url": "https://github.com/kpkaranam/fishi"
54
+ },
55
+ "homepage": "https://github.com/kpkaranam/fishi#readme",
56
+ "bugs": {
57
+ "url": "https://github.com/kpkaranam/fishi/issues"
58
+ },
59
+ "files": [
60
+ "dist",
61
+ "README.md",
62
+ "LICENSE"
63
+ ]
64
+ }