@zcy2nn/agent-forge 1.1.3 → 1.1.4

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 (44) hide show
  1. package/README.md +247 -247
  2. package/agent-forge.schema.json +2 -133
  3. package/dist/cli/index.js +109 -204
  4. package/dist/cli/providers.d.ts +0 -44
  5. package/dist/config/constants.d.ts +3 -4
  6. package/dist/config/index.d.ts +0 -1
  7. package/dist/config/schema.d.ts +2 -72
  8. package/dist/index.js +191 -995
  9. package/dist/tools/index.d.ts +0 -1
  10. package/dist/tui.js +5 -18
  11. package/package.json +104 -104
  12. package/src/skills/brainstorming/SKILL.md +185 -186
  13. package/src/skills/brainstorming/scripts/frame-template.html +214 -214
  14. package/src/skills/brainstorming/scripts/server.cjs +354 -354
  15. package/src/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
  16. package/src/skills/codemap/README.md +3 -3
  17. package/src/skills/codemap/SKILL.md +5 -5
  18. package/src/skills/codemap/codemap.md +4 -4
  19. package/src/skills/codemap/scripts/codemap.mjs +1 -1
  20. package/src/skills/codemap/scripts/codemap.test.ts +1 -1
  21. package/src/skills/requesting-code-review/SKILL.md +1 -1
  22. package/src/skills/subagent-driven-development/SKILL.md +1 -1
  23. package/src/skills/systematic-debugging/SKILL.md +318 -318
  24. package/src/skills/test-driven-development/SKILL.md +392 -392
  25. package/src/skills/verification-before-completion/SKILL.md +153 -153
  26. package/src/skills/writing-plans/SKILL.md +2 -2
  27. package/src/skills/writing-skills/graphviz-conventions.dot +171 -171
  28. package/dist/agents/council.d.ts +0 -27
  29. package/dist/agents/councillor.d.ts +0 -2
  30. package/dist/agents/designer.d.ts +0 -2
  31. package/dist/agents/explorer.d.ts +0 -2
  32. package/dist/agents/fixer.d.ts +0 -2
  33. package/dist/agents/implementer.d.ts +0 -2
  34. package/dist/agents/librarian.d.ts +0 -2
  35. package/dist/agents/observer.d.ts +0 -2
  36. package/dist/agents/oracle.d.ts +0 -2
  37. package/dist/agents/reviewer.d.ts +0 -2
  38. package/dist/cli/migration.d.ts +0 -46
  39. package/dist/config/council-schema.d.ts +0 -127
  40. package/dist/council/council-manager.d.ts +0 -49
  41. package/dist/council/index.d.ts +0 -1
  42. package/dist/skills/systematic-debugging/condition-based-waiting-example.d.ts +0 -51
  43. package/dist/tools/council.d.ts +0 -10
  44. package/src/skills/using-git-worktrees/SKILL.md +0 -226
@@ -1,5 +1,4 @@
1
1
  export { ast_grep_replace, ast_grep_search } from './ast-grep';
2
- export { createCouncilTool } from './council';
3
2
  export type { PresetManager } from './preset-manager';
4
3
  export { createPresetManager } from './preset-manager';
5
4
  export { createSkillTool } from './skill';
package/dist/tui.js CHANGED
@@ -39,28 +39,17 @@ import { createElement, insert, setProp } from "@opentui/solid";
39
39
 
40
40
  // src/config/constants.ts
41
41
  var SUBAGENT_NAMES = [
42
- "researcher",
43
- "reviewer",
44
- "implementer",
45
- "council",
46
- "councillor"
42
+ "researcher"
47
43
  ];
48
44
  var ORCHESTRATOR_NAME = "orchestrator";
49
45
  var ALL_AGENT_NAMES = [ORCHESTRATOR_NAME, ...SUBAGENT_NAMES];
50
46
  var PROTECTED_AGENTS = new Set([
51
47
  "orchestrator",
52
- "researcher",
53
- "reviewer",
54
- "implementer",
55
- "councillor"
48
+ "researcher"
56
49
  ]);
57
50
  var DEFAULT_MODELS = {
58
51
  orchestrator: undefined,
59
- reviewer: "openai/gpt-5.5",
60
- researcher: "openai/gpt-5.4-mini",
61
- implementer: "openai/gpt-5.4-mini",
62
- council: "openai/gpt-5.4-mini",
63
- councillor: "openai/gpt-5.4-mini"
52
+ researcher: "openai/gpt-5.4-mini"
64
53
  };
65
54
  var POLL_INTERVAL_BACKGROUND_MS = 2000;
66
55
  var DEFAULT_TIMEOUT_MS = 2 * 60 * 1000;
@@ -69,9 +58,7 @@ var DEFAULT_MAX_SUBAGENT_DEPTH = 3;
69
58
  var PHASE_REMINDER_TEXT = `!IMPORTANT! Recall the workflow rules:
70
59
  Understand → choose the best parallelized path based on your capabilities and agents delegation rules → recall session reuse rules → execute → verify.
71
60
  If delegating, launch the specialist in the same turn you mention it !END!`;
