@forge/cli-shared 10.0.0-next.30-experimental-b23276b → 10.0.0-next.32

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,65 +1,16 @@
1
1
  # @forge/cli-shared
2
2
 
3
- ## 10.0.0-next.30-experimental-b23276b
3
+ ## 10.0.0-next.32
4
4
 
5
- ### Major Changes
6
-
7
- - a4b2f56: Rename --no-install to --skip-dependencies for create and module add
8
- - 30b504b: Removed the deprecated ways of passing a secret as an argument, which are visible in the process list and shell history. Use the `--read-*` flags to pipe the secret in on stdin, or leave it out to be prompted:
9
-
10
- - `forge login`: removed `-t, --token`. Use `--read-token`.
11
- - `forge providers configure`: removed `-s, --oauth-client-secret`. Use `--read-oauth-client-secret`.
12
- - `forge variables set --encrypt`: the value can no longer be passed as an argument, and fails with an error. Use `--read-secret-value`.
13
-
14
- - f93687f: Replace Keytar with a dedicated credential file protected by macOS and Linux permissions or Windows ACLs. This is a breaking authentication change: users with credentials stored in the OS keychain must run `forge login` once after upgrading. `FORGE_EMAIL` and `FORGE_API_TOKEN` continue to take precedence over saved credentials.
15
-
16
- ### Minor Changes
17
-
18
- - 1ded50d: In non-interactive mode, more commands name what they're missing instead of prompting: `feedback --message`, `--force` for `autocomplete install` and `assistant on`, every page from `repositories images list`, `--installation-id` (or `--site` with `--product`) for `webtrigger` and `uninstall`, `--force` for `uninstall --batch`, `--key` for `containers create`, `--key` and `--force` for `containers delete`, and `--service` for `containers reprovision` and `show containers`.
19
- - e161f1b: Interactive forge create with module template presets behind dynamic config
20
- - 043fd9f: Add --no-install flag, ignore flags when passed in with no dev space
21
- - 0de4485: Add a hidden `forge containers reprovision` command that replaces every running instance of a container service with a fresh one, keeping its current version, and waits for the rollout to finish
22
- - 1a8fe4a: Module composition for create presets runs before app registration
23
- - 112c0c6: Add `isAgentV2` and `isCIV2` to the attribution payload (`atl-attribution` header and analytics events), detecting whether a named agent or CI runs the command without reading the `CI` variable: `isCIV2` is `"true"` when `ci-info` names a CI tool, not when `CI=true`, and `isAgentV2` is `"true"` when an agent names itself, with or without a terminal. A named agent in a CI tool is both. `isAgent` and `isCI` are unchanged. Also send `ciHint` (the CI tool's `ci-info` id), `isTerminal` (stdin is a terminal) and `isUnrecognizedNonTTY`. The new fields are strings so the backend keeps them as wildcard fields. With the `non-interactive` setting `auto`, non-interactive mode turns on for a named agent (`isAgentV2`), in CI or not; CI, scripts and unnamed agents keep today's behaviour
5
+ ### Patch Changes
24
6
 
25
- Bump `@vercel/detect-agent` to 1.2.7 and add `ci-info` 4.4.0
7
+ - b64a3d7: Update help text for forge create --preset to give preset ids
26
8
 
27
- - 45657e1: Removed self-managed tunnel support from `forge tunnel`, including the `--url` and `--local-port` options, which were behind the `forge-cli-enable-self-managed-tunnel` feature gate.
9
+ ## 10.0.0-next.31
28
10
 
29
11
  ### Patch Changes
30
12
 
31
- - f04447d: Add a hidden `rovo-agent-skill` preset to `forge create` that adds a Rovo agent and a Rovo skill and lists the skill in the agent's `skills`
32
- - b1b48d6: `forge uninstall --batch --non-interactive` without `--force` now lists the installations it would uninstall before failing, and the `MISSING_INPUT` error names `--force` with the exact `Next:` command. When there's nothing it would uninstall (only production, identity or JSM installations, or none), it says so and exits 0. When more than 10 are found, a non-interactive run says how many are left and ends with a `Next:` command to run it again.
33
- - d8675cf: Improve missing input error messaging for --non-interactive mode
34
- - 8c38ed0: Remove the combined artifact upload feature flag and always use combined artifact uploads for builds and deploys.
35
- - 2daf528: Add environment filtering to `forge install list`.
36
- - 8a753fe: `forge variables set --encrypt` can now read the value from stdin with `--read-secret-value`. Passing the value of an encrypted variable as an argument still works but is deprecated and prints a warning. In non-interactive mode, a missing value now fails with `MISSING_INPUT` and names `--read-secret-value`.
37
-
38
- `forge login` can now read the API token from stdin with `--read-token`. `-t, --token` still works but is deprecated and prints a warning. In non-interactive mode, `--read-token` satisfies the token requirement.
39
-
40
- - 0024a97: The prompt sent to an AI assistant after a failed command no longer includes secret values, and `--verbose` GraphQL logs no longer show the OAuth client secret, web trigger secret key or encrypted variable values.
41
- - 7dbee1f: In non-interactive mode, a contributor with no `--environment` and no default environment gets one `MISSING_INPUT` error that lists `--environment` with the other missing inputs, and includes it in `Next:`, instead of a second error after passing them. That includes a missing usage-analytics setting: both are listed in the one error. Its hint says where to find an environment, or to save a default with `forge settings set default-environment`. When only the environment is missing, `Next:` is now the exact command instead of `--help`.
42
- - 9871b8c: Switch `forge tunnel` to `@atlassian/cloudflared`. It now updates the bundled cloudflared binary to at least 2026.10.3, and checks for newer versions every 14 days. Set `CLOUDFLARED_BIN` to use your own binary without updates.
43
- - 79c8030: `forge webtrigger create --readSecretKey` now asks for the key with a hidden prompt when stdin is a terminal, instead of showing it as you type. Empty input and non-interactive mode now give clearer errors that say how to provide the key.
44
- - 32cccae: Use native `Array.prototype.flat` and `flatMap` instead of the `array.prototype.flatmap` polyfill.
45
- - db8ec45: Remove unnecessary code from blank template after preset is applied
46
- - 8ed1fdb: Run Forge CLI as native ES modules.
47
- - 3960487: In non-interactive mode, `autocomplete install`, `assistant on` and `containers reprovision` now end their missing-input error with the exact command to run next (`Next: forge autocomplete install --force --non-interactive`) instead of the command's `--help`.
48
- - af4376a: `forge providers configure` can now read the OAuth client secret from stdin with `--read-oauth-client-secret`. `-s, --oauth-client-secret` still works but is deprecated and prints a warning. Passing `-s` without a value now asks for the secret instead of sending `true`. In non-interactive mode, a missing secret now fails with `MISSING_INPUT` and names `--read-oauth-client-secret`.
49
- - e38146e: `forge webtrigger create --readSecretKey` now fails with an error when the web trigger module does not use `request.authentication: hmacSharedSecret`.
50
- - 2b6e63e: Update @atlassian/cloudflared to 0.9.0 to download the native binary when starting a tunnel instead of during CLI installation.
51
- Update the unavailable-binary error to refer to the cloudflared download.
52
- - a3f6869: Update wording for unitId error message
53
- - 888ab74: In non-interactive mode, a missing usage-analytics setting is now listed with the command's other missing inputs in one `MISSING_INPUT` error, instead of only after the options are added. When only the setting is missing, `Next:` is `forge settings set usage-analytics <true|false>`, because rerunning the same command would fail again.
54
- - Updated dependencies [68fb732]
55
- - Updated dependencies [f992683]
56
- - Updated dependencies [562c365]
57
- - Updated dependencies [f93add1]
58
- - Updated dependencies [d50f88c]
59
- - Updated dependencies [c1f2e28]
60
- - @forge/util@4.1.0-next.1-experimental-b23276b
61
- - @forge/manifest@13.9.1-next.2-experimental-b23276b
62
- - @forge/i18n@1.0.2-next.0-experimental-b23276b
13
+ - a192799: Turn on non-interactive mode by default for agents. The `non-interactive` setting now defaults to `auto`, so the CLI runs without prompts when a known agent (such as Claude Code or Rovo Dev) runs it; set `forge settings set non-interactive off` to opt out. `--non-interactive` is listed again in the help of every command, and the `non-interactive` setting is shown in `forge settings list` and `forge settings set --help`.
63
14
 
64
15
  ## 10.0.0-next.30
65
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuC4o0jH,iDAAc;GA9Blr0jH,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
1
+ {"version":3,"file":"get-app-owner.d.ts","sourceRoot":"","sources":["../../src/apps/get-app-owner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAA4B,MAAM,qBAAqB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpD,qBAAa,oBAAqB,SAAQ,KAAK;;CAI9C;AAED,eAAO,MAAM,aAAa;QAuCwv3jH,iDAAc;GA9B9x3jH,CAAC;AAEH,qBAAa,gBAAgB;IAEzB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;gBADZ,aAAa,EAAE,aAAa,EAC5B,YAAY,EAAE,iBAAiB;IAGrC,OAAO;;;;;;;;;;;;;YAMN,WAAW;CAe1B"}
@@ -101,6 +101,10 @@ export type Scalars = {
101
101
  input: any;
102
102
  output: any;
103
103
  };
104
+ SearchDebugJSON: {
105
+ input: any;
106
+ output: any;
107
+ };
104
108
  SoftwareBoardFeatureKey: {
105
109
  input: any;
106
110
  output: any;
@@ -12186,6 +12190,8 @@ export type GraphInferenceAiModelInput = {
12186
12190
  id: Scalars['String']['input'];
12187
12191
  reasoningLevel: Scalars['String']['input'];
12188
12192
  };
12193
+ export type GraphInferenceConsentDecision = 'GRANTED';
12194
+ export type GraphInferenceConsentState = 'GRANTED' | 'NONE';
12189
12195
  export type GraphInferenceCopyInferenceProjectInput = {
12190
12196
  destinationAppId: Scalars['String']['input'];
12191
12197
  sourceProjectAri: Scalars['String']['input'];
@@ -12574,7 +12580,7 @@ export type GraphInferencePrepareManagedReviewMetricsInput = {
12574
12580
  packetIds: Array<Scalars['ID']['input']>;
12575
12581
  policyVersion?: Scalars['Int']['input'];
12576
12582
  };
12577
- export type GraphInferenceProactiveFeature = 'ACTION_ITEMS' | 'SUGGESTED_PROJECTS';
12583
+ export type GraphInferenceProactiveFeature = 'ACTION_ITEMS' | 'PROJECT_INSIGHTS' | 'SUGGESTED_PROJECTS';
12578
12584
  export type GraphInferenceProjectAccessLevel = 'OPEN_EDIT' | 'OPEN_VIEW' | 'RESTRICTED';
12579
12585
  export type GraphInferenceProjectAddedCollaboratorRole = 'FOLLOWER' | 'MAJOR_COLLABORATOR' | 'MINOR_COLLABORATOR' | 'OWNER';
12580
12586
  export type GraphInferenceProjectIconInput = {
@@ -12768,6 +12774,10 @@ export type GraphInferenceTargetInsightsInput = {
12768
12774
  insightTypes?: InputMaybe<Array<GraphInferenceInsightType>>;
12769
12775
  targetAri: Scalars['String']['input'];
12770
12776
  };
12777
+ export type GraphInferenceUpdateUserConsentInput = {
12778
+ cloudId: Scalars['ID']['input'];
12779
+ consentState: GraphInferenceConsentDecision;
12780
+ };
12771
12781
  export type GraphInferenceUpdateUserPreferencesInput = {
12772
12782
  cloudId: Scalars['ID']['input'];
12773
12783
  features: Array<GraphInferenceUserFeaturePreferenceInput>;
@@ -13069,6 +13079,13 @@ export type GraphIntegrationSetTwgProductToolAccessOverrideInput = {
13069
13079
  productAri: Scalars['ID']['input'];
13070
13080
  toolAccessOverride: Scalars['Boolean']['input'];
13071
13081
  };
13082
+ export type GraphIntegrationSkillAccessPermissionsInput = {
13083
+ view?: InputMaybe<GraphIntegrationSkillAccessPrincipalChangeInput>;
13084
+ };
13085
+ export type GraphIntegrationSkillAccessPrincipalChangeInput = {
13086
+ add: Array<Scalars['ID']['input']>;
13087
+ remove: Array<Scalars['ID']['input']>;
13088
+ };
13072
13089
  export type GraphIntegrationSkillColor = 'BLUE' | 'DEFAULT' | 'GRAY' | 'GREEN' | 'LIME' | 'MAGENTA' | 'ORANGE' | 'PURPLE' | 'RED' | 'TEAL' | 'YELLOW';
13073
13090
  export type GraphIntegrationSkillConsumer = 'ROVO_AGENTS' | 'ROVO_CLAW';
13074
13091
  export type GraphIntegrationSkillConsumerVisibilityInput = {
@@ -13098,6 +13115,12 @@ export type GraphIntegrationUpdateDataConnectorConnectionInput = {
13098
13115
  connectorProviderPayload: Scalars['JSON']['input'];
13099
13116
  contextAri: Scalars['ID']['input'];
13100
13117
  };
13118
+ export type GraphIntegrationUpdateSkillAccessInput = {
13119
+ contextAri: Scalars['ID']['input'];
13120
+ notificationMessage?: InputMaybe<Scalars['String']['input']>;
13121
+ permissions: GraphIntegrationSkillAccessPermissionsInput;
13122
+ skillAri: Scalars['ID']['input'];
13123
+ };
13101
13124
  export type GraphIntegrationUpdateSkillInput = {
13102
13125
  contextAri: Scalars['ID']['input'];
13103
13126
  description?: InputMaybe<Scalars['String']['input']>;
@@ -31640,7 +31663,7 @@ export type MarketplaceStorePartnerSupportAvailabilityDay = 'FRIDAY' | 'MONDAY'
31640
31663
  export type MarketplaceStorePersonalisationContextInput = {
31641
31664
  userLocation?: InputMaybe<Scalars['String']['input']>;
31642
31665
  };
31643
- export type MarketplaceStorePersonalisationTargetSurface = 'EMBEDDED_STORE_HOME' | 'MARKETPLACE' | 'PRIVATE_STORE' | 'STORE_CATEGORY' | 'STORE_COLLECTION' | 'STORE_PARTNER_PROFILE' | 'STORE_PRODUCT' | 'UNIFIED_STORE' | 'UNIFIED_STORE_ROVO' | 'WEBSTORE_HOME';
31666
+ export type MarketplaceStorePersonalisationTargetSurface = 'EMBEDDED_STORE_HOME' | 'MARKETPLACE' | 'PRIVATE_STORE' | 'STORE_CATEGORY' | 'STORE_COLLECTION' | 'STORE_PARTNER_PROFILE' | 'STORE_PRODUCT' | 'UNIFIED_STORE' | 'UNIFIED_STORE_ROVO' | 'WEBSTORE_COLLECTION' | 'WEBSTORE_HOME';
31644
31667
  export type MarketplaceStorePersonalisedContextAndLayoutInput = {
31645
31668
  cloudId?: InputMaybe<Scalars['ID']['input']>;
31646
31669
  compatibleWithProduct?: InputMaybe<Array<Scalars['String']['input']>>;