@carbonstopper/agent-mcp 0.1.6 → 0.1.8
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/README.md +2 -1
- package/dist/tools.d.ts +1 -1
- package/dist/tools.js +53 -45
- package/dist/tools.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,7 +149,6 @@ Only product carbon modeling and report tools are exposed to the Agent in this r
|
|
|
149
149
|
|
|
150
150
|
| Tool | Description |
|
|
151
151
|
| --- | --- |
|
|
152
|
-
| `modeling_preview` | Preview product carbon AI modeling. |
|
|
153
152
|
| `modeling_execute` | Create a new product carbon AI model. Requires `idempotencyKey` and `input.content`. |
|
|
154
153
|
| `modeling_re_modeling` | Re-run product carbon AI modeling for an existing account. Requires `accountId` and `idempotencyKey`. |
|
|
155
154
|
| `modeling_update` | Supplement or update emission sources for an existing model. Requires `accountId` and `idempotencyKey`. |
|
|
@@ -184,6 +183,8 @@ Most tools forward the unified Agent skill request:
|
|
|
184
183
|
}
|
|
185
184
|
```
|
|
186
185
|
|
|
186
|
+
ID fields such as `projectId`, `accountId`, `modelId`, and `reportId` accept either numbers or numeric strings. Safe numeric strings are normalized before forwarding to the Agent internal API; very large numeric strings are preserved to avoid JavaScript precision loss.
|
|
187
|
+
|
|
187
188
|
Write or high-risk tools require `idempotencyKey`, especially:
|
|
188
189
|
|
|
189
190
|
- `modeling_execute`
|
package/dist/tools.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export interface ToolRoute {
|
|
|
8
8
|
bodyKind: BodyKind;
|
|
9
9
|
}
|
|
10
10
|
export declare const toolRoutes: Record<string, ToolRoute>;
|
|
11
|
-
export declare function buildBody(route: ToolRoute, args: Record<string, unknown>):
|
|
11
|
+
export declare function buildBody(route: ToolRoute, args: Record<string, unknown>): unknown;
|
|
12
12
|
export declare function getSessionId(args: Record<string, unknown>): string;
|
package/dist/tools.js
CHANGED
|
@@ -9,6 +9,12 @@ const idempotencyKey = z
|
|
|
9
9
|
.string()
|
|
10
10
|
.min(1)
|
|
11
11
|
.describe("Idempotency key for write or high-risk skills. Reuse the same key only for retrying the same action.");
|
|
12
|
+
const longId = z
|
|
13
|
+
.union([
|
|
14
|
+
z.number().int().positive(),
|
|
15
|
+
z.string().regex(/^\d+$/, "Expected a numeric id string"),
|
|
16
|
+
])
|
|
17
|
+
.describe("Numeric id. Accepts either a number or a numeric string.");
|
|
12
18
|
const traceFields = {
|
|
13
19
|
messageId: z.string().optional().describe("Agent message id for grouping multiple skill nodes in one turn."),
|
|
14
20
|
traceId: z.string().optional().describe("Agent trace id for runtime trace aggregation."),
|
|
@@ -16,11 +22,11 @@ const traceFields = {
|
|
|
16
22
|
};
|
|
17
23
|
const commonSkillFields = {
|
|
18
24
|
sessionId,
|
|
19
|
-
projectId:
|
|
25
|
+
projectId: longId.optional().describe("Agent project id"),
|
|
20
26
|
...traceFields,
|
|
21
|
-
accountId:
|
|
22
|
-
modelId:
|
|
23
|
-
reportId:
|
|
27
|
+
accountId: longId.optional().describe("Product carbon account id"),
|
|
28
|
+
modelId: longId.optional().describe("Reserved model id"),
|
|
29
|
+
reportId: longId.optional().describe("Report id"),
|
|
24
30
|
idempotencyKey: z.string().optional().describe("Required for write or high-risk skills"),
|
|
25
31
|
confirmed: z.boolean().optional().describe("Whether the user has confirmed a high-risk or high-cost action"),
|
|
26
32
|
pendingActionId: z.string().optional().describe("Pending action id returned by a confirmation response"),
|
|
@@ -44,80 +50,62 @@ const reModelingInput = modelingInput.extend({
|
|
|
44
50
|
message: z.string().optional().describe("Supplemental re-modeling instruction, such as why the existing account should be recalculated."),
|
|
45
51
|
});
|
|
46
52
|
const modelUpdateInput = z.object({
|
|
47
|
-
accountId:
|
|
53
|
+
accountId: longId.optional().describe("Product carbon account id. Top-level accountId is preferred."),
|
|
48
54
|
content: z.string().optional().describe("Natural language instruction for supplementing emission sources, for example adding a material, energy, packaging, or transport source."),
|
|
49
55
|
message: z.string().optional().describe("Supplemental emission source information from the user or Agent."),
|
|
50
56
|
}).catchall(z.unknown());
|
|
51
57
|
const reportGenerateInput = z.object({
|
|
52
|
-
accountId:
|
|
58
|
+
accountId: longId.optional().describe("Product carbon account id. Top-level accountId is preferred."),
|
|
53
59
|
reportName: z.string().optional().describe("Report name to generate."),
|
|
54
60
|
standard: z.string().optional().describe("Report standard, for example ISO 14067."),
|
|
55
61
|
message: z.string().optional().describe("Supplemental report generation instruction from the user or Agent."),
|
|
56
62
|
}).catchall(z.unknown());
|
|
57
|
-
const analysisInput = z.object({
|
|
58
|
-
analysisType: z.string().describe("Analysis type, for example hotspot."),
|
|
59
|
-
message: z.string().optional().describe("Supplemental analysis instruction from the user or Agent."),
|
|
60
|
-
}).catchall(z.unknown());
|
|
61
|
-
const factorSearchInput = z.object({
|
|
62
|
-
query: z.string().min(1).describe("Factor search keyword, for example PET granules or electricity."),
|
|
63
|
-
unitName: z.string().optional().describe("Preferred unit name, for example kg or kWh."),
|
|
64
|
-
message: z.string().optional().describe("Supplemental factor matching context from the user or Agent."),
|
|
65
|
-
}).catchall(z.unknown());
|
|
66
|
-
const knowledgeSearchInput = z.object({
|
|
67
|
-
query: z.string().min(1).describe("Knowledge search question or keyword."),
|
|
68
|
-
message: z.string().optional().describe("Supplemental knowledge search context from the user or Agent."),
|
|
69
|
-
}).catchall(z.unknown());
|
|
70
63
|
export const schemas = {
|
|
71
|
-
modeling_preview: z.object({
|
|
72
|
-
...commonSkillFields,
|
|
73
|
-
input: modelingInput,
|
|
74
|
-
}),
|
|
75
64
|
modeling_execute: z.object({
|
|
76
65
|
...commonSkillFields,
|
|
77
66
|
idempotencyKey,
|
|
78
|
-
input: modelingExecuteInput,
|
|
67
|
+
input: modelingExecuteInput.describe("Required new-model input. input.content is required; input.message can carry user or Agent supplemental information."),
|
|
79
68
|
}),
|
|
80
69
|
modeling_re_modeling: z.object({
|
|
81
70
|
...commonSkillFields,
|
|
82
|
-
accountId:
|
|
71
|
+
accountId: longId.describe("Product carbon account id"),
|
|
83
72
|
idempotencyKey,
|
|
84
|
-
input: reModelingInput.optional(),
|
|
73
|
+
input: reModelingInput.describe("Optional re-modeling input. Use input.content for updated product description and input.message for recalculation instructions.").optional(),
|
|
85
74
|
}),
|
|
86
75
|
modeling_update: z.object({
|
|
87
76
|
...commonSkillFields,
|
|
88
|
-
accountId:
|
|
77
|
+
accountId: longId.describe("Product carbon account id"),
|
|
89
78
|
idempotencyKey,
|
|
90
|
-
input: modelUpdateInput,
|
|
79
|
+
input: modelUpdateInput.describe("Emission source update input. Use input.content for the source change instruction and input.message for supplemental context."),
|
|
91
80
|
}),
|
|
92
81
|
modeling_detail: z.object({
|
|
93
82
|
sessionId,
|
|
94
|
-
projectId:
|
|
83
|
+
projectId: longId.optional(),
|
|
95
84
|
...traceFields,
|
|
96
|
-
accountId:
|
|
97
|
-
input: jsonObject.optional(),
|
|
85
|
+
accountId: longId.describe("Product carbon account id"),
|
|
86
|
+
input: jsonObject.describe("Optional detail query context.").optional(),
|
|
98
87
|
}),
|
|
99
88
|
report_generate: z.object({
|
|
100
89
|
...commonSkillFields,
|
|
101
|
-
accountId:
|
|
90
|
+
accountId: longId.describe("Product carbon account id"),
|
|
102
91
|
idempotencyKey,
|
|
103
|
-
input: reportGenerateInput.optional(),
|
|
92
|
+
input: reportGenerateInput.describe("Optional report generation input, such as reportName, standard, or message.").optional(),
|
|
104
93
|
}),
|
|
105
94
|
report_regenerate: z.object({
|
|
106
95
|
...commonSkillFields,
|
|
107
|
-
reportId:
|
|
96
|
+
reportId: longId.describe("Existing report id to regenerate"),
|
|
108
97
|
idempotencyKey,
|
|
109
|
-
input: reportGenerateInput.optional(),
|
|
98
|
+
input: reportGenerateInput.describe("Optional report regeneration input, such as reportName, standard, or message.").optional(),
|
|
110
99
|
}),
|
|
111
100
|
report_detail: z.object({
|
|
112
101
|
sessionId,
|
|
113
|
-
projectId:
|
|
102
|
+
projectId: longId.optional(),
|
|
114
103
|
...traceFields,
|
|
115
|
-
reportId:
|
|
116
|
-
input: jsonObject.optional(),
|
|
104
|
+
reportId: longId.describe("Report id"),
|
|
105
|
+
input: jsonObject.describe("Optional report detail query context.").optional(),
|
|
117
106
|
}),
|
|
118
107
|
};
|
|
119
108
|
export const descriptions = {
|
|
120
|
-
modeling_preview: "Preview product carbon AI modeling before user confirmation.",
|
|
121
109
|
modeling_execute: "Create a new product carbon model from input.content. Use this only when the user wants a new model and no existing account should be reused. Calls /modeling/execute. Requires idempotencyKey and input.content.",
|
|
122
110
|
modeling_re_modeling: "Re-model an existing product carbon account from updated context. Use this when the user wants to redo or recalculate the whole model for an existing account. Calls /modeling/reModeling. Requires accountId and idempotencyKey.",
|
|
123
111
|
modeling_update: "Supplement emission sources on an existing product carbon account. Use this when the user wants to add or adjust materials, energy, packaging, transport, or other emission sources without recreating the whole model. Calls /modeling/update. Requires accountId and idempotencyKey.",
|
|
@@ -127,11 +115,6 @@ export const descriptions = {
|
|
|
127
115
|
report_detail: "Get product carbon report detail and latest report URL.",
|
|
128
116
|
};
|
|
129
117
|
export const toolRoutes = {
|
|
130
|
-
modeling_preview: {
|
|
131
|
-
method: "POST",
|
|
132
|
-
path: apipath.ModelingPreview(),
|
|
133
|
-
bodyKind: "agentSkill",
|
|
134
|
-
},
|
|
135
118
|
modeling_execute: {
|
|
136
119
|
method: "POST",
|
|
137
120
|
path: apipath.ModelingExecute(),
|
|
@@ -172,7 +155,32 @@ export function buildBody(route, args) {
|
|
|
172
155
|
if (route.bodyKind === "sessionContext") {
|
|
173
156
|
return { sessionId: args.sessionId };
|
|
174
157
|
}
|
|
175
|
-
return args;
|
|
158
|
+
return normalizeIds(args);
|
|
159
|
+
}
|
|
160
|
+
function normalizeIds(value) {
|
|
161
|
+
if (Array.isArray(value)) {
|
|
162
|
+
return value.map(normalizeIds);
|
|
163
|
+
}
|
|
164
|
+
if (!value || typeof value !== "object") {
|
|
165
|
+
return value;
|
|
166
|
+
}
|
|
167
|
+
const normalized = {};
|
|
168
|
+
for (const [key, childValue] of Object.entries(value)) {
|
|
169
|
+
if (isIdField(key) && typeof childValue === "string" && /^\d+$/.test(childValue)) {
|
|
170
|
+
normalized[key] = normalizeNumericId(childValue);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
normalized[key] = normalizeIds(childValue);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
return normalized;
|
|
177
|
+
}
|
|
178
|
+
function isIdField(key) {
|
|
179
|
+
return key === "projectId" || key === "accountId" || key === "modelId" || key === "reportId";
|
|
180
|
+
}
|
|
181
|
+
function normalizeNumericId(value) {
|
|
182
|
+
const numericValue = Number(value);
|
|
183
|
+
return Number.isSafeInteger(numericValue) ? numericValue : value;
|
|
176
184
|
}
|
|
177
185
|
export function getSessionId(args) {
|
|
178
186
|
const value = args.sessionId;
|
package/dist/tools.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.js","sourceRoot":"","sources":["../src/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;AAErD,MAAM,SAAS,GAAG,CAAC;KAChB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,sGAAsG,CAAC,CAAC;AAEpH,MAAM,cAAc,GAAG,CAAC;KACrB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,sGAAsG,CAAC,CAAC;AAEpH,MAAM,WAAW,GAAG;IAClB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;IAC5G,OAAO,EAAE,CAAC,CA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