@agentxm/client-core 0.6.0 → 0.6.2

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.
Files changed (60) hide show
  1. package/dist/src/unstable/auth/auth-client.d.ts +17 -3
  2. package/dist/src/unstable/auth/auth-client.d.ts.map +1 -1
  3. package/dist/src/unstable/auth/auth-client.js +127 -58
  4. package/dist/src/unstable/auth/auth-client.js.map +1 -1
  5. package/dist/src/unstable/auth/credential-store.d.ts +5 -4
  6. package/dist/src/unstable/auth/credential-store.d.ts.map +1 -1
  7. package/dist/src/unstable/auth/credential-store.js +115 -9
  8. package/dist/src/unstable/auth/credential-store.js.map +1 -1
  9. package/dist/src/unstable/auth/device-login.d.ts +4 -1
  10. package/dist/src/unstable/auth/device-login.d.ts.map +1 -1
  11. package/dist/src/unstable/auth/device-login.js +13 -15
  12. package/dist/src/unstable/auth/device-login.js.map +1 -1
  13. package/dist/src/unstable/auth/index.d.ts +4 -1
  14. package/dist/src/unstable/auth/index.d.ts.map +1 -1
  15. package/dist/src/unstable/auth/index.js +3 -0
  16. package/dist/src/unstable/auth/index.js.map +1 -1
  17. package/dist/src/unstable/auth/login-strategy.d.ts +21 -0
  18. package/dist/src/unstable/auth/login-strategy.d.ts.map +1 -0
  19. package/dist/src/unstable/auth/login-strategy.js +25 -0
  20. package/dist/src/unstable/auth/login-strategy.js.map +1 -0
  21. package/dist/src/unstable/auth/loopback-login.d.ts +16 -0
  22. package/dist/src/unstable/auth/loopback-login.d.ts.map +1 -0
  23. package/dist/src/unstable/auth/loopback-login.js +86 -0
  24. package/dist/src/unstable/auth/loopback-login.js.map +1 -0
  25. package/dist/src/unstable/auth/loopback-server.d.ts +36 -0
  26. package/dist/src/unstable/auth/loopback-server.d.ts.map +1 -0
  27. package/dist/src/unstable/auth/loopback-server.js +136 -0
  28. package/dist/src/unstable/auth/loopback-server.js.map +1 -0
  29. package/dist/src/unstable/commands/operations/publish.js +1 -1
  30. package/dist/src/unstable/commands/operations/publish.js.map +1 -1
  31. package/dist/src/unstable/mcp-servers/operations/publish.js +1 -1
  32. package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -1
  33. package/dist/src/unstable/packs/operations/publish.js +1 -1
  34. package/dist/src/unstable/packs/operations/publish.js.map +1 -1
  35. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +170 -96
  36. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -1
  37. package/dist/src/unstable/registry/__generated__/registry-client.js +152 -64
  38. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -1
  39. package/dist/src/unstable/settings/schema.d.ts.map +1 -1
  40. package/dist/src/unstable/settings/schema.js +39 -34
  41. package/dist/src/unstable/settings/schema.js.map +1 -1
  42. package/dist/src/unstable/skills/operations/publish.js +1 -1
  43. package/dist/src/unstable/skills/operations/publish.js.map +1 -1
  44. package/dist/src/unstable/subagents/operations/publish.js +1 -1
  45. package/dist/src/unstable/subagents/operations/publish.js.map +1 -1
  46. package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +3 -0
  47. package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -1
  48. package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +1 -0
  49. package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -1
  50. package/dist/src/unstable/telemetry/client.d.ts.map +1 -1
  51. package/dist/src/unstable/telemetry/client.js +9 -1
  52. package/dist/src/unstable/telemetry/client.js.map +1 -1
  53. package/dist/src/unstable/utils/build-zip-archive.d.ts +8 -7
  54. package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -1
  55. package/dist/src/unstable/utils/build-zip-archive.js +42 -52
  56. package/dist/src/unstable/utils/build-zip-archive.js.map +1 -1
  57. package/package.json +5 -2
  58. package/site-content/__generated__/schemas/settings.schema.json +36 -39
  59. package/site-content/docs/quickstart.md +4 -1
  60. package/site-content/install.md +4 -3
