@every-app/sdk 0.3.0-rc.3 → 0.3.0-rc.4

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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/cloudflare/index.d.ts +1 -1
  3. package/dist/cloudflare/index.d.ts.map +1 -1
  4. package/dist/cloudflare/sentinel.d.ts +21 -4
  5. package/dist/cloudflare/sentinel.d.ts.map +1 -1
  6. package/dist/cloudflare/sentinel.js +8 -4
  7. package/dist/cloudflare/worker.d.ts +181 -6
  8. package/dist/cloudflare/worker.d.ts.map +1 -1
  9. package/dist/cloudflare/worker.js +194 -11
  10. package/dist/dev/index.d.ts +1 -1
  11. package/dist/dev/index.d.ts.map +1 -1
  12. package/dist/dev/index.js +1 -1
  13. package/dist/dev/keypair.d.ts +2 -0
  14. package/dist/dev/keypair.d.ts.map +1 -1
  15. package/dist/dev/keypair.js +2 -0
  16. package/dist/internal/capabilities.d.ts +1 -1
  17. package/dist/internal/catalog/index.d.ts +1 -1
  18. package/dist/internal/catalog/inference.d.ts +1 -1
  19. package/dist/internal/catalog/inference.js +3 -3
  20. package/dist/internal/events.d.ts +1 -1
  21. package/dist/internal/events.d.ts.map +1 -1
  22. package/dist/internal/events.js +23 -1
  23. package/dist/internal/identity.d.ts +29 -3
  24. package/dist/internal/identity.d.ts.map +1 -1
  25. package/dist/internal/identity.js +37 -9
  26. package/dist/internal/index.d.ts +1 -1
  27. package/dist/internal/index.d.ts.map +1 -1
  28. package/dist/internal/index.js +1 -1
  29. package/dist/internal/members.d.ts +3 -2
  30. package/dist/internal/members.d.ts.map +1 -1
  31. package/dist/internal/protocol.d.ts +25 -1
  32. package/dist/internal/protocol.d.ts.map +1 -1
  33. package/dist/internal/protocol.js +21 -1
  34. package/dist/server/attribution.d.ts +9 -5
  35. package/dist/server/attribution.d.ts.map +1 -1
  36. package/dist/server/attribution.js +12 -4
  37. package/dist/server/context.d.ts +68 -0
  38. package/dist/server/context.d.ts.map +1 -0
  39. package/dist/server/context.js +117 -0
  40. package/dist/server/emit.d.ts +1 -1
  41. package/dist/server/emit.d.ts.map +1 -1
  42. package/dist/server/emit.js +4 -4
  43. package/dist/server/everyApp.d.ts +27 -7
  44. package/dist/server/everyApp.d.ts.map +1 -1
  45. package/dist/server/everyApp.js +106 -5
  46. package/dist/server/fromMcpTools.d.ts +89 -0
  47. package/dist/server/fromMcpTools.d.ts.map +1 -0
  48. package/dist/server/fromMcpTools.js +192 -0
  49. package/dist/server/gatewayFetch.d.ts +8 -6
  50. package/dist/server/gatewayFetch.d.ts.map +1 -1
  51. package/dist/server/gatewayFetch.js +6 -3
  52. package/dist/server/index.d.ts +3 -1
  53. package/dist/server/index.d.ts.map +1 -1
  54. package/dist/server/index.js +3 -1
  55. package/dist/server/integrationFetch.d.ts +17 -7
  56. package/dist/server/integrationFetch.d.ts.map +1 -1
  57. package/dist/server/integrationFetch.js +22 -6
  58. package/dist/server/listMembers.d.ts +1 -1
  59. package/dist/server/listMembers.d.ts.map +1 -1
  60. package/dist/server/listMembers.js +5 -8
  61. package/dist/server/sendEmail.d.ts +1 -1
  62. package/dist/server/sendEmail.d.ts.map +1 -1
  63. package/dist/server/sendEmail.js +4 -4
  64. package/dist/server/toolsEndpoint.d.ts.map +1 -1
  65. package/dist/server/toolsEndpoint.js +11 -5
  66. package/package.json +13 -14
  67. package/LICENSE +0 -21
