@iblai/data-layer 1.4.0 → 1.4.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.d.ts +5911 -2
- package/dist/index.esm.js +580 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +620 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/claw/api-slice.d.ts +5471 -0
- package/dist/src/features/claw/constants.d.ts +126 -0
- package/dist/src/features/claw/types.d.ts +275 -0
- package/dist/src/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43228,6 +43228,583 @@ const mcpApiSlice = react.createApi({
|
|
|
43228
43228
|
});
|
|
43229
43229
|
const { useGetMCPServersQuery, useLazyGetMCPServersQuery, useGetMCPServerQuery, useLazyGetMCPServerQuery, useCreateMCPServerMutation, useUpdateMCPServerMutation, usePartialUpdateMCPServerMutation, useDeleteMCPServerMutation, useGetOAuthServicesQuery, useLazyGetOAuthServicesQuery, useGetConnectedServicesQuery, useLazyGetConnectedServicesQuery, useLazyStartOAuthFlowQuery, useDisconnectServiceMutation, useGetMCPServerConnectionsQuery, useCreateMCPServerConnectionMutation, usePatchMCPServerConnectionMutation, useOauthFindMutation, } = mcpApiSlice;
|
|
43230
43230
|
|
|
43231
|
+
const CLAW_REDUCER_PATH = 'clawApiSlice';
|
|
43232
|
+
const CLAW_TAG_TYPES = [
|
|
43233
|
+
'ClawMentorConfig',
|
|
43234
|
+
'ClawInstances',
|
|
43235
|
+
'AgentConfig',
|
|
43236
|
+
'AgentSkills',
|
|
43237
|
+
'AgentSkillResources',
|
|
43238
|
+
'MentorSkillAssignments',
|
|
43239
|
+
];
|
|
43240
|
+
const CLAW_ENDPOINTS = {
|
|
43241
|
+
// ── Claw Mentor Config (singular, nested under mentor) ─────────────────────
|
|
43242
|
+
GET_MENTOR_CONFIG: {
|
|
43243
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/claw-config/`,
|
|
43244
|
+
service: exports.SERVICES.DM,
|
|
43245
|
+
},
|
|
43246
|
+
CREATE_MENTOR_CONFIG: {
|
|
43247
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/claw-config/`,
|
|
43248
|
+
service: exports.SERVICES.DM,
|
|
43249
|
+
},
|
|
43250
|
+
UPDATE_MENTOR_CONFIG: {
|
|
43251
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/claw-config/`,
|
|
43252
|
+
service: exports.SERVICES.DM,
|
|
43253
|
+
},
|
|
43254
|
+
DELETE_MENTOR_CONFIG: {
|
|
43255
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/claw-config/`,
|
|
43256
|
+
service: exports.SERVICES.DM,
|
|
43257
|
+
},
|
|
43258
|
+
PUSH_CONFIG: {
|
|
43259
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/claw-config/push-config/`,
|
|
43260
|
+
service: exports.SERVICES.DM,
|
|
43261
|
+
},
|
|
43262
|
+
// ── Claw Instances (unchanged) ─────────────────────────────────────────────
|
|
43263
|
+
GET_INSTANCES: {
|
|
43264
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/claw/instances/`,
|
|
43265
|
+
service: exports.SERVICES.DM,
|
|
43266
|
+
},
|
|
43267
|
+
GET_INSTANCE: {
|
|
43268
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/`,
|
|
43269
|
+
service: exports.SERVICES.DM,
|
|
43270
|
+
},
|
|
43271
|
+
CREATE_INSTANCE: {
|
|
43272
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/claw/instances/`,
|
|
43273
|
+
service: exports.SERVICES.DM,
|
|
43274
|
+
},
|
|
43275
|
+
UPDATE_INSTANCE: {
|
|
43276
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/`,
|
|
43277
|
+
service: exports.SERVICES.DM,
|
|
43278
|
+
},
|
|
43279
|
+
DELETE_INSTANCE: {
|
|
43280
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/`,
|
|
43281
|
+
service: exports.SERVICES.DM,
|
|
43282
|
+
},
|
|
43283
|
+
HEALTH_CHECK_INSTANCE: {
|
|
43284
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/health-check/`,
|
|
43285
|
+
service: exports.SERVICES.DM,
|
|
43286
|
+
},
|
|
43287
|
+
TEST_CONNECTIVITY_INSTANCE: {
|
|
43288
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/test-connectivity/`,
|
|
43289
|
+
service: exports.SERVICES.DM,
|
|
43290
|
+
},
|
|
43291
|
+
REFRESH_VERSION_INSTANCE: {
|
|
43292
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/claw/instances/${id}/refresh-version/`,
|
|
43293
|
+
service: exports.SERVICES.DM,
|
|
43294
|
+
},
|
|
43295
|
+
// ── Agent Config (singular, nested under mentor) ───────────────────────────
|
|
43296
|
+
GET_AGENT_CONFIG: {
|
|
43297
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/agent-config/`,
|
|
43298
|
+
service: exports.SERVICES.DM,
|
|
43299
|
+
},
|
|
43300
|
+
/** PATCH is upsert — first write bootstraps the row, no separate POST. */
|
|
43301
|
+
UPDATE_AGENT_CONFIG: {
|
|
43302
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/agent-config/`,
|
|
43303
|
+
service: exports.SERVICES.DM,
|
|
43304
|
+
},
|
|
43305
|
+
// ── Agent Skills (platform-level, unchanged) ───────────────────────────────
|
|
43306
|
+
GET_AGENT_SKILLS: {
|
|
43307
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/agent-skills/`,
|
|
43308
|
+
service: exports.SERVICES.DM,
|
|
43309
|
+
},
|
|
43310
|
+
GET_AGENT_SKILL: {
|
|
43311
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skills/${id}/`,
|
|
43312
|
+
service: exports.SERVICES.DM,
|
|
43313
|
+
},
|
|
43314
|
+
CREATE_AGENT_SKILL: {
|
|
43315
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/agent-skills/`,
|
|
43316
|
+
service: exports.SERVICES.DM,
|
|
43317
|
+
},
|
|
43318
|
+
UPDATE_AGENT_SKILL: {
|
|
43319
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skills/${id}/`,
|
|
43320
|
+
service: exports.SERVICES.DM,
|
|
43321
|
+
},
|
|
43322
|
+
DELETE_AGENT_SKILL: {
|
|
43323
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skills/${id}/`,
|
|
43324
|
+
service: exports.SERVICES.DM,
|
|
43325
|
+
},
|
|
43326
|
+
// ── Agent Skill Resources (file resources attached to skills) ──────────────
|
|
43327
|
+
GET_AGENT_SKILL_RESOURCES: {
|
|
43328
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/agent-skill-resources/`,
|
|
43329
|
+
service: exports.SERVICES.DM,
|
|
43330
|
+
},
|
|
43331
|
+
GET_AGENT_SKILL_RESOURCE: {
|
|
43332
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skill-resources/${id}/`,
|
|
43333
|
+
service: exports.SERVICES.DM,
|
|
43334
|
+
},
|
|
43335
|
+
CREATE_AGENT_SKILL_RESOURCE: {
|
|
43336
|
+
path: (org) => `/api/ai-mentor/orgs/${org}/agent-skill-resources/`,
|
|
43337
|
+
service: exports.SERVICES.DM,
|
|
43338
|
+
},
|
|
43339
|
+
UPDATE_AGENT_SKILL_RESOURCE: {
|
|
43340
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skill-resources/${id}/`,
|
|
43341
|
+
service: exports.SERVICES.DM,
|
|
43342
|
+
},
|
|
43343
|
+
DELETE_AGENT_SKILL_RESOURCE: {
|
|
43344
|
+
path: (org, id) => `/api/ai-mentor/orgs/${org}/agent-skill-resources/${id}/`,
|
|
43345
|
+
service: exports.SERVICES.DM,
|
|
43346
|
+
},
|
|
43347
|
+
// ── Mentor Skill Assignments (nested under mentor) ─────────────────────────
|
|
43348
|
+
GET_MENTOR_SKILL_ASSIGNMENTS: {
|
|
43349
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/skills/`,
|
|
43350
|
+
service: exports.SERVICES.DM,
|
|
43351
|
+
},
|
|
43352
|
+
CREATE_MENTOR_SKILL_ASSIGNMENT: {
|
|
43353
|
+
path: (org, mentorUniqueId) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/skills/`,
|
|
43354
|
+
service: exports.SERVICES.DM,
|
|
43355
|
+
},
|
|
43356
|
+
GET_MENTOR_SKILL_ASSIGNMENT: {
|
|
43357
|
+
path: (org, mentorUniqueId, assignmentPk) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/skills/${assignmentPk}/`,
|
|
43358
|
+
service: exports.SERVICES.DM,
|
|
43359
|
+
},
|
|
43360
|
+
UPDATE_MENTOR_SKILL_ASSIGNMENT: {
|
|
43361
|
+
path: (org, mentorUniqueId, assignmentPk) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/skills/${assignmentPk}/`,
|
|
43362
|
+
service: exports.SERVICES.DM,
|
|
43363
|
+
},
|
|
43364
|
+
DELETE_MENTOR_SKILL_ASSIGNMENT: {
|
|
43365
|
+
path: (org, mentorUniqueId, assignmentPk) => `/api/ai-mentor/orgs/${org}/mentors/${mentorUniqueId}/skills/${assignmentPk}/`,
|
|
43366
|
+
service: exports.SERVICES.DM,
|
|
43367
|
+
},
|
|
43368
|
+
};
|
|
43369
|
+
|
|
43370
|
+
/**
|
|
43371
|
+
* Normalize API responses that may return either a plain array or a
|
|
43372
|
+
* paginated envelope `{ results: T[] }`.
|
|
43373
|
+
*/
|
|
43374
|
+
function normalizeList(response) {
|
|
43375
|
+
return Array.isArray(response) ? response : response.results;
|
|
43376
|
+
}
|
|
43377
|
+
const clawApiSlice = react.createApi({
|
|
43378
|
+
reducerPath: CLAW_REDUCER_PATH,
|
|
43379
|
+
baseQuery: iblFetchBaseQuery,
|
|
43380
|
+
tagTypes: [...CLAW_TAG_TYPES],
|
|
43381
|
+
endpoints: (builder) => ({
|
|
43382
|
+
// ── Claw Mentor Config (singular) ─────────────────────────────────────
|
|
43383
|
+
getClawMentorConfig: builder.query({
|
|
43384
|
+
query: (args) => ({
|
|
43385
|
+
url: CLAW_ENDPOINTS.GET_MENTOR_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43386
|
+
service: CLAW_ENDPOINTS.GET_MENTOR_CONFIG.service,
|
|
43387
|
+
}),
|
|
43388
|
+
providesTags: (_result, _error, args) => [
|
|
43389
|
+
{ type: 'ClawMentorConfig', id: args.mentorUniqueId },
|
|
43390
|
+
],
|
|
43391
|
+
}),
|
|
43392
|
+
createClawMentorConfig: builder.mutation({
|
|
43393
|
+
query: (args) => ({
|
|
43394
|
+
url: CLAW_ENDPOINTS.CREATE_MENTOR_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43395
|
+
service: CLAW_ENDPOINTS.CREATE_MENTOR_CONFIG.service,
|
|
43396
|
+
method: 'POST',
|
|
43397
|
+
body: {
|
|
43398
|
+
server: args.server,
|
|
43399
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43400
|
+
...(args.agent_id !== undefined && { agent_id: args.agent_id }),
|
|
43401
|
+
},
|
|
43402
|
+
}),
|
|
43403
|
+
// Seed the GET cache with the create response and then invalidate so the
|
|
43404
|
+
// subscribed query refetches the joined fields (server_name, status, etc.)
|
|
43405
|
+
// that the POST body doesn't include. The refetch is a 200 — no retry storm.
|
|
43406
|
+
async onQueryStarted({ org, mentorUniqueId }, { dispatch, queryFulfilled }) {
|
|
43407
|
+
try {
|
|
43408
|
+
const { data } = await queryFulfilled;
|
|
43409
|
+
dispatch(clawApiSlice.util.upsertQueryData('getClawMentorConfig', { org, mentorUniqueId }, data));
|
|
43410
|
+
}
|
|
43411
|
+
catch (_a) {
|
|
43412
|
+
// Surface error via the mutation's own error state.
|
|
43413
|
+
}
|
|
43414
|
+
},
|
|
43415
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43416
|
+
{ type: 'ClawMentorConfig', id: args.mentorUniqueId },
|
|
43417
|
+
],
|
|
43418
|
+
}),
|
|
43419
|
+
updateClawMentorConfig: builder.mutation({
|
|
43420
|
+
query: (args) => ({
|
|
43421
|
+
url: CLAW_ENDPOINTS.UPDATE_MENTOR_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43422
|
+
service: CLAW_ENDPOINTS.UPDATE_MENTOR_CONFIG.service,
|
|
43423
|
+
method: 'PATCH',
|
|
43424
|
+
body: {
|
|
43425
|
+
...(args.server !== undefined && { server: args.server }),
|
|
43426
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43427
|
+
...(args.auto_push !== undefined && { auto_push: args.auto_push }),
|
|
43428
|
+
...(args.agent_config !== undefined && { agent_config: args.agent_config }),
|
|
43429
|
+
...(args.agent_id !== undefined && { agent_id: args.agent_id }),
|
|
43430
|
+
},
|
|
43431
|
+
}),
|
|
43432
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43433
|
+
{ type: 'ClawMentorConfig', id: args.mentorUniqueId },
|
|
43434
|
+
],
|
|
43435
|
+
}),
|
|
43436
|
+
deleteClawMentorConfig: builder.mutation({
|
|
43437
|
+
query: (args) => ({
|
|
43438
|
+
url: CLAW_ENDPOINTS.DELETE_MENTOR_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43439
|
+
service: CLAW_ENDPOINTS.DELETE_MENTOR_CONFIG.service,
|
|
43440
|
+
method: 'DELETE',
|
|
43441
|
+
}),
|
|
43442
|
+
// Optimistically clear the GET cache before the request resolves so the
|
|
43443
|
+
// UI flips to "not connected" instantly. On failure, invalidate to refetch
|
|
43444
|
+
// the real state. We don't invalidate on success — the GET would 404 and
|
|
43445
|
+
// the base query retries 3× on error, which is the lag the user sees.
|
|
43446
|
+
async onQueryStarted({ org, mentorUniqueId }, { dispatch, queryFulfilled }) {
|
|
43447
|
+
dispatch(clawApiSlice.util.upsertQueryData('getClawMentorConfig', { org, mentorUniqueId }, null));
|
|
43448
|
+
try {
|
|
43449
|
+
await queryFulfilled;
|
|
43450
|
+
}
|
|
43451
|
+
catch (_a) {
|
|
43452
|
+
dispatch(clawApiSlice.util.invalidateTags([{ type: 'ClawMentorConfig', id: mentorUniqueId }]));
|
|
43453
|
+
}
|
|
43454
|
+
},
|
|
43455
|
+
}),
|
|
43456
|
+
pushClawConfig: builder.mutation({
|
|
43457
|
+
query: (args) => ({
|
|
43458
|
+
url: CLAW_ENDPOINTS.PUSH_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43459
|
+
service: CLAW_ENDPOINTS.PUSH_CONFIG.service,
|
|
43460
|
+
method: 'POST',
|
|
43461
|
+
}),
|
|
43462
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43463
|
+
{ type: 'ClawMentorConfig', id: args.mentorUniqueId },
|
|
43464
|
+
],
|
|
43465
|
+
}),
|
|
43466
|
+
// ── Claw Instances ────────────────────────────────────────────────────
|
|
43467
|
+
getClawInstances: builder.query({
|
|
43468
|
+
query: (args) => ({
|
|
43469
|
+
url: CLAW_ENDPOINTS.GET_INSTANCES.path(args.org),
|
|
43470
|
+
service: CLAW_ENDPOINTS.GET_INSTANCES.service,
|
|
43471
|
+
}),
|
|
43472
|
+
transformResponse: (response) => normalizeList(response),
|
|
43473
|
+
providesTags: ['ClawInstances'],
|
|
43474
|
+
}),
|
|
43475
|
+
getClawInstance: builder.query({
|
|
43476
|
+
query: (args) => ({
|
|
43477
|
+
url: CLAW_ENDPOINTS.GET_INSTANCE.path(args.org, args.id),
|
|
43478
|
+
service: CLAW_ENDPOINTS.GET_INSTANCE.service,
|
|
43479
|
+
}),
|
|
43480
|
+
providesTags: (_result, _error, args) => [{ type: 'ClawInstances', id: args.id }],
|
|
43481
|
+
}),
|
|
43482
|
+
createClawInstance: builder.mutation({
|
|
43483
|
+
query: (args) => ({
|
|
43484
|
+
url: CLAW_ENDPOINTS.CREATE_INSTANCE.path(args.org),
|
|
43485
|
+
service: CLAW_ENDPOINTS.CREATE_INSTANCE.service,
|
|
43486
|
+
method: 'POST',
|
|
43487
|
+
body: {
|
|
43488
|
+
name: args.name,
|
|
43489
|
+
claw_type: args.claw_type,
|
|
43490
|
+
server_url: args.server_url,
|
|
43491
|
+
...(args.gateway_token && { gateway_token: args.gateway_token }),
|
|
43492
|
+
...(args.auth_headers && { auth_headers: args.auth_headers }),
|
|
43493
|
+
...(args.connection_params && { connection_params: args.connection_params }),
|
|
43494
|
+
...(args.deployment_backend !== undefined && {
|
|
43495
|
+
deployment_backend: args.deployment_backend,
|
|
43496
|
+
}),
|
|
43497
|
+
},
|
|
43498
|
+
}),
|
|
43499
|
+
invalidatesTags: ['ClawInstances'],
|
|
43500
|
+
}),
|
|
43501
|
+
updateClawInstance: builder.mutation({
|
|
43502
|
+
query: (args) => ({
|
|
43503
|
+
url: CLAW_ENDPOINTS.UPDATE_INSTANCE.path(args.org, args.id),
|
|
43504
|
+
service: CLAW_ENDPOINTS.UPDATE_INSTANCE.service,
|
|
43505
|
+
method: 'PATCH',
|
|
43506
|
+
body: {
|
|
43507
|
+
...(args.name !== undefined && { name: args.name }),
|
|
43508
|
+
...(args.claw_type !== undefined && { claw_type: args.claw_type }),
|
|
43509
|
+
...(args.server_url !== undefined && { server_url: args.server_url }),
|
|
43510
|
+
...(args.gateway_token && { gateway_token: args.gateway_token }),
|
|
43511
|
+
...(args.auth_headers && { auth_headers: args.auth_headers }),
|
|
43512
|
+
...(args.connection_params && { connection_params: args.connection_params }),
|
|
43513
|
+
...(args.deployment_backend !== undefined && {
|
|
43514
|
+
deployment_backend: args.deployment_backend,
|
|
43515
|
+
}),
|
|
43516
|
+
},
|
|
43517
|
+
}),
|
|
43518
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43519
|
+
{ type: 'ClawInstances', id: args.id },
|
|
43520
|
+
'ClawInstances',
|
|
43521
|
+
],
|
|
43522
|
+
}),
|
|
43523
|
+
deleteClawInstance: builder.mutation({
|
|
43524
|
+
query: (args) => ({
|
|
43525
|
+
url: CLAW_ENDPOINTS.DELETE_INSTANCE.path(args.org, args.id),
|
|
43526
|
+
service: CLAW_ENDPOINTS.DELETE_INSTANCE.service,
|
|
43527
|
+
method: 'DELETE',
|
|
43528
|
+
}),
|
|
43529
|
+
invalidatesTags: ['ClawInstances'],
|
|
43530
|
+
}),
|
|
43531
|
+
healthCheckClawInstance: builder.mutation({
|
|
43532
|
+
query: (args) => ({
|
|
43533
|
+
url: CLAW_ENDPOINTS.HEALTH_CHECK_INSTANCE.path(args.org, args.id),
|
|
43534
|
+
service: CLAW_ENDPOINTS.HEALTH_CHECK_INSTANCE.service,
|
|
43535
|
+
method: 'POST',
|
|
43536
|
+
}),
|
|
43537
|
+
// Health check updates last_health_check / last_health_status / claw_version
|
|
43538
|
+
// on the instance — invalidate so the list refetches with fresh values.
|
|
43539
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43540
|
+
{ type: 'ClawInstances', id: args.id },
|
|
43541
|
+
'ClawInstances',
|
|
43542
|
+
],
|
|
43543
|
+
}),
|
|
43544
|
+
testConnectivityClawInstance: builder.mutation({
|
|
43545
|
+
query: (args) => ({
|
|
43546
|
+
url: CLAW_ENDPOINTS.TEST_CONNECTIVITY_INSTANCE.path(args.org, args.id),
|
|
43547
|
+
service: CLAW_ENDPOINTS.TEST_CONNECTIVITY_INSTANCE.service,
|
|
43548
|
+
method: 'POST',
|
|
43549
|
+
}),
|
|
43550
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43551
|
+
{ type: 'ClawInstances', id: args.id },
|
|
43552
|
+
'ClawInstances',
|
|
43553
|
+
],
|
|
43554
|
+
}),
|
|
43555
|
+
refreshVersionClawInstance: builder.mutation({
|
|
43556
|
+
query: (args) => ({
|
|
43557
|
+
url: CLAW_ENDPOINTS.REFRESH_VERSION_INSTANCE.path(args.org, args.id),
|
|
43558
|
+
service: CLAW_ENDPOINTS.REFRESH_VERSION_INSTANCE.service,
|
|
43559
|
+
method: 'POST',
|
|
43560
|
+
}),
|
|
43561
|
+
// Refresh-version updates the instance's `claw_version` (and may touch
|
|
43562
|
+
// health fields too) — invalidate so the table picks up the new value.
|
|
43563
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43564
|
+
{ type: 'ClawInstances', id: args.id },
|
|
43565
|
+
'ClawInstances',
|
|
43566
|
+
],
|
|
43567
|
+
}),
|
|
43568
|
+
// ── Agent Config (singular, PATCH is upsert) ──────────────────────────
|
|
43569
|
+
getAgentConfig: builder.query({
|
|
43570
|
+
query: (args) => ({
|
|
43571
|
+
url: CLAW_ENDPOINTS.GET_AGENT_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43572
|
+
service: CLAW_ENDPOINTS.GET_AGENT_CONFIG.service,
|
|
43573
|
+
}),
|
|
43574
|
+
providesTags: (_result, _error, args) => [{ type: 'AgentConfig', id: args.mentorUniqueId }],
|
|
43575
|
+
}),
|
|
43576
|
+
updateAgentConfig: builder.mutation({
|
|
43577
|
+
query: (args) => ({
|
|
43578
|
+
url: CLAW_ENDPOINTS.UPDATE_AGENT_CONFIG.path(args.org, args.mentorUniqueId),
|
|
43579
|
+
service: CLAW_ENDPOINTS.UPDATE_AGENT_CONFIG.service,
|
|
43580
|
+
method: 'PATCH',
|
|
43581
|
+
body: {
|
|
43582
|
+
...(args.identity !== undefined && { identity: args.identity }),
|
|
43583
|
+
...(args.soul !== undefined && { soul: args.soul }),
|
|
43584
|
+
...(args.user_context !== undefined && { user_context: args.user_context }),
|
|
43585
|
+
...(args.tools !== undefined && { tools: args.tools }),
|
|
43586
|
+
...(args.agents !== undefined && { agents: args.agents }),
|
|
43587
|
+
...(args.bootstrap !== undefined && { bootstrap: args.bootstrap }),
|
|
43588
|
+
...(args.heartbeat !== undefined && { heartbeat: args.heartbeat }),
|
|
43589
|
+
...(args.memory !== undefined && { memory: args.memory }),
|
|
43590
|
+
...(args.model !== undefined && { model: args.model }),
|
|
43591
|
+
...(args.config !== undefined && { config: args.config }),
|
|
43592
|
+
},
|
|
43593
|
+
}),
|
|
43594
|
+
// PATCH is upsert and returns the full AgentConfig. Write it straight into
|
|
43595
|
+
// the GET cache so UI subscribers see the new value immediately — relying
|
|
43596
|
+
// on tag invalidation alone leaves a stale window when the prior GET was a
|
|
43597
|
+
// 404 (the entry sits in error state until the refetch completes).
|
|
43598
|
+
async onQueryStarted({ org, mentorUniqueId }, { dispatch, queryFulfilled }) {
|
|
43599
|
+
try {
|
|
43600
|
+
const { data } = await queryFulfilled;
|
|
43601
|
+
dispatch(clawApiSlice.util.upsertQueryData('getAgentConfig', { org, mentorUniqueId }, data));
|
|
43602
|
+
}
|
|
43603
|
+
catch (_a) {
|
|
43604
|
+
// Mutation error surfaces via the hook's own state.
|
|
43605
|
+
}
|
|
43606
|
+
},
|
|
43607
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43608
|
+
{ type: 'AgentConfig', id: args.mentorUniqueId },
|
|
43609
|
+
],
|
|
43610
|
+
}),
|
|
43611
|
+
// ── Agent Skills (platform-level) ─────────────────────────────────────
|
|
43612
|
+
getAgentSkills: builder.query({
|
|
43613
|
+
query: (args) => ({
|
|
43614
|
+
url: CLAW_ENDPOINTS.GET_AGENT_SKILLS.path(args.org),
|
|
43615
|
+
service: CLAW_ENDPOINTS.GET_AGENT_SKILLS.service,
|
|
43616
|
+
}),
|
|
43617
|
+
transformResponse: (response) => normalizeList(response),
|
|
43618
|
+
providesTags: ['AgentSkills'],
|
|
43619
|
+
}),
|
|
43620
|
+
getAgentSkill: builder.query({
|
|
43621
|
+
query: (args) => ({
|
|
43622
|
+
url: CLAW_ENDPOINTS.GET_AGENT_SKILL.path(args.org, args.id),
|
|
43623
|
+
service: CLAW_ENDPOINTS.GET_AGENT_SKILL.service,
|
|
43624
|
+
}),
|
|
43625
|
+
providesTags: (_result, _error, args) => [{ type: 'AgentSkills', id: args.id }],
|
|
43626
|
+
}),
|
|
43627
|
+
createAgentSkill: builder.mutation({
|
|
43628
|
+
query: (args) => ({
|
|
43629
|
+
url: CLAW_ENDPOINTS.CREATE_AGENT_SKILL.path(args.org),
|
|
43630
|
+
service: CLAW_ENDPOINTS.CREATE_AGENT_SKILL.service,
|
|
43631
|
+
method: 'POST',
|
|
43632
|
+
body: {
|
|
43633
|
+
name: args.name,
|
|
43634
|
+
slug: args.slug,
|
|
43635
|
+
...(args.description !== undefined && { description: args.description }),
|
|
43636
|
+
...(args.version !== undefined && { version: args.version }),
|
|
43637
|
+
...(args.instruction !== undefined && { instruction: args.instruction }),
|
|
43638
|
+
...(args.metadata !== undefined && { metadata: args.metadata }),
|
|
43639
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43640
|
+
},
|
|
43641
|
+
}),
|
|
43642
|
+
invalidatesTags: ['AgentSkills'],
|
|
43643
|
+
}),
|
|
43644
|
+
updateAgentSkill: builder.mutation({
|
|
43645
|
+
query: (args) => ({
|
|
43646
|
+
url: CLAW_ENDPOINTS.UPDATE_AGENT_SKILL.path(args.org, args.id),
|
|
43647
|
+
service: CLAW_ENDPOINTS.UPDATE_AGENT_SKILL.service,
|
|
43648
|
+
method: 'PATCH',
|
|
43649
|
+
body: {
|
|
43650
|
+
...(args.name !== undefined && { name: args.name }),
|
|
43651
|
+
...(args.slug !== undefined && { slug: args.slug }),
|
|
43652
|
+
...(args.description !== undefined && { description: args.description }),
|
|
43653
|
+
...(args.version !== undefined && { version: args.version }),
|
|
43654
|
+
...(args.instruction !== undefined && { instruction: args.instruction }),
|
|
43655
|
+
...(args.metadata !== undefined && { metadata: args.metadata }),
|
|
43656
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43657
|
+
},
|
|
43658
|
+
}),
|
|
43659
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43660
|
+
{ type: 'AgentSkills', id: args.id },
|
|
43661
|
+
'AgentSkills',
|
|
43662
|
+
],
|
|
43663
|
+
}),
|
|
43664
|
+
deleteAgentSkill: builder.mutation({
|
|
43665
|
+
query: (args) => ({
|
|
43666
|
+
url: CLAW_ENDPOINTS.DELETE_AGENT_SKILL.path(args.org, args.id),
|
|
43667
|
+
service: CLAW_ENDPOINTS.DELETE_AGENT_SKILL.service,
|
|
43668
|
+
method: 'DELETE',
|
|
43669
|
+
}),
|
|
43670
|
+
invalidatesTags: ['AgentSkills'],
|
|
43671
|
+
}),
|
|
43672
|
+
// ── Agent Skill Resources ─────────────────────────────────────────────
|
|
43673
|
+
getAgentSkillResources: builder.query({
|
|
43674
|
+
query: (args) => ({
|
|
43675
|
+
url: CLAW_ENDPOINTS.GET_AGENT_SKILL_RESOURCES.path(args.org),
|
|
43676
|
+
service: CLAW_ENDPOINTS.GET_AGENT_SKILL_RESOURCES.service,
|
|
43677
|
+
params: {
|
|
43678
|
+
...(args.skill !== undefined && { skill: args.skill }),
|
|
43679
|
+
...(args.file_type !== undefined && { file_type: args.file_type }),
|
|
43680
|
+
},
|
|
43681
|
+
}),
|
|
43682
|
+
transformResponse: (response) => normalizeList(response),
|
|
43683
|
+
providesTags: ['AgentSkillResources'],
|
|
43684
|
+
}),
|
|
43685
|
+
getAgentSkillResource: builder.query({
|
|
43686
|
+
query: (args) => ({
|
|
43687
|
+
url: CLAW_ENDPOINTS.GET_AGENT_SKILL_RESOURCE.path(args.org, args.id),
|
|
43688
|
+
service: CLAW_ENDPOINTS.GET_AGENT_SKILL_RESOURCE.service,
|
|
43689
|
+
}),
|
|
43690
|
+
providesTags: (_result, _error, args) => [{ type: 'AgentSkillResources', id: args.id }],
|
|
43691
|
+
}),
|
|
43692
|
+
createAgentSkillResource: builder.mutation({
|
|
43693
|
+
query: (args) => ({
|
|
43694
|
+
url: CLAW_ENDPOINTS.CREATE_AGENT_SKILL_RESOURCE.path(args.org),
|
|
43695
|
+
service: CLAW_ENDPOINTS.CREATE_AGENT_SKILL_RESOURCE.service,
|
|
43696
|
+
method: 'POST',
|
|
43697
|
+
body: {
|
|
43698
|
+
skill: args.skill,
|
|
43699
|
+
file_type: args.file_type,
|
|
43700
|
+
name: args.name,
|
|
43701
|
+
...(args.url !== undefined && { url: args.url }),
|
|
43702
|
+
...(args.content !== undefined && { content: args.content }),
|
|
43703
|
+
...(args.metadata !== undefined && { metadata: args.metadata }),
|
|
43704
|
+
},
|
|
43705
|
+
}),
|
|
43706
|
+
invalidatesTags: ['AgentSkillResources'],
|
|
43707
|
+
}),
|
|
43708
|
+
updateAgentSkillResource: builder.mutation({
|
|
43709
|
+
query: (args) => ({
|
|
43710
|
+
url: CLAW_ENDPOINTS.UPDATE_AGENT_SKILL_RESOURCE.path(args.org, args.id),
|
|
43711
|
+
service: CLAW_ENDPOINTS.UPDATE_AGENT_SKILL_RESOURCE.service,
|
|
43712
|
+
method: 'PATCH',
|
|
43713
|
+
body: {
|
|
43714
|
+
...(args.skill !== undefined && { skill: args.skill }),
|
|
43715
|
+
...(args.file_type !== undefined && { file_type: args.file_type }),
|
|
43716
|
+
...(args.name !== undefined && { name: args.name }),
|
|
43717
|
+
...(args.url !== undefined && { url: args.url }),
|
|
43718
|
+
...(args.content !== undefined && { content: args.content }),
|
|
43719
|
+
...(args.metadata !== undefined && { metadata: args.metadata }),
|
|
43720
|
+
},
|
|
43721
|
+
}),
|
|
43722
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43723
|
+
{ type: 'AgentSkillResources', id: args.id },
|
|
43724
|
+
'AgentSkillResources',
|
|
43725
|
+
],
|
|
43726
|
+
}),
|
|
43727
|
+
deleteAgentSkillResource: builder.mutation({
|
|
43728
|
+
query: (args) => ({
|
|
43729
|
+
url: CLAW_ENDPOINTS.DELETE_AGENT_SKILL_RESOURCE.path(args.org, args.id),
|
|
43730
|
+
service: CLAW_ENDPOINTS.DELETE_AGENT_SKILL_RESOURCE.service,
|
|
43731
|
+
method: 'DELETE',
|
|
43732
|
+
}),
|
|
43733
|
+
invalidatesTags: ['AgentSkillResources'],
|
|
43734
|
+
}),
|
|
43735
|
+
// ── Mentor Skill Assignments (nested under mentor) ────────────────────
|
|
43736
|
+
getMentorSkillAssignments: builder.query({
|
|
43737
|
+
query: (args) => ({
|
|
43738
|
+
url: CLAW_ENDPOINTS.GET_MENTOR_SKILL_ASSIGNMENTS.path(args.org, args.mentorUniqueId),
|
|
43739
|
+
service: CLAW_ENDPOINTS.GET_MENTOR_SKILL_ASSIGNMENTS.service,
|
|
43740
|
+
}),
|
|
43741
|
+
transformResponse: (response) => normalizeList(response),
|
|
43742
|
+
providesTags: (_result, _error, args) => [
|
|
43743
|
+
{ type: 'MentorSkillAssignments', id: args.mentorUniqueId },
|
|
43744
|
+
],
|
|
43745
|
+
}),
|
|
43746
|
+
getMentorSkillAssignment: builder.query({
|
|
43747
|
+
query: (args) => ({
|
|
43748
|
+
url: CLAW_ENDPOINTS.GET_MENTOR_SKILL_ASSIGNMENT.path(args.org, args.mentorUniqueId, args.assignmentPk),
|
|
43749
|
+
service: CLAW_ENDPOINTS.GET_MENTOR_SKILL_ASSIGNMENT.service,
|
|
43750
|
+
}),
|
|
43751
|
+
providesTags: (_result, _error, args) => [
|
|
43752
|
+
{ type: 'MentorSkillAssignments', id: args.assignmentPk },
|
|
43753
|
+
],
|
|
43754
|
+
}),
|
|
43755
|
+
createMentorSkillAssignment: builder.mutation({
|
|
43756
|
+
query: (args) => ({
|
|
43757
|
+
url: CLAW_ENDPOINTS.CREATE_MENTOR_SKILL_ASSIGNMENT.path(args.org, args.mentorUniqueId),
|
|
43758
|
+
service: CLAW_ENDPOINTS.CREATE_MENTOR_SKILL_ASSIGNMENT.service,
|
|
43759
|
+
method: 'POST',
|
|
43760
|
+
body: {
|
|
43761
|
+
skill: args.skill,
|
|
43762
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43763
|
+
},
|
|
43764
|
+
}),
|
|
43765
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43766
|
+
{ type: 'MentorSkillAssignments', id: args.mentorUniqueId },
|
|
43767
|
+
],
|
|
43768
|
+
}),
|
|
43769
|
+
updateMentorSkillAssignment: builder.mutation({
|
|
43770
|
+
query: (args) => ({
|
|
43771
|
+
url: CLAW_ENDPOINTS.UPDATE_MENTOR_SKILL_ASSIGNMENT.path(args.org, args.mentorUniqueId, args.assignmentPk),
|
|
43772
|
+
service: CLAW_ENDPOINTS.UPDATE_MENTOR_SKILL_ASSIGNMENT.service,
|
|
43773
|
+
method: 'PATCH',
|
|
43774
|
+
body: {
|
|
43775
|
+
...(args.enabled !== undefined && { enabled: args.enabled }),
|
|
43776
|
+
},
|
|
43777
|
+
}),
|
|
43778
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43779
|
+
{ type: 'MentorSkillAssignments', id: args.mentorUniqueId },
|
|
43780
|
+
],
|
|
43781
|
+
}),
|
|
43782
|
+
deleteMentorSkillAssignment: builder.mutation({
|
|
43783
|
+
query: (args) => ({
|
|
43784
|
+
url: CLAW_ENDPOINTS.DELETE_MENTOR_SKILL_ASSIGNMENT.path(args.org, args.mentorUniqueId, args.assignmentPk),
|
|
43785
|
+
service: CLAW_ENDPOINTS.DELETE_MENTOR_SKILL_ASSIGNMENT.service,
|
|
43786
|
+
method: 'DELETE',
|
|
43787
|
+
}),
|
|
43788
|
+
invalidatesTags: (_result, _error, args) => [
|
|
43789
|
+
{ type: 'MentorSkillAssignments', id: args.mentorUniqueId },
|
|
43790
|
+
],
|
|
43791
|
+
}),
|
|
43792
|
+
}),
|
|
43793
|
+
});
|
|
43794
|
+
const {
|
|
43795
|
+
// Mentor Config
|
|
43796
|
+
useGetClawMentorConfigQuery, useLazyGetClawMentorConfigQuery, useCreateClawMentorConfigMutation, useUpdateClawMentorConfigMutation, useDeleteClawMentorConfigMutation, usePushClawConfigMutation,
|
|
43797
|
+
// Instances
|
|
43798
|
+
useGetClawInstancesQuery, useLazyGetClawInstancesQuery, useGetClawInstanceQuery, useLazyGetClawInstanceQuery, useCreateClawInstanceMutation, useUpdateClawInstanceMutation, useDeleteClawInstanceMutation, useHealthCheckClawInstanceMutation, useTestConnectivityClawInstanceMutation, useRefreshVersionClawInstanceMutation,
|
|
43799
|
+
// Agent Config
|
|
43800
|
+
useGetAgentConfigQuery, useLazyGetAgentConfigQuery, useUpdateAgentConfigMutation,
|
|
43801
|
+
// Agent Skills
|
|
43802
|
+
useGetAgentSkillsQuery, useLazyGetAgentSkillsQuery, useGetAgentSkillQuery, useCreateAgentSkillMutation, useUpdateAgentSkillMutation, useDeleteAgentSkillMutation,
|
|
43803
|
+
// Agent Skill Resources
|
|
43804
|
+
useGetAgentSkillResourcesQuery, useLazyGetAgentSkillResourcesQuery, useGetAgentSkillResourceQuery, useCreateAgentSkillResourceMutation, useUpdateAgentSkillResourceMutation, useDeleteAgentSkillResourceMutation,
|
|
43805
|
+
// Mentor Skill Assignments
|
|
43806
|
+
useGetMentorSkillAssignmentsQuery, useLazyGetMentorSkillAssignmentsQuery, useGetMentorSkillAssignmentQuery, useCreateMentorSkillAssignmentMutation, useUpdateMentorSkillAssignmentMutation, useDeleteMentorSkillAssignmentMutation, } = clawApiSlice;
|
|
43807
|
+
|
|
43231
43808
|
const CUSTOM_DOMAIN_REDUCER_PATH = 'customDomainApiSlice';
|
|
43232
43809
|
const CUSTOM_DOMAIN_ENDPOINTS = {
|
|
43233
43810
|
GET_CUSTOM_DOMAINS: {
|
|
@@ -44073,6 +44650,7 @@ const mentorReducer = {
|
|
|
44073
44650
|
[coursesApiSlice.reducerPath]: coursesApiSlice.reducer,
|
|
44074
44651
|
[courseMetadataApiSlice.reducerPath]: courseMetadataApiSlice.reducer,
|
|
44075
44652
|
[edxSsoApiSlice.reducerPath]: edxSsoApiSlice.reducer,
|
|
44653
|
+
[clawApiSlice.reducerPath]: clawApiSlice.reducer,
|
|
44076
44654
|
};
|
|
44077
44655
|
const mentorMiddleware = [
|
|
44078
44656
|
mentorApiSlice.middleware,
|
|
@@ -44123,6 +44701,7 @@ const mentorMiddleware = [
|
|
|
44123
44701
|
coursesApiSlice.middleware,
|
|
44124
44702
|
courseMetadataApiSlice.middleware,
|
|
44125
44703
|
edxSsoApiSlice.middleware,
|
|
44704
|
+
clawApiSlice.middleware,
|
|
44126
44705
|
];
|
|
44127
44706
|
|
|
44128
44707
|
const skillsReducer = {
|
|
@@ -44216,6 +44795,9 @@ exports.APP_IDENTIFIERS = APP_IDENTIFIERS;
|
|
|
44216
44795
|
exports.AUDIT_LOGS_ENDPOINTS = AUDIT_LOGS_ENDPOINTS;
|
|
44217
44796
|
exports.AUDIT_LOGS_QUERY_KEYS = AUDIT_LOGS_QUERY_KEYS;
|
|
44218
44797
|
exports.AUDIT_LOGS_REDUCER_PATH = AUDIT_LOGS_REDUCER_PATH;
|
|
44798
|
+
exports.CLAW_ENDPOINTS = CLAW_ENDPOINTS;
|
|
44799
|
+
exports.CLAW_REDUCER_PATH = CLAW_REDUCER_PATH;
|
|
44800
|
+
exports.CLAW_TAG_TYPES = CLAW_TAG_TYPES;
|
|
44219
44801
|
exports.CORE_CUSTOM_ENDPOINTS = CORE_CUSTOM_ENDPOINTS;
|
|
44220
44802
|
exports.CORE_CUSTOM_REDUCER_PATH = CORE_CUSTOM_REDUCER_PATH;
|
|
44221
44803
|
exports.CORE_FAKE_CUSTOM_REDUCER_PATH = CORE_FAKE_CUSTOM_REDUCER_PATH;
|
|
@@ -44282,6 +44864,7 @@ exports.catalogApiSlice = catalogApiSlice;
|
|
|
44282
44864
|
exports.chatApiSlice = chatApiSlice;
|
|
44283
44865
|
exports.chatFilesApiSlice = chatFilesApiSlice;
|
|
44284
44866
|
exports.chatHistoryApiSlice = chatHistoryApiSlice;
|
|
44867
|
+
exports.clawApiSlice = clawApiSlice;
|
|
44285
44868
|
exports.coreApiSlice = coreApiSlice;
|
|
44286
44869
|
exports.coreCustomApiSlice = coreCustomApiSlice;
|
|
44287
44870
|
exports.coreFakeCustomPublicImageAssetApiSlice = coreFakeCustomPublicImageAssetApiSlice;
|
|
@@ -44344,6 +44927,8 @@ exports.useCheckAccessQuery = useCheckAccessQuery;
|
|
|
44344
44927
|
exports.useCheckAccessUnscopedQuery = useCheckAccessUnscopedQuery;
|
|
44345
44928
|
exports.useConnectedServicesCallbackQuery = useConnectedServicesCallbackQuery;
|
|
44346
44929
|
exports.useCreateAdminProjectMutation = useCreateAdminProjectMutation;
|
|
44930
|
+
exports.useCreateAgentSkillMutation = useCreateAgentSkillMutation;
|
|
44931
|
+
exports.useCreateAgentSkillResourceMutation = useCreateAgentSkillResourceMutation;
|
|
44347
44932
|
exports.useCreateApiKeyMutation = useCreateApiKeyMutation;
|
|
44348
44933
|
exports.useCreateCallCredentialsMutation = useCreateCallCredentialsMutation;
|
|
44349
44934
|
exports.useCreateCatalogInvitationBulkMutation = useCreateCatalogInvitationBulkMutation;
|
|
@@ -44358,6 +44943,8 @@ exports.useCreateCatalogProgramMutation = useCreateCatalogProgramMutation;
|
|
|
44358
44943
|
exports.useCreateCatalogProgramSelfEnrollmentMutation = useCreateCatalogProgramSelfEnrollmentMutation;
|
|
44359
44944
|
exports.useCreateCatalogRoleMutation = useCreateCatalogRoleMutation;
|
|
44360
44945
|
exports.useCreateCheckoutMutation = useCreateCheckoutMutation;
|
|
44946
|
+
exports.useCreateClawInstanceMutation = useCreateClawInstanceMutation;
|
|
44947
|
+
exports.useCreateClawMentorConfigMutation = useCreateClawMentorConfigMutation;
|
|
44361
44948
|
exports.useCreateCourseEnrollmentMutation = useCreateCourseEnrollmentMutation;
|
|
44362
44949
|
exports.useCreateCredentialAssertionMutation = useCreateCredentialAssertionMutation;
|
|
44363
44950
|
exports.useCreateCredentialMutation = useCreateCredentialMutation;
|
|
@@ -44373,6 +44960,7 @@ exports.useCreateMCPServerMutation = useCreateMCPServerMutation;
|
|
|
44373
44960
|
exports.useCreateMemoryCategoryMutation = useCreateMemoryCategoryMutation;
|
|
44374
44961
|
exports.useCreateMentorMemoryMutation = useCreateMentorMemoryMutation;
|
|
44375
44962
|
exports.useCreateMentorMutation = useCreateMentorMutation;
|
|
44963
|
+
exports.useCreateMentorSkillAssignmentMutation = useCreateMentorSkillAssignmentMutation;
|
|
44376
44964
|
exports.useCreateNotificationPreviewMutation = useCreateNotificationPreviewMutation;
|
|
44377
44965
|
exports.useCreateOrUpdateUserDesiredSkillMutation = useCreateOrUpdateUserDesiredSkillMutation;
|
|
44378
44966
|
exports.useCreateOrUpdateUserReportedSkillMutation = useCreateOrUpdateUserReportedSkillMutation;
|
|
@@ -44403,7 +44991,11 @@ exports.useCreateUserResumeMutation = useCreateUserResumeMutation;
|
|
|
44403
44991
|
exports.useCreateWorkflowMutation = useCreateWorkflowMutation;
|
|
44404
44992
|
exports.useDeactivateWorkflowMutation = useDeactivateWorkflowMutation;
|
|
44405
44993
|
exports.useDeleteAdminProjectMutation = useDeleteAdminProjectMutation;
|
|
44994
|
+
exports.useDeleteAgentSkillMutation = useDeleteAgentSkillMutation;
|
|
44995
|
+
exports.useDeleteAgentSkillResourceMutation = useDeleteAgentSkillResourceMutation;
|
|
44406
44996
|
exports.useDeleteApiKeyMutation = useDeleteApiKeyMutation;
|
|
44997
|
+
exports.useDeleteClawInstanceMutation = useDeleteClawInstanceMutation;
|
|
44998
|
+
exports.useDeleteClawMentorConfigMutation = useDeleteClawMentorConfigMutation;
|
|
44407
44999
|
exports.useDeleteCourseCredentialMutation = useDeleteCourseCredentialMutation;
|
|
44408
45000
|
exports.useDeleteCredentialMutation = useDeleteCredentialMutation;
|
|
44409
45001
|
exports.useDeleteCustomDomainMutation = useDeleteCustomDomainMutation;
|
|
@@ -44415,6 +45007,7 @@ exports.useDeleteMCPServerMutation = useDeleteMCPServerMutation;
|
|
|
44415
45007
|
exports.useDeleteMemoryCategoryMutation = useDeleteMemoryCategoryMutation;
|
|
44416
45008
|
exports.useDeleteMentorMemoryMutation = useDeleteMentorMemoryMutation;
|
|
44417
45009
|
exports.useDeleteMentorMutation = useDeleteMentorMutation;
|
|
45010
|
+
exports.useDeleteMentorSkillAssignmentMutation = useDeleteMentorSkillAssignmentMutation;
|
|
44418
45011
|
exports.useDeleteMessageMutation = useDeleteMessageMutation;
|
|
44419
45012
|
exports.useDeleteModerationLogMutation = useDeleteModerationLogMutation;
|
|
44420
45013
|
exports.useDeletePlatformConfigurationMutation = useDeletePlatformConfigurationMutation;
|
|
@@ -44447,6 +45040,11 @@ exports.useGetAccessTimeHeatmapQuery = useGetAccessTimeHeatmapQuery;
|
|
|
44447
45040
|
exports.useGetAccountBillingInfoQuery = useGetAccountBillingInfoQuery;
|
|
44448
45041
|
exports.useGetAdminProjectDetailsQuery = useGetAdminProjectDetailsQuery;
|
|
44449
45042
|
exports.useGetAdminProjectsQuery = useGetAdminProjectsQuery;
|
|
45043
|
+
exports.useGetAgentConfigQuery = useGetAgentConfigQuery;
|
|
45044
|
+
exports.useGetAgentSkillQuery = useGetAgentSkillQuery;
|
|
45045
|
+
exports.useGetAgentSkillResourceQuery = useGetAgentSkillResourceQuery;
|
|
45046
|
+
exports.useGetAgentSkillResourcesQuery = useGetAgentSkillResourcesQuery;
|
|
45047
|
+
exports.useGetAgentSkillsQuery = useGetAgentSkillsQuery;
|
|
44450
45048
|
exports.useGetAiSearchMentorsQuery = useGetAiSearchMentorsQuery;
|
|
44451
45049
|
exports.useGetApiKeysQuery = useGetApiKeysQuery;
|
|
44452
45050
|
exports.useGetAppTokensMutation = useGetAppTokensMutation;
|
|
@@ -44463,6 +45061,9 @@ exports.useGetChatHistoryExportStatusQuery = useGetChatHistoryExportStatusQuery;
|
|
|
44463
45061
|
exports.useGetChatHistoryFilterQuery = useGetChatHistoryFilterQuery;
|
|
44464
45062
|
exports.useGetChatHistoryQuery = useGetChatHistoryQuery;
|
|
44465
45063
|
exports.useGetChatMessagesForSessionQuery = useGetChatMessagesForSessionQuery;
|
|
45064
|
+
exports.useGetClawInstanceQuery = useGetClawInstanceQuery;
|
|
45065
|
+
exports.useGetClawInstancesQuery = useGetClawInstancesQuery;
|
|
45066
|
+
exports.useGetClawMentorConfigQuery = useGetClawMentorConfigQuery;
|
|
44466
45067
|
exports.useGetConnectedServiceAuthUrlQuery = useGetConnectedServiceAuthUrlQuery;
|
|
44467
45068
|
exports.useGetConnectedServicesQuery = useGetConnectedServicesQuery;
|
|
44468
45069
|
exports.useGetContentAnalyticsDetailsQuery = useGetContentAnalyticsDetailsQuery;
|
|
@@ -44515,6 +45116,8 @@ exports.useGetMentorMemoriesListQuery = useGetMentorMemoriesListQuery;
|
|
|
44515
45116
|
exports.useGetMentorMemoriesQuery = useGetMentorMemoriesQuery;
|
|
44516
45117
|
exports.useGetMentorPublicSettingsQuery = useGetMentorPublicSettingsQuery;
|
|
44517
45118
|
exports.useGetMentorSettingsQuery = useGetMentorSettingsQuery;
|
|
45119
|
+
exports.useGetMentorSkillAssignmentQuery = useGetMentorSkillAssignmentQuery;
|
|
45120
|
+
exports.useGetMentorSkillAssignmentsQuery = useGetMentorSkillAssignmentsQuery;
|
|
44518
45121
|
exports.useGetMentorSummariesQuery = useGetMentorSummariesQuery;
|
|
44519
45122
|
exports.useGetMentorsQuery = useGetMentorsQuery;
|
|
44520
45123
|
exports.useGetMfeContextQuery = useGetMfeContextQuery;
|
|
@@ -44629,6 +45232,7 @@ exports.useGetUsersStatsQuery = useGetUsersStatsQuery;
|
|
|
44629
45232
|
exports.useGetVectorDocumentsQuery = useGetVectorDocumentsQuery;
|
|
44630
45233
|
exports.useGetWorkflowQuery = useGetWorkflowQuery;
|
|
44631
45234
|
exports.useGetWorkflowsQuery = useGetWorkflowsQuery;
|
|
45235
|
+
exports.useHealthCheckClawInstanceMutation = useHealthCheckClawInstanceMutation;
|
|
44632
45236
|
exports.useInviteUserMutation = useInviteUserMutation;
|
|
44633
45237
|
exports.useJoinTenantMutation = useJoinTenantMutation;
|
|
44634
45238
|
exports.useLazyCheckAccessQuery = useLazyCheckAccessQuery;
|
|
@@ -44637,6 +45241,9 @@ exports.useLazyConnectedServicesCallbackQuery = useLazyConnectedServicesCallback
|
|
|
44637
45241
|
exports.useLazyGetAccountBillingInfoQuery = useLazyGetAccountBillingInfoQuery;
|
|
44638
45242
|
exports.useLazyGetAdminProjectDetailsQuery = useLazyGetAdminProjectDetailsQuery;
|
|
44639
45243
|
exports.useLazyGetAdminProjectsQuery = useLazyGetAdminProjectsQuery;
|
|
45244
|
+
exports.useLazyGetAgentConfigQuery = useLazyGetAgentConfigQuery;
|
|
45245
|
+
exports.useLazyGetAgentSkillResourcesQuery = useLazyGetAgentSkillResourcesQuery;
|
|
45246
|
+
exports.useLazyGetAgentSkillsQuery = useLazyGetAgentSkillsQuery;
|
|
44640
45247
|
exports.useLazyGetApiKeysQuery = useLazyGetApiKeysQuery;
|
|
44641
45248
|
exports.useLazyGetArtifactQuery = useLazyGetArtifactQuery;
|
|
44642
45249
|
exports.useLazyGetArtifactVersionQuery = useLazyGetArtifactVersionQuery;
|
|
@@ -44649,6 +45256,9 @@ exports.useLazyGetChatHistoryExportStatusQuery = useLazyGetChatHistoryExportStat
|
|
|
44649
45256
|
exports.useLazyGetChatHistoryFilterQuery = useLazyGetChatHistoryFilterQuery;
|
|
44650
45257
|
exports.useLazyGetChatHistoryQuery = useLazyGetChatHistoryQuery;
|
|
44651
45258
|
exports.useLazyGetChatMessagesForSessionQuery = useLazyGetChatMessagesForSessionQuery;
|
|
45259
|
+
exports.useLazyGetClawInstanceQuery = useLazyGetClawInstanceQuery;
|
|
45260
|
+
exports.useLazyGetClawInstancesQuery = useLazyGetClawInstancesQuery;
|
|
45261
|
+
exports.useLazyGetClawMentorConfigQuery = useLazyGetClawMentorConfigQuery;
|
|
44652
45262
|
exports.useLazyGetConnectedServiceAuthUrlQuery = useLazyGetConnectedServiceAuthUrlQuery;
|
|
44653
45263
|
exports.useLazyGetConnectedServicesQuery = useLazyGetConnectedServicesQuery;
|
|
44654
45264
|
exports.useLazyGetConversationMemoriesQuery = useLazyGetConversationMemoriesQuery;
|
|
@@ -44692,6 +45302,7 @@ exports.useLazyGetMentorMemoriesListQuery = useLazyGetMentorMemoriesListQuery;
|
|
|
44692
45302
|
exports.useLazyGetMentorMemoriesQuery = useLazyGetMentorMemoriesQuery;
|
|
44693
45303
|
exports.useLazyGetMentorPublicSettingsQuery = useLazyGetMentorPublicSettingsQuery;
|
|
44694
45304
|
exports.useLazyGetMentorSettingsQuery = useLazyGetMentorSettingsQuery;
|
|
45305
|
+
exports.useLazyGetMentorSkillAssignmentsQuery = useLazyGetMentorSkillAssignmentsQuery;
|
|
44695
45306
|
exports.useLazyGetMentorSummariesQuery = useLazyGetMentorSummariesQuery;
|
|
44696
45307
|
exports.useLazyGetMentorsQuery = useLazyGetMentorsQuery;
|
|
44697
45308
|
exports.useLazyGetModerationLogsQuery = useLazyGetModerationLogsQuery;
|
|
@@ -44803,6 +45414,8 @@ exports.usePlatformInvitationsQuery = usePlatformInvitationsQuery;
|
|
|
44803
45414
|
exports.usePlatformUserGroupsQuery = usePlatformUserGroupsQuery;
|
|
44804
45415
|
exports.usePlatformUsersQuery = usePlatformUsersQuery;
|
|
44805
45416
|
exports.usePublishWorkflowMutation = usePublishWorkflowMutation;
|
|
45417
|
+
exports.usePushClawConfigMutation = usePushClawConfigMutation;
|
|
45418
|
+
exports.useRefreshVersionClawInstanceMutation = useRefreshVersionClawInstanceMutation;
|
|
44806
45419
|
exports.useRemoveProfileImageMutation = useRemoveProfileImageMutation;
|
|
44807
45420
|
exports.useRenewSubscriptionMutation = useRenewSubscriptionMutation;
|
|
44808
45421
|
exports.useResetPasswordMutation = useResetPasswordMutation;
|
|
@@ -44817,6 +45430,7 @@ exports.useStarMentorMutation = useStarMentorMutation;
|
|
|
44817
45430
|
exports.useStarredMentorsQuery = useStarredMentorsQuery;
|
|
44818
45431
|
exports.useStartExamMutation = useStartExamMutation;
|
|
44819
45432
|
exports.useStartStripeConnectOnboardingMutation = useStartStripeConnectOnboardingMutation;
|
|
45433
|
+
exports.useTestConnectivityClawInstanceMutation = useTestConnectivityClawInstanceMutation;
|
|
44820
45434
|
exports.useTimeTrackingMutation = useTimeTrackingMutation;
|
|
44821
45435
|
exports.useToggleTemplateMutation = useToggleTemplateMutation;
|
|
44822
45436
|
exports.useTriggerAutoRechargeMutation = useTriggerAutoRechargeMutation;
|
|
@@ -44824,10 +45438,15 @@ exports.useUnPinMessageMutation = useUnPinMessageMutation;
|
|
|
44824
45438
|
exports.useUnpublishWorkflowMutation = useUnpublishWorkflowMutation;
|
|
44825
45439
|
exports.useUnstarMentorMutation = useUnstarMentorMutation;
|
|
44826
45440
|
exports.useUpdateAdminProjectMutation = useUpdateAdminProjectMutation;
|
|
45441
|
+
exports.useUpdateAgentConfigMutation = useUpdateAgentConfigMutation;
|
|
45442
|
+
exports.useUpdateAgentSkillMutation = useUpdateAgentSkillMutation;
|
|
45443
|
+
exports.useUpdateAgentSkillResourceMutation = useUpdateAgentSkillResourceMutation;
|
|
44827
45444
|
exports.useUpdateArtifactMutation = useUpdateArtifactMutation;
|
|
44828
45445
|
exports.useUpdateAutoRechargeInfoMutation = useUpdateAutoRechargeInfoMutation;
|
|
44829
45446
|
exports.useUpdateChatSessionMutation = useUpdateChatSessionMutation;
|
|
44830
45447
|
exports.useUpdateChatSessionSharedMutation = useUpdateChatSessionSharedMutation;
|
|
45448
|
+
exports.useUpdateClawInstanceMutation = useUpdateClawInstanceMutation;
|
|
45449
|
+
exports.useUpdateClawMentorConfigMutation = useUpdateClawMentorConfigMutation;
|
|
44831
45450
|
exports.useUpdateCredentialMutation = useUpdateCredentialMutation;
|
|
44832
45451
|
exports.useUpdateDisclaimerMutation = useUpdateDisclaimerMutation;
|
|
44833
45452
|
exports.useUpdateExamAttemptMutation = useUpdateExamAttemptMutation;
|
|
@@ -44836,6 +45455,7 @@ exports.useUpdateMCPServerMutation = useUpdateMCPServerMutation;
|
|
|
44836
45455
|
exports.useUpdateMemoryCategoryMutation = useUpdateMemoryCategoryMutation;
|
|
44837
45456
|
exports.useUpdateMemsearchConfigMutation = useUpdateMemsearchConfigMutation;
|
|
44838
45457
|
exports.useUpdateMentorMemoryMutation = useUpdateMentorMemoryMutation;
|
|
45458
|
+
exports.useUpdateMentorSkillAssignmentMutation = useUpdateMentorSkillAssignmentMutation;
|
|
44839
45459
|
exports.useUpdateMessageFeedbackMutation = useUpdateMessageFeedbackMutation;
|
|
44840
45460
|
exports.useUpdatePlatformImageAssetMutation = useUpdatePlatformImageAssetMutation;
|
|
44841
45461
|
exports.useUpdatePlatformInfoMutation = useUpdatePlatformInfoMutation;
|