pika-shared 1.4.1 → 1.4.3

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.
@@ -56,7 +56,8 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
56
56
  websiteEnabled: false
57
57
  },
58
58
  tags: {
59
- tagsEnabled: []
59
+ tagsEnabled: [],
60
+ tagsDisabled: []
60
61
  },
61
62
  agentInstructionAssistance: {
62
63
  enabled: false,
@@ -65,7 +66,9 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
65
66
  completeExampleInstructionEnabled: false,
66
67
  completeExampleInstructionLine: void 0,
67
68
  jsonOnlyImperativeInstructionEnabled: false,
68
- jsonOnlyImperativeInstructionLine: void 0
69
+ jsonOnlyImperativeInstructionLine: void 0,
70
+ includeTypescriptBackedOutputFormattingRequirements: false,
71
+ typescriptBackedOutputFormattingRequirements: void 0
69
72
  },
70
73
  instructionAugmentation: {
71
74
  enabled: false,
@@ -153,7 +156,8 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
153
156
  result.chatDisclaimerNotice = disclaimerResult.notice;
154
157
  const effectiveTagsFeature = chatApp.override?.features?.tags || chatApp.features?.tags;
155
158
  result.tags = handleSimpleFeature("tags", effectiveTagsFeature, siteFeatures?.tags, result.tags, (feature) => ({
156
- tagsEnabled: feature.tagsEnabled ?? []
159
+ tagsEnabled: feature.tagsEnabled ?? [],
160
+ tagsDisabled: feature.tagsDisabled ?? []
157
161
  }));
158
162
  const effectiveAgentInstructionAssistanceFeature = chatApp.override?.features?.agentInstructionAssistance || chatApp.features?.agentInstructionAssistance;
159
163
  result.agentInstructionAssistance = handleSimpleFeature(
@@ -168,7 +172,9 @@ function getOverridableFeatures(siteFeatures, chatApp, user) {
168
172
  completeExampleInstructionEnabled: feature.completeExampleInstructionLine?.enabled ?? false,
169
173
  completeExampleInstructionLine: feature.completeExampleInstructionLine?.mdLine ?? void 0,
170
174
  jsonOnlyImperativeInstructionEnabled: feature.jsonOnlyImperativeInstructionLine?.enabled ?? false,
171
- jsonOnlyImperativeInstructionLine: feature.jsonOnlyImperativeInstructionLine?.line ?? void 0
175
+ jsonOnlyImperativeInstructionLine: feature.jsonOnlyImperativeInstructionLine?.line ?? void 0,
176
+ includeTypescriptBackedOutputFormattingRequirements: feature.includeTypescriptBackedOutputFormattingRequirements?.enabled ?? false,
177
+ typescriptBackedOutputFormattingRequirements: feature.typescriptBackedOutputFormattingRequirements ?? void 0
172
178
  })
173
179
  );
174
180
  const effectiveInstructionAugmentationFeature = chatApp.override?.features?.instructionAugmentation || chatApp.features?.instructionAugmentation;