@hasna/skills 0.5.4 → 0.5.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.
@@ -213,6 +213,8 @@ export interface ServerSkillVersion {
213
213
  createdAt: string;
214
214
  }
215
215
  export interface PublishSkillInput {
216
+ /** Internal boot-seed precondition: never revive or replace non-bundled records. */
217
+ seedBundledOnly?: true;
216
218
  principal: ApiPrincipal;
217
219
  slug: string;
218
220
  displayName: string;
package/dist/storage.js CHANGED
@@ -19,14 +19,12 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- if (mod && typeof mod === "object" || typeof mod === "function") {
23
- for (let key of __getOwnPropNames(mod))
24
- if (!__hasOwnProp.call(to, key))
25
- __defProp(to, key, {
26
- get: __accessProp.bind(mod, key),
27
- enumerable: true
28
- });
29
- }
22
+ for (let key of __getOwnPropNames(mod))
23
+ if (!__hasOwnProp.call(to, key))
24
+ __defProp(to, key, {
25
+ get: __accessProp.bind(mod, key),
26
+ enumerable: true
27
+ });
30
28
  if (canCache)
31
29
  cache.set(mod, to);
32
30
  return to;
@@ -1072,32 +1070,32 @@ function toArrayBuffer(bytes) {
1072
1070
  return buffer;
1073
1071
  }
1074
1072
  export {
1075
- SKILLS_NATIVE_STORAGE_ENV,
1076
- SKILLS_NATIVE_STORAGE_FALLBACK_ENV,
1077
- SKILLS_STORAGE_ENV,
1078
- SKILLS_STORAGE_FALLBACK_ENV,
1079
- SKILLS_STORAGE_TABLES,
1080
- STORAGE_TABLES,
1081
- SkillsPostgresSyncStore,
1082
- SkillsS3ObjectStore,
1083
- buildSkillsS3ObjectUrl,
1084
- createSkillsPostgresSyncStore,
1085
- createSkillsS3ObjectStore,
1086
- createSkillsSnapshotSyncRecord,
1087
- exportSkillsLocalSnapshot,
1088
- getSkillsNativeStorageStatus,
1089
- getSkillsStorageDatabaseEnv,
1090
- getSkillsStorageDatabaseUrl,
1091
- getSkillsStorageStatus,
1092
- getStorageDatabaseEnv,
1093
- getStorageDatabaseUrl,
1094
- getStorageStatus,
1095
- importSkillsLocalSnapshot,
1096
- planSkillsS3SnapshotUpload,
1097
- resolveSkillsNativeStorageConfig,
1098
- resolveStorageConfig,
1099
- signSkillsAwsV4Request,
1100
- skillsPostgresSyncSchemaSql,
1073
+ uploadSkillsSnapshotFilesToS3,
1101
1074
  storageCapabilities,
1102
- uploadSkillsSnapshotFilesToS3
1075
+ skillsPostgresSyncSchemaSql,
1076
+ signSkillsAwsV4Request,
1077
+ resolveStorageConfig,
1078
+ resolveSkillsNativeStorageConfig,
1079
+ planSkillsS3SnapshotUpload,
1080
+ importSkillsLocalSnapshot,
1081
+ getStorageStatus,
1082
+ getStorageDatabaseUrl,
1083
+ getStorageDatabaseEnv,
1084
+ getSkillsStorageStatus,
1085
+ getSkillsStorageDatabaseUrl,
1086
+ getSkillsStorageDatabaseEnv,
1087
+ getSkillsNativeStorageStatus,
1088
+ exportSkillsLocalSnapshot,
1089
+ createSkillsSnapshotSyncRecord,
1090
+ createSkillsS3ObjectStore,
1091
+ createSkillsPostgresSyncStore,
1092
+ buildSkillsS3ObjectUrl,
1093
+ SkillsS3ObjectStore,
1094
+ SkillsPostgresSyncStore,
1095
+ STORAGE_TABLES,
1096
+ SKILLS_STORAGE_TABLES,
1097
+ SKILLS_STORAGE_FALLBACK_ENV,
1098
+ SKILLS_STORAGE_ENV,
1099
+ SKILLS_NATIVE_STORAGE_FALLBACK_ENV,
1100
+ SKILLS_NATIVE_STORAGE_ENV
1103
1101
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/skills",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Skills library for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {