@apotech-os/support-kit 2.9.0 → 2.9.1
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.cjs +3 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +295 -354
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.js +295 -354
- package/dist/ui/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -5636,16 +5636,8 @@ var FUNCTION_ASSEMBLY = [
|
|
|
5636
5636
|
createHandler: () => createExtResponseComparisonHandler()
|
|
5637
5637
|
}
|
|
5638
5638
|
];
|
|
5639
|
-
function buildPromptsAllowlist(
|
|
5640
|
-
return [
|
|
5641
|
-
`${config.promptPrefix}*`,
|
|
5642
|
-
// Agent prompts are free text, conventionally `agent/<recordId>` (§3.7)
|
|
5643
|
-
// — never promptPrefix-prefixed, so they need their own glob.
|
|
5644
|
-
"agent/*",
|
|
5645
|
-
// Company-wide by design (§3.8), resolved by bare NAME off the settings
|
|
5646
|
-
// fields' own defaults — outside every audience prefix.
|
|
5647
|
-
"shared/*"
|
|
5648
|
-
];
|
|
5639
|
+
function buildPromptsAllowlist() {
|
|
5640
|
+
return ["*"];
|
|
5649
5641
|
}
|
|
5650
5642
|
function dedupe(items, keyOf) {
|
|
5651
5643
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -5662,7 +5654,7 @@ function buildMergeRole(config) {
|
|
|
5662
5654
|
const refsExcluding = (excludedObjectKeys) => kitRecords.filter((record) => !excludedObjectKeys.includes(record.objectKey)).map((record) => targetRefFor(config.slug, record.objectKey));
|
|
5663
5655
|
const kitReadRefs = refsExcluding(KIT_WRITE_ONLY_OBJECT_KEYS);
|
|
5664
5656
|
const kitWriteRefs = refsExcluding(KIT_READ_ONLY_OBJECT_KEYS);
|
|
5665
|
-
const kitPrompts = buildPromptsAllowlist(
|
|
5657
|
+
const kitPrompts = buildPromptsAllowlist();
|
|
5666
5658
|
return (role) => ({
|
|
5667
5659
|
...role,
|
|
5668
5660
|
reads: dedupe([...role.reads, ...kitReadRefs], (ref) => ref),
|