72
- var TMUX_SPAWN_DELAY_MS = 500;
73
- var COUNCILLOR_STAGGER_MS = 250;
74
- var DEFAULT_DISABLED_AGENTS = ["council"];
61
+ var DEFAULT_DISABLED_AGENTS = [];
75
62
 
76
63
  // src/tui-state.ts
77
64
  import * as fs from "node:fs";
@@ -143,7 +130,7 @@ function recordTuiAgentModel(input) {
143
130
 
144
131
  // src/tui.ts
145
132
  var PLUGIN_NAME = "agent-forge";
146
- var FALLBACK_SIDEBAR_AGENTS = SUBAGENT_NAMES.filter((agent) => agent !== "councillor" && agent !== "council" && !DEFAULT_DISABLED_AGENTS.includes(agent));
133
+ var FALLBACK_SIDEBAR_AGENTS = SUBAGENT_NAMES.filter((agent) => !DEFAULT_DISABLED_AGENTS.includes(agent));
147
134
  var BORDER = { type: "single" };
148
135
  function readPackageVersion() {
149
136
  try {
package/package.json CHANGED
@@ -1,104 +1,104 @@
1
- {
2
- "name": "@zcy2nn/agent-forge",
3
- "version": "1.1.3",
4
- "description": "Lightweight agent orchestration plugin for OpenCode - a slimmed-down fork of oh-my-opencode",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "import": "./dist/index.js",
10
- "types": "./dist/index.d.ts"
11
- },
12
- "./tui": {
13
- "import": "./dist/tui.js",
14
- "types": "./dist/tui.d.ts"
15
- }
16
- },
17
- "bin": {
18
- "agent-forge": "./dist/cli/index.js"
19
- },
20
- "type": "module",
21
- "license": "MIT",
22
- "publishConfig": {
23
- "access": "public"
24
- },
25
- "keywords": [
26
- "opencode",
27
- "opencode-plugin",
28
- "ai",
29
- "agents",
30
- "orchestration",
31
- "llm",
32
- "claude",
33
- "gpt",
34
- "gemini"
35
- ],
36
- "repository": {
37
- "type": "git",
38
- "url": "https://cnb.cool/zcyoop/ai-assistant/agent-forge"
39
- },
40
- "bugs": {
41
- "url": "https://cnb.cool/zcyoop/ai-assistant/agent-forge/issues"
42
- },
43
- "homepage": "https://cnb.cool/zcyoop/ai-assistant/agent-forge#readme",
44
- "files": [
45
- "dist",
46
- "src/skills",
47
- "agent-forge.schema.json",
48
- "README.md",
49
- "LICENSE"
50
- ],
51
- "scripts": {
52
- "build:plugin": "bun build src/index.ts src/tui.ts --outdir dist --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external @opentui/core --external @opentui/solid --external jsdom --external zod",
53
- "build:cli": "bun build src/cli/index.ts --outdir dist/cli --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external jsdom --external zod",
54
- "copy:divoom-assets": "bun run scripts/copy-divoom-assets.ts",
55
- "build": "bun run build:plugin && bun run build:cli && bun run copy:divoom-assets && tsc --emitDeclarationOnly && bun run generate-schema",
56
- "prepare": "bun run build",
57
- "contributors:add": "all-contributors add",
58
- "contributors:check": "all-contributors check",
59
- "contributors:generate": "all-contributors generate",
60
- "generate-schema": "bun run scripts/generate-schema.ts",
61
- "verify:release": "bun run scripts/verify-release-artifact.ts",
62
- "verify:host-smoke": "bun run scripts/verify-opencode-host-smoke.ts",
63
- "typecheck": "tsc --noEmit",
64
- "test": "bun test",
65
- "lint": "biome lint .",
66
- "format": "biome format . --write",
67
- "check": "biome check --write .",
68
- "check:ci": "biome check .",
69
- "dev": "bun run build && opencode",
70
- "prepublishOnly": "bun run build",
71
- "release:patch": "npm version patch && git push --follow-tags && npm publish --access public",
72
- "release:minor": "npm version minor && git push --follow-tags && npm publish --access public",
73
- "release:major": "npm version major && git push --follow-tags && npm publish --access public"
74
- },
75
- "dependencies": {
76
- "@ast-grep/cli": "^0.42.1",
77
- "@modelcontextprotocol/sdk": "^1.29.0",
78
- "@mozilla/readability": "^0.6.0",
79
- "@opencode-ai/plugin": "^1.3.17",
80
- "@opencode-ai/sdk": "^1.3.17",
81
- "jsdom": "^26.1.0",
82
- "lru-cache": "^11.3.3",
83
- "turndown": "^7.2.4"
84
- },
85
- "optionalDependencies": {
86
- "@opentui/solid": "^0.1.97"
87
- },
88
- "devDependencies": {
89
- "@biomejs/biome": "2.4.11",
90
- "@types/jsdom": "^21.1.7",
91
- "@types/node": "^24.6.1",
92
- "@types/turndown": "^5.0.6",
93
- "all-contributors-cli": "^6.26.1",
94
- "bun-types": "1.3.12",
95
- "typescript": "^5.9.3",
96
- "zod": "^4.3.6"
97
- },
98
- "peerDependencies": {
99
- "zod": "^4.0.0"
100
- },
101
- "trustedDependencies": [
102
- "@ast-grep/cli"
103
- ]
104
- }
1
+ {
2
+ "name": "@zcy2nn/agent-forge",
3
+ "version": "1.1.4",
4
+ "description": "Lightweight agent orchestration plugin for OpenCode - a slimmed-down fork of oh-my-opencode",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "types": "./dist/index.d.ts"
11
+ },
12
+ "./tui": {
13
+ "import": "./dist/tui.js",
14
+ "types": "./dist/tui.d.ts"
15
+ }
16
+ },
17
+ "bin": {
18
+ "agent-forge": "./dist/cli/index.js"
19
+ },
20
+ "type": "module",
21
+ "license": "MIT",
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "keywords": [
26
+ "opencode",
27
+ "opencode-plugin",
28
+ "ai",
29
+ "agents",
30
+ "orchestration",
31
+ "llm",
32
+ "claude",
33
+ "gpt",
34
+ "gemini"
35
+ ],
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "https://cnb.cool/zcyoop/ai-assistant/agent-forge"
39
+ },
40
+ "bugs": {
41
+ "url": "https://cnb.cool/zcyoop/ai-assistant/agent-forge/issues"
42
+ },
43
+ "homepage": "https://cnb.cool/zcyoop/ai-assistant/agent-forge#readme",
44
+ "files": [
45
+ "dist",
46
+ "src/skills",
47
+ "agent-forge.schema.json",
48
+ "README.md",
49
+ "LICENSE"
50
+ ],
51
+ "scripts": {
52
+ "build:plugin": "bun build src/index.ts src/tui.ts --outdir dist --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external @opentui/core --external @opentui/solid --external jsdom --external zod",
53
+ "build:cli": "bun build src/cli/index.ts --outdir dist/cli --target node --format esm --external @ast-grep/napi --external @opencode-ai/plugin --external @opencode-ai/sdk --external jsdom --external zod",
54
+ "copy:divoom-assets": "bun run scripts/copy-divoom-assets.ts",
55
+ "build": "bun run build:plugin && bun run build:cli && bun run copy:divoom-assets && tsc --emitDeclarationOnly && bun run generate-schema",
56
+ "prepare": "bun run build",
57
+ "contributors:add": "all-contributors add",
58
+ "contributors:check": "all-contributors check",
59
+ "contributors:generate": "all-contributors generate",
60
+ "generate-schema": "bun run scripts/generate-schema.ts",
61
+ "verify:release": "bun run scripts/verify-release-artifact.ts",
62
+ "verify:host-smoke": "bun run scripts/verify-opencode-host-smoke.ts",
63
+ "typecheck": "tsc --noEmit",
64
+ "test": "bun test",
65
+ "lint": "biome lint .",
66
+ "format": "biome format . --write",
67
+ "check": "biome check --write .",
68
+ "check:ci": "biome check .",
69
+ "dev": "bun run build && opencode",
70
+ "prepublishOnly": "bun run build",
71
+ "release:patch": "npm version patch && git push --follow-tags && npm publish --access public",
72
+ "release:minor": "npm version minor && git push --follow-tags && npm publish --access public",
73
+ "release:major": "npm version major && git push --follow-tags && npm publish --access public"
74
+ },
75
+ "dependencies": {
76
+ "@ast-grep/cli": "^0.42.1",
77
+ "@modelcontextprotocol/sdk": "^1.29.0",
78
+ "@mozilla/readability": "^0.6.0",
79
+ "@opencode-ai/plugin": "^1.3.17",
80
+ "@opencode-ai/sdk": "^1.3.17",
81
+ "jsdom": "^26.1.0",
82
+ "lru-cache": "^11.3.3",
83
+ "turndown": "^7.2.4"
84
+ },
85
+ "optionalDependencies": {
86
+ "@opentui/solid": "^0.1.97"
87
+ },
88
+ "devDependencies": {
89
+ "@biomejs/biome": "2.4.11",
90
+ "@types/jsdom": "^21.1.7",
91
+ "@types/node": "^24.6.1",
92
+ "@types/turndown": "^5.0.6",
93
+ "all-contributors-cli": "^6.26.1",
94
+ "bun-types": "1.3.12",
95
+ "typescript": "^5.9.3",
96
+ "zod": "^4.3.6"
97
+ },
98
+ "peerDependencies": {
99
+ "zod": "^4.0.0"
100
+ },
101
+ "trustedDependencies": [
102
+ "@ast-grep/cli"
103
+ ]
104
+ }