@openagentpack/sdk 0.7.2 → 0.7.3
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/{chunk-LJQMLMAT.js → chunk-DFRNXUT3.js} +1 -1
- package/dist/{chunk-HLZOSZ7B.js → chunk-IRA4LOCJ.js} +14 -18
- package/dist/{chunk-7L73W3DL.js → chunk-XQMLTTGI.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/project-versions.js +2 -2
- package/dist/project-workspace.js +3 -3
- package/package.json +1 -1
|
@@ -2894,12 +2894,10 @@ function mapAgent2(name, decl, refs, version, projectName) {
|
|
|
2894
2894
|
}
|
|
2895
2895
|
}
|
|
2896
2896
|
}
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
}));
|
|
2902
|
-
}
|
|
2897
|
+
body.skills = refs.skill_ids.map((s) => ({
|
|
2898
|
+
type: s.type === "official" ? "qoder" : s.type,
|
|
2899
|
+
skill_id: s.skill_id
|
|
2900
|
+
}));
|
|
2903
2901
|
return body;
|
|
2904
2902
|
}
|
|
2905
2903
|
function mapForwardTemplate(name, decl, refs, projectName) {
|
|
@@ -4404,18 +4402,16 @@ function mapAgent3(name, decl, refs, version, projectName, skillVersions) {
|
|
|
4404
4402
|
});
|
|
4405
4403
|
}
|
|
4406
4404
|
}
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
}));
|
|
4418
|
-
}
|
|
4405
|
+
body.skills = refs.skill_ids.map((s) => ({
|
|
4406
|
+
// Bailian's SkillType enum is "customer" | "official"; map the
|
|
4407
|
+
// resolver's generic "custom" sentinel to "customer".
|
|
4408
|
+
type: s.type === "custom" ? "customer" : s.type,
|
|
4409
|
+
skill_id: s.skill_id,
|
|
4410
|
+
// Bailian composes `{skill_id}@{version}` internally and rejects
|
|
4411
|
+
// entries without a version. Prefer explicit external references, then
|
|
4412
|
+
// the latest active remote version, then the common initial version.
|
|
4413
|
+
version: s.version ?? skillVersions?.[s.skill_id] ?? "1.0"
|
|
4414
|
+
}));
|
|
4419
4415
|
return body;
|
|
4420
4416
|
}
|
|
4421
4417
|
function mapSession3(bindings) {
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
selectDestructive,
|
|
24
24
|
syncProjectResourcesWithStateBackend,
|
|
25
25
|
writeProjectRuntime
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DFRNXUT3.js";
|
|
27
27
|
import {
|
|
28
28
|
ApiError,
|
|
29
29
|
ConflictError,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
rewriteFileMentions,
|
|
50
50
|
setDefaultFetch,
|
|
51
51
|
validateProjectConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-IRA4LOCJ.js";
|
|
53
53
|
import "./chunk-6PDVAFLK.js";
|
|
54
54
|
import {
|
|
55
55
|
defaultFileUploadPurpose,
|
package/dist/project-versions.js
CHANGED
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
readProjectVersionSource,
|
|
14
14
|
releasePreparedProjectVersion,
|
|
15
15
|
restoreProjectVersion
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-XQMLTTGI.js";
|
|
17
|
+
import "./chunk-IRA4LOCJ.js";
|
|
18
18
|
import "./chunk-6PDVAFLK.js";
|
|
19
19
|
import "./chunk-CHGDM6TX.js";
|
|
20
20
|
export {
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
planProjectContext,
|
|
5
5
|
planProjectWithStateBackend,
|
|
6
6
|
writeProjectRuntime
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DFRNXUT3.js";
|
|
8
8
|
import {
|
|
9
9
|
createDirectoryProjectVersionService
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XQMLTTGI.js";
|
|
11
11
|
import {
|
|
12
12
|
UserError,
|
|
13
13
|
inspectProjectSource,
|
|
14
14
|
resolveProjectConfig,
|
|
15
15
|
resolveProjectConfigFromObject,
|
|
16
16
|
validateProjectConfig
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IRA4LOCJ.js";
|
|
18
18
|
import "./chunk-6PDVAFLK.js";
|
|
19
19
|
import "./chunk-CHGDM6TX.js";
|
|
20
20
|
|