@wowok/agent-mcp 2.5.2 → 2.5.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.
- package/dist/customer/index.d.ts +2 -2
- package/dist/customer/index.js +1 -1
- package/dist/customer/info-puzzle.d.ts +39 -2
- package/dist/customer/info-puzzle.js +370 -29
- package/dist/customer/risk-assessment.js +51 -14
- package/dist/customer/types.d.ts +85 -0
- package/dist/index.js +46 -6
- package/dist/knowledge/guard-design-patterns.js +104 -1
- package/dist/knowledge/guard-ledger.js +3 -3
- package/dist/knowledge/guard-lint.js +3 -3
- package/dist/knowledge/guard-risk.js +23 -15
- package/dist/knowledge/guard-templates.js +174 -2
- package/dist/knowledge/guard-translation.js +3 -3
- package/dist/knowledge/index.d.ts +3 -0
- package/dist/knowledge/index.js +9 -0
- package/dist/knowledge/machine-context.d.ts +1 -1
- package/dist/knowledge/machine-context.js +21 -0
- package/dist/knowledge/machine-ledger.d.ts +1 -0
- package/dist/knowledge/machine-ledger.js +60 -37
- package/dist/knowledge/machine-risk.js +23 -0
- package/dist/knowledge/machine-templates.js +150 -164
- package/dist/knowledge/overrides-loader.d.ts +13 -0
- package/dist/knowledge/overrides-loader.js +67 -0
- package/dist/knowledge/payment-risk.d.ts +4 -0
- package/dist/knowledge/payment-risk.js +67 -0
- package/dist/knowledge/repository-confirm.d.ts +4 -0
- package/dist/knowledge/repository-confirm.js +44 -0
- package/dist/knowledge/repository-risk.d.ts +8 -2
- package/dist/knowledge/repository-risk.js +61 -0
- package/dist/knowledge/repository-translation.js +23 -0
- package/dist/knowledge/reward-templates.d.ts +1 -1
- package/dist/knowledge/reward-templates.js +77 -5
- package/dist/knowledge/scenario-modes.js +22 -5
- package/dist/knowledge/service-templates.js +38 -0
- package/dist/knowledge/treasury-templates.js +42 -0
- package/dist/knowledge/trust-metrics.d.ts +4 -0
- package/dist/knowledge/trust-metrics.js +67 -7
- package/dist/loop-engineering/context-collect.d.ts +7 -0
- package/dist/loop-engineering/context-collect.js +83 -0
- package/dist/loop-engineering/improve.d.ts +29 -0
- package/dist/loop-engineering/improve.js +178 -0
- package/dist/project/context-assembly.d.ts +16 -0
- package/dist/project/context-assembly.js +130 -0
- package/dist/project/deployment-doc.d.ts +115 -0
- package/dist/project/deployment-doc.js +595 -0
- package/dist/project/index.js +37 -1
- package/dist/project/migration.d.ts +22 -0
- package/dist/project/migration.js +125 -0
- package/dist/project/project-store.d.ts +110 -0
- package/dist/project/project-store.js +425 -0
- package/dist/project/rollback-policy.d.ts +45 -0
- package/dist/project/rollback-policy.js +290 -0
- package/dist/project/stage-gate.d.ts +49 -0
- package/dist/project/stage-gate.js +310 -0
- package/dist/schema/call/allocation.d.ts +5 -0
- package/dist/schema/call/arbitration.d.ts +59 -54
- package/dist/schema/call/base.d.ts +3 -0
- package/dist/schema/call/base.js +1 -0
- package/dist/schema/call/bridge.d.ts +24 -0
- package/dist/schema/call/contact.d.ts +5 -0
- package/dist/schema/call/demand.d.ts +53 -48
- package/dist/schema/call/guard.d.ts +15 -0
- package/dist/schema/call/machine.d.ts +10 -0
- package/dist/schema/call/order.d.ts +5 -0
- package/dist/schema/call/payment.d.ts +5 -0
- package/dist/schema/call/permission.d.ts +5 -0
- package/dist/schema/call/personal.d.ts +5 -0
- package/dist/schema/call/progress.d.ts +5 -0
- package/dist/schema/call/proof.d.ts +10 -0
- package/dist/schema/call/repository.d.ts +5 -0
- package/dist/schema/call/reward.d.ts +5 -0
- package/dist/schema/call/service.d.ts +5 -0
- package/dist/schema/call/treasury.d.ts +5 -0
- package/dist/schema/operations.d.ts +286 -76
- package/dist/schema/operations.js +24 -0
- package/dist/schema/project/index.d.ts +2633 -120
- package/dist/schema/project/index.js +622 -2
- package/dist/schema/query/index.d.ts +601 -0
- package/dist/schema/query/index.js +61 -0
- package/dist/schema/trust/index.d.ts +10 -10
- package/dist/schemas/bridge_operation.schema.json +4 -0
- package/dist/schemas/guard2file.schema.json +4 -0
- package/dist/schemas/index.json +1 -1
- package/dist/schemas/machineNode2file.schema.json +4 -0
- package/dist/schemas/onchain_operations.schema.json +20 -0
- package/dist/schemas/onchain_operations_allocation.schema.json +4 -0
- package/dist/schemas/onchain_operations_arbitration.schema.json +4 -0
- package/dist/schemas/onchain_operations_contact.schema.json +4 -0
- package/dist/schemas/onchain_operations_demand.schema.json +4 -0
- package/dist/schemas/onchain_operations_gen_passport.schema.json +8 -0
- package/dist/schemas/onchain_operations_gen_proof.schema.json +8 -0
- package/dist/schemas/onchain_operations_guard.schema.json +4 -0
- package/dist/schemas/onchain_operations_machine.schema.json +4 -0
- package/dist/schemas/onchain_operations_order.schema.json +4 -0
- package/dist/schemas/onchain_operations_payment.schema.json +4 -0
- package/dist/schemas/onchain_operations_permission.schema.json +4 -0
- package/dist/schemas/onchain_operations_personal.schema.json +4 -0
- package/dist/schemas/onchain_operations_progress.schema.json +4 -0
- package/dist/schemas/onchain_operations_proof.schema.json +4 -0
- package/dist/schemas/onchain_operations_repository.schema.json +4 -0
- package/dist/schemas/onchain_operations_reward.schema.json +4 -0
- package/dist/schemas/onchain_operations_service.schema.json +4 -0
- package/dist/schemas/onchain_operations_treasury.schema.json +4 -0
- package/dist/schemas/project_operation.output.json +1798 -0
- package/dist/schemas/project_operation.schema.json +132 -2
- package/dist/schemas/query_toolkit.output.json +407 -1
- package/dist/schemas/query_toolkit.schema.json +132 -0
- package/dist/tools/handlers/project.js +742 -1
- package/dist/tools/handlers/query.js +38 -2
- package/package.json +2 -2
|
@@ -70,3 +70,118 @@ export declare function generateDeploymentDoc(input: DeploymentDocInput): string
|
|
|
70
70
|
export declare function estimateDeploymentGas(input: Pick<DeploymentDocInput, "objects">): GasEstimate;
|
|
71
71
|
export declare function validateDeploymentDoc(input: DeploymentDocInput): DeploymentDocValidationResult;
|
|
72
72
|
export declare function getStandardTopoOrder(): ProjectObjectType[];
|
|
73
|
+
export interface StageGoal {
|
|
74
|
+
stage: 1 | 2 | 3 | 4 | 5;
|
|
75
|
+
goal_statement: string;
|
|
76
|
+
derived_from: string[];
|
|
77
|
+
success_criteria: Array<{
|
|
78
|
+
criterion_id: string;
|
|
79
|
+
description: string;
|
|
80
|
+
measurable: boolean;
|
|
81
|
+
target_value?: string;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
export interface StageAssessment {
|
|
85
|
+
stage: 1 | 2 | 3 | 4 | 5;
|
|
86
|
+
assessed_at: number;
|
|
87
|
+
goal_completion: Record<string, number>;
|
|
88
|
+
findings: Array<{
|
|
89
|
+
finding_id: string;
|
|
90
|
+
severity: "info" | "warn" | "critical";
|
|
91
|
+
criterion_id: string;
|
|
92
|
+
description: string;
|
|
93
|
+
evidence: unknown;
|
|
94
|
+
}>;
|
|
95
|
+
recommendations: string[];
|
|
96
|
+
}
|
|
97
|
+
export interface StageRiskPolicy {
|
|
98
|
+
stage: 1 | 2 | 3 | 4 | 5;
|
|
99
|
+
risks: Array<{
|
|
100
|
+
risk_id: string;
|
|
101
|
+
category: "naming" | "dependency" | "operational" | "financial" | "security";
|
|
102
|
+
description: string;
|
|
103
|
+
likelihood: "low" | "medium" | "high";
|
|
104
|
+
impact: "low" | "medium" | "high" | "critical";
|
|
105
|
+
mitigation: string;
|
|
106
|
+
owner: "ai" | "user" | "system";
|
|
107
|
+
}>;
|
|
108
|
+
active_controls: Array<{
|
|
109
|
+
control_id: string;
|
|
110
|
+
control_type: "preventive" | "detective" | "corrective";
|
|
111
|
+
target_risk: string;
|
|
112
|
+
implementation: string;
|
|
113
|
+
verified: boolean;
|
|
114
|
+
}>;
|
|
115
|
+
residual_risks: string[];
|
|
116
|
+
}
|
|
117
|
+
export interface StageVerification {
|
|
118
|
+
stage: 1 | 2 | 3 | 4 | 5;
|
|
119
|
+
verified_at: number;
|
|
120
|
+
goal_verification: Record<string, {
|
|
121
|
+
passed: boolean;
|
|
122
|
+
evidence: unknown;
|
|
123
|
+
}>;
|
|
124
|
+
d_checks: Array<{
|
|
125
|
+
check_id: string;
|
|
126
|
+
status: "pass" | "fail" | "warn";
|
|
127
|
+
message: string;
|
|
128
|
+
evidence: unknown;
|
|
129
|
+
}>;
|
|
130
|
+
cross_stage_checks: Array<{
|
|
131
|
+
check_id: string;
|
|
132
|
+
involves_stages: number[];
|
|
133
|
+
description: string;
|
|
134
|
+
passed: boolean;
|
|
135
|
+
evidence: unknown;
|
|
136
|
+
}>;
|
|
137
|
+
stage_passed: boolean;
|
|
138
|
+
blocking_issues: string[];
|
|
139
|
+
}
|
|
140
|
+
export interface ValidationChainLink {
|
|
141
|
+
source_type: "project_invariant" | "project_goal";
|
|
142
|
+
source_id: string;
|
|
143
|
+
target_type: "stage_goal" | "stage_risk" | "stage_verification";
|
|
144
|
+
target_stage: 1 | 2 | 3 | 4 | 5;
|
|
145
|
+
target_id: string;
|
|
146
|
+
derivation_logic: string;
|
|
147
|
+
}
|
|
148
|
+
export interface PropagationRule {
|
|
149
|
+
rule_id: string;
|
|
150
|
+
trigger: {
|
|
151
|
+
stage: number;
|
|
152
|
+
event: "verification_passed" | "verification_failed";
|
|
153
|
+
};
|
|
154
|
+
effect: {
|
|
155
|
+
target: "project_invariant" | "next_stage";
|
|
156
|
+
action: "verify" | "block";
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface ValidationChainGraph {
|
|
160
|
+
version: string;
|
|
161
|
+
generated_at: number;
|
|
162
|
+
project_invariants: Array<{
|
|
163
|
+
invariant_id: string;
|
|
164
|
+
description: string;
|
|
165
|
+
verified_by_stages: number[];
|
|
166
|
+
}>;
|
|
167
|
+
stage_units: Array<{
|
|
168
|
+
stage: 1 | 2 | 3 | 4 | 5;
|
|
169
|
+
goal_id: string;
|
|
170
|
+
assessment_id: string;
|
|
171
|
+
risk_policy_id: string;
|
|
172
|
+
verification_id: string;
|
|
173
|
+
artifacts: string[];
|
|
174
|
+
}>;
|
|
175
|
+
derivations: ValidationChainLink[];
|
|
176
|
+
propagation_rules: PropagationRule[];
|
|
177
|
+
impact_map: Record<string, string[]>;
|
|
178
|
+
}
|
|
179
|
+
export interface DeploymentDocSetResult {
|
|
180
|
+
readme_path: string;
|
|
181
|
+
relations_path: string;
|
|
182
|
+
stage_dirs: Record<1 | 2 | 3 | 4 | 5, string>;
|
|
183
|
+
all_files: string[];
|
|
184
|
+
relations: ValidationChainGraph;
|
|
185
|
+
all_stages_passed: boolean;
|
|
186
|
+
}
|
|
187
|
+
export declare function generateDeploymentDocSet(prefix: string, version: string, input: DeploymentDocInput): DeploymentDocSetResult;
|