@@ -1,5 +1,5 @@
1
1
  import { ACCOUNT_HEADER, CATALOG, ConfigurationError, GATEWAY_ERROR_HEADER, INTEGRATION_PROXY_PREFIX, OAUTH_TOKEN_BODY_LIMIT, allowedScopes, apiKeyHosts, authorizationFor, capabilitySettings, carriesToken, declaredScopeSets, describeTokenEndpoints, devProviderFile, grantedScopes, heldTokenCallAllowed, injectClientCredentials, integrationProxyPath, oauthClientCredentials, oauthClientOrigin, oauthReadMethods, oauthWriteMethods, providerSettingPrefix, requestedScopes, requestedTokenScopes, resolveDevProvider, rewriteTokenRequestScope, scopeExcess, tokenEndpointFor, tokenGrantType, EMAIL_SENDERS_ENV, chooseEmailProvider, parseEmailList, parseEmailSender, } from "../internal/index.js";
2
- import { applyAttribution, checkAttribution, } from "./attribution.js";
2
+ import { applyAttribution, attributionFor, } from "./attribution.js";
3
3
  import { BINDING_ORIGIN, streamingRequest, } from "./gatewayFetch.js";
4
4
  /**
5
5
  * A `fetch` for one of the gateway's capabilities. Call the provider's real
@@ -23,9 +23,12 @@ import { BINDING_ORIGIN, streamingRequest, } from "./gatewayFetch.js";
23
23
  * provider show <id> --save` writes it), put on the call as the gateway's
24
24
  * spec says.
25
25
  */
