@forge/manifest 12.5.0 → 12.6.0-experimental-a6c6519

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 (36) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/out/builder/processor-builder.d.ts.map +1 -1
  3. package/out/builder/processor-builder.js +2 -0
  4. package/out/mapping/agent-product-context-to-scope-mapping.json +14 -0
  5. package/out/processor/agent-product-context-validation-processor.d.ts +6 -0
  6. package/out/processor/agent-product-context-validation-processor.d.ts.map +1 -0
  7. package/out/processor/agent-product-context-validation-processor.js +19 -0
  8. package/out/processor/index.d.ts +1 -0
  9. package/out/processor/index.d.ts.map +1 -1
  10. package/out/processor/index.js +1 -0
  11. package/out/schema/basic-manifest-schema.json +2 -1
  12. package/out/schema/basic-manifest.d.ts +1 -1
  13. package/out/schema/manifest-schema.json +924 -190
  14. package/out/schema/manifest.d.ts +294 -87
  15. package/out/scopes/shipyard-scopes.json +0 -1
  16. package/out/text/errors.d.ts +4 -3
  17. package/out/text/errors.d.ts.map +1 -1
  18. package/out/text/errors.js +6 -5
  19. package/out/types/validation-types.d.ts +1 -0
  20. package/out/types/validation-types.d.ts.map +1 -1
  21. package/out/types/validation-types.js +1 -0
  22. package/out/validators/agent-product-context-scopes-validator.d.ts +21 -0
  23. package/out/validators/agent-product-context-scopes-validator.d.ts.map +1 -0
  24. package/out/validators/agent-product-context-scopes-validator.js +62 -0
  25. package/out/validators/connect-remote-validator.d.ts.map +1 -1
  26. package/out/validators/connect-remote-validator.js +13 -1
  27. package/out/validators/index.d.ts +1 -0
  28. package/out/validators/index.d.ts.map +1 -1
  29. package/out/validators/index.js +1 -0
  30. package/out/validators/modules-validator.js +1 -1
  31. package/out/validators/modules-validators/global/validate-global-ui.d.ts +2 -2
  32. package/out/validators/modules-validators/global/validate-global-ui.d.ts.map +1 -1
  33. package/out/validators/modules-validators/global/validate-global-ui.js +24 -10
  34. package/out/validators/modules-validators/jira/validate-action-validator.d.ts.map +1 -1
  35. package/out/validators/modules-validators/jira/validate-action-validator.js +1 -43
  36. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @forge/manifest
2
2
 
3
+ ## 12.6.0-experimental-a6c6519
4
+
5
+ ### Patch Changes
6
+
7
+ - 5b726e6: add `user` installation target
8
+
9
+ ## 12.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 399ae7d: Enforce render:native for global:ui
14
+ Remove routePrefix from global:ui
15
+ - 955c1ab: Add agent product context scope validation for rovo:agentConnector modules
16
+
17
+ ### Patch Changes
18
+
19
+ - 8b7704f: Added validation that apps using the global:ui module must set app.installationTarget to 'unit'
20
+ - 4964a50: Fetch Agent Product Context to Required Scope Mapping file from Shipyard in daily job
21
+ - 911bef1: Remove compatible modules and module count limitations for jira:actionValidator
22
+ - 53b24df: Update manifest definitions
23
+ - 36fbb18: Update manifest definitions
24
+ - 3b625c7: Warn when `app.connect.key` and `remotes` are set but `app.connect.remote` is missing (data residency safeguard).
25
+
26
+ ## 12.6.0-next.3
27
+
28
+ ### Patch Changes
29
+
30
+ - 3b625c7: Warn when `app.connect.key` and `remotes` are set but `app.connect.remote` is missing (data residency safeguard).
31
+
32
+ ## 12.6.0-next.2
33
+
34
+ ### Minor Changes
35
+
36
+ - 955c1ab: Add agent product context scope validation for rovo:agentConnector modules
37
+
38
+ ### Patch Changes
39
+
40
+ - 8b7704f: Added validation that apps using the global:ui module must set app.installationTarget to 'unit'
41
+ - 4964a50: Fetch Agent Product Context to Required Scope Mapping file from Shipyard in daily job
42
+ - 911bef1: Remove compatible modules and module count limitations for jira:actionValidator
43
+ - 53b24df: Update manifest definitions
44
+
45
+ ## 12.6.0-next.1
46
+
47
+ ### Patch Changes
48
+
49
+ - 36fbb18: Update manifest definitions
50
+
51
+ ## 12.6.0-next.0
52
+
53
+ ### Minor Changes
54
+
55
+ - 399ae7d: Enforce render:native for global:ui
56
+ Remove routePrefix from global:ui
57
+
3
58
  ## 12.5.0
4
59
 
5
60
  ### Minor Changes
