@dogpile/sdk 0.1.1 → 0.2.0
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 +14 -0
- package/README.md +20 -8
- package/dist/browser/index.js +3773 -4061
- package/dist/browser/index.js.map +1 -1
- package/dist/providers/openai-compatible.d.ts.map +1 -1
- package/dist/providers/openai-compatible.js +51 -8
- package/dist/providers/openai-compatible.js.map +1 -1
- package/package.json +19 -7
- package/src/providers/openai-compatible.ts +62 -8
- package/src/runtime/broadcast.test.ts +0 -355
- package/src/runtime/coordinator.test.ts +0 -468
- package/src/runtime/sequential.test.ts +0 -262
- package/src/runtime/shared.test.ts +0 -265
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
- Prepared the Snow Leopard hardening release identity for `@dogpile/sdk@0.2.0` and `dogpile-sdk-0.2.0.tgz`.
|
|
6
|
+
- Centralized release identity checks so manifest, README, changelog, package guard, package export tests, and pack metadata assertions drift together.
|
|
7
|
+
- Normalized OpenAI-compatible fetch/network failures into stable `DogpileError` provider codes.
|
|
8
|
+
- Tightened the publishable source allowlist so runtime test files stay out of the npm tarball.
|
|
9
|
+
- Added a deterministic `pnpm run benchmark:baseline` timing harness for protocol-loop baseline comparisons without making a performance claim.
|
|
10
|
+
- Corrected benchmark reproduction documentation paths and commands to point at the live `src/benchmark/config.test.ts` suite.
|
|
11
|
+
|
|
12
|
+
## 0.1.2
|
|
13
|
+
|
|
14
|
+
- Cleaned up the README release verification section so the npm package page has readable gate descriptions instead of a single dense paragraph.
|
|
15
|
+
- Prepared the patch release identity for `@dogpile/sdk@0.1.2` and `dogpile-sdk-0.1.2.tgz`.
|
|
16
|
+
|
|
3
17
|
## 0.1.1
|
|
4
18
|
|
|
5
19
|
- Updated npm package metadata after the GitHub repository transfer from `zakkeown/dogpile` to `bubstack/dogpile`.
|
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.
|
|
106
|
-
`@dogpile/sdk@0.
|
|
105
|
+
The local tarball is named `dogpile-sdk-0.2.0.tgz` for the scoped package
|
|
106
|
+
`@dogpile/sdk@0.2.0`. 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.
|
|
112
|
+
pnpm add ../dogpile/packed/dogpile-sdk-0.2.0.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.
|
|
119
|
-
yarn add ../dogpile/packed/dogpile-sdk-0.
|
|
120
|
-
bun add ../dogpile/packed/dogpile-sdk-0.
|
|
118
|
+
npm install ../dogpile/packed/dogpile-sdk-0.2.0.tgz
|
|
119
|
+
yarn add ../dogpile/packed/dogpile-sdk-0.2.0.tgz
|
|
120
|
+
bun add ../dogpile/packed/dogpile-sdk-0.2.0.tgz
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
## Versioning and Stability
|
|
@@ -140,15 +140,27 @@ 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
|
|
146
147
|
pnpm run publish:check
|
|
147
148
|
```
|
|
148
149
|
|
|
149
|
-
|
|
150
|
+
What each gate proves:
|
|
150
151
|
|
|
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.
|
|
153
|
+
- `package:artifacts` verifies that package metadata references only emitted runtime JavaScript and TypeScript declaration files covered by `package.json` `files`.
|
|
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.
|
|
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.
|
|
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.
|
|
158
|
+
- `consumer:smoke` is kept as the same packed-tarball quickstart smoke command for compatibility.
|
|
159
|
+
- `verify` rebuilds `dist`, runs the package artifact guard, runs the packed-tarball quickstart smoke, runs strict typecheck, and then runs the test suite.
|
|
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`.
|
|
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.
|
|
162
|
+
|
|
163
|
+
The release identity is `@dogpile/sdk@0.2.0`. A real `pnpm pack` or `npm pack` for this scoped package produces the local tarball `dogpile-sdk-0.2.0.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.
|
|
152
164
|
|
|
153
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.
|
|
154
166
|
|