@agentconnect.md/setup 2.9.0-rc.10 → 2.9.0-rc.11

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 CHANGED
@@ -67253,6 +67253,14 @@ function sameStrings$1(left, right) {
67253
67253
  /** Returns only public App settings; secrets never appear in this diff. */
67254
67254
  function diffSlackManifest(actual, expected) {
67255
67255
  const diff = [];
67256
+ const actualCodeChannels = asRecord$1(asRecord$1(actual.features).code_channels);
67257
+ const expectedCodeChannels = asRecord$1(asRecord$1(expected.features).code_channels);
67258
+ if (actualCodeChannels.enabled !== expectedCodeChannels.enabled) diff.push({
67259
+ id: "features.code_channels.enabled",
67260
+ field: "Slack Code enabled",
67261
+ current: actualCodeChannels.enabled ?? null,
67262
+ expected: expectedCodeChannels.enabled ?? null
67263
+ });
67256
67264
  const actualOauth = asRecord$1(actual.oauth_config);
67257
67265
  const expectedOauth = asRecord$1(expected.oauth_config);
67258
67266
  const actualScopes = asRecord$1(actualOauth.scopes);
@@ -67314,6 +67322,8 @@ function diffSlackManifest(actual, expected) {
67314
67322
  }
67315
67323
  /** `actual` with every field `diffSlackManifest` inspects brought to `expected`, everything else kept, so reconcile-then-diff is empty. */
67316
67324
  function reconcileSlackManifest(actual, expected) {
67325
+ const actualFeatures = asRecord$1(actual.features);
67326
+ const expectedFeatures = asRecord$1(expected.features);
67317
67327
  const actualOauth = asRecord$1(actual.oauth_config);
67318
67328
  const expectedOauth = asRecord$1(expected.oauth_config);
67319
67329
  const actualScopes = asRecord$1(actualOauth.scopes);
@@ -67328,6 +67338,13 @@ function reconcileSlackManifest(actual, expected) {
67328
67338
  const urlOf = (value, key) => typeof value === "string" ? { [key]: value } : {};
67329
67339
  return {
67330
67340
  ...actual,
67341
+ features: {
67342
+ ...actualFeatures,
67343
+ code_channels: {
67344
+ ...asRecord$1(actualFeatures.code_channels),
67345
+ enabled: asRecord$1(expectedFeatures.code_channels).enabled
67346
+ }
67347
+ },
67331
67348
  oauth_config: {
67332
67349
  ...actualOauth,
67333
67350
  redirect_urls: asStrings(expectedOauth.redirect_urls),