@agentxm/client-core 0.11.3 → 0.12.0
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/src/unstable/agent-capabilities/catalog.generated.d.ts +208 -2
- package/dist/src/unstable/agent-capabilities/catalog.generated.d.ts.map +1 -1
- package/dist/src/unstable/agent-capabilities/catalog.generated.js +224 -0
- package/dist/src/unstable/agent-capabilities/catalog.generated.js.map +1 -1
- package/dist/src/unstable/agents/claude-code/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/claude-code/descriptor.js +5 -0
- package/dist/src/unstable/agents/claude-code/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/codex/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/codex/descriptor.js +3 -0
- package/dist/src/unstable/agents/codex/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts.map +1 -1
- package/dist/src/unstable/agents/gemini-cli/descriptor.js +4 -0
- package/dist/src/unstable/agents/gemini-cli/descriptor.js.map +1 -1
- package/dist/src/unstable/agents/grok-cli/descriptor.d.ts +14 -0
- package/dist/src/unstable/agents/grok-cli/descriptor.d.ts.map +1 -0
- package/dist/src/unstable/agents/grok-cli/descriptor.js +20 -0
- package/dist/src/unstable/agents/grok-cli/descriptor.js.map +1 -0
- package/dist/src/unstable/agents/grok-cli/index.d.ts +8 -0
- package/dist/src/unstable/agents/grok-cli/index.d.ts.map +1 -0
- package/dist/src/unstable/agents/grok-cli/index.js +8 -0
- package/dist/src/unstable/agents/grok-cli/index.js.map +1 -0
- package/dist/src/unstable/agents/index.d.ts +2 -1
- package/dist/src/unstable/agents/index.d.ts.map +1 -1
- package/dist/src/unstable/agents/index.js +1 -0
- package/dist/src/unstable/agents/index.js.map +1 -1
- package/dist/src/unstable/agents/instructions.d.ts +68 -0
- package/dist/src/unstable/agents/instructions.d.ts.map +1 -0
- package/dist/src/unstable/agents/instructions.js +338 -0
- package/dist/src/unstable/agents/instructions.js.map +1 -0
- package/dist/src/unstable/agents/registry.d.ts.map +1 -1
- package/dist/src/unstable/agents/registry.js +2 -0
- package/dist/src/unstable/agents/registry.js.map +1 -1
- package/dist/src/unstable/agents/types.d.ts +15 -1
- package/dist/src/unstable/agents/types.d.ts.map +1 -1
- package/dist/src/unstable/agents/types.js +1 -0
- package/dist/src/unstable/agents/types.js.map +1 -1
- package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +3 -3
- package/dist/src/unstable/extensions/common.d.ts +1 -1
- package/dist/src/unstable/extensions/common.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts +998 -297
- package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/__generated__/registry-client.js +192 -83
- package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
- package/dist/src/unstable/registry/client.d.ts +37 -0
- package/dist/src/unstable/registry/client.d.ts.map +1 -1
- package/dist/src/unstable/registry/client.js.map +1 -1
- package/dist/src/unstable/registry/index.d.ts +1 -1
- package/dist/src/unstable/registry/index.d.ts.map +1 -1
- package/dist/src/unstable/registry/index.js.map +1 -1
- package/dist/src/unstable/registry/local-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/local-client.js +16 -0
- package/dist/src/unstable/registry/local-client.js.map +1 -1
- package/dist/src/unstable/registry/remote-client.d.ts.map +1 -1
- package/dist/src/unstable/registry/remote-client.js +44 -0
- package/dist/src/unstable/registry/remote-client.js.map +1 -1
- package/dist/src/unstable/settings/index.d.ts +2 -2
- package/dist/src/unstable/settings/index.d.ts.map +1 -1
- package/dist/src/unstable/settings/index.js +1 -1
- package/dist/src/unstable/settings/index.js.map +1 -1
- package/dist/src/unstable/settings/schema.d.ts +45 -0
- package/dist/src/unstable/settings/schema.d.ts.map +1 -1
- package/dist/src/unstable/settings/schema.js +54 -0
- package/dist/src/unstable/settings/schema.js.map +1 -1
- package/dist/src/unstable/workspace/initialization.d.ts +24 -0
- package/dist/src/unstable/workspace/initialization.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/agents/grok-cli.d.ts +12 -0
- package/dist/src/unstable/workspace/read-model/agents/grok-cli.d.ts.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/grok-cli.js +14 -0
- package/dist/src/unstable/workspace/read-model/agents/grok-cli.js.map +1 -0
- package/dist/src/unstable/workspace/read-model/agents/index.d.ts +3 -1
- package/dist/src/unstable/workspace/read-model/agents/index.d.ts.map +1 -1
- package/dist/src/unstable/workspace/read-model/agents/index.js +2 -0
- package/dist/src/unstable/workspace/read-model/agents/index.js.map +1 -1
- package/dist/src/unstable/workspace/read-model/discovery/subagents.d.ts +1 -1
- package/dist/src/unstable/workspace/service-interface.d.ts +5 -1
- package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service-interface.js.map +1 -1
- package/dist/src/unstable/workspace/service.d.ts +6 -1
- package/dist/src/unstable/workspace/service.d.ts.map +1 -1
- package/dist/src/unstable/workspace/service.js +10 -0
- package/dist/src/unstable/workspace/service.js.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -1
- package/dist/src/unstable/workspace/test-stubs.js +2 -0
- package/dist/src/unstable/workspace/test-stubs.js.map +1 -1
- package/package.json +2 -2
- package/site-content/__generated__/schemas/settings.schema.json +41 -0
|
@@ -269,10 +269,18 @@ export const ChangeTeamMemberRoleBody = Schema.Struct({
|
|
|
269
269
|
description: "Role within a team — 'admin' manages membership and grants; 'member' inherits grants.",
|
|
270
270
|
}),
|
|
271
271
|
}).annotate({ title: "Change Team Member Role Body" });
|
|
272
|
-
export const
|
|
273
|
-
title: "
|
|
274
|
-
description: "
|
|
275
|
-
examples: ["
|
|
272
|
+
export const ListId = Schema.String.check(Schema.isPattern(new RegExp("^list_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
273
|
+
title: "List ID",
|
|
274
|
+
description: "Identifies a handle-scoped curated extension collection in the registry.",
|
|
275
|
+
examples: ["list_01h455vb4pexka56gq5w2r7cpc"],
|
|
276
|
+
}));
|
|
277
|
+
export const ListVisibility = Schema.Literals(["public", "internal", "private"]).annotate({
|
|
278
|
+
title: "List Visibility",
|
|
279
|
+
});
|
|
280
|
+
export const ListItemId = Schema.String.check(Schema.isPattern(new RegExp("^litem_[0-7][0-9a-hjkmnp-tv-z]{25}$"), {
|
|
281
|
+
title: "List Item ID",
|
|
282
|
+
description: "Identifies an ordered extension membership inside a curated registry list.",
|
|
283
|
+
examples: ["litem_01h455vb4pexka56gq5w2r7cpc"],
|
|
276
284
|
}));
|
|
277
285
|
export const ExtensionType = Schema.Literals([
|
|
278
286
|
"skill",
|
|
@@ -286,6 +294,11 @@ export const ExtensionType = Schema.Literals([
|
|
|
286
294
|
title: "Extension Type",
|
|
287
295
|
description: "What kind of extension this is: skill, command, mcp-server, subagent, file, rule, or pack.",
|
|
288
296
|
});
|
|
297
|
+
export const ExtensionName = Schema.String.check(Schema.isMinLength(1)).check(Schema.isPattern(new RegExp("^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"), {
|
|
298
|
+
title: "Extension Name",
|
|
299
|
+
description: "The name of an extension — lowercase letters, numbers, and hyphens (e.g. my-skill).",
|
|
300
|
+
examples: ["my-skill", "code-review", "prettier"],
|
|
301
|
+
}));
|
|
289
302
|
export const Version = Schema.String.check(Schema.isPattern(new RegExp("^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"), {
|
|
290
303
|
title: "Version",
|
|
291
304
|
description: "A semver version like 1.0.0. Ranges are not allowed here.",
|
|
@@ -631,6 +644,66 @@ export const TeamMembership = Schema.Struct({
|
|
|
631
644
|
addedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
632
645
|
addedBy: UserIdRef,
|
|
633
646
|
}).annotate({ title: "Team Membership" });
|
|
647
|
+
export const List = Schema.Struct({
|
|
648
|
+
id: ListId,
|
|
649
|
+
owner: Handle,
|
|
650
|
+
name: Schema.String,
|
|
651
|
+
title: Schema.String,
|
|
652
|
+
description: Schema.Union([Schema.String, Schema.Null]),
|
|
653
|
+
visibility: ListVisibility,
|
|
654
|
+
listed: Schema.Boolean,
|
|
655
|
+
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
656
|
+
updatedAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
657
|
+
}).annotate({ title: "List" });
|
|
658
|
+
export const CreateListBody = Schema.Struct({
|
|
659
|
+
name: Schema.String,
|
|
660
|
+
title: Schema.String,
|
|
661
|
+
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
662
|
+
visibility: Schema.optionalKey(Schema.Union([ListVisibility, Schema.Null])),
|
|
663
|
+
listed: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
664
|
+
}).annotate({ title: "Create List Body" });
|
|
665
|
+
export const UpdateListBody = Schema.Struct({
|
|
666
|
+
name: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
667
|
+
title: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
668
|
+
description: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
669
|
+
visibility: Schema.optionalKey(Schema.Union([ListVisibility, Schema.Null])),
|
|
670
|
+
listed: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
|
|
671
|
+
}).annotate({ title: "Update List Body" });
|
|
672
|
+
export const ListItem = Schema.Struct({
|
|
673
|
+
id: ListItemId,
|
|
674
|
+
extensionOwner: Handle,
|
|
675
|
+
extensionType: ExtensionType,
|
|
676
|
+
extensionName: ExtensionName,
|
|
677
|
+
position: Schema.Union([
|
|
678
|
+
Schema.Union([
|
|
679
|
+
Schema.Number.check(Schema.isFinite()),
|
|
680
|
+
Schema.Literal("NaN"),
|
|
681
|
+
Schema.Literal("Infinity"),
|
|
682
|
+
Schema.Literal("-Infinity"),
|
|
683
|
+
]),
|
|
684
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
685
|
+
]),
|
|
686
|
+
note: Schema.Union([Schema.String, Schema.Null]),
|
|
687
|
+
createdAt: Schema.String.annotate({ readOnly: true, format: "date-time" }),
|
|
688
|
+
}).annotate({ title: "List Item" });
|
|
689
|
+
export const AddListItemBody = Schema.Struct({
|
|
690
|
+
owner: Handle,
|
|
691
|
+
type: ExtensionType,
|
|
692
|
+
name: ExtensionName,
|
|
693
|
+
note: Schema.optionalKey(Schema.Union([Schema.Union([Schema.String, Schema.Null]), Schema.Null])),
|
|
694
|
+
position: Schema.optionalKey(Schema.Union([
|
|
695
|
+
Schema.Union([
|
|
696
|
+
Schema.Union([
|
|
697
|
+
Schema.Number.check(Schema.isFinite()),
|
|
698
|
+
Schema.Literal("NaN"),
|
|
699
|
+
Schema.Literal("Infinity"),
|
|
700
|
+
Schema.Literal("-Infinity"),
|
|
701
|
+
]),
|
|
702
|
+
Schema.Literals(["Infinity", "-Infinity", "NaN"]),
|
|
703
|
+
]),
|
|
704
|
+
Schema.Null,
|
|
705
|
+
])),
|
|
706
|
+
}).annotate({ title: "Add List Item Body" });
|
|
634
707
|
export const PublishIdentity = Schema.Struct({
|
|
635
708
|
owner: Handle,
|
|
636
709
|
type: ExtensionType,
|
|
@@ -706,6 +779,12 @@ export const TeamMembershipList = Schema.Struct({
|
|
|
706
779
|
items: Schema.Array(TeamMembership),
|
|
707
780
|
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
708
781
|
}).annotate({ title: "Team Membership List" });
|
|
782
|
+
export const ListCollection = Schema.Struct({ items: Schema.Array(List) }).annotate({
|
|
783
|
+
title: "List Collection",
|
|
784
|
+
});
|
|
785
|
+
export const ListDetail = Schema.Struct({ list: List, items: Schema.Array(ListItem) }).annotate({
|
|
786
|
+
title: "List Detail",
|
|
787
|
+
});
|
|
709
788
|
export const ExtensionIdentityMismatchError = Schema.Struct({
|
|
710
789
|
kind: Schema.Literal("ExtensionIdentityMismatchError"),
|
|
711
790
|
type: Schema.String,
|
|
@@ -749,12 +828,13 @@ export const ExtensionLintFailedError = Schema.Struct({
|
|
|
749
828
|
export const MetaGet200 = MetaResponse;
|
|
750
829
|
export const MetaGet400 = DecodeErrorResponse;
|
|
751
830
|
export const AuthIssueDeviceCodeRequestFormUrlEncoded = Schema.Struct({
|
|
752
|
-
client_id: Schema.
|
|
753
|
-
description: "OAuth client identifier.
|
|
754
|
-
|
|
831
|
+
client_id: Schema.String.check(Schema.isMinLength(1, {
|
|
832
|
+
description: "OAuth public client identifier.",
|
|
833
|
+
examples: ["example-client"],
|
|
834
|
+
})),
|
|
755
835
|
scope: Schema.optionalKey(Schema.Union([
|
|
756
836
|
Schema.String.annotate({
|
|
757
|
-
description: "
|
|
837
|
+
description: "Optional space-delimited registry scopes requested by the client.",
|
|
758
838
|
}),
|
|
759
839
|
Schema.Null,
|
|
760
840
|
])),
|
|
@@ -782,7 +862,10 @@ export const AuthExchangeTokenRequestFormUrlEncoded = Schema.Struct({
|
|
|
782
862
|
Schema.Null,
|
|
783
863
|
])),
|
|
784
864
|
client_id: Schema.optionalKey(Schema.Union([
|
|
785
|
-
Schema.String.
|
|
865
|
+
Schema.String.check(Schema.isMinLength(1, {
|
|
866
|
+
description: "OAuth client identifier.",
|
|
867
|
+
examples: ["example-client"],
|
|
868
|
+
})),
|
|
786
869
|
Schema.Null,
|
|
787
870
|
])),
|
|
788
871
|
redirect_uri: Schema.optionalKey(Schema.Union([
|
|
@@ -813,57 +896,6 @@ export const AuthExchangeToken400 = Schema.Union([
|
|
|
813
896
|
Schema.Union([ProblemDetails, DecodeErrorResponse]),
|
|
814
897
|
TokenOAuthError,
|
|
815
898
|
]);
|
|
816
|
-
export const AuthExchangeDeviceCodeRequestFormUrlEncoded = Schema.Struct({
|
|
817
|
-
grant_type: Schema.String.annotate({
|
|
818
|
-
description: "OAuth grant type. Must be 'urn:ietf:params:oauth:grant-type:device_code'.",
|
|
819
|
-
examples: ["urn:ietf:params:oauth:grant-type:device_code"],
|
|
820
|
-
}),
|
|
821
|
-
device_code: Schema.String.annotate({
|
|
822
|
-
description: "The device verification code received from the /device/code endpoint.",
|
|
823
|
-
}),
|
|
824
|
-
client_id: Schema.String.annotate({
|
|
825
|
-
description: "OAuth client identifier, e.g. 'axm-cli'.",
|
|
826
|
-
examples: ["axm-cli"],
|
|
827
|
-
}),
|
|
828
|
-
});
|
|
829
|
-
export const AuthExchangeDeviceCode200 = Schema.Struct({
|
|
830
|
-
access_token: Schema.String,
|
|
831
|
-
refresh_token: Schema.String,
|
|
832
|
-
token_type: Schema.Literal("Bearer"),
|
|
833
|
-
expires_in: Schema.Number.check(Schema.isInt()),
|
|
834
|
-
expires_at: Schema.String,
|
|
835
|
-
scope: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
836
|
-
});
|
|
837
|
-
export const AuthExchangeDeviceCode400 = Schema.Union([TokenOAuthError, DecodeErrorResponse]);
|
|
838
|
-
export const AuthExchangeCliAuthorizationCodeRequestFormUrlEncoded = Schema.Struct({
|
|
839
|
-
grant_type: Schema.String.annotate({
|
|
840
|
-
description: "OAuth grant type. Must be 'authorization_code'.",
|
|
841
|
-
examples: ["authorization_code"],
|
|
842
|
-
}),
|
|
843
|
-
code: Schema.String.annotate({
|
|
844
|
-
description: "Authorization code returned to the loopback callback.",
|
|
845
|
-
}),
|
|
846
|
-
code_verifier: Schema.String.annotate({ description: "PKCE verifier generated by the CLI." }),
|
|
847
|
-
client_id: Schema.String.annotate({
|
|
848
|
-
description: "OAuth client identifier, e.g. 'axm-cli'.",
|
|
849
|
-
examples: ["axm-cli"],
|
|
850
|
-
}),
|
|
851
|
-
redirect_uri: Schema.String.annotate({
|
|
852
|
-
description: "Loopback redirect URI the authorization code was bound to.",
|
|
853
|
-
}),
|
|
854
|
-
});
|
|
855
|
-
export const AuthExchangeCliAuthorizationCode200 = Schema.Struct({
|
|
856
|
-
access_token: Schema.String,
|
|
857
|
-
refresh_token: Schema.String,
|
|
858
|
-
token_type: Schema.Literal("Bearer"),
|
|
859
|
-
expires_in: Schema.Number.check(Schema.isInt()),
|
|
860
|
-
expires_at: Schema.String,
|
|
861
|
-
scope: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
862
|
-
});
|
|
863
|
-
export const AuthExchangeCliAuthorizationCode400 = Schema.Union([
|
|
864
|
-
TokenOAuthError,
|
|
865
|
-
DecodeErrorResponse,
|
|
866
|
-
]);
|
|
867
899
|
export const AuthRefreshTokenRequestFormUrlEncoded = Schema.Struct({
|
|
868
900
|
grant_type: Schema.Literal("refresh_token").annotate({
|
|
869
901
|
description: "OAuth grant type. Must be 'refresh_token'.",
|
|
@@ -990,6 +1022,46 @@ export const OrgsTeamsChangeTeamMemberRole400 = DecodeErrorResponse;
|
|
|
990
1022
|
export const OrgsTeamsChangeTeamMemberRole401 = ProblemDetails;
|
|
991
1023
|
export const OrgsTeamsChangeTeamMemberRole403 = ForbiddenError;
|
|
992
1024
|
export const OrgsTeamsChangeTeamMemberRole404 = ProblemDetails;
|
|
1025
|
+
export const ListsListLists200 = ListCollection;
|
|
1026
|
+
export const ListsListLists400 = DecodeErrorResponse;
|
|
1027
|
+
export const ListsListLists404 = ProblemDetails;
|
|
1028
|
+
export const ListsCreateListRequestJson = CreateListBody;
|
|
1029
|
+
export const ListsCreateList200 = List;
|
|
1030
|
+
export const ListsCreateList400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1031
|
+
export const ListsCreateList401 = ProblemDetails;
|
|
1032
|
+
export const ListsCreateList403 = ForbiddenError;
|
|
1033
|
+
export const ListsCreateList404 = ProblemDetails;
|
|
1034
|
+
export const ListsCreateList409 = ProblemDetails;
|
|
1035
|
+
export const ListsCreateList422 = ProblemDetails;
|
|
1036
|
+
export const ListsGetList200 = ListDetail;
|
|
1037
|
+
export const ListsGetList400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1038
|
+
export const ListsGetList404 = ProblemDetails;
|
|
1039
|
+
export const ListsDeleteList400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1040
|
+
export const ListsDeleteList401 = ProblemDetails;
|
|
1041
|
+
export const ListsDeleteList403 = ForbiddenError;
|
|
1042
|
+
export const ListsDeleteList404 = ProblemDetails;
|
|
1043
|
+
export const ListsUpdateListRequestJson = UpdateListBody;
|
|
1044
|
+
export const ListsUpdateList200 = List;
|
|
1045
|
+
export const ListsUpdateList400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1046
|
+
export const ListsUpdateList401 = ProblemDetails;
|
|
1047
|
+
export const ListsUpdateList403 = ForbiddenError;
|
|
1048
|
+
export const ListsUpdateList404 = ProblemDetails;
|
|
1049
|
+
export const ListsUpdateList409 = ProblemDetails;
|
|
1050
|
+
export const ListsUpdateList422 = ProblemDetails;
|
|
1051
|
+
export const ListsAddListItemRequestJson = AddListItemBody;
|
|
1052
|
+
export const ListsAddListItem200 = ListItem;
|
|
1053
|
+
export const ListsAddListItem400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1054
|
+
export const ListsAddListItem401 = ProblemDetails;
|
|
1055
|
+
export const ListsAddListItem403 = ForbiddenError;
|
|
1056
|
+
export const ListsAddListItem404 = ProblemDetails;
|
|
1057
|
+
export const ListsAddListItem409 = ProblemDetails;
|
|
1058
|
+
export const ListsRemoveListItemParams = Schema.Struct({
|
|
1059
|
+
extensionOwner: Schema.optionalKey(Schema.Union([Handle, Schema.Null])),
|
|
1060
|
+
});
|
|
1061
|
+
export const ListsRemoveListItem400 = Schema.Union([ProblemDetails, DecodeErrorResponse]);
|
|
1062
|
+
export const ListsRemoveListItem401 = ProblemDetails;
|
|
1063
|
+
export const ListsRemoveListItem403 = ForbiddenError;
|
|
1064
|
+
export const ListsRemoveListItem404 = ProblemDetails;
|
|
993
1065
|
export const ExtensionsListByOwner200 = Schema.Struct({
|
|
994
1066
|
extensions: Schema.Array(Schema.Struct({
|
|
995
1067
|
name: ExtensionName,
|
|
@@ -1088,17 +1160,6 @@ export const ExtensionsPublishVersionRequestFormData = Schema.Struct({
|
|
|
1088
1160
|
archive: Schema.String.annotate({ description: "Extension archive multipart file part." }),
|
|
1089
1161
|
integrity: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
|
|
1090
1162
|
});
|
|
1091
|
-
export const ExtensionsPublishVersion200 = Schema.Struct({
|
|
1092
|
-
owner: Handle,
|
|
1093
|
-
type: ExtensionType,
|
|
1094
|
-
name: ExtensionName,
|
|
1095
|
-
version: Version,
|
|
1096
|
-
integrity: Schema.String.annotate({ readOnly: true }),
|
|
1097
|
-
sha256_hex: Schema.String.annotate({ readOnly: true }),
|
|
1098
|
-
published_at: IsoDateTimeString,
|
|
1099
|
-
publish_status: Schema.Literals(["pending", "available", "failed"]).annotate({ readOnly: true }),
|
|
1100
|
-
links: ExtensionLinks,
|
|
1101
|
-
});
|
|
1102
1163
|
export const ExtensionsPublishVersion201 = Schema.Struct({
|
|
1103
1164
|
owner: Handle,
|
|
1104
1165
|
type: ExtensionType,
|
|
@@ -1393,16 +1454,6 @@ export const make = (httpClient, options = {}) => {
|
|
|
1393
1454
|
"400": decodeError("AuthExchangeToken400", AuthExchangeToken400),
|
|
1394
1455
|
orElse: unexpectedStatus,
|
|
1395
1456
|
}))),
|
|
1396
|
-
AuthExchangeDeviceCode: (options) => HttpClientRequest.post(`/v1/auth/device/token`).pipe(HttpClientRequest.bodyUrlParams(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1397
|
-
"2xx": decodeSuccess(AuthExchangeDeviceCode200),
|
|
1398
|
-
"400": decodeError("AuthExchangeDeviceCode400", AuthExchangeDeviceCode400),
|
|
1399
|
-
orElse: unexpectedStatus,
|
|
1400
|
-
}))),
|
|
1401
|
-
AuthExchangeCliAuthorizationCode: (options) => HttpClientRequest.post(`/v1/auth/cli/token`).pipe(HttpClientRequest.bodyUrlParams(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1402
|
-
"2xx": decodeSuccess(AuthExchangeCliAuthorizationCode200),
|
|
1403
|
-
"400": decodeError("AuthExchangeCliAuthorizationCode400", AuthExchangeCliAuthorizationCode400),
|
|
1404
|
-
orElse: unexpectedStatus,
|
|
1405
|
-
}))),
|
|
1406
1457
|
AuthRefreshToken: (options) => HttpClientRequest.post(`/v1/auth/token/refresh`).pipe(HttpClientRequest.bodyUrlParams(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1407
1458
|
"2xx": decodeSuccess(AuthRefreshToken200),
|
|
1408
1459
|
"400": decodeError("AuthRefreshToken400", AuthRefreshToken400),
|
|
@@ -1545,6 +1596,65 @@ export const make = (httpClient, options = {}) => {
|
|
|
1545
1596
|
"404": decodeError("OrgsTeamsChangeTeamMemberRole404", OrgsTeamsChangeTeamMemberRole404),
|
|
1546
1597
|
orElse: unexpectedStatus,
|
|
1547
1598
|
}))),
|
|
1599
|
+
ListsListLists: (owner, options) => HttpClientRequest.get(`/v1/lists/${owner}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1600
|
+
"2xx": decodeSuccess(ListsListLists200),
|
|
1601
|
+
"400": decodeError("ListsListLists400", ListsListLists400),
|
|
1602
|
+
"404": decodeError("ListsListLists404", ListsListLists404),
|
|
1603
|
+
orElse: unexpectedStatus,
|
|
1604
|
+
}))),
|
|
1605
|
+
ListsCreateList: (owner, options) => HttpClientRequest.post(`/v1/lists/${owner}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1606
|
+
"2xx": decodeSuccess(ListsCreateList200),
|
|
1607
|
+
"400": decodeError("ListsCreateList400", ListsCreateList400),
|
|
1608
|
+
"401": decodeError("ListsCreateList401", ListsCreateList401),
|
|
1609
|
+
"403": decodeError("ListsCreateList403", ListsCreateList403),
|
|
1610
|
+
"404": decodeError("ListsCreateList404", ListsCreateList404),
|
|
1611
|
+
"409": decodeError("ListsCreateList409", ListsCreateList409),
|
|
1612
|
+
"422": decodeError("ListsCreateList422", ListsCreateList422),
|
|
1613
|
+
orElse: unexpectedStatus,
|
|
1614
|
+
}))),
|
|
1615
|
+
ListsGetList: (owner, name, options) => HttpClientRequest.get(`/v1/lists/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1616
|
+
"2xx": decodeSuccess(ListsGetList200),
|
|
1617
|
+
"400": decodeError("ListsGetList400", ListsGetList400),
|
|
1618
|
+
"404": decodeError("ListsGetList404", ListsGetList404),
|
|
1619
|
+
orElse: unexpectedStatus,
|
|
1620
|
+
}))),
|
|
1621
|
+
ListsDeleteList: (owner, name, options) => HttpClientRequest.delete(`/v1/lists/${owner}/${name}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1622
|
+
"400": decodeError("ListsDeleteList400", ListsDeleteList400),
|
|
1623
|
+
"401": decodeError("ListsDeleteList401", ListsDeleteList401),
|
|
1624
|
+
"403": decodeError("ListsDeleteList403", ListsDeleteList403),
|
|
1625
|
+
"404": decodeError("ListsDeleteList404", ListsDeleteList404),
|
|
1626
|
+
"204": () => Effect.void,
|
|
1627
|
+
orElse: unexpectedStatus,
|
|
1628
|
+
}))),
|
|
1629
|
+
ListsUpdateList: (owner, name, options) => HttpClientRequest.patch(`/v1/lists/${owner}/${name}`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1630
|
+
"2xx": decodeSuccess(ListsUpdateList200),
|
|
1631
|
+
"400": decodeError("ListsUpdateList400", ListsUpdateList400),
|
|
1632
|
+
"401": decodeError("ListsUpdateList401", ListsUpdateList401),
|
|
1633
|
+
"403": decodeError("ListsUpdateList403", ListsUpdateList403),
|
|
1634
|
+
"404": decodeError("ListsUpdateList404", ListsUpdateList404),
|
|
1635
|
+
"409": decodeError("ListsUpdateList409", ListsUpdateList409),
|
|
1636
|
+
"422": decodeError("ListsUpdateList422", ListsUpdateList422),
|
|
1637
|
+
orElse: unexpectedStatus,
|
|
1638
|
+
}))),
|
|
1639
|
+
ListsAddListItem: (owner, name, options) => HttpClientRequest.post(`/v1/lists/${owner}/${name}/items`).pipe(HttpClientRequest.bodyJsonUnsafe(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1640
|
+
"2xx": decodeSuccess(ListsAddListItem200),
|
|
1641
|
+
"400": decodeError("ListsAddListItem400", ListsAddListItem400),
|
|
1642
|
+
"401": decodeError("ListsAddListItem401", ListsAddListItem401),
|
|
1643
|
+
"403": decodeError("ListsAddListItem403", ListsAddListItem403),
|
|
1644
|
+
"404": decodeError("ListsAddListItem404", ListsAddListItem404),
|
|
1645
|
+
"409": decodeError("ListsAddListItem409", ListsAddListItem409),
|
|
1646
|
+
orElse: unexpectedStatus,
|
|
1647
|
+
}))),
|
|
1648
|
+
ListsRemoveListItem: (owner, name, type, extensionName, options) => HttpClientRequest.delete(`/v1/lists/${owner}/${name}/items/${type}/${extensionName}`).pipe(HttpClientRequest.setUrlParams({
|
|
1649
|
+
extensionOwner: options?.params?.["extensionOwner"],
|
|
1650
|
+
}), withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1651
|
+
"400": decodeError("ListsRemoveListItem400", ListsRemoveListItem400),
|
|
1652
|
+
"401": decodeError("ListsRemoveListItem401", ListsRemoveListItem401),
|
|
1653
|
+
"403": decodeError("ListsRemoveListItem403", ListsRemoveListItem403),
|
|
1654
|
+
"404": decodeError("ListsRemoveListItem404", ListsRemoveListItem404),
|
|
1655
|
+
"204": () => Effect.void,
|
|
1656
|
+
orElse: unexpectedStatus,
|
|
1657
|
+
}))),
|
|
1548
1658
|
ExtensionsListByOwner: (owner, options) => HttpClientRequest.get(`/v1/extensions/${owner}`).pipe(withResponse(options?.config)(HttpClientResponse.matchStatus({
|
|
1549
1659
|
"2xx": decodeSuccess(ExtensionsListByOwner200),
|
|
1550
1660
|
"400": decodeError("ExtensionsListByOwner400", ExtensionsListByOwner400),
|
|
@@ -1585,8 +1695,7 @@ export const make = (httpClient, options = {}) => {
|
|
|
1585
1695
|
orElse: unexpectedStatus,
|
|
1586
1696
|
}))),
|
|
1587
1697
|
ExtensionsPublishVersion: (owner, type, name, version, options) => HttpClientRequest.put(`/v1/extensions/${owner}/${type}/${name}/${version}`).pipe(HttpClientRequest.bodyFormData(options.payload), withResponse(options.config)(HttpClientResponse.matchStatus({
|
|
1588
|
-
"
|
|
1589
|
-
"201": decodeSuccess(ExtensionsPublishVersion201),
|
|
1698
|
+
"2xx": decodeSuccess(ExtensionsPublishVersion201),
|
|
1590
1699
|
"400": decodeError("ExtensionsPublishVersion400", ExtensionsPublishVersion400),
|
|
1591
1700
|
"401": decodeError("ExtensionsPublishVersion401", ExtensionsPublishVersion401),
|
|
1592
1701
|
"403": decodeError("ExtensionsPublishVersion403", ExtensionsPublishVersion403),
|