@meetkai/mka1 0.54.91 → 0.54.93
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 +335 -322
- package/bin/mcp-server.js +2866 -1807
- package/bin/mcp-server.js.map +35 -17
- package/dist/commonjs/funcs/authOrgsGetSsoPolicy.d.ts +18 -0
- package/dist/commonjs/funcs/authOrgsGetSsoPolicy.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsGetSsoPolicy.js +137 -0
- package/dist/commonjs/funcs/authOrgsGetSsoPolicy.js.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdateSsoPolicy.d.ts +18 -0
- package/dist/commonjs/funcs/authOrgsUpdateSsoPolicy.d.ts.map +1 -0
- package/dist/commonjs/funcs/authOrgsUpdateSsoPolicy.js +134 -0
- package/dist/commonjs/funcs/authOrgsUpdateSsoPolicy.js.map +1 -0
- package/dist/commonjs/funcs/llmEvalsCreateSuiteShare.d.ts +20 -0
- package/dist/commonjs/funcs/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmEvalsCreateSuiteShare.js +137 -0
- package/dist/commonjs/funcs/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/commonjs/funcs/llmEvalsDeleteSuiteShare.d.ts +20 -0
- package/dist/commonjs/funcs/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmEvalsDeleteSuiteShare.js +138 -0
- package/dist/commonjs/funcs/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/commonjs/funcs/llmEvalsGetArtifacts.d.ts +1 -1
- package/dist/commonjs/funcs/llmEvalsGetArtifacts.js +1 -1
- package/dist/commonjs/funcs/llmEvalsListRuns.js +1 -0
- package/dist/commonjs/funcs/llmEvalsListRuns.js.map +1 -1
- package/dist/commonjs/funcs/llmEvalsListSuiteShares.d.ts +20 -0
- package/dist/commonjs/funcs/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/commonjs/funcs/llmEvalsListSuiteShares.js +134 -0
- package/dist/commonjs/funcs/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/commonjs/funcs/llmEvalsListSuites.js +1 -0
- package/dist/commonjs/funcs/llmEvalsListSuites.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +11 -5
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmEvalsCreateSuiteShare.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsCreateSuiteShare.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsDeleteSuiteShare.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsDeleteSuiteShare.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsGetArtifacts.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmEvalsGetArtifacts.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/llmEvalsListSuiteShares.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsListSuiteShares.js +64 -0
- package/dist/commonjs/mcp-server/tools/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/commonjs/models/components/createevalsuitesharerequest.d.ts +20 -0
- package/dist/commonjs/models/components/createevalsuitesharerequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/createevalsuitesharerequest.js +67 -0
- package/dist/commonjs/models/components/createevalsuitesharerequest.js.map +1 -0
- package/dist/commonjs/models/components/evalsuiteaccess.d.ts +18 -0
- package/dist/commonjs/models/components/evalsuiteaccess.d.ts.map +1 -0
- package/dist/commonjs/models/components/evalsuiteaccess.js +52 -0
- package/dist/commonjs/models/components/evalsuiteaccess.js.map +1 -0
- package/dist/commonjs/models/components/evalsuiteobject.d.ts +6 -0
- package/dist/commonjs/models/components/evalsuiteobject.d.ts.map +1 -1
- package/dist/commonjs/models/components/evalsuiteobject.js +3 -0
- package/dist/commonjs/models/components/evalsuiteobject.js.map +1 -1
- package/dist/commonjs/models/components/evalsuitesharedeletedobject.d.ts +24 -0
- package/dist/commonjs/models/components/evalsuitesharedeletedobject.d.ts.map +1 -0
- package/dist/commonjs/models/components/evalsuitesharedeletedobject.js +62 -0
- package/dist/commonjs/models/components/evalsuitesharedeletedobject.js.map +1 -0
- package/dist/commonjs/models/components/evalsuitesharelist.d.ts +23 -0
- package/dist/commonjs/models/components/evalsuitesharelist.d.ts.map +1 -0
- package/dist/commonjs/models/components/evalsuitesharelist.js +61 -0
- package/dist/commonjs/models/components/evalsuitesharelist.js.map +1 -0
- package/dist/commonjs/models/components/evalsuiteshareobject.d.ts +33 -0
- package/dist/commonjs/models/components/evalsuiteshareobject.d.ts.map +1 -0
- package/dist/commonjs/models/components/evalsuiteshareobject.js +83 -0
- package/dist/commonjs/models/components/evalsuiteshareobject.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +5 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +5 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/errors/getssopolicy.d.ts +185 -0
- package/dist/commonjs/models/errors/getssopolicy.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getssopolicy.js +266 -0
- package/dist/commonjs/models/errors/getssopolicy.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +2 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +2 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/updatessopolicy.d.ts +185 -0
- package/dist/commonjs/models/errors/updatessopolicy.d.ts.map +1 -0
- package/dist/commonjs/models/errors/updatessopolicy.js +266 -0
- package/dist/commonjs/models/errors/updatessopolicy.js.map +1 -0
- package/dist/commonjs/models/operations/createevalsuiteshare.d.ts +25 -0
- package/dist/commonjs/models/operations/createevalsuiteshare.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createevalsuiteshare.js +76 -0
- package/dist/commonjs/models/operations/createevalsuiteshare.js.map +1 -0
- package/dist/commonjs/models/operations/deleteevalsuiteshare.d.ts +24 -0
- package/dist/commonjs/models/operations/deleteevalsuiteshare.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deleteevalsuiteshare.js +75 -0
- package/dist/commonjs/models/operations/deleteevalsuiteshare.js.map +1 -0
- package/dist/commonjs/models/operations/getssopolicy.d.ts +82 -0
- package/dist/commonjs/models/operations/getssopolicy.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getssopolicy.js +133 -0
- package/dist/commonjs/models/operations/getssopolicy.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +5 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +5 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listevalruns.d.ts +2 -0
- package/dist/commonjs/models/operations/listevalruns.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalruns.js +4 -0
- package/dist/commonjs/models/operations/listevalruns.js.map +1 -1
- package/dist/commonjs/models/operations/listevalsuites.d.ts +2 -0
- package/dist/commonjs/models/operations/listevalsuites.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevalsuites.js +4 -0
- package/dist/commonjs/models/operations/listevalsuites.js.map +1 -1
- package/dist/commonjs/models/operations/listevalsuiteshares.d.ts +22 -0
- package/dist/commonjs/models/operations/listevalsuiteshares.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listevalsuiteshares.js +71 -0
- package/dist/commonjs/models/operations/listevalsuiteshares.js.map +1 -0
- package/dist/commonjs/models/operations/updatessopolicy.d.ts +125 -0
- package/dist/commonjs/models/operations/updatessopolicy.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatessopolicy.js +183 -0
- package/dist/commonjs/models/operations/updatessopolicy.js.map +1 -0
- package/dist/commonjs/models/operations/updateteammember.d.ts +10 -10
- package/dist/commonjs/models/operations/updateteammember.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateteammember.js +11 -11
- package/dist/commonjs/models/operations/updateteammember.js.map +1 -1
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.core.d.ts +15 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.core.js +37 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.core.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.d.ts +39 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.js +60 -0
- package/dist/commonjs/react-query/authOrgsGetSsoPolicy.js.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdateSsoPolicy.d.ts +30 -0
- package/dist/commonjs/react-query/authOrgsUpdateSsoPolicy.d.ts.map +1 -0
- package/dist/commonjs/react-query/authOrgsUpdateSsoPolicy.js +47 -0
- package/dist/commonjs/react-query/authOrgsUpdateSsoPolicy.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +5 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +5 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/llmEvalsCreateSuiteShare.d.ts +29 -0
- package/dist/commonjs/react-query/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmEvalsCreateSuiteShare.js +47 -0
- package/dist/commonjs/react-query/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/commonjs/react-query/llmEvalsDeleteSuiteShare.d.ts +29 -0
- package/dist/commonjs/react-query/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmEvalsDeleteSuiteShare.js +47 -0
- package/dist/commonjs/react-query/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/commonjs/react-query/llmEvalsGetArtifacts.d.ts +2 -2
- package/dist/commonjs/react-query/llmEvalsGetArtifacts.js +2 -2
- package/dist/commonjs/react-query/llmEvalsListRuns.core.d.ts +1 -0
- package/dist/commonjs/react-query/llmEvalsListRuns.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListRuns.core.js +1 -0
- package/dist/commonjs/react-query/llmEvalsListRuns.core.js.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListRuns.d.ts +2 -0
- package/dist/commonjs/react-query/llmEvalsListRuns.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListRuns.js.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.core.d.ts +15 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.core.js +36 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.core.js.map +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.d.ts +38 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.js +60 -0
- package/dist/commonjs/react-query/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuites.core.d.ts +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuites.core.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSuites.core.js +1 -0
- package/dist/commonjs/react-query/llmEvalsListSuites.core.js.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSuites.d.ts +2 -0
- package/dist/commonjs/react-query/llmEvalsListSuites.d.ts.map +1 -1
- package/dist/commonjs/react-query/llmEvalsListSuites.js.map +1 -1
- package/dist/commonjs/sdk/auth.d.ts +2 -2
- package/dist/commonjs/sdk/auth.d.ts.map +1 -1
- package/dist/commonjs/sdk/auth.js +3 -3
- package/dist/commonjs/sdk/auth.js.map +1 -1
- package/dist/commonjs/sdk/evals.d.ts +22 -1
- package/dist/commonjs/sdk/evals.d.ts.map +1 -1
- package/dist/commonjs/sdk/evals.js +31 -1
- package/dist/commonjs/sdk/evals.js.map +1 -1
- package/dist/commonjs/sdk/orgs.d.ts +14 -0
- package/dist/commonjs/sdk/orgs.d.ts.map +1 -1
- package/dist/commonjs/sdk/orgs.js +20 -0
- package/dist/commonjs/sdk/orgs.js.map +1 -1
- package/dist/esm/funcs/authOrgsGetSsoPolicy.d.ts +18 -0
- package/dist/esm/funcs/authOrgsGetSsoPolicy.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsGetSsoPolicy.js +101 -0
- package/dist/esm/funcs/authOrgsGetSsoPolicy.js.map +1 -0
- package/dist/esm/funcs/authOrgsUpdateSsoPolicy.d.ts +18 -0
- package/dist/esm/funcs/authOrgsUpdateSsoPolicy.d.ts.map +1 -0
- package/dist/esm/funcs/authOrgsUpdateSsoPolicy.js +98 -0
- package/dist/esm/funcs/authOrgsUpdateSsoPolicy.js.map +1 -0
- package/dist/esm/funcs/llmEvalsCreateSuiteShare.d.ts +20 -0
- package/dist/esm/funcs/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/esm/funcs/llmEvalsCreateSuiteShare.js +101 -0
- package/dist/esm/funcs/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/esm/funcs/llmEvalsDeleteSuiteShare.d.ts +20 -0
- package/dist/esm/funcs/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/esm/funcs/llmEvalsDeleteSuiteShare.js +102 -0
- package/dist/esm/funcs/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/esm/funcs/llmEvalsGetArtifacts.d.ts +1 -1
- package/dist/esm/funcs/llmEvalsGetArtifacts.js +1 -1
- package/dist/esm/funcs/llmEvalsListRuns.js +1 -0
- package/dist/esm/funcs/llmEvalsListRuns.js.map +1 -1
- package/dist/esm/funcs/llmEvalsListSuiteShares.d.ts +20 -0
- package/dist/esm/funcs/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/esm/funcs/llmEvalsListSuiteShares.js +98 -0
- package/dist/esm/funcs/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/esm/funcs/llmEvalsListSuites.js +1 -0
- package/dist/esm/funcs/llmEvalsListSuites.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +11 -5
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmEvalsCreateSuiteShare.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmEvalsCreateSuiteShare.js +28 -0
- package/dist/esm/mcp-server/tools/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmEvalsDeleteSuiteShare.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmEvalsDeleteSuiteShare.js +28 -0
- package/dist/esm/mcp-server/tools/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/esm/mcp-server/tools/llmEvalsGetArtifacts.js +1 -1
- package/dist/esm/mcp-server/tools/llmEvalsGetArtifacts.js.map +1 -1
- package/dist/esm/mcp-server/tools/llmEvalsListSuiteShares.d.ts +8 -0
- package/dist/esm/mcp-server/tools/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/llmEvalsListSuiteShares.js +28 -0
- package/dist/esm/mcp-server/tools/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/esm/models/components/createevalsuitesharerequest.d.ts +20 -0
- package/dist/esm/models/components/createevalsuitesharerequest.d.ts.map +1 -0
- package/dist/esm/models/components/createevalsuitesharerequest.js +29 -0
- package/dist/esm/models/components/createevalsuitesharerequest.js.map +1 -0
- package/dist/esm/models/components/evalsuiteaccess.d.ts +18 -0
- package/dist/esm/models/components/evalsuiteaccess.d.ts.map +1 -0
- package/dist/esm/models/components/evalsuiteaccess.js +16 -0
- package/dist/esm/models/components/evalsuiteaccess.js.map +1 -0
- package/dist/esm/models/components/evalsuiteobject.d.ts +6 -0
- package/dist/esm/models/components/evalsuiteobject.d.ts.map +1 -1
- package/dist/esm/models/components/evalsuiteobject.js +3 -0
- package/dist/esm/models/components/evalsuiteobject.js.map +1 -1
- package/dist/esm/models/components/evalsuitesharedeletedobject.d.ts +24 -0
- package/dist/esm/models/components/evalsuitesharedeletedobject.d.ts.map +1 -0
- package/dist/esm/models/components/evalsuitesharedeletedobject.js +24 -0
- package/dist/esm/models/components/evalsuitesharedeletedobject.js.map +1 -0
- package/dist/esm/models/components/evalsuitesharelist.d.ts +23 -0
- package/dist/esm/models/components/evalsuitesharelist.d.ts.map +1 -0
- package/dist/esm/models/components/evalsuitesharelist.js +23 -0
- package/dist/esm/models/components/evalsuitesharelist.js.map +1 -0
- package/dist/esm/models/components/evalsuiteshareobject.d.ts +33 -0
- package/dist/esm/models/components/evalsuiteshareobject.d.ts.map +1 -0
- package/dist/esm/models/components/evalsuiteshareobject.js +45 -0
- package/dist/esm/models/components/evalsuiteshareobject.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +5 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +5 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/errors/getssopolicy.d.ts +185 -0
- package/dist/esm/models/errors/getssopolicy.d.ts.map +1 -0
- package/dist/esm/models/errors/getssopolicy.js +223 -0
- package/dist/esm/models/errors/getssopolicy.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +2 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +2 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/updatessopolicy.d.ts +185 -0
- package/dist/esm/models/errors/updatessopolicy.d.ts.map +1 -0
- package/dist/esm/models/errors/updatessopolicy.js +223 -0
- package/dist/esm/models/errors/updatessopolicy.js.map +1 -0
- package/dist/esm/models/operations/createevalsuiteshare.d.ts +25 -0
- package/dist/esm/models/operations/createevalsuiteshare.d.ts.map +1 -0
- package/dist/esm/models/operations/createevalsuiteshare.js +38 -0
- package/dist/esm/models/operations/createevalsuiteshare.js.map +1 -0
- package/dist/esm/models/operations/deleteevalsuiteshare.d.ts +24 -0
- package/dist/esm/models/operations/deleteevalsuiteshare.d.ts.map +1 -0
- package/dist/esm/models/operations/deleteevalsuiteshare.js +37 -0
- package/dist/esm/models/operations/deleteevalsuiteshare.js.map +1 -0
- package/dist/esm/models/operations/getssopolicy.d.ts +82 -0
- package/dist/esm/models/operations/getssopolicy.d.ts.map +1 -0
- package/dist/esm/models/operations/getssopolicy.js +89 -0
- package/dist/esm/models/operations/getssopolicy.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +5 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +5 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listevalruns.d.ts +2 -0
- package/dist/esm/models/operations/listevalruns.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalruns.js +4 -0
- package/dist/esm/models/operations/listevalruns.js.map +1 -1
- package/dist/esm/models/operations/listevalsuites.d.ts +2 -0
- package/dist/esm/models/operations/listevalsuites.d.ts.map +1 -1
- package/dist/esm/models/operations/listevalsuites.js +4 -0
- package/dist/esm/models/operations/listevalsuites.js.map +1 -1
- package/dist/esm/models/operations/listevalsuiteshares.d.ts +22 -0
- package/dist/esm/models/operations/listevalsuiteshares.d.ts.map +1 -0
- package/dist/esm/models/operations/listevalsuiteshares.js +33 -0
- package/dist/esm/models/operations/listevalsuiteshares.js.map +1 -0
- package/dist/esm/models/operations/updatessopolicy.d.ts +125 -0
- package/dist/esm/models/operations/updatessopolicy.d.ts.map +1 -0
- package/dist/esm/models/operations/updatessopolicy.js +135 -0
- package/dist/esm/models/operations/updatessopolicy.js.map +1 -0
- package/dist/esm/models/operations/updateteammember.d.ts +10 -10
- package/dist/esm/models/operations/updateteammember.d.ts.map +1 -1
- package/dist/esm/models/operations/updateteammember.js +10 -10
- package/dist/esm/models/operations/updateteammember.js.map +1 -1
- package/dist/esm/react-query/authOrgsGetSsoPolicy.core.d.ts +15 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.core.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.core.js +32 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.core.js.map +1 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.d.ts +39 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.js +50 -0
- package/dist/esm/react-query/authOrgsGetSsoPolicy.js.map +1 -0
- package/dist/esm/react-query/authOrgsUpdateSsoPolicy.d.ts +30 -0
- package/dist/esm/react-query/authOrgsUpdateSsoPolicy.d.ts.map +1 -0
- package/dist/esm/react-query/authOrgsUpdateSsoPolicy.js +42 -0
- package/dist/esm/react-query/authOrgsUpdateSsoPolicy.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +5 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +5 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/llmEvalsCreateSuiteShare.d.ts +29 -0
- package/dist/esm/react-query/llmEvalsCreateSuiteShare.d.ts.map +1 -0
- package/dist/esm/react-query/llmEvalsCreateSuiteShare.js +42 -0
- package/dist/esm/react-query/llmEvalsCreateSuiteShare.js.map +1 -0
- package/dist/esm/react-query/llmEvalsDeleteSuiteShare.d.ts +29 -0
- package/dist/esm/react-query/llmEvalsDeleteSuiteShare.d.ts.map +1 -0
- package/dist/esm/react-query/llmEvalsDeleteSuiteShare.js +42 -0
- package/dist/esm/react-query/llmEvalsDeleteSuiteShare.js.map +1 -0
- package/dist/esm/react-query/llmEvalsGetArtifacts.d.ts +2 -2
- package/dist/esm/react-query/llmEvalsGetArtifacts.js +2 -2
- package/dist/esm/react-query/llmEvalsListRuns.core.d.ts +1 -0
- package/dist/esm/react-query/llmEvalsListRuns.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListRuns.core.js +1 -0
- package/dist/esm/react-query/llmEvalsListRuns.core.js.map +1 -1
- package/dist/esm/react-query/llmEvalsListRuns.d.ts +2 -0
- package/dist/esm/react-query/llmEvalsListRuns.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListRuns.js.map +1 -1
- package/dist/esm/react-query/llmEvalsListSuiteShares.core.d.ts +15 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.core.d.ts.map +1 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.core.js +31 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.core.js.map +1 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.d.ts +38 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.d.ts.map +1 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.js +50 -0
- package/dist/esm/react-query/llmEvalsListSuiteShares.js.map +1 -0
- package/dist/esm/react-query/llmEvalsListSuites.core.d.ts +1 -0
- package/dist/esm/react-query/llmEvalsListSuites.core.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListSuites.core.js +1 -0
- package/dist/esm/react-query/llmEvalsListSuites.core.js.map +1 -1
- package/dist/esm/react-query/llmEvalsListSuites.d.ts +2 -0
- package/dist/esm/react-query/llmEvalsListSuites.d.ts.map +1 -1
- package/dist/esm/react-query/llmEvalsListSuites.js.map +1 -1
- package/dist/esm/sdk/auth.d.ts +2 -2
- package/dist/esm/sdk/auth.d.ts.map +1 -1
- package/dist/esm/sdk/auth.js +3 -3
- package/dist/esm/sdk/auth.js.map +1 -1
- package/dist/esm/sdk/evals.d.ts +22 -1
- package/dist/esm/sdk/evals.d.ts.map +1 -1
- package/dist/esm/sdk/evals.js +31 -1
- package/dist/esm/sdk/evals.js.map +1 -1
- package/dist/esm/sdk/orgs.d.ts +14 -0
- package/dist/esm/sdk/orgs.d.ts.map +1 -1
- package/dist/esm/sdk/orgs.js +20 -0
- package/dist/esm/sdk/orgs.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authOrgsGetSsoPolicy.ts +238 -0
- package/src/funcs/authOrgsUpdateSsoPolicy.ts +234 -0
- package/src/funcs/llmEvalsCreateSuiteShare.ts +191 -0
- package/src/funcs/llmEvalsDeleteSuiteShare.ts +192 -0
- package/src/funcs/llmEvalsGetArtifacts.ts +1 -1
- package/src/funcs/llmEvalsListRuns.ts +1 -0
- package/src/funcs/llmEvalsListSuiteShares.ts +188 -0
- package/src/funcs/llmEvalsListSuites.ts +1 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -5
- package/src/mcp-server/tools/llmEvalsCreateSuiteShare.ts +37 -0
- package/src/mcp-server/tools/llmEvalsDeleteSuiteShare.ts +37 -0
- package/src/mcp-server/tools/llmEvalsGetArtifacts.ts +1 -1
- package/src/mcp-server/tools/llmEvalsListSuiteShares.ts +37 -0
- package/src/models/components/createevalsuitesharerequest.ts +65 -0
- package/src/models/components/evalsuiteaccess.ts +27 -0
- package/src/models/components/evalsuiteobject.ts +12 -0
- package/src/models/components/evalsuitesharedeletedobject.ts +64 -0
- package/src/models/components/evalsuitesharelist.ts +64 -0
- package/src/models/components/evalsuiteshareobject.ts +92 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/errors/getssopolicy.ts +441 -0
- package/src/models/errors/index.ts +2 -0
- package/src/models/errors/updatessopolicy.ts +443 -0
- package/src/models/operations/createevalsuiteshare.ts +80 -0
- package/src/models/operations/deleteevalsuiteshare.ts +77 -0
- package/src/models/operations/getssopolicy.ts +231 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listevalruns.ts +6 -0
- package/src/models/operations/listevalsuites.ts +6 -0
- package/src/models/operations/listevalsuiteshares.ts +69 -0
- package/src/models/operations/updatessopolicy.ts +347 -0
- package/src/models/operations/updateteammember.ts +24 -21
- package/src/react-query/authOrgsGetSsoPolicy.core.ts +79 -0
- package/src/react-query/authOrgsGetSsoPolicy.ts +152 -0
- package/src/react-query/authOrgsUpdateSsoPolicy.ts +120 -0
- package/src/react-query/index.ts +5 -0
- package/src/react-query/llmEvalsCreateSuiteShare.ts +110 -0
- package/src/react-query/llmEvalsDeleteSuiteShare.ts +110 -0
- package/src/react-query/llmEvalsGetArtifacts.ts +2 -2
- package/src/react-query/llmEvalsListRuns.core.ts +2 -0
- package/src/react-query/llmEvalsListRuns.ts +2 -0
- package/src/react-query/llmEvalsListSuiteShares.core.ts +76 -0
- package/src/react-query/llmEvalsListSuiteShares.ts +141 -0
- package/src/react-query/llmEvalsListSuites.core.ts +2 -0
- package/src/react-query/llmEvalsListSuites.ts +2 -0
- package/src/sdk/auth.ts +5 -5
- package/src/sdk/evals.ts +55 -1
- package/src/sdk/orgs.ts +40 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { SDKCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
24
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
25
|
+
import * as operations from "../models/operations/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
27
|
+
import { Result } from "../types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* List eval suite shares
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Lists the orgs this eval suite is shared with. Any member of the owning scope who can see the suite can list its shares (no admin role needed); a recipient org gets 404, as for any suite it does not own; a delegated (on-behalf-of) context is refused with 403, as on the share and unshare routes.
|
|
34
|
+
*
|
|
35
|
+
* If set, this operation will use {@link Security.bearerAuth} from the global security.
|
|
36
|
+
*/
|
|
37
|
+
export function llmEvalsListSuiteShares(
|
|
38
|
+
client: SDKCore,
|
|
39
|
+
request: operations.ListEvalSuiteSharesRequest,
|
|
40
|
+
options?: RequestOptions,
|
|
41
|
+
): APIPromise<
|
|
42
|
+
Result<
|
|
43
|
+
components.EvalSuiteShareList,
|
|
44
|
+
| SDKError
|
|
45
|
+
| ResponseValidationError
|
|
46
|
+
| ConnectionError
|
|
47
|
+
| RequestAbortedError
|
|
48
|
+
| RequestTimeoutError
|
|
49
|
+
| InvalidRequestError
|
|
50
|
+
| UnexpectedClientError
|
|
51
|
+
| SDKValidationError
|
|
52
|
+
>
|
|
53
|
+
> {
|
|
54
|
+
return new APIPromise($do(
|
|
55
|
+
client,
|
|
56
|
+
request,
|
|
57
|
+
options,
|
|
58
|
+
));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
async function $do(
|
|
62
|
+
client: SDKCore,
|
|
63
|
+
request: operations.ListEvalSuiteSharesRequest,
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): Promise<
|
|
66
|
+
[
|
|
67
|
+
Result<
|
|
68
|
+
components.EvalSuiteShareList,
|
|
69
|
+
| SDKError
|
|
70
|
+
| ResponseValidationError
|
|
71
|
+
| ConnectionError
|
|
72
|
+
| RequestAbortedError
|
|
73
|
+
| RequestTimeoutError
|
|
74
|
+
| InvalidRequestError
|
|
75
|
+
| UnexpectedClientError
|
|
76
|
+
| SDKValidationError
|
|
77
|
+
>,
|
|
78
|
+
APICall,
|
|
79
|
+
]
|
|
80
|
+
> {
|
|
81
|
+
const parsed = safeParse(
|
|
82
|
+
request,
|
|
83
|
+
(value) =>
|
|
84
|
+
operations.ListEvalSuiteSharesRequest$outboundSchema.parse(value),
|
|
85
|
+
"Input validation failed",
|
|
86
|
+
);
|
|
87
|
+
if (!parsed.ok) {
|
|
88
|
+
return [parsed, { status: "invalid" }];
|
|
89
|
+
}
|
|
90
|
+
const payload = parsed.value;
|
|
91
|
+
const body = null;
|
|
92
|
+
|
|
93
|
+
const pathParams = {
|
|
94
|
+
suite_id: encodeSimple("suite_id", payload.suite_id, {
|
|
95
|
+
explode: false,
|
|
96
|
+
charEncoding: "percent",
|
|
97
|
+
}),
|
|
98
|
+
};
|
|
99
|
+
const path = pathToFunc("/api/v1/llm/evals/suites/{suite_id}/shares")(
|
|
100
|
+
pathParams,
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
const headers = new Headers(compactMap({
|
|
104
|
+
Accept: "application/json",
|
|
105
|
+
"X-On-Behalf-Of": encodeSimple(
|
|
106
|
+
"X-On-Behalf-Of",
|
|
107
|
+
payload["X-On-Behalf-Of"],
|
|
108
|
+
{ explode: false, charEncoding: "none" },
|
|
109
|
+
),
|
|
110
|
+
}));
|
|
111
|
+
|
|
112
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
113
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
114
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
115
|
+
|
|
116
|
+
const context = {
|
|
117
|
+
options: client._options,
|
|
118
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
119
|
+
operationID: "listEvalSuiteShares",
|
|
120
|
+
oAuth2Scopes: null,
|
|
121
|
+
|
|
122
|
+
resolvedSecurity: requestSecurity,
|
|
123
|
+
|
|
124
|
+
securitySource: client._options.bearerAuth,
|
|
125
|
+
retryConfig: options?.retries
|
|
126
|
+
|| client._options.retryConfig
|
|
127
|
+
|| {
|
|
128
|
+
strategy: "backoff",
|
|
129
|
+
backoff: {
|
|
130
|
+
initialInterval: 500,
|
|
131
|
+
maxInterval: 5000,
|
|
132
|
+
exponent: 1.5,
|
|
133
|
+
maxElapsedTime: 15000,
|
|
134
|
+
},
|
|
135
|
+
retryConnectionErrors: true,
|
|
136
|
+
}
|
|
137
|
+
|| { strategy: "none" },
|
|
138
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
const requestRes = client._createRequest(context, {
|
|
142
|
+
security: requestSecurity,
|
|
143
|
+
method: "GET",
|
|
144
|
+
baseURL: options?.serverURL,
|
|
145
|
+
path: path,
|
|
146
|
+
headers: headers,
|
|
147
|
+
body: body,
|
|
148
|
+
userAgent: client._options.userAgent,
|
|
149
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
150
|
+
}, options);
|
|
151
|
+
if (!requestRes.ok) {
|
|
152
|
+
return [requestRes, { status: "invalid" }];
|
|
153
|
+
}
|
|
154
|
+
const req = requestRes.value;
|
|
155
|
+
|
|
156
|
+
const doResult = await client._do(req, {
|
|
157
|
+
context,
|
|
158
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
159
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
160
|
+
retryConfig: context.retryConfig,
|
|
161
|
+
retryCodes: context.retryCodes,
|
|
162
|
+
});
|
|
163
|
+
if (!doResult.ok) {
|
|
164
|
+
return [doResult, { status: "request-error", request: req }];
|
|
165
|
+
}
|
|
166
|
+
const response = doResult.value;
|
|
167
|
+
|
|
168
|
+
const [result] = await M.match<
|
|
169
|
+
components.EvalSuiteShareList,
|
|
170
|
+
| SDKError
|
|
171
|
+
| ResponseValidationError
|
|
172
|
+
| ConnectionError
|
|
173
|
+
| RequestAbortedError
|
|
174
|
+
| RequestTimeoutError
|
|
175
|
+
| InvalidRequestError
|
|
176
|
+
| UnexpectedClientError
|
|
177
|
+
| SDKValidationError
|
|
178
|
+
>(
|
|
179
|
+
M.json(200, components.EvalSuiteShareList$inboundSchema),
|
|
180
|
+
M.fail("4XX"),
|
|
181
|
+
M.fail("5XX"),
|
|
182
|
+
)(response, req);
|
|
183
|
+
if (!result.ok) {
|
|
184
|
+
return [result, { status: "complete", request: req, response }];
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
return [result, { status: "complete", request: req, response }];
|
|
188
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.54.
|
|
68
|
+
sdkVersion: "0.54.93",
|
|
69
69
|
genVersion: "2.948.4",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.54.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.54.93 2.948.4 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -226,10 +226,12 @@ import { tool$llmEvalsCancelRun } from "./tools/llmEvalsCancelRun.js";
|
|
|
226
226
|
import { tool$llmEvalsCreateRun } from "./tools/llmEvalsCreateRun.js";
|
|
227
227
|
import { tool$llmEvalsCreateSchedule } from "./tools/llmEvalsCreateSchedule.js";
|
|
228
228
|
import { tool$llmEvalsCreateSuite } from "./tools/llmEvalsCreateSuite.js";
|
|
229
|
+
import { tool$llmEvalsCreateSuiteShare } from "./tools/llmEvalsCreateSuiteShare.js";
|
|
229
230
|
import { tool$llmEvalsCreateSuiteVersion } from "./tools/llmEvalsCreateSuiteVersion.js";
|
|
230
231
|
import { tool$llmEvalsDeleteRun } from "./tools/llmEvalsDeleteRun.js";
|
|
231
232
|
import { tool$llmEvalsDeleteSchedule } from "./tools/llmEvalsDeleteSchedule.js";
|
|
232
233
|
import { tool$llmEvalsDeleteSuite } from "./tools/llmEvalsDeleteSuite.js";
|
|
234
|
+
import { tool$llmEvalsDeleteSuiteShare } from "./tools/llmEvalsDeleteSuiteShare.js";
|
|
233
235
|
import { tool$llmEvalsGetArtifacts } from "./tools/llmEvalsGetArtifacts.js";
|
|
234
236
|
import { tool$llmEvalsGetRun } from "./tools/llmEvalsGetRun.js";
|
|
235
237
|
import { tool$llmEvalsGetRunOverview } from "./tools/llmEvalsGetRunOverview.js";
|
|
@@ -247,6 +249,7 @@ import { tool$llmEvalsListScheduleRuns } from "./tools/llmEvalsListScheduleRuns.
|
|
|
247
249
|
import { tool$llmEvalsListSchedules } from "./tools/llmEvalsListSchedules.js";
|
|
248
250
|
import { tool$llmEvalsListSuiteLeaderboardRuns } from "./tools/llmEvalsListSuiteLeaderboardRuns.js";
|
|
249
251
|
import { tool$llmEvalsListSuites } from "./tools/llmEvalsListSuites.js";
|
|
252
|
+
import { tool$llmEvalsListSuiteShares } from "./tools/llmEvalsListSuiteShares.js";
|
|
250
253
|
import { tool$llmEvalsListSuiteVersions } from "./tools/llmEvalsListSuiteVersions.js";
|
|
251
254
|
import { tool$llmEvalsMeasureSuiteTokens } from "./tools/llmEvalsMeasureSuiteTokens.js";
|
|
252
255
|
import { tool$llmEvalsRerunFailedSamples } from "./tools/llmEvalsRerunFailedSamples.js";
|
|
@@ -485,7 +488,7 @@ export function createMCPServer(deps: {
|
|
|
485
488
|
}) {
|
|
486
489
|
const server = new McpServer({
|
|
487
490
|
name: "SDK",
|
|
488
|
-
version: "0.54.
|
|
491
|
+
version: "0.54.93",
|
|
489
492
|
});
|
|
490
493
|
|
|
491
494
|
const client = new SDKCore({
|
|
@@ -693,6 +696,9 @@ export function createMCPServer(deps: {
|
|
|
693
696
|
tool(tool$llmEvalsCreateSuiteVersion);
|
|
694
697
|
tool(tool$llmEvalsListSuiteVersions);
|
|
695
698
|
tool(tool$llmEvalsGetSuiteVersion);
|
|
699
|
+
tool(tool$llmEvalsListSuiteShares);
|
|
700
|
+
tool(tool$llmEvalsCreateSuiteShare);
|
|
701
|
+
tool(tool$llmEvalsDeleteSuiteShare);
|
|
696
702
|
tool(tool$llmEvalsListSuiteLeaderboardRuns);
|
|
697
703
|
tool(tool$llmEvalsGetSuiteLeaderboard);
|
|
698
704
|
tool(tool$llmEvalsMeasureSuiteTokens);
|
|
@@ -866,6 +872,10 @@ export function createMCPServer(deps: {
|
|
|
866
872
|
tool(tool$llmVectorStoresGetFileBatch);
|
|
867
873
|
tool(tool$llmVectorStoresCancelFileBatch);
|
|
868
874
|
tool(tool$llmVectorStoresListFilesInBatch);
|
|
875
|
+
tool(tool$authOrgsGetQuota);
|
|
876
|
+
tool(tool$authOrgsUpdateQuota);
|
|
877
|
+
tool(tool$authOrgsGetRateLimit);
|
|
878
|
+
tool(tool$authOrgsUpdateRateLimit);
|
|
869
879
|
tool(tool$authTeamsCreate);
|
|
870
880
|
tool(tool$authTeamsList);
|
|
871
881
|
tool(tool$authTeamsGet);
|
|
@@ -888,10 +898,6 @@ export function createMCPServer(deps: {
|
|
|
888
898
|
tool(tool$authServiceAccountsUpdateApiKey);
|
|
889
899
|
tool(tool$authServiceAccountsDeleteApiKey);
|
|
890
900
|
tool(tool$authServiceAccountsRegenerateApiKey);
|
|
891
|
-
tool(tool$authOrgsGetQuota);
|
|
892
|
-
tool(tool$authOrgsUpdateQuota);
|
|
893
|
-
tool(tool$authOrgsGetRateLimit);
|
|
894
|
-
tool(tool$authOrgsUpdateRateLimit);
|
|
895
901
|
tool(tool$authClusterCreateInvite);
|
|
896
902
|
tool(tool$authClusterListInvites);
|
|
897
903
|
tool(tool$authClusterUpdateInvite);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { llmEvalsCreateSuiteShare } from "../../funcs/llmEvalsCreateSuiteShare.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.CreateEvalSuiteShareRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$llmEvalsCreateSuiteShare: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "llm-evals-create-suite-share",
|
|
15
|
+
description: `Share an eval suite with an org
|
|
16
|
+
|
|
17
|
+
Grants another org on this cluster read-only access to the suite, its versions and every run under it, including runs by other members of the owning team. Org admins only, and never a delegated (on-behalf-of) context (403); the owning org cannot be the recipient. Sharing again with the same org returns the existing grant.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await llmEvalsCreateSuiteShare(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { llmEvalsDeleteSuiteShare } from "../../funcs/llmEvalsDeleteSuiteShare.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.DeleteEvalSuiteShareRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$llmEvalsDeleteSuiteShare: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "llm-evals-delete-suite-share",
|
|
15
|
+
description: `Unshare an eval suite from an org
|
|
16
|
+
|
|
17
|
+
Revokes an org's read-only access to the suite. Org admins only, never a delegated (on-behalf-of) context (403).`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await llmEvalsDeleteSuiteShare(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -14,7 +14,7 @@ export const tool$llmEvalsGetArtifacts: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "llm-evals-get-artifacts",
|
|
15
15
|
description: `Get eval run artifacts
|
|
16
16
|
|
|
17
|
-
Returns generated result and sample artifact file IDs for a completed eval run.`,
|
|
17
|
+
Returns generated result and sample artifact file IDs for a completed eval run. Only files the caller can download are listed: artifact files stay owner-scoped, so on a run reached through a suite share the lists are empty.`,
|
|
18
18
|
args,
|
|
19
19
|
tool: async (client, args, ctx) => {
|
|
20
20
|
const [result, apiCall] = await llmEvalsGetArtifacts(
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { llmEvalsListSuiteShares } from "../../funcs/llmEvalsListSuiteShares.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ListEvalSuiteSharesRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$llmEvalsListSuiteShares: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "llm-evals-list-suite-shares",
|
|
15
|
+
description: `List eval suite shares
|
|
16
|
+
|
|
17
|
+
Lists the orgs this eval suite is shared with. Any member of the owning scope who can see the suite can list its shares (no admin role needed); a recipient org gets 404, as for any suite it does not own; a delegated (on-behalf-of) context is refused with 403, as on the share and unshare routes.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await llmEvalsListSuiteShares(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type CreateEvalSuiteShareRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The org that receives read-only access to this suite and all of its runs. Must not be the owning org.
|
|
14
|
+
*/
|
|
15
|
+
orgId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const CreateEvalSuiteShareRequest$inboundSchema: z.ZodType<
|
|
20
|
+
CreateEvalSuiteShareRequest,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
org_id: z.string(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"org_id": "orgId",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type CreateEvalSuiteShareRequest$Outbound = {
|
|
32
|
+
org_id: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const CreateEvalSuiteShareRequest$outboundSchema: z.ZodType<
|
|
37
|
+
CreateEvalSuiteShareRequest$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
CreateEvalSuiteShareRequest
|
|
40
|
+
> = z.object({
|
|
41
|
+
orgId: z.string(),
|
|
42
|
+
}).transform((v) => {
|
|
43
|
+
return remap$(v, {
|
|
44
|
+
orgId: "org_id",
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function createEvalSuiteShareRequestToJSON(
|
|
49
|
+
createEvalSuiteShareRequest: CreateEvalSuiteShareRequest,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
CreateEvalSuiteShareRequest$outboundSchema.parse(
|
|
53
|
+
createEvalSuiteShareRequest,
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
export function createEvalSuiteShareRequestFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<CreateEvalSuiteShareRequest, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => CreateEvalSuiteShareRequest$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'CreateEvalSuiteShareRequest' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* `owner` when the suite belongs to the caller's org and team; `shared` when it is visible only through a read-only share to the caller's org.
|
|
10
|
+
*/
|
|
11
|
+
export const EvalSuiteAccess = {
|
|
12
|
+
Owner: "owner",
|
|
13
|
+
Shared: "shared",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* `owner` when the suite belongs to the caller's org and team; `shared` when it is visible only through a read-only share to the caller's org.
|
|
17
|
+
*/
|
|
18
|
+
export type EvalSuiteAccess = ClosedEnum<typeof EvalSuiteAccess>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const EvalSuiteAccess$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof EvalSuiteAccess
|
|
23
|
+
> = z.nativeEnum(EvalSuiteAccess);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const EvalSuiteAccess$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof EvalSuiteAccess
|
|
27
|
+
> = EvalSuiteAccess$inboundSchema;
|
|
@@ -7,6 +7,11 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
EvalSuiteAccess,
|
|
12
|
+
EvalSuiteAccess$inboundSchema,
|
|
13
|
+
EvalSuiteAccess$outboundSchema,
|
|
14
|
+
} from "./evalsuiteaccess.js";
|
|
10
15
|
|
|
11
16
|
export type EvalSuiteObject = {
|
|
12
17
|
id: string;
|
|
@@ -21,6 +26,10 @@ export type EvalSuiteObject = {
|
|
|
21
26
|
* The team that owns this suite.
|
|
22
27
|
*/
|
|
23
28
|
teamId: string;
|
|
29
|
+
/**
|
|
30
|
+
* `owner` when the suite belongs to the caller's org and team; `shared` when it is visible only through a read-only share to the caller's org.
|
|
31
|
+
*/
|
|
32
|
+
access: EvalSuiteAccess;
|
|
24
33
|
activeVersion: number;
|
|
25
34
|
latestVersion: number;
|
|
26
35
|
metadata: { [k: string]: string };
|
|
@@ -40,6 +49,7 @@ export const EvalSuiteObject$inboundSchema: z.ZodType<
|
|
|
40
49
|
description: z.nullable(z.string()),
|
|
41
50
|
org_id: z.string(),
|
|
42
51
|
team_id: z.string(),
|
|
52
|
+
access: EvalSuiteAccess$inboundSchema,
|
|
43
53
|
active_version: z.number().int(),
|
|
44
54
|
latest_version: z.number().int(),
|
|
45
55
|
metadata: z.record(z.string()),
|
|
@@ -63,6 +73,7 @@ export type EvalSuiteObject$Outbound = {
|
|
|
63
73
|
description: string | null;
|
|
64
74
|
org_id: string;
|
|
65
75
|
team_id: string;
|
|
76
|
+
access: string;
|
|
66
77
|
active_version: number;
|
|
67
78
|
latest_version: number;
|
|
68
79
|
metadata: { [k: string]: string };
|
|
@@ -82,6 +93,7 @@ export const EvalSuiteObject$outboundSchema: z.ZodType<
|
|
|
82
93
|
description: z.nullable(z.string()),
|
|
83
94
|
orgId: z.string(),
|
|
84
95
|
teamId: z.string(),
|
|
96
|
+
access: EvalSuiteAccess$outboundSchema,
|
|
85
97
|
activeVersion: z.number().int(),
|
|
86
98
|
latestVersion: z.number().int(),
|
|
87
99
|
metadata: z.record(z.string()),
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type EvalSuiteShareDeletedObject = {
|
|
11
|
+
/**
|
|
12
|
+
* The id of the revoked share, as `GET /suites/{suite_id}/shares` listed it.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
object: "eval.suite.share.deleted";
|
|
16
|
+
deleted: boolean;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const EvalSuiteShareDeletedObject$inboundSchema: z.ZodType<
|
|
21
|
+
EvalSuiteShareDeletedObject,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
id: z.string(),
|
|
26
|
+
object: z.literal("eval.suite.share.deleted"),
|
|
27
|
+
deleted: z.boolean(),
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type EvalSuiteShareDeletedObject$Outbound = {
|
|
31
|
+
id: string;
|
|
32
|
+
object: "eval.suite.share.deleted";
|
|
33
|
+
deleted: boolean;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const EvalSuiteShareDeletedObject$outboundSchema: z.ZodType<
|
|
38
|
+
EvalSuiteShareDeletedObject$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
EvalSuiteShareDeletedObject
|
|
41
|
+
> = z.object({
|
|
42
|
+
id: z.string(),
|
|
43
|
+
object: z.literal("eval.suite.share.deleted"),
|
|
44
|
+
deleted: z.boolean(),
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
export function evalSuiteShareDeletedObjectToJSON(
|
|
48
|
+
evalSuiteShareDeletedObject: EvalSuiteShareDeletedObject,
|
|
49
|
+
): string {
|
|
50
|
+
return JSON.stringify(
|
|
51
|
+
EvalSuiteShareDeletedObject$outboundSchema.parse(
|
|
52
|
+
evalSuiteShareDeletedObject,
|
|
53
|
+
),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export function evalSuiteShareDeletedObjectFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<EvalSuiteShareDeletedObject, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => EvalSuiteShareDeletedObject$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'EvalSuiteShareDeletedObject' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
EvalSuiteShareObject,
|
|
11
|
+
EvalSuiteShareObject$inboundSchema,
|
|
12
|
+
EvalSuiteShareObject$Outbound,
|
|
13
|
+
EvalSuiteShareObject$outboundSchema,
|
|
14
|
+
} from "./evalsuiteshareobject.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The complete list of grants — not paged, unlike the other eval lists, because a suite can be shared with at most 100 organizations.
|
|
18
|
+
*/
|
|
19
|
+
export type EvalSuiteShareList = {
|
|
20
|
+
object: "list";
|
|
21
|
+
data: Array<EvalSuiteShareObject>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const EvalSuiteShareList$inboundSchema: z.ZodType<
|
|
26
|
+
EvalSuiteShareList,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
object: z.literal("list"),
|
|
31
|
+
data: z.array(EvalSuiteShareObject$inboundSchema),
|
|
32
|
+
});
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type EvalSuiteShareList$Outbound = {
|
|
35
|
+
object: "list";
|
|
36
|
+
data: Array<EvalSuiteShareObject$Outbound>;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const EvalSuiteShareList$outboundSchema: z.ZodType<
|
|
41
|
+
EvalSuiteShareList$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
EvalSuiteShareList
|
|
44
|
+
> = z.object({
|
|
45
|
+
object: z.literal("list"),
|
|
46
|
+
data: z.array(EvalSuiteShareObject$outboundSchema),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function evalSuiteShareListToJSON(
|
|
50
|
+
evalSuiteShareList: EvalSuiteShareList,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
EvalSuiteShareList$outboundSchema.parse(evalSuiteShareList),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export function evalSuiteShareListFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<EvalSuiteShareList, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => EvalSuiteShareList$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'EvalSuiteShareList' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|