@@ -1 +1 @@
1
- {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAGL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAoF;IAExG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,WAAW,CAAmB;IAEtC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB;IAKnD,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,cAAc;IAItB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAWlE"}
1
+ {"version":3,"file":"processor-builder.d.ts","sourceRoot":"","sources":["../../src/builder/processor-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAIL,kBAAkB,EAEnB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,qBAAa,gBAAiB,YAAW,gBAAgB,CAAC,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC,CAAC;IACjH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAoF;IAExG,OAAO,CAAC,cAAc,CAAkB;IACxC,OAAO,CAAC,WAAW,CAAmB;IAEtC,OAAO;IAIP,MAAM,CAAC,QAAQ,IAAI,gBAAgB;IAInC,cAAc,CAAC,IAAI,EAAE,eAAe,GAAG,gBAAgB;IAKvD,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB;IAKnD,OAAO,CAAC,aAAa;IAqBrB,OAAO,CAAC,cAAc;IAItB,KAAK,IAAI,kBAAkB,CAAC,cAAc,GAAG,mBAAmB,CAAC;CAWlE"}
@@ -34,6 +34,8 @@ class ProcessorBuilder {
34
34
  return new remote_compute_validation_processor_1.RemoteComputeValidationProcessor();
35
35
  case types_1.ValidationTypes.PRODUCT_TRIGGER:
36
36
  return new processor_1.ProductTriggerValidationProcessor();
37
+ case types_1.ValidationTypes.AGENT_PRODUCT_CONTEXT:
38
+ return new processor_1.AgentProductContextValidationProcessor();
37
39
  case types_1.ValidationTypes.DEPRECATED_CSP_METHOD:
38
40
  return new deprecated_csp_method_validation_processor_1.DeprecatedCspMethodValidationProcessor();
39
41
  case types_1.ValidationTypes.DEPRECATED_EGRESS_PERMISSIONS:
@@ -0,0 +1,14 @@
1
+ {
2
+ "_warning": "DO NOT EDIT: This file is auto-generated from Shipyard. See src/mapping/README.md",
3
+ "_source": "ari:cloud:platform-services::agent-product-context-to-scope-mapping/v1/prod",
4
+ "mapping": [
5
+ {
6
+ "productContext": "jira",
7
+ "oAuthScopes": {
8
+ "current": [
9
+ "read:jira-work"
10
+ ]
11
+ }
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,6 @@
1
+ import { AbstractValidationProcessor } from './abstract-validation-processor';
2
+ import { ManifestSchema } from '../schema/manifest';
3
+ export declare class AgentProductContextValidationProcessor extends AbstractValidationProcessor<ManifestSchema> {
4
+ constructor();
5
+ }
6
+ //# sourceMappingURL=agent-product-context-validation-processor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent-product-context-validation-processor.d.ts","sourceRoot":"","sources":["../../src/processor/agent-product-context-validation-processor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAOpD,qBAAa,sCAAuC,SAAQ,2BAA2B,CAAC,cAAc,CAAC;;CAStG"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AgentProductContextValidationProcessor = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const validators_1 = require("../validators");
6
+ const abstract_validation_processor_1 = require("./abstract-validation-processor");
7
+ const AGENT_CONTEXT_SCOPE_MAPPING = tslib_1.__importStar(require("../mapping/agent-product-context-to-scope-mapping.json"));
8
+ const FULL_SCHEMA = tslib_1.__importStar(require("../schema/manifest-schema.json"));
9
+ class AgentProductContextValidationProcessor extends abstract_validation_processor_1.AbstractValidationProcessor {
10
+ constructor() {
11
+ super([
12
+ new validators_1.FileValidator(),
13
+ new validators_1.YamlValidator(),
14
+ new validators_1.SchemaValidator(FULL_SCHEMA),
15
+ new validators_1.AgentProductContextScopesValidator(AGENT_CONTEXT_SCOPE_MAPPING)
16
+ ]);
17
+ }
18
+ }
19
+ exports.AgentProductContextValidationProcessor = AgentProductContextValidationProcessor;
@@ -1,4 +1,5 @@
1
1
  export * from './abstract-validation-processor';
2
+ export * from './agent-product-context-validation-processor';
2
3
  export * from './basic-validation-processor';
3
4
  export * from './full-validation-processor';
4
5
  export * from './processor-interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/processor/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/processor/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,wCAAwC,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./abstract-validation-processor"), exports);
5
+ tslib_1.__exportStar(require("./agent-product-context-validation-processor"), exports);
5
6
  tslib_1.__exportStar(require("./basic-validation-processor"), exports);
6
7
  tslib_1.__exportStar(require("./full-validation-processor"), exports);
7
8
  tslib_1.__exportStar(require("./processor-interface"), exports);
@@ -55,7 +55,8 @@
55
55
  "type": "string",
56
56
  "enum": [
57
57
  "site",
58
- "unit"
58
+ "unit",
59
+ "user"
59
60
  ],
60
61
  "description": "The target of the app installation."
61
62
  },
@@ -61,7 +61,7 @@ export interface App {
61
61
  /**
62
62
  * The target of the app installation.
63
63
  */
64
- installationTarget?: 'site' | 'unit';
64
+ installationTarget?: 'site' | 'unit' | 'user';
65
65
  compatibility?: Compatibility;
66
66
  access?: Access;
67
67
  licensing?: Licensing;