@dogpile/sdk 0.1.2 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ - Prepared the security patch release identity for `@dogpile/sdk@0.2.1` and `dogpile-sdk-0.2.1.tgz`.
6
+ - Added explicit read-only GitHub Actions workflow permissions for release validation jobs.
7
+ - Reworked package identity command scanning to avoid ReDoS-prone install command regexes.
8
+ - Hardened the Hugging Face upload GUI example's markdown table escaping.
9
+
10
+ ## 0.2.0
11
+
12
+ - Prepared the Snow Leopard hardening release identity for `@dogpile/sdk@0.2.0` and `dogpile-sdk-0.2.0.tgz`.
13
+ - Centralized release identity checks so manifest, README, changelog, package guard, package export tests, and pack metadata assertions drift together.
14
+ - Normalized OpenAI-compatible fetch/network failures into stable `DogpileError` provider codes.
15
+ - Tightened the publishable source allowlist so runtime test files stay out of the npm tarball.
16
+ - Added a deterministic `pnpm run benchmark:baseline` timing harness for protocol-loop baseline comparisons without making a performance claim.
17
+ - Corrected benchmark reproduction documentation paths and commands to point at the live `src/benchmark/config.test.ts` suite.
18
+
3
19
  ## 0.1.2
4
20
 
5
21
  - Cleaned up the README release verification section so the npm package page has readable gate descriptions instead of a single dense paragraph.
package/README.md CHANGED
@@ -102,22 +102,22 @@ pnpm run build
102
102
  pnpm pack --pack-destination ./packed
103
103
  ```
104
104
 
105
- The local tarball is named `dogpile-sdk-0.1.2.tgz` for the scoped package
106
- `@dogpile/sdk@0.1.2`. Install that tarball into a fresh consumer project:
105
+ The local tarball is named `dogpile-sdk-0.2.1.tgz` for the scoped package
106
+ `@dogpile/sdk@0.2.1`. Install that tarball into a fresh consumer project:
107
107
 
108
108
  ```sh
109
109
  mkdir ../dogpile-quickstart
110
110
  cd ../dogpile-quickstart
111
111
  pnpm init
112
- pnpm add ../dogpile/packed/dogpile-sdk-0.1.2.tgz
112
+ pnpm add ../dogpile/packed/dogpile-sdk-0.2.1.tgz
113
113
  ```
114
114
 
115
115
  Equivalent install commands for other supported package managers are:
116
116
 
117
117
  ```sh
118
- npm install ../dogpile/packed/dogpile-sdk-0.1.2.tgz
119
- yarn add ../dogpile/packed/dogpile-sdk-0.1.2.tgz
120
- bun add ../dogpile/packed/dogpile-sdk-0.1.2.tgz
118
+ npm install ../dogpile/packed/dogpile-sdk-0.2.1.tgz
119
+ yarn add ../dogpile/packed/dogpile-sdk-0.2.1.tgz
120
+ bun add ../dogpile/packed/dogpile-sdk-0.2.1.tgz
121
121
  ```
122
122
 
123
123
  ## Versioning and Stability
@@ -140,6 +140,7 @@ Before publishing, run the local package gates:
140
140
  pnpm run package:identity
141
141
  pnpm run package:artifacts
142
142
  pnpm run browser:smoke
143
+ pnpm run benchmark:baseline
143
144
  pnpm run quickstart:smoke
144
145
  pnpm run verify
145
146
  pnpm run pack:check
@@ -151,6 +152,7 @@ What each gate proves:
151
152
  - `package:identity` asserts the scoped npm package name `@dogpile/sdk`, the current release identity, required package metadata, and release-facing references in source, docs, tests, and CI.
152
153
  - `package:artifacts` verifies that package metadata references only emitted runtime JavaScript and TypeScript declaration files covered by `package.json` `files`.
153
154
  - `browser:smoke` rebuilds the browser ESM bundle and imports `@dogpile/sdk` through the package root `browser` condition.
155
+ - `benchmark:baseline` rebuilds `dist`, runs the deterministic protocol-loop timing harness, and prints repeatable JSON for local before/after comparisons.
154
156
  - `quickstart:smoke` creates a real `pnpm pack` tarball, installs it into a fresh consumer project, and asserts the dependency and lockfile resolve `@dogpile/sdk` from the `.tgz` instead of `workspace:` or `link:` metadata.
155
157
  - `quickstart:smoke` also verifies installed entrypoints and `dist` imports do not resolve through local source imports, imports every public package subpath from the installed tarball, runs the marked README quickstart, runs `tsc --noEmit` from the consumer project, verifies private helper files are absent from the installed tarball, and proves private helper subpaths remain blocked by package exports.
156
158
  - `consumer:smoke` is kept as the same packed-tarball quickstart smoke command for compatibility.
@@ -158,7 +160,7 @@ What each gate proves:
158
160
  - `pack:check` runs package identity, rebuilds `dist`, verifies package artifacts, runs the packed-tarball quickstart smoke, checks packed JavaScript source maps and declaration maps, and finishes with `npm pack --dry-run`.
159
161
  - `publish:check` runs `verify`, reruns the package artifact guard, and then runs `npm publish --dry-run` so the package metadata, export map, and publishable files are checked without publishing.
160
162
 
161
- The release identity is `@dogpile/sdk@0.1.2`. A real `pnpm pack` or `npm pack` for this scoped package produces the local tarball `dogpile-sdk-0.1.2.tgz`; the dry-run package gate must report that tarball filename and the scoped npm package name before publish. See `CHANGELOG.md` for release notes and breaking-change documentation.
163
+ The release identity is `@dogpile/sdk@0.2.1`. A real `pnpm pack` or `npm pack` for this scoped package produces the local tarball `dogpile-sdk-0.2.1.tgz`; the dry-run package gate must report that tarball filename and the scoped npm package name before publish. See `CHANGELOG.md` for release notes and breaking-change documentation.
162
164
 
163
165
  The browser ESM target is emitted at `dist/browser/index.js` with `dist/browser/index.js.map`; both the package root `browser` condition and the explicit `@dogpile/sdk/browser` subpath resolve to that bundled artifact.
164
166