@somewhere-cloud/cli 0.38.144 → 0.38.146
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 +13 -0
- package/README.md +2 -2
- package/dist/lib/bundle.js +97 -12
- package/dist/lib/bundle.js.map +2 -2
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
- package/runtime/DECLARED-DATA-VENDOR.json +6 -6
- package/runtime/PLATFORM-SOURCE.json +1 -1
- package/runtime/declared-data.cjs +32 -3
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@somewhere-cloud/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.146",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@somewhere-cloud/cli",
|
|
9
|
-
"version": "0.38.
|
|
9
|
+
"version": "0.38.146",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"bin": {
|
|
12
12
|
"somewhere": "bin/somewhere.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@somewhere-cloud/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.146",
|
|
4
4
|
"description": "CLI for somewhere.cloud — auth, projects, deploy, pull, promote, db, logs, env, MCP bridge.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"somewhere",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
},
|
|
67
67
|
"bundleDependencies": [],
|
|
68
68
|
"bundledDependencies": [],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "2d9e5e30a20d78c2bd5191d6667dc1e92ac22ed2"
|
|
70
70
|
}
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"shared/transient-read.ts": "2f22daebdc74fed6255a29df7deda0db307f9165c1d9988dba3ee872b2584ffd",
|
|
9
9
|
"shared/types/placeholder-identity.ts": "089a46e2474a21193d3611eddd9c94b6bbe62441b3039ed80fc8499bada447ca",
|
|
10
10
|
"worker/containers/compile/checker-contract.cjs": "c6d4ebc9ec058b3562655cc4f18dc1cea7e4492eb35b7f0fd0d87e974c26b492",
|
|
11
|
-
"worker/containers/compile/consumer-contract.cjs": "
|
|
11
|
+
"worker/containers/compile/consumer-contract.cjs": "8683de88ffa841ee995e67310ea163f22f0ca6d22b247f4c42b8918db1e64f9d",
|
|
12
12
|
"worker/containers/compile/declared-data-contract.cjs": "1261275ab4ff75b3001456a30b041a7c639578ffff0b67b42706d7b0ff11d744",
|
|
13
13
|
"worker/containers/compile/generated-declarations-render.cjs": "7ffdb34645cc9eccac6eba39dc86b646a41c4de8a1a038d2b5b46f42df9f1157",
|
|
14
14
|
"worker/containers/compile/generated-declarations.cjs": "6e9902e054c5c784fd9b3c3fafc1869e79954100a45014e1132247cd82833ec4",
|
|
15
15
|
"worker/containers/compile/groups-types.cjs": "7c22b4bb96c9391005d434852600dc02bc8a6bbb99d78d2b8e3eb152f7b72c58",
|
|
16
|
-
"worker/containers/compile/runtime-types.cjs": "
|
|
16
|
+
"worker/containers/compile/runtime-types.cjs": "7a56610ddf48164fa31af2d8e23553c8bd39122a4d93f375afccf17195024820",
|
|
17
17
|
"worker/containers/compile/schema-types.cjs": "6bd92695cd275b0c6bc7dc79daaf3189fb275449321342c967a2030f287cfdfa",
|
|
18
18
|
"worker/containers/compile/typed-data.cjs": "1c8bec853fbee4ffd34c651076a4e1f4d8b18c0c2be5e99e31df7c9283207627",
|
|
19
19
|
"worker/containers/compile/typed-files.cjs": "f2568567a53994575ede91f9a0839965e64f94eb92ae11315650189b6de0f79c",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"worker/src/utils/db-schema-deploy/schema-ownership.ts": "e6c811a87bc657707be3518dfe547c6d97718ac073108b126eb7f791c9c08202",
|
|
59
59
|
"worker/src/utils/dev-health-class.ts": "fd430f31b9c8469f3d90e118fd8c75d1836ebcf705c1f9e93915ffa53a4cb066",
|
|
60
60
|
"worker/src/utils/errors.ts": "f9d22810c285d2a512d258853bdd17cf9c1445c3983d51f3adbbcede273ac07d",
|
|
61
|
-
"worker/src/utils/event-log.ts": "
|
|
62
|
-
"worker/src/utils/feed-kinds.ts": "
|
|
61
|
+
"worker/src/utils/event-log.ts": "830714e6dba2fb720e7891a2ce3d4acb9bb936f018949b53911dbc8d9e06021a",
|
|
62
|
+
"worker/src/utils/feed-kinds.ts": "70577b6473815fc00179216e0375c5657a9eb42a30f2799ca770752814487020",
|
|
63
63
|
"worker/src/utils/journey-segment.ts": "fc92c196b5368a2aa07b205d12b1bf4344e8d5dcde875c66400b79729207ad96",
|
|
64
64
|
"worker/src/utils/json-exact-integers.ts": "e2eb8d3b2e17da363eb14fb46d876208579e2e92bfac173fb27527e6c4fb575e",
|
|
65
65
|
"worker/src/utils/log-sanitize.ts": "f4591089c16a34e4cbc271ec22b48566b970a62e30d3e9856b7dcd9c479fb0e8",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"worker/src/utils/public-urls.ts": "44e455118f85c111316f6d8346d61e736ffcd1971c4539ea146100084aa6f21e",
|
|
71
71
|
"worker/src/utils/reference-check-inputs.ts": "59c7c8d3b4aaf8bffb2a54964e41f909437745d001b093edd74cc135f4edcf67",
|
|
72
72
|
"worker/src/utils/telegram-attempt-receipts.ts": "a9ba55ae71f63ada44a105f1ceae04b0491bda0d6e77e5762db2dbecdd2981dd",
|
|
73
|
-
"worker/src/utils/telegram.ts": "
|
|
73
|
+
"worker/src/utils/telegram.ts": "9aaaa2597c366da1eeee9e2252e9b73e611ea97ed9558f7e07e694d9b393f053",
|
|
74
74
|
"worker/src/utils/workers-ai-comparison.ts": "18b5d5ea96f817387a5ef49733ba611c99cbb14987143c28118b1c90f3b637d4"
|
|
75
75
|
},
|
|
76
|
-
"sha256": "
|
|
76
|
+
"sha256": "5fc2cf25ea995fda5bf86ac5a7e7f3df28d7ea14919f5eff51731892adacbcbf"
|
|
77
77
|
}
|
|
@@ -2040,7 +2040,36 @@ interface SomewhereRuntimeConnectStripe {
|
|
|
2040
2040
|
subscribers(opts?: { status?: string; limit?: number; cursor?: string | null } | null): Promise<SomewhereConnectStripeSubscribersResult>;
|
|
2041
2041
|
disconnect(): Promise<{ ok: true }>;
|
|
2042
2042
|
}
|
|
2043
|
-
|
|
2043
|
+
// Google Calendar (a person's own calendar, events only; docs topic google-calendar)
|
|
2044
|
+
interface SomewhereGoogleCalendarEventInput {
|
|
2045
|
+
id?: string;
|
|
2046
|
+
title: string;
|
|
2047
|
+
description?: string | null;
|
|
2048
|
+
location?: string | null;
|
|
2049
|
+
start: string;
|
|
2050
|
+
end: string;
|
|
2051
|
+
all_day?: boolean;
|
|
2052
|
+
time_zone?: string | null;
|
|
2053
|
+
}
|
|
2054
|
+
interface SomewhereGoogleCalendarEvent {
|
|
2055
|
+
id: string;
|
|
2056
|
+
updated: string | null;
|
|
2057
|
+
}
|
|
2058
|
+
type SomewhereGoogleCalendarStatus =
|
|
2059
|
+
| { connected: false }
|
|
2060
|
+
| { connected: true; reconnect_needed: boolean; calendar: { name: string | null; time_zone: string | null }; connected_at: number | null };
|
|
2061
|
+
interface SomewhereGoogleCalendarWho { user_id?: string; userId?: string }
|
|
2062
|
+
interface SomewhereRuntimeConnectGoogleCalendar {
|
|
2063
|
+
/** The app's own connect endpoint returns this: it starts and finishes the connection in the signed-in person's browser. */
|
|
2064
|
+
connect(request: Request, opts?: { return_to?: string; returnTo?: string } | null): Promise<Response>;
|
|
2065
|
+
/** user_id only inside a scheduled or background job; in a request, calls act for the signed-in caller. */
|
|
2066
|
+
status(opts?: SomewhereGoogleCalendarWho | null): Promise<SomewhereGoogleCalendarStatus>;
|
|
2067
|
+
createEvent(opts: SomewhereGoogleCalendarWho & { event: SomewhereGoogleCalendarEventInput }): Promise<SomewhereGoogleCalendarEvent>;
|
|
2068
|
+
updateEvent(opts: SomewhereGoogleCalendarWho & { event_id: string; event: Partial<Omit<SomewhereGoogleCalendarEventInput, 'id'>> }): Promise<SomewhereGoogleCalendarEvent>;
|
|
2069
|
+
deleteEvent(opts: SomewhereGoogleCalendarWho & { event_id: string }): Promise<{ deleted: boolean }>;
|
|
2070
|
+
disconnect(opts?: SomewhereGoogleCalendarWho | null): Promise<{ disconnected: boolean; google_permissions_url: string }>;
|
|
2071
|
+
}
|
|
2072
|
+
interface SomewhereRuntimeConnect { readonly stripe: SomewhereRuntimeConnectStripe; readonly googleCalendar: SomewhereRuntimeConnectGoogleCalendar }
|
|
2044
2073
|
|
|
2045
2074
|
// Billing (plan catalog + entitlements for the app's own users)
|
|
2046
2075
|
interface SomewhereBillingPlanFeatureInput { feature: string; limit?: number | null }
|
|
@@ -4482,8 +4511,8 @@ var require_consumer_contract = __commonJS({
|
|
|
4482
4511
|
"worker/containers/compile/consumer-contract.cjs"(exports2, module2) {
|
|
4483
4512
|
"use strict";
|
|
4484
4513
|
var CONSUMER_CONTRACT2 = Object.freeze({
|
|
4485
|
-
version:
|
|
4486
|
-
digest: "
|
|
4514
|
+
version: 39,
|
|
4515
|
+
digest: "735f80e8c71b5c115e57aa84506faadeba2ca50196908ea26766c17c79cf0262"
|
|
4487
4516
|
});
|
|
4488
4517
|
var MEMBERSHIPS = "memberships: table({ id: id(), team_id: text(), member_id: text() }, { scope: owner(), client: { read: true } }),";
|
|
4489
4518
|
var SHARES = "shares: table({ id: id(), grantee_id: text() }, { scope: owner(), client: { read: true, create: ['grantee_id'], delete: true }, unique: [['user_id', 'grantee_id']] }),";
|