@agents24/node 0.5.35 → 0.5.37
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 +5 -1
- package/compatibility.json +5 -5
- package/dist/bff.cjs +1 -0
- package/dist/bff.cjs.map +1 -1
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/bff.js +1 -0
- package/dist/bff.js.map +1 -1
- package/dist/{client-BQN80Nb5.d.cts → client-YSS2tctB.d.cts} +204 -1
- package/dist/{client-BQN80Nb5.d.ts → client-YSS2tctB.d.ts} +204 -1
- package/dist/index.cjs +114 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +114 -0
- package/dist/index.js.map +1 -1
- package/dist/types/bff-single-agent.d.ts.map +1 -1
- package/dist/types/embed-types.d.ts +4 -0
- package/dist/types/embed-types.d.ts.map +1 -1
- package/dist/types/embed.d.ts.map +1 -1
- package/dist/types/generated/embed.d.ts +12 -1
- package/dist/types/generated/embed.d.ts.map +1 -1
- package/dist/types/generated/manifest.d.ts +1 -1
- package/dist/types/generated/manifest.d.ts.map +1 -1
- package/dist/types/generated/personal-skills.d.ts +174 -0
- package/dist/types/generated/personal-skills.d.ts.map +1 -0
- package/dist/types/types.d.ts +21 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -749,6 +749,108 @@ var EmbedNamespace = class extends EmbedDelegationsNamespace {
|
|
|
749
749
|
options
|
|
750
750
|
});
|
|
751
751
|
}
|
|
752
|
+
listPersonalSkills(agentId, options) {
|
|
753
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills`, {
|
|
754
|
+
query: {
|
|
755
|
+
external_user_id: options.externalUserId,
|
|
756
|
+
integration_id: options.integrationId,
|
|
757
|
+
runtime_target: options.runtimeTarget,
|
|
758
|
+
q: options.q,
|
|
759
|
+
include_archived: options.includeArchived,
|
|
760
|
+
offset: options.offset,
|
|
761
|
+
limit: options.limit
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
}
|
|
765
|
+
getPersonalSkill(agentId, skillId, options) {
|
|
766
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}`, {
|
|
767
|
+
query: {
|
|
768
|
+
external_user_id: options.externalUserId,
|
|
769
|
+
integration_id: options.integrationId,
|
|
770
|
+
runtime_target: options.runtimeTarget
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
savePersonalSkill(agentId, payload, options) {
|
|
775
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills`, {
|
|
776
|
+
method: "POST",
|
|
777
|
+
body: payload,
|
|
778
|
+
options,
|
|
779
|
+
mutation: true
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
setPersonalSkillState(agentId, skillId, payload, options) {
|
|
783
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}`, {
|
|
784
|
+
method: "PATCH",
|
|
785
|
+
body: payload,
|
|
786
|
+
options,
|
|
787
|
+
mutation: true
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
listPersonalConnections(agentId, options) {
|
|
791
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections`, {
|
|
792
|
+
query: {
|
|
793
|
+
external_user_id: options.externalUserId,
|
|
794
|
+
integration_id: options.integrationId,
|
|
795
|
+
runtime_target: options.runtimeTarget
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
}
|
|
799
|
+
browsePersonalConnections(agentId, options) {
|
|
800
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections/catalog`, {
|
|
801
|
+
query: {
|
|
802
|
+
external_user_id: options.externalUserId,
|
|
803
|
+
integration_id: options.integrationId,
|
|
804
|
+
runtime_target: options.runtimeTarget,
|
|
805
|
+
q: options.q,
|
|
806
|
+
category: options.category,
|
|
807
|
+
offset: options.offset,
|
|
808
|
+
limit: options.limit
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
managePersonalConnection(agentId, payload, options) {
|
|
813
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections`, {
|
|
814
|
+
method: "POST",
|
|
815
|
+
body: payload,
|
|
816
|
+
options,
|
|
817
|
+
mutation: true
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
readPersonalSkillAsset(agentId, skillId, versionId, options) {
|
|
821
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}/versions/${encodeURIComponent(versionId)}/asset`, {
|
|
822
|
+
query: {
|
|
823
|
+
external_user_id: options.externalUserId,
|
|
824
|
+
integration_id: options.integrationId,
|
|
825
|
+
runtime_target: options.runtimeTarget,
|
|
826
|
+
path: options.path
|
|
827
|
+
}
|
|
828
|
+
});
|
|
829
|
+
}
|
|
830
|
+
importPersonalSkill(agentId, payload, options) {
|
|
831
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/import`, {
|
|
832
|
+
method: "POST",
|
|
833
|
+
body: payload,
|
|
834
|
+
options,
|
|
835
|
+
mutation: true
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
updateCallerRestrictions(agentId, runId, payload, options) {
|
|
839
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/caller-restrictions`, {
|
|
840
|
+
method: "PUT",
|
|
841
|
+
body: payload,
|
|
842
|
+
options,
|
|
843
|
+
mutation: true
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
revokeCallerAuthority(agentId, payload, options) {
|
|
847
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/caller-authority`, {
|
|
848
|
+
method: "PUT",
|
|
849
|
+
body: payload,
|
|
850
|
+
options,
|
|
851
|
+
mutation: true
|
|
852
|
+
});
|
|
853
|
+
}
|
|
752
854
|
};
|
|
753
855
|
var EmbedNamespace2 = class extends EmbedNamespace {
|
|
754
856
|
constructor(http) {
|
|
@@ -916,6 +1018,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
916
1018
|
customer_tenant: payload.customerTenant,
|
|
917
1019
|
...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
|
|
918
1020
|
execution_limits: payload.executionLimits,
|
|
1021
|
+
personal_skills: payload.personalSkills,
|
|
919
1022
|
...payload.dictationSessionId === void 0 ? {} : { dictation_session_id: payload.dictationSessionId },
|
|
920
1023
|
...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
|
|
921
1024
|
tool_inputs: payload.toolInputs ?? {},
|
|
@@ -2193,6 +2296,7 @@ var SDK_OPERATION_IDS = [
|
|
|
2193
2296
|
"delegations.list",
|
|
2194
2297
|
"embed.attach_agent_run",
|
|
2195
2298
|
"embed.bootstrap_runtime",
|
|
2299
|
+
"embed.browse_personal_connections",
|
|
2196
2300
|
"embed.cancel_agent_run",
|
|
2197
2301
|
"embed.cancel_dictation_session",
|
|
2198
2302
|
"embed.complete_tool_invocation",
|
|
@@ -2210,22 +2314,31 @@ var SDK_OPERATION_IDS = [
|
|
|
2210
2314
|
"embed.get_conversation_thread",
|
|
2211
2315
|
"embed.get_dictation_session",
|
|
2212
2316
|
"embed.get_output",
|
|
2317
|
+
"embed.get_personal_skill",
|
|
2213
2318
|
"embed.get_resource_policy",
|
|
2214
2319
|
"embed.get_runtime_bootstrap",
|
|
2320
|
+
"embed.import_personal_skill",
|
|
2215
2321
|
"embed.list_agent_computer_files",
|
|
2216
2322
|
"embed.list_agent_threads",
|
|
2217
2323
|
"embed.list_agent_threads_multi",
|
|
2218
2324
|
"embed.list_conversation_computer_files",
|
|
2219
2325
|
"embed.list_outputs",
|
|
2326
|
+
"embed.list_personal_connections",
|
|
2327
|
+
"embed.list_personal_skills",
|
|
2328
|
+
"embed.manage_personal_connection",
|
|
2220
2329
|
"embed.open_conversation_submission",
|
|
2221
2330
|
"embed.read_agent_computer_file",
|
|
2222
2331
|
"embed.read_conversation_computer_file",
|
|
2332
|
+
"embed.read_personal_skill_asset",
|
|
2223
2333
|
"embed.resolve_agent_alias",
|
|
2224
2334
|
"embed.resolve_conversation_run",
|
|
2225
2335
|
"embed.resolve_customer_principal",
|
|
2226
2336
|
"embed.resume_agent_run",
|
|
2337
|
+
"embed.revoke_caller_authority",
|
|
2338
|
+
"embed.save_personal_skill",
|
|
2227
2339
|
"embed.set_agent_run_feedback",
|
|
2228
2340
|
"embed.set_conversation_runtime_selection",
|
|
2341
|
+
"embed.set_personal_skill_state",
|
|
2229
2342
|
"embed.start_agent_run",
|
|
2230
2343
|
"embed.start_agent_run_mcp_auth",
|
|
2231
2344
|
"embed.stream_agent",
|
|
@@ -2236,6 +2349,7 @@ var SDK_OPERATION_IDS = [
|
|
|
2236
2349
|
"embed.thread_messages.remove",
|
|
2237
2350
|
"embed.thread_messages.resume_queue",
|
|
2238
2351
|
"embed.thread_messages.submit",
|
|
2352
|
+
"embed.update_caller_restrictions",
|
|
2239
2353
|
"embed.upload_agent_attachments",
|
|
2240
2354
|
"embed_delegations.act",
|
|
2241
2355
|
"embed_delegations.events",
|