@workos/oagen 0.26.1 → 0.27.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/cli/index.mjs +20 -1
- package/dist/cli/index.mjs.map +1 -1
- package/dist/compat/index.d.mts +6 -3
- package/dist/compat/index.d.mts.map +1 -1
- package/dist/compat/index.mjs +656 -39
- package/dist/compat/index.mjs.map +1 -1
- package/dist/{differ-HVvbbyUV.d.mts → differ-BoYl2n6Y.d.mts} +2 -2
- package/dist/{differ-HVvbbyUV.d.mts.map → differ-BoYl2n6Y.d.mts.map} +1 -1
- package/dist/index.d.mts +35 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +39 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{overlay-DcvsIx5P.mjs → overlay-jsSkFJ2g.mjs} +21 -2
- package/dist/overlay-jsSkFJ2g.mjs.map +1 -0
- package/dist/{types-owWZiSwD.d.mts → types-CIAqYpcV.d.mts} +11 -3
- package/dist/types-CIAqYpcV.d.mts.map +1 -0
- package/dist/verify/index.d.mts +2 -2
- package/dist/verify/index.mjs +1 -1
- package/docs/agents/emitters.md +17 -0
- package/examples/reference-emitter/src/generators/client.ts +5 -1
- package/examples/reference-emitter/src/generators/models.ts +3 -2
- package/examples/reference-emitter/src/generators/resources.ts +2 -2
- package/package.json +1 -1
- package/skills/check-emitter-parity/SKILL.md +11 -0
- package/dist/overlay-DcvsIx5P.mjs.map +0 -1
- package/dist/types-owWZiSwD.d.mts.map +0 -1
package/dist/cli/index.mjs
CHANGED
|
@@ -7890,6 +7890,14 @@ const LANGUAGE_DEFAULTS = {
|
|
|
7890
7890
|
overloadsArePublicApi: false,
|
|
7891
7891
|
arityIsPublicApi: true
|
|
7892
7892
|
},
|
|
7893
|
+
ios: {
|
|
7894
|
+
callerUsesParamNames: true,
|
|
7895
|
+
constructorOrderMatters: true,
|
|
7896
|
+
methodParameterNamesArePublicApi: true,
|
|
7897
|
+
constructorParameterNamesArePublicApi: true,
|
|
7898
|
+
overloadsArePublicApi: true,
|
|
7899
|
+
arityIsPublicApi: false
|
|
7900
|
+
},
|
|
7893
7901
|
node: {
|
|
7894
7902
|
callerUsesParamNames: false,
|
|
7895
7903
|
constructorOrderMatters: false,
|
|
@@ -7966,6 +7974,7 @@ function apiSurfaceToSnapshot(surface) {
|
|
|
7966
7974
|
sourceKind: "generated_service_wrapper",
|
|
7967
7975
|
parameters: method.params.map((p, i) => apiParamToCompatParam(p, i, language)),
|
|
7968
7976
|
returns: { name: method.returnType },
|
|
7977
|
+
...method.isStatic !== void 0 ? { isStatic: method.isStatic } : {},
|
|
7969
7978
|
...cls.sourceFile ? { sourceFile: cls.sourceFile } : {}
|
|
7970
7979
|
});
|
|
7971
7980
|
}
|
|
@@ -8258,7 +8267,8 @@ const BREAKING_CATEGORIES = new Set([
|
|
|
8258
8267
|
"union_wrapper_migration_without_compat_alias",
|
|
8259
8268
|
"field_type_changed",
|
|
8260
8269
|
"return_type_changed",
|
|
8261
|
-
"enum_member_value_changed"
|
|
8270
|
+
"enum_member_value_changed",
|
|
8271
|
+
"staticness_changed"
|
|
8262
8272
|
]);
|
|
8263
8273
|
const SOFT_RISK_CATEGORIES = new Set([
|
|
8264
8274
|
"parameter_added_non_terminal_optional",
|
|
@@ -8319,6 +8329,15 @@ function classifySymbolChanges(baseline, candidate, policy) {
|
|
|
8319
8329
|
policy,
|
|
8320
8330
|
specRef
|
|
8321
8331
|
}));
|
|
8332
|
+
if (baseline.isStatic !== void 0 && candidate.isStatic !== void 0 && baseline.isStatic !== candidate.isStatic) changes.push(makeChange({
|
|
8333
|
+
category: "staticness_changed",
|
|
8334
|
+
symbol: baseline.fqName,
|
|
8335
|
+
old: { static: String(baseline.isStatic) },
|
|
8336
|
+
new: { static: String(candidate.isStatic) },
|
|
8337
|
+
message: `"${baseline.displayName}" changed from ${baseline.isStatic ? "static" : "instance"} to ${candidate.isStatic ? "static" : "instance"} — call sites must migrate`,
|
|
8338
|
+
policy,
|
|
8339
|
+
specRef
|
|
8340
|
+
}));
|
|
8322
8341
|
if (baseline.typeRef && candidate.typeRef && baseline.typeRef.name !== candidate.typeRef.name) changes.push(makeChange({
|
|
8323
8342
|
category: "field_type_changed",
|
|
8324
8343
|
symbol: baseline.fqName,
|