@forge/cli-shared 6.8.0-next.6 → 6.8.0-next.7

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,15 @@
1
1
  # @forge/cli-shared
2
2
 
3
+ ## 6.8.0-next.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 9d231e9: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
8
+ - b503084: switch the `forge create` cross-context flow to use the new `app.contexts` manifest format
9
+ - Updated dependencies [9d231e9]
10
+ - Updated dependencies [b503084]
11
+ - @forge/manifest@8.9.0-next.3
12
+
3
13
  ## 6.8.0-next.6
4
14
 
5
15
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"register-app.d.ts","sourceRoot":"","sources":["../../src/apps/register-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,mBAAmB,EAAqB,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAExH,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,EAAE,CAAC;CACL;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAClE;AAED,oBAAY,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAA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AE,oBAAoB,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;CAClE;AAED,oBAAY,iBAAiB,GAAG;IAC9B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,EAAE;QACT,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,kBAAkB;IAE3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAJV,SAAS,EAAE,eAAe,EAC1B,eAAe,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,EACxD,eAAe,EAAE,mBAAmB,CAAC,UAAU,CAAC,EAChD,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU;IAG5B,OAAO,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAAE,oBAA4B,EAAE;;KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAQvG,WAAW,CACtB,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,MAAM,EACjB,EAAE,oBAAoB,EAAE,eAAe,EAAE,EAAE;QAAE,oBAAoB,EAAE,OAAO,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,GACrG,OAAO,CAAC,eAAe,CAAC;CAuC5B"}
@@ -38,7 +38,13 @@ class RegisterAppCommand {
38
38
  const section = await this.appConfigReader.readConfigSection();
39
39
  let newAppDetails = {
40
40
  id: result.id,
41
- ...(requiredProduct && { requiredProduct })
41
+ ...(requiredProduct && {
42
+ contexts: {
43
+ [requiredProduct]: {
44
+ required: true
45
+ }
46
+ }
47
+ })
42
48
  };
43
49
  if (section !== 'invalid' && section !== 'missing') {
44
50
  newAppDetails = {
@@ -795,7 +795,7 @@ export declare type AgentStudioAgent = {
795
795
  id: Scalars['ID']['output'];
796
796
  name?: Maybe<Scalars['String']['output']>;
797
797
  };
798
- export declare type AgentStudioAgentResult = AgentStudioAssistant | QueryError;
798
+ export declare type AgentStudioAgentResult = AgentStudioAssistant | AgentStudioServiceAgent | QueryError;
799
799
  export declare enum AgentStudioAgentType {
800
800
  Assistant = "ASSISTANT"
801
801
  }
@@ -870,6 +870,13 @@ export declare type AgentStudioKnowledgeSourceInput = {
870
870
  filters?: InputMaybe<AgentStudioKnowledgeFiltersInput>;
871
871
  source: Scalars['String']['input'];
872
872
  };
873
+ export declare type AgentStudioServiceAgent = AgentStudioAgent & Node & {
874
+ __typename?: 'AgentStudioServiceAgent';
875
+ description?: Maybe<Scalars['String']['output']>;
876
+ id: Scalars['ID']['output'];
877
+ linkedJiraProject?: Maybe<JiraProject>;
878
+ name?: Maybe<Scalars['String']['output']>;
879
+ };
873
880
  export declare type AgentStudioSuggestConversationStartersInput = {
874
881
  agentDescription?: InputMaybe<Scalars['String']['input']>;
875
882
  agentInstructions?: InputMaybe<Scalars['String']['input']>;
@@ -1405,10 +1412,20 @@ export declare type AppFeaturesInput = {
1405
1412
  };
1406
1413
  export declare type AppHostService = {
1407
1414
  __typename?: 'AppHostService';
1415
+ additionalDetails?: Maybe<AppHostServiceDetails>;
1416
+ allowedAuthMechanisms: Array<Scalars['String']['output']>;
1408
1417
  description: Scalars['String']['output'];
1409
1418
  name: Scalars['String']['output'];
1419
+ resourceOwner?: Maybe<Scalars['String']['output']>;
1410
1420
  scopes?: Maybe<Array<AppHostServiceScope>>;
1411
1421
  serviceId: Scalars['ID']['output'];
1422
+ supportsSiteEgressPermissions?: Maybe<Scalars['Boolean']['output']>;
1423
+ };
1424
+ export declare type AppHostServiceDetails = {
1425
+ __typename?: 'AppHostServiceDetails';
1426
+ documentationUrl?: Maybe<Scalars['String']['output']>;
1427
+ isEnrollable?: Maybe<Scalars['Boolean']['output']>;
1428
+ logoUrl?: Maybe<Scalars['String']['output']>;
1412
1429
  };
1413
1430
  export declare type AppHostServiceScope = {
1414
1431
  __typename?: 'AppHostServiceScope';
@@ -21689,6 +21706,38 @@ export declare type DevAiCreateTechnicalPlannerJobPayload = Payload & {
21689
21706
  job?: Maybe<DevAiTechnicalPlannerJob>;
21690
21707
  success: Scalars['Boolean']['output'];
21691
21708
  };
21709
+ export declare type DevAiFlowPipeline = {
21710
+ __typename?: 'DevAiFlowPipeline';
21711
+ createdAt?: Maybe<Scalars['String']['output']>;
21712
+ id: Scalars['ID']['output'];
21713
+ sessionARI: Scalars['ID']['output'];
21714
+ status?: Maybe<DevAiFlowPipelinesStatus>;
21715
+ updatedAt?: Maybe<Scalars['String']['output']>;
21716
+ url?: Maybe<Scalars['String']['output']>;
21717
+ };
21718
+ export declare enum DevAiFlowPipelinesStatus {
21719
+ Failed = "FAILED",
21720
+ InProgress = "IN_PROGRESS",
21721
+ Provisioned = "PROVISIONED",
21722
+ Stopped = "STOPPED"
21723
+ }
21724
+ export declare type DevAiFlowSession = {
21725
+ __typename?: 'DevAiFlowSession';
21726
+ createdAt?: Maybe<Scalars['String']['output']>;
21727
+ id: Scalars['ID']['output'];
21728
+ issueARI?: Maybe<Scalars['ID']['output']>;
21729
+ pipelines?: Maybe<Array<Maybe<DevAiFlowPipeline>>>;
21730
+ sessionARI: Scalars['ID']['output'];
21731
+ status?: Maybe<DevAiFlowSessionsStatus>;
21732
+ updatedAt?: Maybe<Scalars['String']['output']>;
21733
+ };
21734
+ export declare enum DevAiFlowSessionsStatus {
21735
+ Completed = "COMPLETED",
21736
+ Failed = "FAILED",
21737
+ InProgress = "IN_PROGRESS",
21738
+ Paused = "PAUSED",
21739
+ Pending = "PENDING"
21740
+ }
21692
21741
  export declare type DevAiGenericAutodevLog = DevAiAutodevLog & {
21693
21742
  __typename?: 'DevAiGenericAutodevLog';
21694
21743
  attributes?: Maybe<Scalars['JSON']['output']>;
@@ -23758,7 +23807,6 @@ export declare enum EcosystemInstallationRecoveryMode {
23758
23807
  RecoverPreviousInstall = "RECOVER_PREVIOUS_INSTALL"
23759
23808
  }
23760
23809
  export declare enum EcosystemLicenseMode {
23761
- Agent = "AGENT",
23762
23810
  UserAccess = "USER_ACCESS"
23763
23811
  }
23764
23812
  export declare type EcosystemMarketplaceAppDeployment = {
@@ -63472,6 +63520,7 @@ export declare type JiraQuery = {
63472
63520
  resourceUsageCustomFieldRecommendations?: Maybe<JiraResourceUsageCustomFieldRecommendationConnection>;
63473
63521
  resourceUsageMetric?: Maybe<JiraResourceUsageMetric>;
63474
63522
  resourceUsageMetricById?: Maybe<JiraResourceUsageMetric>;
63523
+ resourceUsageMetricByIdV2?: Maybe<JiraResourceUsageMetricV2>;
63475
63524
  resourceUsageMetricV2?: Maybe<JiraResourceUsageMetricV2>;
63476
63525
  resourceUsageMetrics?: Maybe<JiraResourceUsageMetricConnection>;
63477
63526
  resourceUsageRecommendationStats?: Maybe<JiraResourceUsageRecommendationStats>;
@@ -64302,6 +64351,9 @@ export declare type JiraQueryResourceUsageMetricArgs = {
64302
64351
  export declare type JiraQueryResourceUsageMetricByIdArgs = {
64303
64352
  id: Scalars['ID']['input'];
64304
64353
  };
64354
+ export declare type JiraQueryResourceUsageMetricByIdV2Args = {
64355
+ id: Scalars['ID']['input'];
64356
+ };
64305
64357
  export declare type JiraQueryResourceUsageMetricV2Args = {
64306
64358
  cloudId: Scalars['ID']['input'];
64307
64359
  metricKey: Scalars['String']['input'];
@@ -76168,6 +76220,7 @@ export declare type Mutation = {
76168
76220
  devOps?: Maybe<DevOpsMutation>;
76169
76221
  devai_continueJobWithPrompt?: Maybe<DevAiAutodevContinueJobWithPromptPayload>;
76170
76222
  devai_createTechnicalPlannerJob?: Maybe<DevAiCreateTechnicalPlannerJobPayload>;
76223
+ devai_flowSessionCreate?: Maybe<DevAiFlowSession>;
76171
76224
  devai_invokeAutodevRovoAgent?: Maybe<DevAiInvokeAutodevRovoAgentPayload>;
76172
76225
  devai_invokeAutodevRovoAgentInBulk?: Maybe<DevAiInvokeAutodevRovoAgentInBulkPayload>;
76173
76226
  disableExperiment?: Maybe<TapExperiment>;
@@ -77408,6 +77461,9 @@ export declare type MutationDevai_CreateTechnicalPlannerJobArgs = {
77408
77461
  repoUrl: Scalars['URL']['input'];
77409
77462
  summary?: InputMaybe<Scalars['String']['input']>;
77410
77463
  };
77464
+ export declare type MutationDevai_FlowSessionCreateArgs = {
77465
+ issueARI?: InputMaybe<Scalars['ID']['input']>;
77466
+ };
77411
77467
  export declare type MutationDevai_InvokeAutodevRovoAgentArgs = {
77412
77468
  agentId: Scalars['ID']['input'];
77413
77469
  issueId: Scalars['ID']['input'];
@@ -81064,6 +81120,8 @@ export declare type Query = {
81064
81120
  devai_autodevJobsByAri?: Maybe<Array<Maybe<JiraAutodevJob>>>;
81065
81121
  devai_autodevJobsForIssue?: Maybe<JiraAutodevJobConnection>;
81066
81122
  devai_autodevRovoAgents?: Maybe<DevAiRovoAgentConnection>;
81123
+ devai_flowSessionsGet?: Maybe<DevAiFlowSession>;
81124
+ devai_flowSessionsResume?: Maybe<DevAiFlowPipeline>;
81067
81125
  devai_rovoDevAgentsUser?: Maybe<DevAiUser>;
81068
81126
  devai_technicalPlannerJobById?: Maybe<DevAiTechnicalPlannerJob>;
81069
81127
  devai_technicalPlannerJobsForIssue?: Maybe<DevAiTechnicalPlannerJobConnection>;
@@ -83044,6 +83102,12 @@ export declare type QueryDevai_AutodevRovoAgentsArgs = {
83044
83102
  query?: InputMaybe<Scalars['String']['input']>;
83045
83103
  templatesFilter?: InputMaybe<DevAiRovoAgentTemplateFilter>;
83046
83104
  };
83105
+ export declare type QueryDevai_FlowSessionsGetArgs = {
83106
+ id: Scalars['ID']['input'];
83107
+ };
83108
+ export declare type QueryDevai_FlowSessionsResumeArgs = {
83109
+ id: Scalars['ID']['input'];
83110
+ };
83047
83111
  export declare type QueryDevai_RovoDevAgentsUserArgs = {
83048
83112
  atlassianAccountId: Scalars['ID']['input'];
83049
83113
  cloudId: Scalars['ID']['input'];