@bike4mind/cli 0.17.1 → 0.18.0
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/LICENSE +116 -0
- package/README.md +5 -2
- package/dist/{BackgroundAgentManager-C5HEirFN.mjs → BackgroundAgentManager-ChmoEU9H.mjs} +214 -121
- package/dist/{ConfigStore-gV8aHo9b.mjs → ConfigStore-yJU1dxpP.mjs} +150 -23
- package/dist/commands/apiCommand.mjs +4 -3
- package/dist/commands/doctorCommand.mjs +1 -1
- package/dist/commands/envCommand.mjs +1 -1
- package/dist/commands/headlessCommand.mjs +2 -2
- package/dist/commands/mcpCommand.mjs +1 -1
- package/dist/commands/updateCommand.mjs +1 -1
- package/dist/index.mjs +7 -6
- package/dist/{package-Dzetdo6D.mjs → package-B3f78bSl.mjs} +1 -1
- package/dist/utils-CLjLKvqQ.mjs +3 -0
- package/dist/{utils-PpNti-tY.mjs → utils-fqhJmuB8.mjs} +2 -2
- package/package.json +8 -8
- package/dist/utils-BGtSXfce.mjs +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
|
|
4
|
+
"Business Source License" is a trademark of MariaDB Corporation Ab.
|
|
5
|
+
|
|
6
|
+
-----------------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
Parameters
|
|
9
|
+
|
|
10
|
+
Licensor: Bike4Mind, Inc.
|
|
11
|
+
|
|
12
|
+
Licensed Work: Bike4Mind (the lumina5 repository and the components
|
|
13
|
+
distributed under this License).
|
|
14
|
+
The Licensed Work is (c) 2026 Bike4Mind, Inc.
|
|
15
|
+
|
|
16
|
+
Additional Use Grant: You may make production use of the Licensed Work,
|
|
17
|
+
including building, distributing, and commercializing
|
|
18
|
+
your own products that incorporate or are built on the
|
|
19
|
+
Licensed Work, provided that you may not provide to
|
|
20
|
+
third parties a Bike4Mind Service. A "Bike4Mind Service"
|
|
21
|
+
is a commercial offering (including a managed, hosted,
|
|
22
|
+
or software-as-a-service offering) that allows third
|
|
23
|
+
parties — other than your own employees and individual
|
|
24
|
+
contractors — to access a substantial portion of the
|
|
25
|
+
functionality of the Licensed Work in a manner that
|
|
26
|
+
competes with a commercial offering of Bike4Mind, Inc.
|
|
27
|
+
For the avoidance of doubt, you may self-host and operate
|
|
28
|
+
the Licensed Work on your own hardware or infrastructure
|
|
29
|
+
for your own internal purposes (including use by your
|
|
30
|
+
organization's employees and individual contractors).
|
|
31
|
+
Such internal use — including running it for your own
|
|
32
|
+
sovereignty, independent of any hyperscaler or model
|
|
33
|
+
provider — is expressly permitted and is not a Bike4Mind
|
|
34
|
+
Service.
|
|
35
|
+
|
|
36
|
+
Change Date: Four years from the date a given version of the Licensed
|
|
37
|
+
Work is first made publicly available. Each version
|
|
38
|
+
carries its own Change Date (see Terms). Bike4Mind, Inc.
|
|
39
|
+
may, at its discretion, designate an earlier Change Date
|
|
40
|
+
for any version.
|
|
41
|
+
|
|
42
|
+
Change License: Apache License, Version 2.0
|
|
43
|
+
|
|
44
|
+
For information about alternative licensing arrangements for the Licensed Work,
|
|
45
|
+
please contact licensing@bike4mind.com.
|
|
46
|
+
|
|
47
|
+
-----------------------------------------------------------------------------
|
|
48
|
+
|
|
49
|
+
Notice
|
|
50
|
+
|
|
51
|
+
Business Source License 1.1
|
|
52
|
+
|
|
53
|
+
Terms
|
|
54
|
+
|
|
55
|
+
The Licensor hereby grants you the right to copy, modify, create derivative
|
|
56
|
+
works, redistribute, and make non-production use of the Licensed Work. The
|
|
57
|
+
Licensor may make an Additional Use Grant, above, permitting limited production
|
|
58
|
+
use.
|
|
59
|
+
|
|
60
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly
|
|
61
|
+
available distribution of a specific version of the Licensed Work under this
|
|
62
|
+
License, whichever comes first, the Licensor hereby grants you rights under
|
|
63
|
+
the terms of the Change License, and the rights granted in the paragraph
|
|
64
|
+
above terminate.
|
|
65
|
+
|
|
66
|
+
If your use of the Licensed Work does not comply with the requirements
|
|
67
|
+
currently in effect as described in this License, you must purchase a
|
|
68
|
+
commercial license from the Licensor, its affiliated entities, or authorized
|
|
69
|
+
resellers, or you must refrain from using the Licensed Work.
|
|
70
|
+
|
|
71
|
+
All copies of the original and modified Licensed Work, and derivative works of
|
|
72
|
+
the Licensed Work, are subject to this License. This License applies separately
|
|
73
|
+
for each version of the Licensed Work and the Change Date may vary for each
|
|
74
|
+
version of the Licensed Work released by Licensor.
|
|
75
|
+
|
|
76
|
+
You must conspicuously display this License on each original or modified copy of
|
|
77
|
+
the Licensed Work. If you receive the Licensed Work in original or modified form
|
|
78
|
+
from a third party, the terms and conditions set forth in this License apply to
|
|
79
|
+
your use of that work.
|
|
80
|
+
|
|
81
|
+
Any use of the Licensed Work in violation of this License will automatically
|
|
82
|
+
terminate your rights under this License for the current and all other versions
|
|
83
|
+
of the Licensed Work.
|
|
84
|
+
|
|
85
|
+
This License does not grant you any right in any trademark or logo of Licensor
|
|
86
|
+
or its affiliates (provided that you may use a trademark or logo of Licensor as
|
|
87
|
+
expressly required by this License).
|
|
88
|
+
|
|
89
|
+
TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN
|
|
90
|
+
"AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS
|
|
91
|
+
OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY,
|
|
92
|
+
FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
|
|
93
|
+
|
|
94
|
+
MariaDB hereby grants you permission to use this License's text to license your
|
|
95
|
+
works, and to refer to it using the trademark "Business Source License", as long
|
|
96
|
+
as you comply with the Covenants of Licensor below.
|
|
97
|
+
|
|
98
|
+
Covenants of Licensor
|
|
99
|
+
|
|
100
|
+
In consideration of the right to use this License's text and the "Business Source
|
|
101
|
+
License" name and trademark, Licensor covenants to MariaDB, and to all other
|
|
102
|
+
recipients of the licensed work to be provided by Licensor:
|
|
103
|
+
|
|
104
|
+
1. To specify as the Change License the GPL Version 2.0 or any later version, or
|
|
105
|
+
a license that is compatible with GPL Version 2.0 or a later version, where
|
|
106
|
+
"compatible" means that software provided under the Change License can be
|
|
107
|
+
included in a program with software provided under GPL Version 2.0 or a later
|
|
108
|
+
version. Licensor may specify additional Change Licenses without limitation.
|
|
109
|
+
|
|
110
|
+
2. To either: (a) specify an additional grant of rights to use that does not
|
|
111
|
+
impose any additional restriction on the right granted in this License, as the
|
|
112
|
+
Additional Use Grant; or (b) insert the text "None".
|
|
113
|
+
|
|
114
|
+
3. To specify a Change Date.
|
|
115
|
+
|
|
116
|
+
4. Not to modify this License in any other way.
|
package/README.md
CHANGED
|
@@ -159,7 +159,10 @@ Authentication tokens are securely stored in your config file with restricted pe
|
|
|
159
159
|
|
|
160
160
|
### API Configuration
|
|
161
161
|
|
|
162
|
-
By default, the CLI connects to the main Bike4Mind service at `https://app.bike4mind.com`.
|
|
162
|
+
By default, the published CLI connects to the main Bike4Mind service at `https://app.bike4mind.com`.
|
|
163
|
+
The default is baked in at build time from the hosted build environment — there is **no brand
|
|
164
|
+
fallback in source** (open-core, #9306/#9392), so a fresh clone ships empty. A fork publishes its
|
|
165
|
+
own CLI by setting `B4M_DEFAULT_API_URL` when building — see `tsdown.config.ts`.
|
|
163
166
|
|
|
164
167
|
**Quick switch between local dev and production:** use the `b4m --dev` / `b4m --prod`
|
|
165
168
|
launch flags (see [Switching environments](#switching-environments---dev----prod)).
|
|
@@ -171,7 +174,7 @@ and `/api-info` commands below operate on the same setting from inside a session
|
|
|
171
174
|
If your organization runs a self-hosted Bike4Mind instance, connect to it using:
|
|
172
175
|
|
|
173
176
|
```bash
|
|
174
|
-
/set-api https://your-
|
|
177
|
+
/set-api https://app.your-instance.example.com
|
|
175
178
|
```
|
|
176
179
|
|
|
177
180
|
To return to the main Bike4Mind service:
|