@forge/cli-shared 8.25.0-next.4 → 8.25.0-next.5-experimental-44b7a12

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,35 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 8.25.0-next.5-experimental-44b7a12
4
+
5
+ ### Minor Changes
6
+
7
+ - 6aeecd7: The tunnel debugger now binds to localhost (127.0.0.1) by default instead of all network interfaces (0.0.0.0). If you need to attach a debugger from another host, use the new `--debugHost` option on `forge tunnel` to specify the IP address to bind to.
8
+ - 2a1ec30: Adding warning when site has over 100 apps installed
9
+
10
+ ### Patch Changes
11
+
12
+ - c3b96b3: Show warning when install fails
13
+ - 2a03b88: `isAgent` attribution now excludes CI: `isAgent()` returns `false` when `CI=true` even if stdin/stdout are non-TTY, so the `isAgent` and `isCI` signals never overlap in the `atl-attribution` header and analytics payload.
14
+ - 561f8f4: Remove "storage" module from "@forge/api"
15
+ - ab1dcaa: Update JSM to be its own product
16
+ - bb903a8: Update requireAppId check
17
+ - c1acc55: Add Prod Service
18
+ - 5b67e61: Patch fixes for module Add
19
+ - 55c1371: bump cheerio to ^1.2.0 to pull in a patched undici (>=7.19.0, resolving to a fixed release) and remediate CVE-2026-1525
20
+ NodeJS requirement bumped from 20.0.0 to >=20.18.1
21
+ - Updated dependencies [814b8fe]
22
+ - Updated dependencies [8ac7dd3]
23
+ - Updated dependencies [55c1371]
24
+ - Updated dependencies [1a461c3]
25
+ - @forge/manifest@12.10.0-next.1-experimental-44b7a12
26
+
27
+ ## 8.25.0-next.5
28
+
29
+ ### Minor Changes
30
+
31
+ - 2a1ec30: Adding warning when site has over 100 apps installed
32
+
3
33
  ## 8.25.0-next.4
4
34
 
5
35
  ### Patch Changes
@@ -8,9 +8,10 @@ export declare class DebuggingGraphqlRunner implements GraphQLRunner {
8
8
  private readonly sensitivePatterns;
9
9
  constructor(innerClient: GraphQLRunner, endpoint: string, logger: Logger);
10
10
  private filterSensitiveData;
11
- run<TVariables extends Variables, TResponse>(query: string, variables: TVariables): Promise<{
11
+ run<TVariables extends Variables, TResponse, TExtensions>(query: string, variables: TVariables): Promise<{
12
12
  requestId: string | undefined;
13
13
  response: TResponse;
14
+ extensions: TExtensions | undefined;
14
15
  }>;
15
16
  }
16
17
  //# sourceMappingURL=debugging-graphql-runner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"debugging-graphql-runner.d.ts","sourceRoot":"","sources":["../../src/graphql/debugging-graphql-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG5D,wBAAgB,SAAS,CAAC,SAAS,EAAE,GAAG,UAEvC;AAED,qBAAa,sBAAuB,YAAW,aAAa;IAKxD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM;IALzB,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA6B;gBAG5C,WAAW,EAAE,aAAa,EAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM;IAGjC,OAAO,CAAC,mBAAmB;IAsBd,GAAG,CAAC,UAAU,SAAS,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;;;;CAY/F"}
1
+ {"version":3,"file":"debugging-graphql-runner.d.ts","sourceRoot":"","sources":["../../src/graphql/debugging-graphql-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG5D,wBAAgB,SAAS,CAAC,SAAS,EAAE,GAAG,UAEvC;AAED,qBAAa,sBAAuB,YAAW,aAAa;IAKxD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,MAAM;IALzB,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA6B;gBAG5C,WAAW,EAAE,aAAa,EAC1B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM;IAGjC,OAAO,CAAC,mBAAmB;IAsBd,GAAG,CAAC,UAAU,SAAS,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU;;;;;CAe5G"}
@@ -39,10 +39,10 @@ class DebuggingGraphqlRunner {
39
39
  async run(query, variables) {
40
40
  const filteredVariables = this.filterSensitiveData(variables);
41
41
  this.logger.trace(ui_1.Text.graphQL.request(this.endpoint, query, stringify(filteredVariables)));
42
- const { requestId, response } = await this.innerClient.run(query, variables);
42
+ const { requestId, response, extensions } = await this.innerClient.run(query, variables);
43
43
  const filteredResponse = this.filterSensitiveData(response);
44
44
  this.logger.trace(ui_1.Text.graphQL.response(stringify(filteredResponse), requestId));
45
- return { requestId, response };
45
+ return { requestId, response, extensions };
46
46
  }
47
47
  }
48
48
  exports.DebuggingGraphqlRunner = DebuggingGraphqlRunner;
@@ -3,18 +3,24 @@ import { Mutation, Query } from './graphql-types';
3
3
  export { Variables };
4
4
  export declare type AvailableMutations = Omit<Mutation, '__typename'>;
5
5
  export declare type AvailableQueries = Omit<Query, '__typename'>;
6
- export interface RunnerResponse<TResponse> {
6
+ export interface GatewayRequestIdGraphQLExtensions {
7
+ gateway?: {
8
+ request_id: string;
9
+ };
10
+ }
11
+ export interface RunnerResponse<TResponse, TExtensions = GatewayRequestIdGraphQLExtensions> {
7
12
  response: TResponse;
8
13
  requestId?: string;
14
+ extensions?: TExtensions;
9
15
  }
10
16
  export declare type MutationResult<TLabel extends keyof AvailableMutations> = Record<TLabel, NonNullable<Required<AvailableMutations>[TLabel]>>;
11
17
  export interface GraphQLClient {
12
- query<TLabel extends keyof AvailableQueries, TVariables extends Variables>(query: string, variables: TVariables): Promise<Record<TLabel, AvailableQueries[TLabel]> & {
18
+ query<TLabel extends keyof AvailableQueries, TVariables extends Variables, TExtensions = GatewayRequestIdGraphQLExtensions>(query: string, variables: TVariables): Promise<Record<TLabel, AvailableQueries[TLabel]> & {
13
19
  requestId: string;
14
20
  }>;
15
- mutate<TLabel extends keyof AvailableMutations, TVariables extends Variables>(query: string, variables: TVariables): Promise<RunnerResponse<MutationResult<TLabel>>>;
21
+ mutate<TLabel extends keyof AvailableMutations, TVariables extends Variables, TExtensions = GatewayRequestIdGraphQLExtensions>(query: string, variables: TVariables): Promise<RunnerResponse<MutationResult<TLabel>, TExtensions>>;
16
22
  }
17
23
  export interface GraphQLRunner {
18
- run<TVariables extends Variables, TResponse>(operation: string, variables: TVariables): Promise<RunnerResponse<TResponse>>;
24
+ run<TVariables extends Variables, TResponse, TExtensions = GatewayRequestIdGraphQLExtensions>(operation: string, variables: TVariables): Promise<RunnerResponse<TResponse, TExtensions>>;
19
25
  }
20
26
  //# sourceMappingURL=graphql-client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-client.d.ts","sourceRoot":"","sources":["../../src/graphql/graphql-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,oBAAY,kBAAkB,GAAG,IAAI,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;AAC9D,oBAAY,gBAAgB,GAAG,IAAI,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;AAEzD,MAAM,WAAW,cAAc,CAAC,SAAS;IACvC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,oBAAY,cAAc,CAAC,MAAM,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