@pantheon.ai/agents 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -395,7 +395,7 @@ var require_cli_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
395
395
|
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region package.json
|
|
398
|
-
var version$1 = "0.
|
|
398
|
+
var version$1 = "0.1.1";
|
|
399
399
|
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region src/schemas/task-list.ts
|
|
@@ -1601,14 +1601,17 @@ const githubAppInstallationSchema = z$1.object({
|
|
|
1601
1601
|
github_account_id: z$1.number(),
|
|
1602
1602
|
github_account_login: z$1.string(),
|
|
1603
1603
|
github_account_type: z$1.string(),
|
|
1604
|
-
org_id: z$1.string().nullable()
|
|
1604
|
+
org_id: z$1.string().nullable(),
|
|
1605
|
+
allow_by_repo_permission: z$1.boolean()
|
|
1605
1606
|
});
|
|
1607
|
+
const githubAppInstallationUpdateSchema = z$1.object({ allow_by_repo_permission: z$1.boolean().optional() });
|
|
1606
1608
|
const githubAppInstallationAdminItemSchema = z$1.object({
|
|
1607
1609
|
installation_id: z$1.number(),
|
|
1608
1610
|
github_account_id: z$1.number(),
|
|
1609
1611
|
github_account_login: z$1.string(),
|
|
1610
1612
|
github_account_type: z$1.string(),
|
|
1611
1613
|
org_id: z$1.string().nullable(),
|
|
1614
|
+
allow_by_repo_permission: z$1.boolean().optional(),
|
|
1612
1615
|
org_name: z$1.string().nullable(),
|
|
1613
1616
|
installer_user_id: z$1.string().nullable(),
|
|
1614
1617
|
installer_email: z$1.string().nullable(),
|
|
@@ -1633,6 +1636,7 @@ const githubAutoReviewConfigSchema = z$1.object({
|
|
|
1633
1636
|
});
|
|
1634
1637
|
const githubRepoSettingsConfigSchema = z$1.object({
|
|
1635
1638
|
allow_usernames: z$1.array(z$1.string()),
|
|
1639
|
+
allow_by_repo_permission: z$1.boolean().nullable().optional(),
|
|
1636
1640
|
auto_review: githubAutoReviewConfigSchema
|
|
1637
1641
|
});
|
|
1638
1642
|
const githubRepoSettingsPublicSchema = z$1.object({
|
|
@@ -1658,6 +1662,8 @@ const addOrganizationMember = defineApi(post`/api/v1/orgs/${"orgId"}/members`, t
|
|
|
1658
1662
|
const updateOrganizationMemberRole = defineApi(put`/api/v1/orgs/${"orgId"}/members/${"memberId"}`, typeOf(), organizationMemberSchema);
|
|
1659
1663
|
const removeOrganizationMember = defineApi(del`/api/v1/orgs/${"orgId"}/members/${"memberId"}`, null, z$1.object({ success: z$1.boolean() }));
|
|
1660
1664
|
const listOrganizationGithubInstallations = defineApi(get`/api/v1/orgs/${"orgId"}/github/installations`, null, z$1.array(githubAppInstallationSchema));
|
|
1665
|
+
const getOrganizationGithubInstallation = defineApi(get`/api/v1/orgs/${"orgId"}/github/installations/${"installationId"}`, null, githubAppInstallationSchema);
|
|
1666
|
+
const updateOrganizationGithubInstallation = defineApi(put`/api/v1/orgs/${"orgId"}/github/installations/${"installationId"}`, typeOf(), githubAppInstallationSchema);
|
|
1661
1667
|
const listOrgLinkedAccounts = defineApi(get`/api/v1/orgs/${"orgId"}/github/linked_accounts`, null, z$1.array(githubAppInstallationSchema));
|
|
1662
1668
|
const listOrgLinkedRepositories = defineApi(get`/api/v1/orgs/${"orgId"}/github/linked_repositories`, null, z$1.array(githubRepositorySchema));
|
|
1663
1669
|
const listOrganizationGithubRepositories = defineApi(get`/api/v1/orgs/${"orgId"}/github/installations/${"installationId"}/repos`, null, z$1.array(githubRepositorySchema));
|