@hasna/skills 0.1.68 → 0.1.70

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.js CHANGED
@@ -488,6 +488,14 @@ var DEVELOPMENT_TOOLS_SKILLS = [
488
488
  category: "Development Tools",
489
489
  tags: ["config", "validation", "schema", "linting"]
490
490
  },
491
+ {
492
+ name: "oss-app-two-backend-storage",
493
+ displayName: "OSS App Two-Backend Storage",
494
+ description: "Recipe for the Hasna two-backend storage contract: client transport + HTTP store, server PG/SQLite backend, pg-migrations + apply script, fail-closed URL-without-key, bun bins, contract manifest, Dockerfile",
495
+ category: "Development Tools",
496
+ tags: ["storage", "backend", "postgresql", "sqlite", "two-backend", "oss-app"],
497
+ kind: "instruction"
498
+ },
491
499
  {
492
500
  name: "session-inject-monitor",
493
501
  displayName: "Session Inject Monitor",
@@ -10342,7 +10350,7 @@ import { dirname as dirname8, relative as relative3 } from "path";
10342
10350
  // package.json
10343
10351
  var package_default = {
10344
10352
  name: "@hasna/skills",
10345
- version: "0.1.68",
10353
+ version: "0.1.70",
10346
10354
  description: "Skills library for AI coding agents",
10347
10355
  type: "module",
10348
10356
  bin: {
@@ -10364,6 +10372,10 @@ var package_default = {
10364
10372
  "./sdk": {
10365
10373
  import: "./dist/sdk/index.js",
10366
10374
  types: "./dist/sdk/index.d.ts"
10375
+ },
10376
+ "./admin-contract": {
10377
+ import: "./dist/admin-contract.js",
10378
+ types: "./dist/admin-contract.d.ts"
10367
10379
  }
10368
10380
  },
10369
10381
  files: [
@@ -10382,14 +10394,15 @@ var package_default = {
10382
10394
  types: "./dist/index.d.ts",
10383
10395
  scripts: {
10384
10396
  clean: "rm -rf bin/ dist/",
10385
- build: "bun run clean && bun build ./src/cli/index.tsx --outdir ./bin --target bun && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
10386
- "build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
10397
+ build: "bun run clean && bun build ./src/cli/index.tsx --outdir ./bin --target bun && bun build ./src/mcp/index.ts --outfile ./bin/mcp.js --target bun && bun build ./src/server/index.ts --outfile ./bin/server.js --target bun && bun build ./src/server/worker.ts --outfile ./bin/worker.js --target bun && bun build ./src/server/migrate.ts --outfile ./bin/migrate.js --target bun && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
10398
+ "build:js": "rm -rf dist && bun build ./src/index.ts ./src/storage.ts ./src/sdk/index.ts ./src/admin-contract.ts --outdir ./dist --target bun && tsc --emitDeclarationOnly --declaration --outDir dist",
10387
10399
  test: "bun test --timeout 30000",
10388
10400
  dev: "bun run ./src/cli/index.tsx",
10389
10401
  "dev:watch": "bun --watch run ./src/cli/index.tsx",
10390
10402
  "dev:mcp": "bun --watch run ./src/mcp/index.ts",
10391
10403
  "dev:server": "bun --watch run ./src/server/index.ts",
10392
10404
  "dev:worker": "bun --watch run ./src/server/worker.ts",
10405
+ "docker:check": "bash scripts/docker-build-check.sh",
10393
10406
  migrate: "bun run ./src/server/migrate.ts",
10394
10407
  typecheck: "tsc --noEmit",
10395
10408
  "verify:release": "bun run scripts/release-guard.ts",
@@ -10422,7 +10435,8 @@ var package_default = {
10422
10435
  "@types/react": "^18.2.0",
10423
10436
  "bun-types": "1.3.14",
10424
10437
  "react-devtools-core": "^7.0.1",
10425
- typescript: "^5"
10438
+ typescript: "^5",
10439
+ yaml: "^2.9.0"
10426
10440
  },
10427
10441
  dependencies: {
10428
10442
  "@aws-sdk/client-ecs": "^3.1079.0",