@agentfield/sdk 0.1.89-rc.2 → 0.1.89-rc.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/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3672,6 +3672,7 @@ function registerAgentfieldLogsRoute(app, ring) {
|
|
|
3672
3672
|
// src/agent/Agent.ts
|
|
3673
3673
|
var TargetNotFoundError = class extends Error {
|
|
3674
3674
|
};
|
|
3675
|
+
var AGENTFIELD_TS_SDK_VERSION = "0.1.82";
|
|
3675
3676
|
var harnessRunners = /* @__PURE__ */ new WeakMap();
|
|
3676
3677
|
function normalizeExecutionContext(ctx) {
|
|
3677
3678
|
return {
|
|
@@ -4838,7 +4839,20 @@ var Agent = class {
|
|
|
4838
4839
|
reasoners,
|
|
4839
4840
|
skills,
|
|
4840
4841
|
proposed_tags: agentTags,
|
|
4841
|
-
tags: agentTags
|
|
4842
|
+
tags: agentTags,
|
|
4843
|
+
metadata: {
|
|
4844
|
+
deployment: {
|
|
4845
|
+
environment: "development",
|
|
4846
|
+
platform: "typescript",
|
|
4847
|
+
region: "local"
|
|
4848
|
+
},
|
|
4849
|
+
custom: {
|
|
4850
|
+
sdk: {
|
|
4851
|
+
language: "typescript",
|
|
4852
|
+
version: AGENTFIELD_TS_SDK_VERSION
|
|
4853
|
+
}
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4842
4856
|
});
|
|
4843
4857
|
if (regResponse?.status === "pending_approval") {
|
|
4844
4858
|
const pendingTags = regResponse.pending_tags ?? [];
|