@@ -1 +1 @@
1
- {"version":3,"file":"publish.js","sourceR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CAAC;IAE/E,+BAA+B;IAC/B,MAAM,YAAY,GAAiB;QACjC,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;QACnC,SAAS;QACT,GAAG,CAAC,QAAQ,CAAC,iBAAiB,KAAK,SAAS,IAAI;YAC9C,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB;SAC9C,CAAC;KACH,CAAC;IAEF,mCAAmC;IACnC,KAAK,CAAC,CAAC,MAAM;SACV,gBAAgB,CAAC;QAChB,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,OAAO;QACP,QAAQ,EAAE,YAAY;KACvB,CAAC;SACD,IAAI,CACH,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,YAAY,CAAC;QACX,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,mCAAmC;QAC5C,KAAK,EAAE,CAAC;KACT,CAAC,CACH,CACF,CAAC;IAEJ,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,aAAa,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,OAAO,EAAE;KACjC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../../src/unstable/mcp-servers/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,O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,GAAG,CAAC,KAAK;QAChB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,OAAO;QACP,QAAQ,EAAE,YAAY;KACvB,CAAC;SACD,IAAI,CACH,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,YAAY,CAAC;QACX,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,mCAAmC;QAC5C,KAAK,EAAE,CAAC;KACT,CAAC,CACH,CACF,CAAC;IAEJ,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,aAAa,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,OAAO,EAAE;KACjC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
@@ -71,7 +71,7 @@ export const publishPack = (op) => Effect.gen(function* () {
71
71
  cause: e,
72
72
  })));
73
73
  // Build zip archive from pack directory
74
- const archive = yield* buildZipArchive(packDir, "PUBLISH_PACK_ARCHIVE_FAILED");
74
+ const archive = yield* buildZipArchive(packDir);
75
75
  // Compute integrity
76
76
  const integrity = yield* computeIntegrity(archive);
77
77
  // Resolve target registry source
