@unbrained/pm-http 0.0.0-stage → 2026.10.29

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.
Files changed (47) hide show
  1. package/ARCHITECTURE.md +59 -0
  2. package/CHANGELOG.md +24 -0
  3. package/LICENSE +21 -0
  4. package/README.md +186 -2
  5. package/dist/index.d.ts +116 -0
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/index.js +30 -0
  8. package/dist/index.js.map +1 -0
  9. package/dist/src/api.d.ts +56 -0
  10. package/dist/src/api.d.ts.map +1 -0
  11. package/dist/src/api.js +200 -0
  12. package/dist/src/api.js.map +1 -0
  13. package/dist/src/capture.d.ts +23 -0
  14. package/dist/src/capture.d.ts.map +1 -0
  15. package/dist/src/capture.js +113 -0
  16. package/dist/src/capture.js.map +1 -0
  17. package/dist/src/commands.d.ts +6 -0
  18. package/dist/src/commands.d.ts.map +1 -0
  19. package/dist/src/commands.js +84 -0
  20. package/dist/src/commands.js.map +1 -0
  21. package/dist/src/core.d.ts +36 -0
  22. package/dist/src/core.d.ts.map +1 -0
  23. package/dist/src/core.js +75 -0
  24. package/dist/src/core.js.map +1 -0
  25. package/dist/src/derive.d.ts +62 -0
  26. package/dist/src/derive.d.ts.map +1 -0
  27. package/dist/src/derive.js +139 -0
  28. package/dist/src/derive.js.map +1 -0
  29. package/dist/src/policy.d.ts +29 -0
  30. package/dist/src/policy.d.ts.map +1 -0
  31. package/dist/src/policy.js +137 -0
  32. package/dist/src/policy.js.map +1 -0
  33. package/dist/src/store.d.ts +42 -0
  34. package/dist/src/store.d.ts.map +1 -0
  35. package/dist/src/store.js +124 -0
  36. package/dist/src/store.js.map +1 -0
  37. package/dist/src/transport.d.ts +9 -0
  38. package/dist/src/transport.d.ts.map +1 -0
  39. package/dist/src/transport.js +144 -0
  40. package/dist/src/transport.js.map +1 -0
  41. package/dist/src/types.d.ts +140 -0
  42. package/dist/src/types.d.ts.map +1 -0
  43. package/dist/src/types.js +2 -0
  44. package/dist/src/types.js.map +1 -0
  45. package/docs/real-data.md +20 -0
  46. package/manifest.json +14 -0
  47. package/package.json +150 -4
