@pasko70/pibo 1.3.3 → 1.3.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pasko70/pibo",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "type": "module",
5
5
  "description": "Minimal TypeScript wrapper around Pi Coding Agent.",
6
6
  "files": [
@@ -1,17 +0,0 @@
1
- export const SHARED_APP_SCOPE = "shared:app";
2
- export const SHARED_PRINCIPAL_ID = "shared:app";
3
- export function compatibleOwnerScopes(ownerScope) {
4
- if (!ownerScope || ownerScope === SHARED_APP_SCOPE)
5
- return [SHARED_APP_SCOPE];
6
- return [ownerScope, SHARED_APP_SCOPE];
7
- }
8
- export function compatiblePrincipalIds(principalId) {
9
- if (!principalId || principalId === SHARED_PRINCIPAL_ID)
10
- return [SHARED_PRINCIPAL_ID];
11
- return [principalId, SHARED_PRINCIPAL_ID];
12
- }
13
- export function isCompatibleOwnerScope(actual, expected) {
14
- if (!expected)
15
- return true;
16
- return compatibleOwnerScopes(expected).includes(actual ?? SHARED_APP_SCOPE);
17
- }