26
- export function integrationFetch({ env, provider, for: target, account, }) {
26
+ export function integrationFetch({ env, provider, for: explicitTarget, account, }) {
27
27
  const catalogEntry = fetchableCapability(provider);
28
- checkAttribution(env, target, `integrationFetch("${provider}")`);
28
+ const what = `integrationFetch("${provider}")`;
29
+ // Checked now, so a call nobody's fails where the fetch is made; and
30
+ // again per call, where an identity may since have neared its expiry.
31
+ attributionFor(env, explicitTarget, what);
29
32
  const values = env;
30
33
  const binding = values["EVERY_APP_GATEWAY"];
31
34
  if (binding && typeof binding.fetch !== "function") {
@@ -55,6 +58,7 @@ export function integrationFetch({ env, provider, for: target, account, }) {
55
58
  throw new ConfigurationError(`${integration.label} is unavailable: deploy with the EVERY_APP_GATEWAY binding, or set ${names.join(", ")} in .dev.vars for local development.`);
56
59
  }
57
60
  return async (input, init) => {
61
+ const target = attributionFor(env, explicitTarget, what);
58
62
  const outbound = new Request(input, init);
59
63
  const upstream = new URL(outbound.url);
60
64
  const headers = new Headers(outbound.headers);
@@ -501,7 +505,8 @@ function stringValue(value) {
501
505
  * set up") up front instead of failing mid-task. An OAuth client's status
502
506
  * carries its public `clientId` for the authorize URL.
503
507
  */
504
- export async function integrationStatus({ env, provider, }) {
508
+ export async function integrationStatus({ env, provider, for: explicitTarget, }) {
509
+ const target = attributionFor(env, explicitTarget, `integrationStatus("${String(provider)}")`);
505
510
  const values = env;
506
511
  const binding = values["EVERY_APP_GATEWAY"];
507
512
  // A provider registered on the gateway is the gateway's to answer for;
@@ -529,7 +534,18 @@ export async function integrationStatus({ env, provider, }) {
529
534
  ready: false,
530
535
  });
531
536
  if (binding && typeof binding.fetch === "function") {
532
- const response = await binding.fetch(`${BINDING_ORIGIN}${INTEGRATION_PROXY_PREFIX}/${provider}`);
537
+ const statusUrl = `${BINDING_ORIGIN}${INTEGRATION_PROXY_PREFIX}/${provider}`;
538
+ let response;
539
+ if (target === undefined) {
540
+ response = await binding.fetch(statusUrl);
541
+ }
542
+ else {
543
+ // Whose status: the person's identity (their OAuth connection) or the
544
+ // organization's, as a call would carry it.
545
+ const headers = new Headers();
546
+ applyAttribution(headers, target);
547
+ response = await binding.fetch(statusUrl, { headers });
548
+ }
533
549
  if (!response.ok)
534
550
  return unavailable();
535
551
  return (await response.json());
@@ -685,6 +701,6 @@ export async function gatewayRefusal(response) {
685
701
  typeof body === "object" &&
686
702
  typeof body.message === "string"
687
703
  ? body.message
688
- : `The Every App gateway refused the call (${code}).`;
704
+ : `The EveryApp gateway refused the call (${code}).`;
689
705
  return { status: response.status, code, message };
690
706
  }
@@ -28,5 +28,5 @@ export interface ListMembersOptions {
28
28
  * for a request answers its signed-in user alone, and background work
29
29
  * answers no one.
30
30
  */
31
- export declare function listMembers({ env, for: target, }: ListMembersOptions): Promise<ListMembersResult>;
31
+ export declare function listMembers({ env, for: explicitTarget, }: ListMembersOptions): Promise<ListMembersResult>;
32
32
  //# sourceMappingURL=listMembers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../src/server/listMembers.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EAEvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,kBAAkB;IACjC,8FAA8F;IAC9F,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,WAAW,CAAC,EAChC,GAAG,EACH,GAAG,EAAE,MAAM,GACZ,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAoBjD"}
1
+ {"version":3,"file":"listMembers.d.ts","sourceRoot":"","sources":["../../src/server/listMembers.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAIL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,kBAAkB;IACjC,8FAA8F;IAC9F,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,WAAW,CAAC,EAChC,GAAG,EACH,GAAG,EAAE,cAAc,GACpB,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAoBjD"}
@@ -1,5 +1,5 @@
1
1
  import { ConfigurationError, serviceRoutePath, } from "../internal/index.js";
2
- import { applyAttribution, checkAttribution, isRequest, } from "./attribution.js";
2
+ import { applyAttribution, attributionFor, isRequest, } from "./attribution.js";
3
3
  import { getEveryAppUser } from "./everyApp.js";
4
4
  import { BINDING_ORIGIN } from "./gatewayFetch.js";
5
5
  import { GatewayRefusalError, gatewayRefusal } from "./integrationFetch.js";
@@ -19,8 +19,8 @@ import { GatewayRefusalError, gatewayRefusal } from "./integrationFetch.js";
19
19
  * for a request answers its signed-in user alone, and background work
20
20
  * answers no one.
21
21
  */
22
- export async function listMembers({ env, for: target, }) {
23
- checkAttribution(env, target, "listMembers");
22
+ export async function listMembers({ env, for: explicitTarget, }) {
23
+ const target = attributionFor(env, explicitTarget, "listMembers");
24
24
  const values = env;
25
25
  const binding = values["EVERY_APP_GATEWAY"];
26
26
  if (binding) {
@@ -48,7 +48,7 @@ async function listThroughGateway(binding, target) {
48
48
  throw new GatewayRefusalError({
49
49
  status: response.status,
50
50
  code: "members_list_failed",
51
- message: `The Every App gateway answered ${response.status} to the members list.`,
51
+ message: `The EveryApp gateway answered ${response.status} to the members list.`,
52
52
  });
53
53
  }
54
54
  return (await response.json());
@@ -64,11 +64,8 @@ async function listInDev(env, target) {
64
64
  id: user.id,
65
65
  email: user.email,
66
66
  name: "",
67
- role: memberRole(user.orgRole),
67
+ role: user.orgRole,
68
68
  },
69
69
  ],
70
70
  };
71
71
  }
72
- function memberRole(role) {
73
- return role === "owner" || role === "admin" ? role : "member";
74
- }
@@ -35,5 +35,5 @@ export interface SendEmailOptions {
35
35
  * `.dev.vars` it goes out for real through Email Sending's REST API, from
36
36
  * the developer's own account.
37
37
  */
38
- export declare function sendEmail({ env, for: target, message, }: SendEmailOptions): Promise<SendEmailResult>;
38
+ export declare function sendEmail({ env, for: explicitTarget, message, }: SendEmailOptions): Promise<SendEmailResult>;
39
39
  //# sourceMappingURL=sendEmail.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sendEmail.d.ts","sourceRoot":"","sources":["../../src/server/sendEmail.ts"],"names":[],"mappings":"AAAA,OAAO,EAeL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAI1B,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,SAAS,CAAC,EAC9B,GAAG,EACH,GAAG,EAAE,MAAM,EACX,OAAO,GACR,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC,CAoB7C"}
1
+ {"version":3,"file":"sendEmail.d.ts","sourceRoot":"","sources":["../../src/server/sendEmail.ts"],"names":[],"mappings":"AAAA,OAAO,EAeL,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAI1B,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,SAAS,CAAC,EAC9B,GAAG,EACH,GAAG,EAAE,cAAc,EACnB,OAAO,GACR,EAAE,gBAAgB,GAAG,OAAO,CAAC,eAAe,CAAC,CAoB7C"}
@@ -1,5 +1,5 @@
1
1
  import { ConfigurationError, EMAIL_SENDERS_ENV, emailDomain, emailProviderRefusal, emailRestBody, emailRestUrl, emailSenderRefusal, parseEmailList, parseEmailSender, parseSendEmailMessage, readEmailRestResponse, senderAllowed, serviceRoutePath, } from "../internal/index.js";
2
- import { applyAttribution, checkAttribution, } from "./attribution.js";
2
+ import { applyAttribution, attributionFor, } from "./attribution.js";
3
3
  import { BINDING_ORIGIN } from "./gatewayFetch.js";
4
4
  import { GatewayRefusalError, gatewayRefusal } from "./integrationFetch.js";
5
5
  /**
@@ -19,8 +19,8 @@ import { GatewayRefusalError, gatewayRefusal } from "./integrationFetch.js";
19
19
  * `.dev.vars` it goes out for real through Email Sending's REST API, from
20
20
  * the developer's own account.
21
21
  */
22
- export async function sendEmail({ env, for: target, message, }) {
23
- checkAttribution(env, target, "sendEmail");
22
+ export async function sendEmail({ env, for: explicitTarget, message, }) {
23
+ const target = attributionFor(env, explicitTarget, "sendEmail");
24
24
  const values = env;
25
25
  const binding = values["EVERY_APP_GATEWAY"];
26
26
  if (binding) {
@@ -49,7 +49,7 @@ async function sendThroughGateway(binding, target, message) {
49
49
  throw new GatewayRefusalError({
50
50
  status: response.status,
51
51
  code: "email_send_failed",
52
- message: `The Every App gateway answered ${response.status} to the send.`,
52
+ message: `The EveryApp gateway answered ${response.status} to the send.`,
53
53
  });
54
54
  }
55
55
  return (await response.json());
@@ -1 +1 @@
1
- {"version":3,"file":"toolsEndpoint.d.ts","sourceRoot":"","sources":["../../src/server/toolsEndpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAcL,KAAK,sBAAsB,EAO5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAOL,KAAK,OAAO,EACb,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,QAAQ,EAAE,sBAAsB,CAAC;CAClC;AAoFD;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,oBAAoB,EACzB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAyB1B"}
1
+ {"version":3,"file":"toolsEndpoint.d.ts","sourceRoot":"","sources":["../../src/server/toolsEndpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAcL,KAAK,sBAAsB,EAO5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAOL,KAAK,OAAO,EACb,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,QAAQ,EAAE,sBAAsB,CAAC;CAClC;AAoFD;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,oBAAoB,EACzB,OAAO,EAAE,oBAAoB,GAC5B,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAyB1B"}
@@ -14,7 +14,8 @@
14
14
  * The perimeter also refuses these paths from outside and strips inbound
15
15
  * `x-everyapp-*` headers, so only the gateway's ToolBus ever reaches them.
16
16
  */
17
- import { ConfigurationError, IDENTITY_HEADER, IdentityError, SYSTEM_HEADER, TOOLS_CALL_PATH, TOOLS_LIST_PATH, TOOLS_PROTOCOL_VERSION, catalogHash, requiredScopeForRisk, resolveVerifyOptions, verifyIdentityJwt, verifySystemJwt, } from "../internal/index.js";
17
+ import { ConfigurationError, IDENTITY_HEADER, IdentityError, SYSTEM_HEADER, TOOLS_CALL_PATH, TOOLS_LIST_PATH, TOOLS_PROTOCOL_VERSION, assertOrganizationPin, catalogHash, requiredScopeForRisk, resolveVerifyOptions, verifyIdentity, verifySystemJwt, } from "../internal/index.js";
18
+ import { serveRequest } from "./context.js";
18
19
  import { SDK_VERSION, ToolError, toToolResult, toolSetInternals, validateWithSchema, } from "./tools.js";
19
20
  function toolsJson(status, body, headers = {}) {
20
21
  return Response.json(body, {
@@ -148,9 +149,12 @@ function parseCallRequest(body) {
148
149
  return { v: TOOLS_PROTOCOL_VERSION, name, arguments: args, callId };
149
150
  }
150
151
  async function callTool(request, env, ctx, verify, options) {
151
- let user;
152
+ let user, expiresAt;
152
153
  try {
153
- user = await verifyIdentityJwt(request.headers.get(IDENTITY_HEADER) ?? "", verify);
154
+ ({ user, expiresAt } = await verifyIdentity(request.headers.get(IDENTITY_HEADER) ?? "", verify));
155
+ // The same pin as the handler path: a call for another organization's
156
+ // install never runs a tool here.
157
+ assertOrganizationPin(user, options.identity.organizationId);
154
158
  }
155
159
  catch (error) {
156
160
  if (error instanceof IdentityError) {
@@ -194,13 +198,15 @@ async function callTool(request, env, ctx, verify, options) {
194
198
  });
195
199
  let result;
196
200
  try {
197
- const value = await tool.handler(input.value, {
201
+ // The call runs in the request context like a page would: currentUser()
202
+ // is the caller, and its Gateway calls are attributed to them.
203
+ const value = await serveRequest({ request, user, expiresAt }, () => tool.handler(input.value, {
198
204
  user,
199
205
  env: env,
200
206
  ctx,
201
207
  request,
202
208
  callId: call.callId,
203
- });
209
+ }));
204
210
  result = await toToolResult(tool, value);
205
211
  }
206
212
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@every-app/sdk",
3
- "version": "0.3.0-rc.3",
3
+ "version": "0.3.0-rc.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,28 +30,27 @@
30
30
  "dist",
31
31
  "README.md"
32
32
  ],
33
- "peerDependencies": {
33
+ "scripts": {
34
+ "prebuild": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
35
+ "build": "tsc -p tsconfig.build.json",
36
+ "types:check": "tsc --noEmit",
37
+ "format:check": "prettier --check .",
38
+ "format:write": "prettier . --write",
39
+ "test": "vitest run --silent",
40
+ "test:watch": "vitest",
41
+ "check:esm-relative-imports": "node ./scripts/check-esm-relative-imports.mjs"
42
+ },
43
+ "dependencies": {
34
44
  "jose": "^6.2.5"
35
45
  },
36
46
  "devDependencies": {
37
47
  "@cloudflare/workers-types": "^4.20251014.0",
38
48
  "@types/node": "^22.18.13",
39
- "jose": "^6.2.12",
40
49
  "prettier": "^3.6.2",
41
50
  "typescript": "^5.9.3",
42
51
  "vite": "^7.1.2",
43
52
  "vite-tsconfig-paths": "^5.1.4",
44
53
  "vitest": "^3.2.6",
45
54
  "zod": "^4.2.0"
46
- },
47
- "scripts": {
48
- "prebuild": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
49
- "build": "tsc -p tsconfig.build.json",
50
- "types:check": "tsc --noEmit",
51
- "format:check": "prettier --check .",
52
- "format:write": "prettier . --write",
53
- "test": "vitest run --silent",
54
- "test:watch": "vitest",
55
- "check:esm-relative-imports": "node ./scripts/check-esm-relative-imports.mjs"
56
55
  }
57
- }
56
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Every App, Inc.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.