@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.js
CHANGED
|
@@ -3894,16 +3894,8 @@ var FUNCTION_ASSEMBLY = [
|
|
|
3894
3894
|
createHandler: () => createExtResponseComparisonHandler()
|
|
3895
3895
|
}
|
|
3896
3896
|
];
|
|
3897
|
-
function buildPromptsAllowlist(
|
|
3898
|
-
return [
|
|
3899
|
-
`${config.promptPrefix}*`,
|
|
3900
|
-
// Agent prompts are free text, conventionally `agent/<recordId>` (§3.7)
|
|
3901
|
-
// — never promptPrefix-prefixed, so they need their own glob.
|
|
3902
|
-
"agent/*",
|
|
3903
|
-
// Company-wide by design (§3.8), resolved by bare NAME off the settings
|
|
3904
|
-
// fields' own defaults — outside every audience prefix.
|
|
3905
|
-
"shared/*"
|
|
3906
|
-
];
|
|
3897
|
+
function buildPromptsAllowlist() {
|
|
3898
|
+
return ["*"];
|
|
3907
3899
|
}
|
|
3908
3900
|
function dedupe(items, keyOf) {
|
|
3909
3901
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -3920,7 +3912,7 @@ function buildMergeRole(config) {
|
|
|
3920
3912
|
const refsExcluding = (excludedObjectKeys) => kitRecords.filter((record) => !excludedObjectKeys.includes(record.objectKey)).map((record) => targetRefFor(config.slug, record.objectKey));
|
|
3921
3913
|
const kitReadRefs = refsExcluding(KIT_WRITE_ONLY_OBJECT_KEYS);
|
|
3922
3914
|
const kitWriteRefs = refsExcluding(KIT_READ_ONLY_OBJECT_KEYS);
|
|
3923
|
-
const kitPrompts = buildPromptsAllowlist(
|
|
3915
|
+
const kitPrompts = buildPromptsAllowlist();
|
|
3924
3916
|
return (role) => ({
|
|
3925
3917
|
...role,
|
|
3926
3918
|
reads: dedupe([...role.reads, ...kitReadRefs], (ref) => ref),
|