@foir/cli 0.64.1 → 0.65.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/dist/cli.js +1693 -382
- package/dist/lib/config-helpers.d.ts +14 -7
- package/package.json +5 -3
|
@@ -154,13 +154,20 @@ interface AccessInput {
|
|
|
154
154
|
/**
|
|
155
155
|
* Visibility new records start at (the record descriptor modes):
|
|
156
156
|
* - `'private'` — only the owner and explicit grants.
|
|
157
|
-
* - `'public'` — readable by anyone
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
157
|
+
* - `'public'` — readable by anyone with API access, including signed-in
|
|
158
|
+
* customers on the public API.
|
|
159
|
+
*
|
|
160
|
+
* On a PROJECT-plane model, omitting this defaults to `'public'` at
|
|
161
|
+
* CREATION — project content is meant to be read, and `'private'` there does
|
|
162
|
+
* not mean what it looks like: a project record has no owner, so it stays
|
|
163
|
+
* readable by anonymous and server-side callers while being hidden from
|
|
164
|
+
* signed-in customers. Set `'private'` explicitly to opt a project model out.
|
|
165
|
+
*
|
|
166
|
+
* The default is applied by the platform, at the create path only. Omitting it
|
|
167
|
+
* on a model that already exists means "leave it alone" — it will not reset a
|
|
168
|
+
* visibility you changed in the console. Owned planes (customer/admin) are
|
|
169
|
+
* always private (the platform rejects a public default there) regardless of
|
|
170
|
+
* this value.
|
|
164
171
|
*/
|
|
165
172
|
defaultVisibility?: 'private' | 'public';
|
|
166
173
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foir/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.0",
|
|
4
4
|
"description": "Universal platform CLI for Foir platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@connectrpc/connect": "^2.0.0",
|
|
39
39
|
"@connectrpc/connect-node": "^2.0.0",
|
|
40
40
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
41
|
+
"ai": "^7.0.29",
|
|
41
42
|
"chalk": "^5.3.0",
|
|
42
43
|
"commander": "^12.1.0",
|
|
43
44
|
"dotenv": "^16.4.5",
|
|
@@ -56,10 +57,11 @@
|
|
|
56
57
|
"tsx": "^4.20.0",
|
|
57
58
|
"typescript": "5.9.2",
|
|
58
59
|
"vitest": "^3.2.4",
|
|
59
|
-
"@foir/
|
|
60
|
+
"@foir/assistant": "0.0.0",
|
|
60
61
|
"@foir/proto-ts": "0.109.0",
|
|
62
|
+
"@foir/console-routes": "0.0.0",
|
|
61
63
|
"@foir/rpc-node": "0.0.0",
|
|
62
|
-
"@foir/sdk": "0.
|
|
64
|
+
"@foir/sdk": "0.9.0"
|
|
63
65
|
},
|
|
64
66
|
"engines": {
|
|
65
67
|
"node": ">=18.0.0"
|