@@ -1 +1 @@
1
- {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EACL,kBAAkB,EAElB,sBAAsB,GACvB,M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IAEF,mCAAmC;IACnC,KAAK,CAAC,CAAC,MAAM;SACV,gBAAgB,CAAC;QAChB,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,OAAO;QACP,QAAQ,EAAE,YAAY;KACvB,CAAC;SACD,IAAI,CACH,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,YAAY,CAAC;QACX,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,mCAAmC;QAC5C,KAAK,EAAE,CAAC;KACT,CAAC,CACH,CACF,CAAC;IAEJ,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,aAAa,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,OAAO,EAAE;KACjC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../../../src/unstable/packs/operations/publish.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EACL,kBAAkB,EAElB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM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,OAAO;QACzB,OAAO;QACP,QAAQ,EAAE,YAAY;KACvB,CAAC;SACD,IAAI,CACH,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CACpB,YAAY,CAAC;QACX,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,mCAAmC;QAC5C,KAAK,EAAE,CAAC;KACT,CAAC,CACH,CACF,CAAC;IAEJ,OAAO;QACL,MAAM,EAAE,SAAS;QACjB,OAAO,EAAE,aAAa,EAAE,CAAC,IAAI,CAAC,IAAI,IAAI,QAAQ,CAAC,OAAO,EAAE;KACjC,CAAC;AAC5B,CAAC,CAAC,CAAC"}
@@ -84,52 +84,16 @@ export declare const SessionTokenResponse: Schema.Struct<{
84
84
  readonly expires_at: Schema.String;
85
85
  readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
86
86
  }>;
87
- export type DeviceTokenOAuthError = {
88
- readonly kind: "DeviceTokenOAuthError";
89
- readonly error: "invalid_request" | "authorization_pending" | "slow_down" | "expired_token" | "access_denied";
87
+ export type TokenOAuthError = {
88
+ readonly kind: "TokenOAuthError";
89
+ readonly error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope" | "authorization_pending" | "slow_down" | "expired_token" | "access_denied";
90
90
  readonly error_description: string;
91
91
  };
92
- export declare const DeviceTokenOAuthError: Schema.Struct<{
93
- readonly kind: Schema.Literal<"DeviceTokenOAuthError">;
94
- readonly error: Schema.Literals<readonly ["invalid_request", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
92
+ export declare const TokenOAuthError: Schema.Struct<{
93
+ readonly kind: Schema.Literal<"TokenOAuthError">;
94
+ readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
95
95
  readonly error_description: Schema.String;
96
96
  }>;
97
- export type RefreshSessionTokenResponse = {
98
- readonly access_token: string;
99
- readonly refresh_token: string;
100
- readonly token_type: "Bearer";
101
- readonly expires_in: number;
102
- readonly expires_at: string;
103
- readonly scope?: string | null;
104
- };
105
- export declare const RefreshSessionTokenResponse: Schema.Struct<{
106
- readonly access_token: Schema.String;
107
- readonly refresh_token: Schema.String;
108
- readonly token_type: Schema.Literal<"Bearer">;
109
- readonly expires_in: Schema.Number;
110
- readonly expires_at: Schema.String;
111
- readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
112
- }>;
113
- export type RefreshTokenError = {
114
- readonly kind: "RefreshTokenError";
115
- readonly type: string;
116
- readonly title: string;
117
- readonly status: number;
118
- readonly detail: string;
119
- readonly instance?: string;
120
- readonly code: string;
121
- readonly details?: unknown;
122
- };
123
- export declare const RefreshTokenError: Schema.Struct<{
124
- readonly kind: Schema.Literal<"RefreshTokenError">;
125
- readonly type: Schema.String;
126
- readonly title: Schema.String;
127
- readonly status: Schema.Number;
128
- readonly detail: Schema.String;
129
- readonly instance: Schema.optionalKey<Schema.String>;
130
- readonly code: Schema.String;
131
- readonly details: Schema.optionalKey<Schema.Unknown>;
132
- }>;
133
97
  export type UserId = string;
134
98
  export declare const UserId: Schema.String;
135
99
  export type ResourceRestrictions = {
@@ -228,8 +192,8 @@ export type ExtensionName = string;
228
192
  export declare const ExtensionName: Schema.String;
229
193
  export type ExtensionType = "skill" | "command" | "mcp-server" | "subagent" | "file" | "rule" | "pack";
230
194
  export declare const ExtensionType: Schema.Literals<readonly ["skill", "command", "mcp-server", "subagent", "file", "rule", "pack"]>;
231
- export type ExactSemverVersion = string;
232
- export declare const ExactSemverVersion: Schema.String;
195
+ export type Version = string;
196
+ export declare const Version: Schema.String;
233
197
  export type Author = {
234
198
  readonly name?: string | null;
235
199
  readonly email?: string | null;
@@ -240,8 +204,8 @@ export declare const Author: Schema.Struct<{
240
204
  readonly email: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
241
205
  readonly url: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
242
206
  }>;
243
- export type VersionConstraint = string;
244
- export declare const VersionConstraint: Schema.String;
207
+ export type VersionRange = string;
208
+ export declare const VersionRange: Schema.String;
245
209
  export type PatchVisibilityBody = {
246
210
  readonly visibility?: "public" | "internal" | "private" | null;
247
211
  readonly listed?: boolean | null;
@@ -707,7 +671,7 @@ export type PublishIdentity = {
707
671
  readonly owner: Handle;
708
672
  readonly type: ExtensionType;
709
673
  readonly name: ExtensionName;
710
- readonly version: ExactSemverVersion;
674
+ readonly version: Version;
711
675
  };
712
676
  export declare const PublishIdentity: Schema.Struct<{
713
677
  readonly owner: Schema.String;
@@ -719,7 +683,7 @@ export type SearchHit = {
719
683
  readonly name: ExtensionName;
720
684
  readonly owner: Handle;
721
685
  readonly type: ExtensionType;
722
- readonly latestVersion: ExactSemverVersion;
686
+ readonly latestVersion: Version;
723
687
  readonly description?: string | null;
724
688
  readonly repository?: string | null;
725
689
  readonly license?: string | null;
@@ -1003,18 +967,28 @@ export declare const AuthIssueDeviceCode500: Schema.Struct<{
1003
967
  readonly requiredRole: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1004
968
  }>>;
1005
969
  }>;
1006
- export type AuthExchangeDeviceCodeRequestFormUrlEncoded = {
970
+ export type AuthExchangeTokenRequestFormUrlEncoded = {
1007
971
  readonly grant_type: string;
1008
- readonly device_code: string;
1009
- readonly client_id: string;
972
+ readonly code?: string | null;
973
+ readonly code_verifier?: string | null;
974
+ readonly client_id?: string | null;
975
+ readonly redirect_uri?: string | null;
976
+ readonly device_code?: string | null;
977
+ readonly refresh_token?: string | null;
978
+ readonly scope?: string | null;
1010
979
  };
1011
- export declare const AuthExchangeDeviceCodeRequestFormUrlEncoded: Schema.Struct<{
980
+ export declare const AuthExchangeTokenRequestFormUrlEncoded: Schema.Struct<{
1012
981
  readonly grant_type: Schema.String;
1013
- readonly device_code: Schema.String;
1014
- readonly client_id: Schema.String;
982
+ readonly code: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
983
+ readonly code_verifier: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
984
+ readonly client_id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
985
+ readonly redirect_uri: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
986
+ readonly device_code: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
987
+ readonly refresh_token: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
988
+ readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1015
989
  }>;
1016
- export type AuthExchangeDeviceCode200 = SessionTokenResponse;
1017
- export declare const AuthExchangeDeviceCode200: Schema.Struct<{
990
+ export type AuthExchangeToken200 = SessionTokenResponse;
991
+ export declare const AuthExchangeToken200: Schema.Struct<{
1018
992
  readonly access_token: Schema.String;
1019
993
  readonly refresh_token: Schema.String;
1020
994
  readonly token_type: Schema.Literal<"Bearer">;
@@ -1022,8 +996,8 @@ export declare const AuthExchangeDeviceCode200: Schema.Struct<{
1022
996
  readonly expires_at: Schema.String;
1023
997
  readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1024
998
  }>;
1025
- export type AuthExchangeDeviceCode400 = InvalidRequestError | DecodeErrorResponse | DeviceTokenOAuthError;
1026
- export declare const AuthExchangeDeviceCode400: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
999
+ export type AuthExchangeToken400 = InvalidRequestError | DecodeErrorResponse | TokenOAuthError;
1000
+ export declare const AuthExchangeToken400: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
1027
1001
  readonly kind: Schema.Literal<"InvalidRequestError">;
1028
1002
  readonly type: Schema.String;
1029
1003
  readonly title: Schema.String;
@@ -1047,22 +1021,73 @@ export declare const AuthExchangeDeviceCode400: Schema.Union<readonly [Schema.Un
1047
1021
  readonly instance: Schema.optionalKey<Schema.String>;
1048
1022
  readonly code: Schema.String;
1049
1023
  }>]>, Schema.Struct<{
1050
- readonly kind: Schema.Literal<"DeviceTokenOAuthError">;
1051
- readonly error: Schema.Literals<readonly ["invalid_request", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
1024
+ readonly kind: Schema.Literal<"TokenOAuthError">;
1025
+ readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
1052
1026
  readonly error_description: Schema.String;
1053
1027
  }>]>;
1054
- export type AuthRefreshTokenRequestFormUrlEncoded = {
1055
- readonly grant_type: "refresh_token";
1028
+ export type AuthExchangeDeviceCodeRequestFormUrlEncoded = {
1029
+ readonly grant_type: string;
1030
+ readonly device_code: string;
1031
+ readonly client_id: string;
1032
+ };
1033
+ export declare const AuthExchangeDeviceCodeRequestFormUrlEncoded: Schema.Struct<{
1034
+ readonly grant_type: Schema.String;
1035
+ readonly device_code: Schema.String;
1036
+ readonly client_id: Schema.String;
1037
+ }>;
1038
+ export type AuthExchangeDeviceCode200 = {
1039
+ readonly access_token: string;
1056
1040
  readonly refresh_token: string;
1057
- readonly client_id?: string | null;
1041
+ readonly token_type: "Bearer";
1042
+ readonly expires_in: number;
1043
+ readonly expires_at: string;
1044
+ readonly scope?: string | null;
1058
1045
  };
1059
- export declare const AuthRefreshTokenRequestFormUrlEncoded: Schema.Struct<{
1060
- readonly grant_type: Schema.Literal<"refresh_token">;
1046
+ export declare const AuthExchangeDeviceCode200: Schema.Struct<{
1047
+ readonly access_token: Schema.String;
1061
1048
  readonly refresh_token: Schema.String;
1062
- readonly client_id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1049
+ readonly token_type: Schema.Literal<"Bearer">;
1050
+ readonly expires_in: Schema.Number;
1051
+ readonly expires_at: Schema.String;
1052
+ readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1063
1053
  }>;
1064
- export type AuthRefreshToken200 = RefreshSessionTokenResponse;
1065
- export declare const AuthRefreshToken200: Schema.Struct<{
1054
+ export type AuthExchangeDeviceCode400 = TokenOAuthError | DecodeErrorResponse;
1055
+ export declare const AuthExchangeDeviceCode400: Schema.Union<readonly [Schema.Struct<{
1056
+ readonly kind: Schema.Literal<"TokenOAuthError">;
1057
+ readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
1058
+ readonly error_description: Schema.String;
1059
+ }>, Schema.Struct<{
1060
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
1061
+ readonly type: Schema.String;
1062
+ readonly title: Schema.String;
1063
+ readonly status: Schema.Number;
1064
+ readonly detail: Schema.String;
1065
+ readonly instance: Schema.optionalKey<Schema.String>;
1066
+ readonly code: Schema.String;
1067
+ }>]>;
1068
+ export type AuthExchangeCliAuthorizationCodeRequestFormUrlEncoded = {
1069
+ readonly grant_type: string;
1070
+ readonly code: string;
1071
+ readonly code_verifier: string;
1072
+ readonly client_id: string;
1073
+ readonly redirect_uri: string;
1074
+ };
1075
+ export declare const AuthExchangeCliAuthorizationCodeRequestFormUrlEncoded: Schema.Struct<{
1076
+ readonly grant_type: Schema.String;
1077
+ readonly code: Schema.String;
1078
+ readonly code_verifier: Schema.String;
1079
+ readonly client_id: Schema.String;
1080
+ readonly redirect_uri: Schema.String;
1081
+ }>;
1082
+ export type AuthExchangeCliAuthorizationCode200 = {
1083
+ readonly access_token: string;
1084
+ readonly refresh_token: string;
1085
+ readonly token_type: "Bearer";
1086
+ readonly expires_in: number;
1087
+ readonly expires_at: string;
1088
+ readonly scope?: string | null;
1089
+ };
1090
+ export declare const AuthExchangeCliAuthorizationCode200: Schema.Struct<{
1066
1091
  readonly access_token: Schema.String;
1067
1092
  readonly refresh_token: Schema.String;
1068
1093
  readonly token_type: Schema.Literal<"Bearer">;
@@ -1070,8 +1095,12 @@ export declare const AuthRefreshToken200: Schema.Struct<{
1070
1095
  readonly expires_at: Schema.String;
1071
1096
  readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1072
1097
  }>;
1073
- export type AuthRefreshToken400 = DecodeErrorResponse;
1074
- export declare const AuthRefreshToken400: Schema.Struct<{
1098
+ export type AuthExchangeCliAuthorizationCode400 = TokenOAuthError | DecodeErrorResponse;
1099
+ export declare const AuthExchangeCliAuthorizationCode400: Schema.Union<readonly [Schema.Struct<{
1100
+ readonly kind: Schema.Literal<"TokenOAuthError">;
1101
+ readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
1102
+ readonly error_description: Schema.String;
1103
+ }>, Schema.Struct<{
1075
1104
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
1076
1105
  readonly type: Schema.String;
1077
1106
  readonly title: Schema.String;
@@ -1079,26 +1108,57 @@ export declare const AuthRefreshToken400: Schema.Struct<{
1079
1108
  readonly detail: Schema.String;
1080
1109
  readonly instance: Schema.optionalKey<Schema.String>;
1081
1110
  readonly code: Schema.String;
1111
+ }>]>;
1112
+ export type AuthRefreshTokenRequestFormUrlEncoded = {
1113
+ readonly grant_type: "refresh_token";
1114
+ readonly refresh_token: string;
1115
+ readonly client_id?: string | null;
1116
+ };
1117
+ export declare const AuthRefreshTokenRequestFormUrlEncoded: Schema.Struct<{
1118
+ readonly grant_type: Schema.Literal<"refresh_token">;
1119
+ readonly refresh_token: Schema.String;
1120
+ readonly client_id: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1121
+ }>;
1122
+ export type AuthRefreshToken200 = {
1123
+ readonly access_token: string;
1124
+ readonly refresh_token: string;
1125
+ readonly token_type: "Bearer";
1126
+ readonly expires_in: number;
1127
+ readonly expires_at: string;
1128
+ readonly scope?: string | null;
1129
+ };
1130
+ export declare const AuthRefreshToken200: Schema.Struct<{
1131
+ readonly access_token: Schema.String;
1132
+ readonly refresh_token: Schema.String;
1133
+ readonly token_type: Schema.Literal<"Bearer">;
1134
+ readonly expires_in: Schema.Number;
1135
+ readonly expires_at: Schema.String;
1136
+ readonly scope: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1082
1137
  }>;
1083
- export type AuthRefreshToken401 = RefreshTokenError;
1084
- export declare const AuthRefreshToken401: Schema.Struct<{
1085
- readonly kind: Schema.Literal<"RefreshTokenError">;
1138
+ export type AuthRefreshToken400 = TokenOAuthError | DecodeErrorResponse;
1139
+ export declare const AuthRefreshToken400: Schema.Union<readonly [Schema.Struct<{
1140
+ readonly kind: Schema.Literal<"TokenOAuthError">;
1141
+ readonly error: Schema.Literals<readonly ["invalid_request", "invalid_client", "invalid_grant", "unauthorized_client", "unsupported_grant_type", "invalid_scope", "authorization_pending", "slow_down", "expired_token", "access_denied"]>;
1142
+ readonly error_description: Schema.String;
1143
+ }>, Schema.Struct<{
1144
+ readonly kind: Schema.Literal<"DecodeErrorResponse">;
1086
1145
  readonly type: Schema.String;
1087
1146
  readonly title: Schema.String;
1088
1147
  readonly status: Schema.Number;
1089
1148
  readonly detail: Schema.String;
1090
1149
  readonly instance: Schema.optionalKey<Schema.String>;
1091
1150
  readonly code: Schema.String;
1092
- readonly details: Schema.optionalKey<Schema.Unknown>;
1093
- }>;
1094
- export type AuthRevokeTokenRequestFormUrlEncoded = {
1151
+ }>]>;
1152
+ export type AuthRevokeOAuthTokenRequestFormUrlEncoded = {
1095
1153
  readonly token: string;
1154
+ readonly token_type_hint?: "refresh_token" | "access_token" | null;
1096
1155
  };
1097
- export declare const AuthRevokeTokenRequestFormUrlEncoded: Schema.Struct<{
1156
+ export declare const AuthRevokeOAuthTokenRequestFormUrlEncoded: Schema.Struct<{
1098
1157
  readonly token: Schema.String;
1158
+ readonly token_type_hint: Schema.optionalKey<Schema.Union<readonly [Schema.Literals<readonly ["refresh_token", "access_token"]>, Schema.Null]>>;
1099
1159
  }>;
1100
- export type AuthRevokeToken400 = DecodeErrorResponse;
1101
- export declare const AuthRevokeToken400: Schema.Struct<{
1160
+ export type AuthRevokeOAuthToken400 = DecodeErrorResponse;
1161
+ export declare const AuthRevokeOAuthToken400: Schema.Struct<{
1102
1162
  readonly kind: Schema.Literal<"DecodeErrorResponse">;
1103
1163
  readonly type: Schema.String;
1104
1164
  readonly title: Schema.String;
@@ -2024,7 +2084,7 @@ export type ExtensionsListByOwner200 = {
2024
2084
  readonly name: ExtensionName;
2025
2085
  readonly owner: Handle;
2026
2086
  readonly type: ExtensionType;
2027
- readonly latestVersion: ExactSemverVersion;
2087
+ readonly latestVersion: Version;
2028
2088
  readonly description?: string | null;
2029
2089
  readonly repository?: string | null;
2030
2090
  readonly license?: string | null;
@@ -2068,7 +2128,7 @@ export type ExtensionsListByType200 = {
2068
2128
  readonly name: ExtensionName;
2069
2129
  readonly owner: Handle;
2070
2130
  readonly type: ExtensionType;
2071
- readonly latestVersion: ExactSemverVersion;
2131
+ readonly latestVersion: Version;
2072
2132
  readonly description?: string | null;
2073
2133
  readonly repository?: string | null;
2074
2134
  readonly license?: string | null;
@@ -2116,11 +2176,11 @@ export type ExtensionsGet200 = {
2116
2176
  readonly license?: string | null;
2117
2177
  readonly authors?: ReadonlyArray<Author> | null;
2118
2178
  readonly versions: ReadonlyArray<{
2119
- readonly version: ExactSemverVersion;
2179
+ readonly version: Version;
2120
2180
  readonly published: IsoDateTimeString;
2121
2181
  readonly integrity: string;
2122
2182
  readonly dependencies?: {
2123
- readonly [x: string]: VersionConstraint;
2183
+ readonly [x: string]: VersionRange;
2124
2184
  } | null;
2125
2185
  readonly companionPackages?: ReadonlyArray<string> | null;
2126
2186
  readonly yanked_at?: IsoDateTimeString | null;
@@ -2300,7 +2360,7 @@ export type ExtensionsGetVersion200 = {
2300
2360
  readonly name: ExtensionName;
2301
2361
  readonly owner: Handle;
2302
2362
  readonly type: ExtensionType;
2303
- readonly version: ExactSemverVersion;
2363
+ readonly version: Version;
2304
2364
  readonly status: "pending" | "available" | "failed";
2305
2365
  readonly published: IsoDateTimeString;
2306
2366
  readonly integrity: string;
@@ -2309,7 +2369,7 @@ export type ExtensionsGetVersion200 = {
2309
2369
  readonly license?: string | null;
2310
2370
  readonly authors?: ReadonlyArray<Author> | null;
2311
2371
  readonly dependencies?: {
2312
- readonly [x: string]: VersionConstraint;
2372
+ readonly [x: string]: VersionRange;
2313
2373
  } | null;
2314
2374
  readonly companionPackages?: ReadonlyArray<string> | null;
2315
2375
  readonly yanked_at?: IsoDateTimeString | null;
@@ -2375,7 +2435,7 @@ export type ExtensionsPublishVersion200 = {
2375
2435
  readonly owner: Handle;
2376
2436
  readonly type: ExtensionType;
2377
2437
  readonly name: ExtensionName;
2378
- readonly version: ExactSemverVersion;
2438
+ readonly version: Version;
2379
2439
  readonly integrity: string;
2380
2440
  readonly sha256_hex: string;
2381
2441
  readonly published_at: IsoDateTimeString;
@@ -2395,7 +2455,7 @@ export type ExtensionsPublishVersion201 = {
2395
2455
  readonly owner: Handle;
2396
2456
  readonly type: ExtensionType;
2397
2457
  readonly name: ExtensionName;
2398
- readonly version: ExactSemverVersion;
2458
+ readonly version: Version;
2399
2459
  readonly integrity: string;
2400
2460
  readonly sha256_hex: string;
2401
2461
  readonly published_at: IsoDateTimeString;
@@ -2920,7 +2980,7 @@ export type ExtensionsYankVersion200 = {
2920
2980
  readonly owner: Handle;
2921
2981
  readonly type: ExtensionType;
2922
2982
  readonly name: ExtensionName;
2923
- readonly version: ExactSemverVersion;
2983
+ readonly version: Version;
2924
2984
  readonly yankedAt: IsoDateTimeString | null;
2925
2985
  };
2926
2986
  export declare const ExtensionsYankVersion200: Schema.Struct<{
@@ -2995,7 +3055,7 @@ export type ExtensionsUnyankVersion200 = {
2995
3055
  readonly owner: Handle;
2996
3056
  readonly type: ExtensionType;
2997
3057
  readonly name: ExtensionName;
2998
- readonly version: ExactSemverVersion;
3058
+ readonly version: Version;
2999
3059
  readonly yankedAt: null;
3000
3060
  };
3001
3061
  export declare const ExtensionsUnyankVersion200: Schema.Struct<{
@@ -3736,26 +3796,40 @@ export interface RegistryClient {
3736
3796
  readonly config?: Config | undefined;
3737
3797
  }) => Effect.Effect<WithOptionalResponse<typeof AuthIssueDeviceCode200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthIssueDeviceCode400", typeof AuthIssueDeviceCode400.Type> | RegistryClientError<"AuthIssueDeviceCode500", typeof AuthIssueDeviceCode500.Type>>;
3738
3798
  /**
3739
- * Exchange device code for access token (RFC 8628 polling)
3799
+ * Exchange OAuth grant for access token
3800
+ */
3801
+ readonly AuthExchangeToken: <Config extends OperationConfig>(options: {
3802
+ readonly payload: typeof AuthExchangeTokenRequestFormUrlEncoded.Encoded;
3803
+ readonly config?: Config | undefined;
3804
+ }) => Effect.Effect<WithOptionalResponse<typeof AuthExchangeToken200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthExchangeToken400", typeof AuthExchangeToken400.Type>>;
3805
+ /**
3806
+ * Deprecated: exchange device code for access token
3740
3807
  */
3741
3808
  readonly AuthExchangeDeviceCode: <Config extends OperationConfig>(options: {
3742
3809
  readonly payload: typeof AuthExchangeDeviceCodeRequestFormUrlEncoded.Encoded;
3743
3810
  readonly config?: Config | undefined;
3744
3811
  }) => Effect.Effect<WithOptionalResponse<typeof AuthExchangeDeviceCode200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthExchangeDeviceCode400", typeof AuthExchangeDeviceCode400.Type>>;
3745
3812
  /**
3746
- * Exchange refresh token for new token pair
3813
+ * Deprecated: exchange AXM CLI authorization code for access token
3814
+ */
3815
+ readonly AuthExchangeCliAuthorizationCode: <Config extends OperationConfig>(options: {
3816
+ readonly payload: typeof AuthExchangeCliAuthorizationCodeRequestFormUrlEncoded.Encoded;
3817
+ readonly config?: Config | undefined;
3818
+ }) => Effect.Effect<WithOptionalResponse<typeof AuthExchangeCliAuthorizationCode200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthExchangeCliAuthorizationCode400", typeof AuthExchangeCliAuthorizationCode400.Type>>;
3819
+ /**
3820
+ * Deprecated: exchange refresh token
3747
3821
  */
3748
3822
  readonly AuthRefreshToken: <Config extends OperationConfig>(options: {
3749
3823
  readonly payload: typeof AuthRefreshTokenRequestFormUrlEncoded.Encoded;
3750
3824
  readonly config?: Config | undefined;
3751
- }) => Effect.Effect<WithOptionalResponse<typeof AuthRefreshToken200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRefreshToken400", typeof AuthRefreshToken400.Type> | RegistryClientError<"AuthRefreshToken401", typeof AuthRefreshToken401.Type>>;
3825
+ }) => Effect.Effect<WithOptionalResponse<typeof AuthRefreshToken200.Type, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRefreshToken400", typeof AuthRefreshToken400.Type>>;
3752
3826
  /**
3753
- * Revoke an authentication token
3827
+ * Revoke an OAuth token (RFC 7009)
3754
3828
  */
3755
- readonly AuthRevokeToken: <Config extends OperationConfig>(options: {
3756
- readonly payload: typeof AuthRevokeTokenRequestFormUrlEncoded.Encoded;
3829
+ readonly AuthRevokeOAuthToken: <Config extends OperationConfig>(options: {
3830
+ readonly payload: typeof AuthRevokeOAuthTokenRequestFormUrlEncoded.Encoded;
3757
3831
  readonly config?: Config | undefined;
3758
- }) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRevokeToken400", typeof AuthRevokeToken400.Type>>;
3832
+ }) => Effect.Effect<WithOptionalResponse<void, Config>, HttpClientError.HttpClientError | SchemaError | RegistryClientError<"AuthRevokeOAuthToken400", typeof AuthRevokeOAuthToken400.Type>>;
3759
3833
  /**
3760
3834
  * Return authenticated user info
3761
3835
  */