package/package.json CHANGED
@@ -1,6 +1,152 @@
1
1
  {
2
2
  "name": "@unbrained/pm-http",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "2026.10.29",
4
+ "description": "Task-scoped HTTP investigation evidence, bounded contracts and difference packets",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/unbraind/pm-http.git"
8
+ },
9
+ "bugs": {
10
+ "url": "https://github.com/unbraind/pm-http/issues"
11
+ },
12
+ "homepage": "https://github.com/unbraind/pm-http#readme",
13
+ "type": "module",
14
+ "main": "dist/index.js",
15
+ "types": "dist/index.d.ts",
16
+ "files": [
17
+ "dist/",
18
+ "manifest.json",
19
+ "README.md",
20
+ "LICENSE",
21
+ "CHANGELOG.md",
22
+ "ARCHITECTURE.md",
23
+ "docs/real-data.md"
24
+ ],
25
+ "scripts": {
26
+ "build": "tsc",
27
+ "build:test": "tsc -p tsconfig.test.json",
28
+ "test": "npm run build && npm run build:test && node --test --test-concurrency=2 test/*.test.ts",
29
+ "test:install": "npm run build && node --test --test-concurrency=2 test/install.acceptance.ts",
30
+ "prepack": "npm run build",
31
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json",
32
+ "check": "npm run typecheck",
33
+ "docstring": "node scripts/docstring-gate.ts",
34
+ "lint": "node scripts/lint.ts",
35
+ "duplication": "node scripts/duplication-gate.ts",
36
+ "audit:prod": "node --input-type=module -e \"import { spawnSync } from 'node:child_process'; import { npmEnvironment } from './scripts/environment.ts'; const env = npmEnvironment(process.env); const win = process.platform === 'win32'; const r = spawnSync(win ? 'npm.cmd' : 'npm', ['audit', '--omit=dev', '--ignore-scripts'], { stdio: 'inherit', env, shell: win }); process.exit(r.status ?? 1);\"",
37
+ "pack:dry-run": "npm pack --dry-run",
38
+ "changelog": "pm-changelog --pm-root .agents/pm --mode prepend --output CHANGELOG.md --release-version-from-package --date-from-version --since-previous-tag --until-release-tag --item-url-base https://github.com/unbraind/pm-http/blob/main/.agents/pm --respect-item-release --status closed,in_progress --pm-bin ./node_modules/.bin/pm --pm-arg=--output-budget --pm-arg=unbounded --pm-arg=--output-limit --pm-arg=unbounded --pm-arg=--output-include --pm-arg=full --include-empty",
39
+ "changelog:full": "pm-changelog --pm-root .agents/pm --mode replace --output CHANGELOG.md --all-release-tags --release-version-from-package --date-from-version --item-url-base https://github.com/unbraind/pm-http/blob/main/.agents/pm --respect-item-release --status closed,in_progress --pm-bin ./node_modules/.bin/pm --pm-arg=--output-budget --pm-arg=unbounded --pm-arg=--output-limit --pm-arg=unbounded --pm-arg=--output-include --pm-arg=full --include-empty",
40
+ "changelog:check": "pm-changelog --pm-root .agents/pm --mode replace --output CHANGELOG.md --all-release-tags --release-version-from-package --date-from-version --item-url-base https://github.com/unbraind/pm-http/blob/main/.agents/pm --respect-item-release --status closed,in_progress --check --pm-bin ./node_modules/.bin/pm --pm-arg=--output-budget --pm-arg=unbounded --pm-arg=--output-limit --pm-arg=unbounded --pm-arg=--output-include --pm-arg=full --include-empty",
41
+ "release:check": "npm run identity:check && npm run typecheck && npm run lint && npm run duplication && npm run build && npm run docstring && npm run coverage && npm run audit:prod && npm run pack:dry-run && npm run changelog:check && npm run verify:release-publish-attestation && npm run test:install",
42
+ "prepublishOnly": "npm run release:check",
43
+ "release:notes": "pm-changelog --pm-root .agents/pm --stdout --since-previous-tag --until-release-tag --release-version-from-package --date-from-version --item-url-base https://github.com/unbraind/pm-http/blob/main/.agents/pm --respect-item-release --status closed,in_progress --pm-bin ./node_modules/.bin/pm --github-step-summary --pm-arg=--output-budget --pm-arg=unbounded --pm-arg=--output-limit --pm-arg=unbounded --pm-arg=--output-include --pm-arg=full --include-empty",
44
+ "prepare": "node scripts/prepare-merge-driver.ts",
45
+ "merge:install": "pm merge install",
46
+ "coverage": "npm run build && npm run build:test && node scripts/coverage-gate.ts",
47
+ "verify:release-publish-attestation": "node scripts/verify-release-publish-attestation.ts",
48
+ "identity:check": "node scripts/identity-gate.ts",
49
+ "test:real-data": "npm run build && node test/real-data.acceptance.ts",
50
+ "test:revert": "node test/revert.acceptance.ts",
51
+ "changelog:automation": "npm run changelog:full -- --include-empty"
52
+ },
53
+ "peerDependencies": {
54
+ "@unbrained/pm-cli": ">=2026.10.28"
55
+ },
56
+ "devDependencies": {
57
+ "@babel/eslint-parser": "8.0.7",
58
+ "@babel/parser": "8.1.0",
59
+ "@babel/plugin-syntax-typescript": "8.0.3",
60
+ "@types/node": "26.6.6",
61
+ "@unbrained/pm-cli": "2026.11.10",
62
+ "c8": "^12.0.0",
63
+ "eslint": "10.14.0",
64
+ "fast-glob": "3.3.3",
65
+ "jscpd": "5.4.3",
66
+ "pm-changelog": "2026.11.7",
67
+ "pm-ops": "2026.11.14",
68
+ "typescript": "7.0.2",
69
+ "yaml": "2.9.1"
70
+ },
71
+ "keywords": [
72
+ "pm-cli",
73
+ "pm-extension",
74
+ "http",
75
+ "context",
76
+ "agents"
77
+ ],
78
+ "license": "MIT",
79
+ "engines": {
80
+ "node": ">=22.18.0"
81
+ },
82
+ "author": "@unbraind",
83
+ "pm": {
84
+ "aliases": [
85
+ "http"
86
+ ],
87
+ "extensions": [
88
+ "."
89
+ ],
90
+ "catalog": {
91
+ "display_name": "pm-http",
92
+ "category": "workflow",
93
+ "summary": "Task-scoped HTTP investigation evidence, bounded contracts and difference packets",
94
+ "tags": [
95
+ "http",
96
+ "context",
97
+ "agents"
98
+ ],
99
+ "links": {
100
+ "docs": "https://github.com/unbraind/pm-http#readme",
101
+ "npm": "https://www.npmjs.com/package/@unbrained/pm-http",
102
+ "repository": "https://github.com/unbraind/pm-http",
103
+ "report": "https://github.com/unbraind/pm-http/issues"
104
+ }
105
+ },
106
+ "docs": [
107
+ "README.md",
108
+ "CHANGELOG.md",
109
+ "ARCHITECTURE.md"
110
+ ],
111
+ "examples": [
112
+ "README.md"
113
+ ]
114
+ },
115
+ "publishConfig": {
116
+ "access": "public"
117
+ },
118
+ "coverageGate": {
119
+ "sources": [
120
+ "src",
121
+ "scripts",
122
+ "index.ts",
123
+ "eslint.config.ts"
124
+ ],
125
+ "tests": [
126
+ "test/*.test.ts"
127
+ ],
128
+ "thresholds": {
129
+ "statements": 100,
130
+ "branches": 100,
131
+ "functions": 100,
132
+ "lines": 100
133
+ },
134
+ "ignore": []
135
+ },
136
+ "duplicationGate": {
137
+ "threshold": 0,
138
+ "minTokens": 50
139
+ },
140
+ "exports": {
141
+ ".": {
142
+ "types": "./dist/index.d.ts",
143
+ "default": "./dist/index.js"
144
+ }
145
+ },
146
+ "dependencies": {
147
+ "@toon-format/toon": "^4.4.0"
148
+ },
149
+ "overrides": {
150
+ "minimatch": "^11.0.1"
151
+ }
152
+ }