@crvouga/mockingbird-service-linear 0.0.0-stage → 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/dist/server.js ADDED
@@ -0,0 +1,13 @@
1
+ import {
2
+ DEFAULT_PORT,
3
+ createServer,
4
+ serveTarget
5
+ } from "./chunk-BKGYPHQF.js";
6
+ import "./chunk-Z3ZWNU53.js";
7
+ import "./chunk-6Z2MR3PO.js";
8
+ export {
9
+ DEFAULT_PORT,
10
+ createServer,
11
+ serveTarget
12
+ };
13
+ //# sourceMappingURL=server.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/openapi.yaml ADDED
@@ -0,0 +1,153 @@
1
+ {
2
+ "openapi": "3.1.0",
3
+ "info": {
4
+ "title": "Linear API API",
5
+ "version": "0.1.0",
6
+ "description": "Synthetic public vendor API. Licensed route ports; native SQLite namespaces and runtime controls."
7
+ },
8
+ "servers": [
9
+ {
10
+ "url": "https://api.linear.app"
11
+ }
12
+ ],
13
+ "paths": {
14
+ "/": {
15
+ "get": {
16
+ "operationId": "GET /",
17
+ "summary": "GET /",
18
+ "x-mockingbird": {
19
+ "supported": true,
20
+ "parity": {
21
+ "enabled": false,
22
+ "safe": false,
23
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
24
+ }
25
+ },
26
+ "parameters": [],
27
+ "responses": {
28
+ "default": {
29
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "/graphql": {
35
+ "get": {
36
+ "operationId": "GET /graphql",
37
+ "summary": "GET /graphql",
38
+ "x-mockingbird": {
39
+ "supported": true,
40
+ "parity": {
41
+ "enabled": false,
42
+ "safe": false,
43
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
44
+ }
45
+ },
46
+ "parameters": [],
47
+ "responses": {
48
+ "default": {
49
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
50
+ }
51
+ }
52
+ },
53
+ "post": {
54
+ "operationId": "POST /graphql",
55
+ "summary": "POST /graphql",
56
+ "x-mockingbird": {
57
+ "supported": true,
58
+ "parity": {
59
+ "enabled": false,
60
+ "safe": false,
61
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
62
+ }
63
+ },
64
+ "parameters": [],
65
+ "responses": {
66
+ "default": {
67
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
68
+ }
69
+ }
70
+ }
71
+ },
72
+ "/oauth/authorize": {
73
+ "get": {
74
+ "operationId": "GET /oauth/authorize",
75
+ "summary": "GET /oauth/authorize",
76
+ "x-mockingbird": {
77
+ "supported": true,
78
+ "parity": {
79
+ "enabled": false,
80
+ "safe": false,
81
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
82
+ }
83
+ },
84
+ "parameters": [],
85
+ "responses": {
86
+ "default": {
87
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
88
+ }
89
+ }
90
+ }
91
+ },
92
+ "/oauth/authorize/callback": {
93
+ "post": {
94
+ "operationId": "POST /oauth/authorize/callback",
95
+ "summary": "POST /oauth/authorize/callback",
96
+ "x-mockingbird": {
97
+ "supported": true,
98
+ "parity": {
99
+ "enabled": false,
100
+ "safe": false,
101
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
102
+ }
103
+ },
104
+ "parameters": [],
105
+ "responses": {
106
+ "default": {
107
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
108
+ }
109
+ }
110
+ }
111
+ },
112
+ "/oauth/revoke": {
113
+ "post": {
114
+ "operationId": "POST /oauth/revoke",
115
+ "summary": "POST /oauth/revoke",
116
+ "x-mockingbird": {
117
+ "supported": true,
118
+ "parity": {
119
+ "enabled": false,
120
+ "safe": false,
121
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
122
+ }
123
+ },
124
+ "parameters": [],
125
+ "responses": {
126
+ "default": {
127
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
128
+ }
129
+ }
130
+ }
131
+ },
132
+ "/oauth/token": {
133
+ "post": {
134
+ "operationId": "POST /oauth/token",
135
+ "summary": "POST /oauth/token",
136
+ "x-mockingbird": {
137
+ "supported": true,
138
+ "parity": {
139
+ "enabled": false,
140
+ "safe": false,
141
+ "reason": "Verified against a pinned package oracle; independent live vendor evidence is not available."
142
+ }
143
+ },
144
+ "parameters": [],
145
+ "responses": {
146
+ "default": {
147
+ "description": "Provider response. Exact behavior is exercised against the pinned package oracle; not independently vendor-verified."
148
+ }
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
package/package.json CHANGED
@@ -1,6 +1,115 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-linear",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Stateful Linear public vendor API emulator with native namespaces, checkpoints and test controls.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "files": [
9
+ "dist",
10
+ "README.md",
11
+ "CHANGELOG.md",
12
+ "API_EVIDENCE.md",
13
+ "SUPPORT.md",
14
+ "DISCOVERY.md",
15
+ "openapi.yaml",
16
+ "LICENSE_EMULATE",
17
+ "THIRD_PARTY_NOTICES.md",
18
+ "routes.json"
19
+ ],
20
+ "main": "./dist/index.js",
21
+ "types": "./dist/index.d.ts",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/index.d.ts",
25
+ "default": "./dist/index.js"
26
+ },
27
+ "./server": {
28
+ "types": "./dist/server.d.ts",
29
+ "default": "./dist/server.js"
30
+ }
31
+ },
32
+ "bin": {
33
+ "mockingbird-linear": "./dist/cli.js"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public",
37
+ "provenance": true
38
+ },
39
+ "repository": {
40
+ "type": "git",
41
+ "url": "git+https://github.com/crvouga/mockingbird.git",
42
+ "directory": "packages/service/linear"
43
+ },
44
+ "homepage": "https://github.com/crvouga/mockingbird/tree/main/packages/service/linear#readme",
45
+ "keywords": [
46
+ "mockingbird",
47
+ "service",
48
+ "linear"
49
+ ],
50
+ "mockingbird": {
51
+ "runtime": "portable",
52
+ "entries": {
53
+ "server": "node",
54
+ "cli": "node"
55
+ },
56
+ "layer": "service",
57
+ "category": "productivity",
58
+ "displayName": "Linear",
59
+ "vendor": {
60
+ "website": "https://linear.app",
61
+ "docs": "https://linear.app/developers/graphql",
62
+ "description": "GraphQL, OAuth, issues, teams, users, workflow states, comments, labels, projects, cycles, webhooks, agents, inspector"
63
+ },
64
+ "status": "wip",
65
+ "parity": "Vendor API workflows compared with the pinned Emulate package oracle",
66
+ "discovery": {
67
+ "guide": "DISCOVERY.md",
68
+ "behavior": "README.md",
69
+ "capabilities": "SUPPORT.md",
70
+ "contract": "openapi.yaml",
71
+ "types": "dist/index.d.ts",
72
+ "oracle": {
73
+ "kind": "Pinned Emulate 0.12.1 package oracle",
74
+ "command": "bun run --cwd packages/parity/package-oracle parity",
75
+ "note": "Offline vendor API comparison, native runtime controls and route coverage. This is package evidence, not independent live vendor verification. See docs/EMULATE_COVERAGE.md for reviewed differences."
76
+ },
77
+ "introspection": [
78
+ "GET /__admin/health",
79
+ "GET /__admin",
80
+ "GET /__admin/controls",
81
+ "GET /__admin/state",
82
+ "GET /__admin/requests",
83
+ "GET /__admin/metrics",
84
+ "GET /__admin/faults/presets",
85
+ "GET /__admin/ui"
86
+ ],
87
+ "reporting": "https://github.com/crvouga/mockingbird/blob/main/docs/REPORTING_ISSUES.md"
88
+ }
89
+ },
90
+ "scripts": {
91
+ "build": "bun ../../../scripts/bundle-service.ts",
92
+ "typecheck": "tsc -p tsconfig.json --noEmit",
93
+ "lint": "biome check .",
94
+ "test": "bun test --pass-with-no-tests",
95
+ "portability": "bun ../../../scripts/portability.ts",
96
+ "pack:check": "bun ../../../scripts/pack-check.ts",
97
+ "generate": "bun ../../openapi/codegen/dist/cli.js",
98
+ "generate:check": "bun ../../openapi/codegen/dist/cli.js --check",
99
+ "openapi:check": "bun ../../openapi/codegen/dist/cli.js --validate"
100
+ },
101
+ "dependencies": {
102
+ "@crvouga/mockingbird-service-sqlite": "3.3.0",
103
+ "buffer": "6.0.3",
104
+ "@noble/hashes": "2.4.0",
105
+ "jose": "6.2.2",
106
+ "graphql": "17.0.0"
107
+ },
108
+ "devDependencies": {
109
+ "@crvouga/mockingbird-service": "0.0.0-development",
110
+ "@crvouga/mockingbird-http-provider": "0.0.0-development",
111
+ "@crvouga/mockingbird-adapter-node": "0.0.0-development",
112
+ "@crvouga/mockingbird-openapi": "0.0.0-development",
113
+ "@crvouga/mockingbird-sqlite": "0.0.0-development"
114
+ }
115
+ }
package/routes.json ADDED
@@ -0,0 +1,9 @@
1
+ [
2
+ "GET /",
3
+ "GET /graphql",
4
+ "GET /oauth/authorize",
5
+ "POST /graphql",
6
+ "POST /oauth/authorize/callback",
7
+ "POST /oauth/revoke",
8
+ "POST /oauth/token"
9
+ ]