ai-eng-system 0.0.12 → 0.0.14
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.
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
"SessionStart": [
|
|
4
4
|
{
|
|
5
5
|
"description": "Initialize ai-eng-system on session start",
|
|
6
|
+
"config": {},
|
|
6
7
|
"hooks": [
|
|
7
8
|
{
|
|
8
9
|
"type": "notification",
|
|
9
|
-
"
|
|
10
|
+
"config": {},
|
|
11
|
+
"message": "🔧 Ferg Engineering System loaded. Commands: /ai-eng/plan, /ai-eng/review, /ai-eng/seo, /ai-eng/work, /ai-eng/compound, /ai-eng/deploy, /ai-eng/optimize, /ai-eng/recursive-init, /ai-eng/create-plugin, /ai-eng/create-agent, /ai-eng/create-command, /ai-eng/create-skill, /ai-eng/create-tool, /ai-eng/research, /ai-eng/context"
|
|
10
12
|
}
|
|
11
13
|
]
|
|
12
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-eng-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "AI Engineering System with context engineering and research orchestration for Claude Code",
|
|
5
5
|
"author": "v1truv1us",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"./commands/recursive-init.md",
|
|
19
19
|
"./commands/work.md",
|
|
20
20
|
"./commands/plan.md",
|
|
21
|
-
"./commands/research.md",
|
|
22
21
|
"./commands/review.md",
|
|
23
22
|
"./commands/clean.md",
|
|
24
|
-
"./commands/specify.md"
|
|
23
|
+
"./commands/specify.md",
|
|
24
|
+
"./commands/research.md"
|
|
25
25
|
]
|
|
26
26
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,41 +1,6 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
|
|
5
|
-
// src/types/common.ts
|
|
6
|
-
function isRecord(value) {
|
|
7
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
8
|
-
}
|
|
9
|
-
function isStringRecord(value) {
|
|
10
|
-
if (!isRecord(value))
|
|
11
|
-
return false;
|
|
12
|
-
return Object.values(value).every((v) => typeof v === "string");
|
|
13
|
-
}
|
|
14
|
-
function isObject(value) {
|
|
15
|
-
return typeof value === "object" && value !== null;
|
|
16
|
-
}
|
|
17
|
-
function hasProperty(obj, key) {
|
|
18
|
-
return isRecord(obj) && key in obj;
|
|
19
|
-
}
|
|
20
|
-
function isArray(value) {
|
|
21
|
-
return Array.isArray(value);
|
|
22
|
-
}
|
|
23
|
-
function isString(value) {
|
|
24
|
-
return typeof value === "string";
|
|
25
|
-
}
|
|
26
|
-
function isNumber(value) {
|
|
27
|
-
return typeof value === "number" && !Number.isNaN(value);
|
|
28
|
-
}
|
|
29
|
-
function isBoolean(value) {
|
|
30
|
-
return typeof value === "boolean";
|
|
31
|
-
}
|
|
32
|
-
function getProperty(obj, key, defaultValue) {
|
|
33
|
-
if (!isRecord(obj))
|
|
34
|
-
return defaultValue;
|
|
35
|
-
return key in obj ? obj[key] : defaultValue;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// src/index.ts
|
|
39
4
|
function copyRecursive(src, dest) {
|
|
40
5
|
const stat = fs.statSync(src);
|
|
41
6
|
if (stat.isDirectory()) {
|
|
@@ -72,24 +37,25 @@ function installToProject(pluginDir, projectDir) {
|
|
|
72
37
|
copyRecursive(distSkillDir, skillDest);
|
|
73
38
|
}
|
|
74
39
|
}
|
|
75
|
-
var AiEngSystem = async ({
|
|
40
|
+
var AiEngSystem = async ({
|
|
41
|
+
project,
|
|
42
|
+
client,
|
|
43
|
+
$,
|
|
44
|
+
directory,
|
|
45
|
+
worktree
|
|
46
|
+
}) => {
|
|
76
47
|
const pluginDir = path.dirname(new URL(import.meta.url).pathname);
|
|
77
48
|
try {
|
|
78
49
|
installToProject(pluginDir, directory);
|
|
79
50
|
} catch (error) {
|
|
80
51
|
console.error(`[ai-eng-system] Installation warning: ${error instanceof Error ? error.message : String(error)}`);
|
|
81
52
|
}
|
|
82
|
-
return {
|
|
53
|
+
return {
|
|
54
|
+
config: async (input) => {}
|
|
55
|
+
};
|
|
83
56
|
};
|
|
57
|
+
var src_default = AiEngSystem;
|
|
84
58
|
export {
|
|
85
|
-
|
|
86
|
-
isString,
|
|
87
|
-
isRecord,
|
|
88
|
-
isObject,
|
|
89
|
-
isNumber,
|
|
90
|
-
isBoolean,
|
|
91
|
-
isArray,
|
|
92
|
-
hasProperty,
|
|
93
|
-
getProperty,
|
|
59
|
+
src_default as default,
|
|
94
60
|
AiEngSystem
|
|
95
61
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-eng-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "Compounding engineering system for Claude Code and OpenCode. Shared agents, commands, skills, and plugin development tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -85,6 +85,6 @@
|
|
|
85
85
|
"bun": ">=1.0.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@opencode-ai/plugin": "^1.0.
|
|
88
|
+
"@opencode-ai/plugin": "^1.0.218"
|
|
89
89
|
}
|
|
90
90
|
}
|