framework-agents 0.1.1 → 0.1.5
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/agent-GDFFNEW5.js +7 -0
- package/dist/{agent-25ZNQBEB.js → agent-KV6TG47A.js} +1 -1
- package/dist/{chunk-77OZE2QD.js → chunk-2XXGDP7B.js} +4 -4
- package/dist/chunk-2XXGDP7B.js.map +1 -0
- package/dist/{chunk-LUGUQQLR.js → chunk-G3CMR4MD.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +40 -15
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/agent-ZWGIDKF6.js +0 -7
- package/dist/chunk-77OZE2QD.js.map +0 -1
- /package/dist/{agent-ZWGIDKF6.js.map → agent-GDFFNEW5.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
usageCost,
|
|
72
72
|
user,
|
|
73
73
|
wireTextOf
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-2XXGDP7B.js";
|
|
75
75
|
|
|
76
76
|
// src/config/index.ts
|
|
77
77
|
import { existsSync } from "fs";
|
|
@@ -2246,7 +2246,7 @@ var McpHttpClient = class {
|
|
|
2246
2246
|
this.serverId = opts.serverId ?? url;
|
|
2247
2247
|
this.headers = opts.headers ?? {};
|
|
2248
2248
|
this.fetchFn = opts.fetchFn ?? fetch;
|
|
2249
|
-
this.clientName = opts.clientName ?? "
|
|
2249
|
+
this.clientName = opts.clientName ?? "framework-agents";
|
|
2250
2250
|
}
|
|
2251
2251
|
async rpc(method, params) {
|
|
2252
2252
|
return this.rpcInner(method, params, true);
|
|
@@ -2317,7 +2317,7 @@ var McpStdioClient = class {
|
|
|
2317
2317
|
this.command = command;
|
|
2318
2318
|
this.args = args;
|
|
2319
2319
|
this.serverId = opts.serverId ?? `${command} ${args.join(" ")}`.trim();
|
|
2320
|
-
this.clientName = opts.clientName ?? "
|
|
2320
|
+
this.clientName = opts.clientName ?? "framework-agents";
|
|
2321
2321
|
}
|
|
2322
2322
|
command;
|
|
2323
2323
|
args;
|
|
@@ -3064,7 +3064,7 @@ async function migrateTBox(oldStore, spec, opts = {}) {
|
|
|
3064
3064
|
rules: spec.rules ?? oldStore.ontologyRules()
|
|
3065
3065
|
});
|
|
3066
3066
|
const explicit = (await oldStore.match(null, null, null)).filter((q) => q.source !== "entailment");
|
|
3067
|
-
const tboxGraph = opts.tboxGraph === false ? void 0 : opts.tboxGraph ?? `urn:
|
|
3067
|
+
const tboxGraph = opts.tboxGraph === false ? void 0 : opts.tboxGraph ?? `urn:framework:ontology:${spec.to}`;
|
|
3068
3068
|
report.tboxGraph = tboxGraph;
|
|
3069
3069
|
const isAxiom = (q, predicatesInUse2) => {
|
|
3070
3070
|
if (TBOX_PREDICATES.has(q.predicate)) return true;
|
|
@@ -3781,6 +3781,9 @@ ${lines.join("\n")}` }];
|
|
|
3781
3781
|
if (fresh.length) await this.store.add(fresh);
|
|
3782
3782
|
}
|
|
3783
3783
|
};
|
|
3784
|
+
|
|
3785
|
+
// src/index.ts
|
|
3786
|
+
import * as z13 from "zod";
|
|
3784
3787
|
export {
|
|
3785
3788
|
A2AClient,
|
|
3786
3789
|
A2AServer,
|
|
@@ -3946,6 +3949,7 @@ export {
|
|
|
3946
3949
|
usageCost,
|
|
3947
3950
|
user,
|
|
3948
3951
|
wireTextOf,
|
|
3949
|
-
withFileLock
|
|
3952
|
+
withFileLock,
|
|
3953
|
+
z13 as z
|
|
3950
3954
|
};
|
|
3951
3955
|
//# sourceMappingURL=index.js.map
|