agent-enderun 0.5.9 → 0.6.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/.enderun/PROJECT_MEMORY.md +23 -32
- package/.enderun/STATUS.md +19 -10
- package/.enderun/agents/analyst.md +10 -4
- package/.enderun/agents/backend.md +23 -12
- package/.enderun/agents/explorer.md +2 -2
- package/.enderun/agents/frontend.md +21 -10
- package/.enderun/agents/git.md +1 -1
- package/.enderun/agents/manager.md +10 -2
- package/.enderun/agents/mobile.md +2 -2
- package/.enderun/agents/native.md +2 -2
- package/.enderun/blueprints/backend/errors/domain-error.ts +1 -1
- package/.enderun/blueprints/backend/types/index.ts +49 -0
- package/{packages/shared-types/src → .enderun/blueprints/backend/types}/models.ts +0 -1
- package/.enderun/docs/api/README.md +7 -12
- package/.enderun/docs/project-docs.md +17 -7
- package/.enderun/docs/tech-stack.md +7 -8
- package/.enderun/knowledge/blueprint_driven_construction.md +22 -0
- package/.enderun/knowledge/code_review_checklist.md +1 -1
- package/.enderun/knowledge/contract_versioning.md +5 -5
- package/ENDERUN.md +8 -7
- package/README.md +51 -35
- package/bin/cli.js +217 -29
- package/bin/update-contract.js +2 -2
- package/{packages/framework-mcp → framework-mcp}/dist/index.js +0 -0
- package/{packages/framework-mcp → framework-mcp}/dist/schemas.js +12 -0
- package/{packages/framework-mcp → framework-mcp}/dist/tools/contract.js +5 -5
- package/{packages/framework-mcp → framework-mcp}/dist/tools/framework.js +3 -2
- package/{packages/framework-mcp → framework-mcp}/dist/tools/git.js +2 -4
- package/{packages/framework-mcp → framework-mcp}/dist/tools/index.js +3 -0
- package/{packages/framework-mcp → framework-mcp}/dist/tools/repository.js +1 -1
- package/framework-mcp/dist/tools/scaffold.js +129 -0
- package/{packages/framework-mcp → framework-mcp}/dist/utils.js +1 -1
- package/{packages/framework-mcp → framework-mcp}/package.json +1 -1
- package/{packages/framework-mcp → framework-mcp}/src/schemas.ts +15 -0
- package/{packages/framework-mcp → framework-mcp}/src/tools/contract.ts +5 -5
- package/{packages/framework-mcp → framework-mcp}/src/tools/framework.ts +3 -2
- package/{packages/framework-mcp → framework-mcp}/src/tools/git.ts +2 -3
- package/{packages/framework-mcp → framework-mcp}/src/tools/index.ts +3 -0
- package/{packages/framework-mcp → framework-mcp}/src/tools/repository.ts +1 -1
- package/framework-mcp/src/tools/scaffold.ts +147 -0
- package/{packages/framework-mcp → framework-mcp}/src/utils.ts +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +7 -11
- package/.enderun/logs/manager.json +0 -1
- package/packages/shared-types/README.md +0 -61
- package/packages/shared-types/contract.version.json +0 -12
- package/packages/shared-types/dist/api.d.ts +0 -18
- package/packages/shared-types/dist/api.js +0 -2
- package/packages/shared-types/dist/api.js.map +0 -1
- package/packages/shared-types/dist/brands.d.ts +0 -13
- package/packages/shared-types/dist/brands.js +0 -2
- package/packages/shared-types/dist/brands.js.map +0 -1
- package/packages/shared-types/dist/constants.d.ts +0 -27
- package/packages/shared-types/dist/constants.js +0 -22
- package/packages/shared-types/dist/constants.js.map +0 -1
- package/packages/shared-types/dist/index.d.ts +0 -11
- package/packages/shared-types/dist/index.js +0 -12
- package/packages/shared-types/dist/index.js.map +0 -1
- package/packages/shared-types/dist/logs.d.ts +0 -15
- package/packages/shared-types/dist/logs.js +0 -2
- package/packages/shared-types/dist/logs.js.map +0 -1
- package/packages/shared-types/dist/models.d.ts +0 -60
- package/packages/shared-types/dist/models.js +0 -2
- package/packages/shared-types/dist/models.js.map +0 -1
- package/packages/shared-types/package.json +0 -36
- package/packages/shared-types/src/index.ts +0 -12
- package/packages/shared-types/tsconfig.json +0 -9
- /package/{packages/shared-types/src → .enderun/blueprints/backend/types}/api.ts +0 -0
- /package/{packages/shared-types/src → .enderun/blueprints/backend/types}/brands.ts +0 -0
- /package/{packages/shared-types/src → .enderun/blueprints/backend/types}/constants.ts +0 -0
- /package/{packages/shared-types/src → .enderun/blueprints/backend/types}/logs.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/README.md +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/academy.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/codebase.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/database.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/knowledge.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/memory.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/messages.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/dist/tools/security.js +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/index.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/academy.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/codebase.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/database.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/knowledge.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/memory.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/messages.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/src/tools/security.ts +0 -0
- /package/{packages/framework-mcp → framework-mcp}/tsconfig.json +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brands.js","sourceRoot":"","sources":["../src/brands.ts"],"names":[],"mappings":""}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Project Phases
|
|
3
|
-
*/
|
|
4
|
-
export declare const PROJECT_PHASES: readonly ["PHASE_0", "PHASE_1", "PHASE_2", "PHASE_3", "PHASE_4"];
|
|
5
|
-
export type ProjectPhase = (typeof PROJECT_PHASES)[number];
|
|
6
|
-
/**
|
|
7
|
-
* Execution Profiles
|
|
8
|
-
*/
|
|
9
|
-
export declare const EXECUTION_PROFILES: readonly ["Lightweight", "Full"];
|
|
10
|
-
export type ExecutionProfile = (typeof EXECUTION_PROFILES)[number];
|
|
11
|
-
/**
|
|
12
|
-
* Task Priorities
|
|
13
|
-
*/
|
|
14
|
-
export declare const TASK_PRIORITIES: readonly ["P0", "P1", "P2", "P3"];
|
|
15
|
-
export type TaskPriority = (typeof TASK_PRIORITIES)[number];
|
|
16
|
-
/**
|
|
17
|
-
* Task Statuses
|
|
18
|
-
*/
|
|
19
|
-
export declare const TASK_STATUSES: readonly ["PENDING", "IN_PROGRESS", "BLOCKED", "COMPLETED", "FAILED"];
|
|
20
|
-
export type TaskStatus = (typeof TASK_STATUSES)[number];
|
|
21
|
-
/**
|
|
22
|
-
* Action Types & Status
|
|
23
|
-
*/
|
|
24
|
-
export declare const ACTION_TYPES: readonly ["CREATE", "MODIFY", "DELETE", "RESEARCH", "ORCHESTRATE"];
|
|
25
|
-
export type ActionType = (typeof ACTION_TYPES)[number];
|
|
26
|
-
export declare const ACTION_STATUSES: readonly ["SUCCESS", "FAILURE", "WAITING"];
|
|
27
|
-
export type ActionStatus = (typeof ACTION_STATUSES)[number];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Project Phases
|
|
3
|
-
*/
|
|
4
|
-
export const PROJECT_PHASES = ["PHASE_0", "PHASE_1", "PHASE_2", "PHASE_3", "PHASE_4"];
|
|
5
|
-
/**
|
|
6
|
-
* Execution Profiles
|
|
7
|
-
*/
|
|
8
|
-
export const EXECUTION_PROFILES = ["Lightweight", "Full"];
|
|
9
|
-
/**
|
|
10
|
-
* Task Priorities
|
|
11
|
-
*/
|
|
12
|
-
export const TASK_PRIORITIES = ["P0", "P1", "P2", "P3"];
|
|
13
|
-
/**
|
|
14
|
-
* Task Statuses
|
|
15
|
-
*/
|
|
16
|
-
export const TASK_STATUSES = ["PENDING", "IN_PROGRESS", "BLOCKED", "COMPLETED", "FAILED"];
|
|
17
|
-
/**
|
|
18
|
-
* Action Types & Status
|
|
19
|
-
*/
|
|
20
|
-
export const ACTION_TYPES = ["CREATE", "MODIFY", "DELETE", "RESEARCH", "ORCHESTRATE"];
|
|
21
|
-
export const ACTION_STATUSES = ["SUCCESS", "FAILURE", "WAITING"];
|
|
22
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC;AAG/F;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,aAAa,EAAE,MAAM,CAAU,CAAC;AAGnE;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAGjE;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,CAAU,CAAC;AAGnG;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,aAAa,CAAU,CAAC;AAG/F,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAU,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agent Enderun — Shared Types (Modular)
|
|
3
|
-
*
|
|
4
|
-
* This file is the Single Source of Truth for all Backend and Frontend communication.
|
|
5
|
-
* All modules are exported from here for central access.
|
|
6
|
-
*/
|
|
7
|
-
export * from "./brands.js";
|
|
8
|
-
export * from "./constants.js";
|
|
9
|
-
export * from "./models.js";
|
|
10
|
-
export * from "./api.js";
|
|
11
|
-
export * from "./logs.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agent Enderun — Shared Types (Modular)
|
|
3
|
-
*
|
|
4
|
-
* This file is the Single Source of Truth for all Backend and Frontend communication.
|
|
5
|
-
* All modules are exported from here for central access.
|
|
6
|
-
*/
|
|
7
|
-
export * from "./brands.js";
|
|
8
|
-
export * from "./constants.js";
|
|
9
|
-
export * from "./models.js";
|
|
10
|
-
export * from "./api.js";
|
|
11
|
-
export * from "./logs.js";
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { TraceID, AgentID } from "./brands.js";
|
|
2
|
-
import { ActionType, ActionStatus } from "./constants.js";
|
|
3
|
-
/**
|
|
4
|
-
* Audit & Agent Logging Types
|
|
5
|
-
*/
|
|
6
|
-
export interface AgentActionLog {
|
|
7
|
-
timestamp: string;
|
|
8
|
-
agent: AgentID;
|
|
9
|
-
action: ActionType;
|
|
10
|
-
requestId: TraceID | "—";
|
|
11
|
-
status: ActionStatus;
|
|
12
|
-
summary: string;
|
|
13
|
-
files?: string[];
|
|
14
|
-
details?: Record<string, unknown>;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../src/logs.ts"],"names":[],"mappings":""}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { UserID, TraceID, AgentID } from "./brands.js";
|
|
2
|
-
import { ProjectPhase, ExecutionProfile, TaskPriority, TaskStatus } from "./constants.js";
|
|
3
|
-
/**
|
|
4
|
-
* Base Entity Fields
|
|
5
|
-
* All domain entities should include these fields.
|
|
6
|
-
*/
|
|
7
|
-
export interface BaseEntity {
|
|
8
|
-
id: string;
|
|
9
|
-
createdAt: string;
|
|
10
|
-
updatedAt: string;
|
|
11
|
-
deletedAt?: string | null;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Audit Log Model
|
|
15
|
-
*/
|
|
16
|
-
export interface AuditLog extends BaseEntity {
|
|
17
|
-
entityName: string;
|
|
18
|
-
entityId: string;
|
|
19
|
-
action: "CREATE" | "UPDATE" | "DELETE" | "RESTORE";
|
|
20
|
-
userId: UserID;
|
|
21
|
-
previousState?: Record<string, unknown> | null;
|
|
22
|
-
newState?: Record<string, unknown> | null;
|
|
23
|
-
traceId: TraceID;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* User Model
|
|
27
|
-
*/
|
|
28
|
-
export interface User extends BaseEntity {
|
|
29
|
-
id: UserID;
|
|
30
|
-
email: string;
|
|
31
|
-
fullName: string;
|
|
32
|
-
role: "ADMIN" | "DEVELOPER" | "VIEWER";
|
|
33
|
-
}
|
|
34
|
-
export interface UserProfile extends User {
|
|
35
|
-
avatarUrl?: string;
|
|
36
|
-
bio?: string;
|
|
37
|
-
preferences: Record<string, unknown>;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Project Status
|
|
41
|
-
*/
|
|
42
|
-
export interface ProjectStatus {
|
|
43
|
-
phase: ProjectPhase;
|
|
44
|
-
profile: ExecutionProfile;
|
|
45
|
-
lastUpdate: string;
|
|
46
|
-
activeTraceId: TraceID | null;
|
|
47
|
-
blockers: string[];
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Task Model
|
|
51
|
-
*/
|
|
52
|
-
export interface Task {
|
|
53
|
-
id: TraceID;
|
|
54
|
-
description: string;
|
|
55
|
-
agent: AgentID;
|
|
56
|
-
priority: TaskPriority;
|
|
57
|
-
status: TaskStatus;
|
|
58
|
-
createdAt: string;
|
|
59
|
-
updatedAt: string;
|
|
60
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../src/models.ts"],"names":[],"mappings":""}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agent-enderun/shared-types",
|
|
3
|
-
"version": "0.5.9",
|
|
4
|
-
"description": "Shared TypeScript types for AI-Enderun Framework. Ensures Contract-First synchronization between agents.",
|
|
5
|
-
"author": "Yusuf BEKAR",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"readme": "README.md",
|
|
8
|
-
"type": "module",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/ysf-bkr/Agent-Enderun.git"
|
|
12
|
-
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/ysf-bkr/Agent-Enderun/issues"
|
|
15
|
-
},
|
|
16
|
-
"homepage": "https://github.com/ysf-bkr/Agent-Enderun#readme",
|
|
17
|
-
"main": "dist/index.js",
|
|
18
|
-
"module": "dist/index.js",
|
|
19
|
-
"types": "dist/index.js",
|
|
20
|
-
"files": [
|
|
21
|
-
"src",
|
|
22
|
-
"dist",
|
|
23
|
-
"README.md"
|
|
24
|
-
],
|
|
25
|
-
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"build": "tsc -p tsconfig.json",
|
|
30
|
-
"build:watch": "tsc -p tsconfig.json --watch",
|
|
31
|
-
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"typescript": "^5.9.3"
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Agent Enderun — Shared Types (Modular)
|
|
3
|
-
*
|
|
4
|
-
* This file is the Single Source of Truth for all Backend and Frontend communication.
|
|
5
|
-
* All modules are exported from here for central access.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
export * from "./brands.js";
|
|
9
|
-
export * from "./constants.js";
|
|
10
|
-
export * from "./models.js";
|
|
11
|
-
export * from "./api.js";
|
|
12
|
-
export * from "./logs.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|